WO2020063136A1 - 应用程序的启动方法及终端设备 - Google Patents

应用程序的启动方法及终端设备 Download PDF

Info

Publication number
WO2020063136A1
WO2020063136A1 PCT/CN2019/099930 CN2019099930W WO2020063136A1 WO 2020063136 A1 WO2020063136 A1 WO 2020063136A1 CN 2019099930 W CN2019099930 W CN 2019099930W WO 2020063136 A1 WO2020063136 A1 WO 2020063136A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
shooting
application
shooting mode
target
Prior art date
Application number
PCT/CN2019/099930
Other languages
English (en)
French (fr)
Inventor
张琼
李月鹏
Original Assignee
维沃移动通信(杭州)有限公司
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 维沃移动通信(杭州)有限公司 filed Critical 维沃移动通信(杭州)有限公司
Publication of WO2020063136A1 publication Critical patent/WO2020063136A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a method for starting an application program and a terminal device.
  • the terminal equipment has a 3D shooting function.
  • a stereo image of the subject can be obtained, which can improve the shooting effect.
  • a terminal device with a 3D camera also has a 2D shooting capability.
  • the terminal device When a user takes a picture, the terminal device usually starts a shooting application according to a default shooting mode.
  • the default shooting mode of the shooting application is the 3D shooting mode
  • the camera turns on the 3D shooting mode when it is started.
  • the user needs to shoot in different scenes.
  • the shooting application starts the 3D shooting mode in a default manner and the user does not need to perform 3D shooting, the power consumption of the terminal device is large.
  • the terminal device has a problem that the power consumption of the terminal device is large due to the poor flexibility of the shooting application to start the shooting mode.
  • Some embodiments of the present disclosure provide a method for starting an application and a terminal device, so as to solve the problem that the power consumption of the terminal device is large due to poor flexibility of the shooting application to start the shooting mode.
  • some embodiments of the present disclosure provide a method for starting an application, including:
  • the shooting application in response to the second input, the shooting application is started in a target shooting mode corresponding to an operation trajectory of the second input.
  • some embodiments of the present disclosure further provide a terminal device, including:
  • a first receiving module configured to receive a first input
  • a determining module configured to determine a target application to be started in response to the first input
  • a second receiving module configured to receive a second input
  • a startup module is configured to, in a case where the target application is a shooting application, respond to the second input, start the shooting application according to a target shooting mode corresponding to an operation track of the second input.
  • some embodiments of the present disclosure further provide a terminal device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor is implemented when the processor executes the computer program. Steps in the method of launching an application as described above.
  • some embodiments of the present disclosure further provide a readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method for starting an application program as described above is implemented. Steps.
  • a first input is received; a target application to be started is determined in response to the first input; a second input is received; and in a case where the target application is a shooting application, responding to The second input starts the shooting application program according to a target shooting mode corresponding to the operation track of the second input.
  • the user can start the shooting application of the corresponding shooting mode according to the actual shooting requirements, and the startup method is flexible, which can reduce the power consumption of the terminal device.
  • FIG. 1a is one of the flowcharts of a method for starting an application provided by some embodiments of the present disclosure
  • FIG. 1b is one of display interface diagrams of a terminal device provided by some embodiments of the present disclosure.
  • 1c is a second display interface diagram of a terminal device provided by some embodiments of the present disclosure.
  • 1d is a third display interface diagram of a terminal device provided by some embodiments of the present disclosure.
  • FIG. 2 is a second flowchart of a method for starting an application provided by some embodiments of the present disclosure
  • FIG. 3 is one of the structural diagrams of a terminal device provided by some embodiments of the present disclosure.
  • FIG. 4 is a second structural diagram of a terminal device provided by some embodiments of the present disclosure.
  • FIG. 5 is a third structural diagram of a terminal device provided by some embodiments of the present disclosure.
  • FIG. 6 is a fourth structural diagram of a terminal device provided by some embodiments of the present disclosure.
  • FIG. 1a is a flowchart of a method for starting an application provided by some embodiments of the present disclosure. As shown in Figure 1a, it includes the following steps:
  • Step 101 Receive a first input.
  • the first input may be a sliding operation, a pressing operation, or other operations performed by a user on a terminal operation interface, for example, a sliding operation on a display interface or a pressing operation on an icon of an application.
  • Step 102 In response to the first input, determine a target application to be started.
  • the terminal device may determine a target application to be started according to an operation parameter such as an operation position or an operation track of the first input. For example, the terminal device detects a pressing operation on the icon of the target application and determines the target application to be started; or the terminal device detects an operation corresponding to the start of the target application and determines the target application to be started.
  • an operation parameter such as an operation position or an operation track of the first input. For example, the terminal device detects a pressing operation on the icon of the target application and determines the target application to be started; or the terminal device detects an operation corresponding to the start of the target application and determines the target application to be started.
  • the first input operation track may pass through the icon of the shooting application or may not pass through the icon of the shooting application.
  • the first input is a circle selection operation on the icon of the shooting application.
  • Step 103 Receive a second input.
  • the second input may be a sliding operation, a drag operation, or the like by a user on a terminal operation interface.
  • Step 104 In a case where the target application is a shooting application, in response to the second input, start the shooting application according to a target shooting mode corresponding to an operation track of the second input.
  • the shooting application may be any application capable of starting a camera.
  • an application icon for shooting displayed on a standby desktop of a terminal device, and a user operating the icon may trigger the terminal device to start the application program.
  • the terminal device may store the correspondence between the operation track and the shooting mode in advance.
  • the above shooting modes may specifically include a 2D shooting mode and a 3D shooting mode, a video shooting mode and a photo shooting mode, a panorama shooting mode and a normal shooting mode, a front shooting mode and a rear shooting mode, a time-lapse shooting mode, and a continuous shooting mode. ,and many more.
  • an operation track corresponding to the multiple shooting modes can be set.
  • the terminal device may determine the target shooting mode corresponding to the second input operation trajectory according to the above-mentioned correspondence relationship, so as to start the application program according to the target shooting mode. Further, the application can control the camera to start according to the target shooting mode.
  • the operating system of the terminal device may send a startup instruction and an instruction to indicate a target shooting mode to the shooting application, and specifically, may send a startup instruction to the shooting application to start the shooting application, and the startup instruction carries the target shooting mode.
  • the shooting application obtains the startup instruction sent by the operating system, the shooting application is started according to the startup instruction, and the camera is started according to the target shooting mode carried by the startup instruction.
  • the operating system of the terminal device sends a startup control instruction for starting the shooting application to the shooting application, and the startup control instruction carries parameter information of the target shooting mode.
  • the shooting application can start the shooting application according to the start control instruction, and start the camera according to the target shooting mode.
  • the method further includes:
  • the shooting application obtains a first instruction sent by the operating system to instruct to start the shooting application, and a second instruction used to instruct to start the target shooting mode of the camera; starts the shooting application according to the first instruction, and The target shooting mode indicated by the second instruction starts the camera.
  • the control camera is started according to the target shooting mode.
  • the acquiring the first instruction sent by the operating system to instruct to start the shooting application and the second instruction used to instruct to start the target shooting mode of the camera includes:
  • startup instruction carries first instruction information for instructing to start the shooting application and second instruction information for instructing a target shooting mode of the camera;
  • Starting the shooting application according to the first instruction and starting the camera according to the target shooting mode indicated by the second instruction includes:
  • the shooting application obtains the first instruction and the second instruction, that is, the first instruction information and the second instruction information by receiving a startup instruction sent by the operating system.
  • the shooting application starts the shooting application according to the first instruction information received in the startup instruction, and starts the camera according to the target shooting mode indicated by the second instruction information.
  • the terminal device can quickly start the camera according to the shooting mode selected by the user according to an instruction sent by the operating system.
  • the startup method is flexible and can save power consumption.
  • the operating system after the operating system receives a user operation, the operating system only instructs the application program to start, and then the application program starts the camera according to a preset shooting mode.
  • the operating system may start a shooting application according to a user's selection, and may determine a shooting mode according to a user operation, and control the shooting application to start a camera according to the determined shooting mode.
  • the user can control the camera to start according to the shooting mode selected by the user, and the determination mode of the camera's shooting mode is flexible, which can save the power consumption of the terminal device.
  • the terminal activates a camera module corresponding to the target shooting mode, thereby displaying a shooting interface.
  • the camera corresponding to the target shooting mode can be started; in the case that the same camera module can achieve different shooting modes, one of the camera modules can be started to shoot mode.
  • the 3D camera module when the 3D camera and the 2D camera are separately set camera modules, if the 3D shooting mode needs to be activated, the 3D camera module is activated; if the 2D shooting mode is required to be activated, the 2D camera module is activated.
  • the 3D camera module includes a 2D camera module, if the 3D shooting mode needs to be started, the 3D camera module is started; if the 2D shooting mode needs to be started, the 2D camera module in the 3D camera module is started.
  • the power consumption of the terminal device when starting the 3D camera module is greater than the power consumption when starting the 2D camera module.
  • the terminal device starts one of the camera modes according to the default setting mode if the camera activated is a 3D camera module, and the actual shooting scene only needs to use the 2D shooting mode, the power consumption of the terminal device is large.
  • the terminal device can flexibly and quickly start a shooting mode that needs to be used, and start a camera module corresponding to the shooting mode, which can reduce user operations and power consumption of the terminal device.
  • the above-mentioned method for starting an application program can be applied to a terminal device, for example: a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA) ), Mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
  • a terminal device for example: a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA) ), Mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
  • the user performs a circle selection operation on the icon of the shooting application, and the terminal device obtains an icon located in the operation track of the circle selection operation, that is, the icon of the shooting application.
  • the user can continue to perform sliding operations within the display interface. If the sliding track of the sliding operation is "2" as shown in FIG. 1c, the terminal device determines that the shooting mode corresponding to the sliding track is a 2D shooting mode according to the sliding track, and starts the camera according to the 2D shooting mode. If the sliding track of the sliding operation is "3" as shown in FIG. 1d, the terminal device determines that the shooting mode corresponding to the sliding track is a 3D shooting mode according to the sliding track, and starts the camera according to the 3D shooting mode.
  • the user can select the shooting application and shooting mode that need to be started, and the terminal device can quickly start the camera according to the shooting mode, which can reduce the power consumption of the terminal.
  • the user operation mode is flexible, the user operation is convenient.
  • a method for starting an application of some embodiments of the present disclosure receives a first input; determines a target application to be started in response to the first input; receives a second input; where the target application is a photographing application
  • the shooting application is started in a target shooting mode corresponding to the operation track of the second input.
  • the startup mode is flexible, reducing user operations, and reducing the power consumption of the terminal device.
  • FIG. 2 is a flowchart of a method for starting an application provided by some embodiments of the present disclosure. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Receive a first input.
  • the method further includes:
  • a graphic formed by the first input operation track is displayed.
  • a graphic formed by the first input operation trajectory can be displayed, which is convenient for the user to confirm the icon that needs to be selected, and can prompt the user that the icon has been selected, the user does not need to perform the selection operation again, and can prevent the user from misoperation.
  • This method may be performed after step 201.
  • the icon of the target application to be activated may be controlled to be enhanced to indicate that the user has selected the icon. For example, you can control the icon of the target application to float or increase the display.
  • This method can be performed after step 201 or step 202. The above two methods can achieve the beneficial effect of prompting the user to select an icon. In practical applications, one or both of the above methods can be used for prompting.
  • Step 202 In the case that the closed trajectory of the first input forms a closed graphic, and the closed graphic includes an icon of a target application, determine that the target application is an application to be started.
  • the closed figure may be a circle, a square, or other irregular closed figures.
  • the closed graphic contains the icon of the target application, which indicates that the icon of the target application is selected, so it can be determined that the target application corresponding to the icon is the application to be started.
  • the terminal device may detect the number of application icons contained in the closed graphic, and if the number of application icons contained in the closed graphic is 1, determine that the target application corresponding to the icon in the closed graphic is to be started application. In this way, erroneous operations of the terminal device can be prevented.
  • Step 203 Receive a second input.
  • Step 204 In a case where the target application is a shooting application, in response to the second input, start the shooting application according to a target shooting mode corresponding to an operation track of the second input.
  • steps 201, 203, and 204 refer to related descriptions in the embodiment corresponding to FIG. 1a, and details are not described herein again.
  • the target application is a shooting application
  • starting the shooting application according to a target shooting mode corresponding to an operation track of the second input include:
  • the target application is a shooting application and the second input operation trajectory matches the target trajectory, according to a preset correspondence between the shooting mode and the operation trajectory, shooting according to the target corresponding to the target trajectory Mode launches the shooting application.
  • the terminal device compares the second input operation trajectory with a preset operation trajectory. If the second input operation trajectory matches a target trajectory in the preset operation trajectory, it is further determined to match the target trajectory. Shooting mode. If the second input operation track does not match the preset operation track, a prompt message that the operation track is not recognized may be output.
  • the terminal device may preset and store a plurality of operation trajectories, and set a corresponding relationship between each operation trajectory and the shooting mode. For example, when the operation track is set to the shape of “2” as shown in FIG. 1c, the corresponding shooting mode is the 2D shooting mode, and when the operation track is set to the shape of “3” as shown in FIG. 1d, the corresponding shooting is The mode is 3D shooting mode. In this way, when the user performs the second input and the operation trajectory of the second input is the shape of “2”, it is determined that the shooting mode corresponding to the operation trajectory is the 2D shooting mode; When the shape of the lens is shaped, it is determined that the shooting mode corresponding to the operation track is a 3D shooting mode.
  • the terminal device can determine the shooting mode according to the operation track operated by the user, the user operation is simple, and the operation efficiency is improved.
  • the target shooting mode is a 2D shooting mode or a 3D shooting mode
  • the method further includes:
  • the shooting mode is switched from a 2D shooting mode to a 3D shooting mode, or the shooting mode is switched from a 3D shooting mode to a 2D shooting mode.
  • the third input may be an input for triggering a switching of a shooting mode, and may specifically be a click operation, a slide operation, or other operations. If the current shooting mode is a 2D shooting mode, the 2D shooting mode is switched to a 3D shooting mode; if the current shooting mode is a 3D shooting mode, the 3D shooting mode is switched to a 2D shooting mode.
  • a shooting mode switch button is displayed in the shooting interface, and the user can click the switch button to trigger the shooting mode switch; for example, the user can perform a sliding operation in the shooting interface to trigger the shooting mode when the sliding distance is greater than a preset distance Switch.
  • the switching between the shooting modes may also be performed in the foregoing manner, for example, the video shooting mode and the photographing shooting mode are switched in the foregoing manner.
  • the user can quickly switch between the 2D shooting mode and the 3D shooting mode, the operation mode is flexible, and the shooting efficiency is improved.
  • a shooting application is displayed as a target shooting mode selected by a user when the camera is started.
  • the startup method is flexible, reduces user operations, and can reduce power consumption of a terminal device.
  • FIG. 3 is a structural diagram of a terminal device provided by some embodiments of the present disclosure.
  • the terminal device 300 includes a first receiving module 301, a determining module 302, a second receiving module 303, and a startup module. 304.
  • a first receiving module 301 configured to receive a first input
  • a determining module 302 configured to determine a target application to be started in response to the first input
  • a second receiving module 303 configured to receive a second input
  • the starting module 304 is configured to, in a case where the target application is a shooting application, respond to the second input, start the shooting application according to a target shooting mode corresponding to an operation track of the second input.
  • the determining module 302 is specifically configured to determine that the target application program is to be waited for when the first input operation trajectory forms a closed graphic and the closed graphic includes an icon of the target application program. Launched application.
  • the terminal device further includes:
  • a first display module 305 configured to control an enhanced display of an icon of a target application to be started; and / or
  • the second display module 306 is configured to display a graphic formed by the operation track of the first input.
  • the starting module 304 is specifically configured to, in a case where the target application is a shooting application and the operation track of the second input matches the target track, according to a preset of a shooting mode and an operation track Corresponding relationship, the shooting application program is started according to a target shooting mode corresponding to the target track.
  • the target shooting mode is a 2D shooting mode or a 3D shooting mode
  • the terminal device further includes:
  • a third receiving module 307 configured to receive a third input in the shooting interface
  • a switching module 308 is configured to switch the shooting mode from a 2D shooting mode to a 3D shooting mode or switch the shooting mode from a 3D shooting mode to a 2D shooting mode in response to the third input.
  • the terminal device 300 can implement the processes implemented by the terminal device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • a user may start a camera of a corresponding shooting mode according to actual shooting requirements, and the startup method is flexible, which can reduce the power consumption of the terminal device.
  • FIG. 6 is a schematic diagram of a hardware structure of a terminal device that implements various embodiments of the present disclosure.
  • the terminal device 600 includes, but is not limited to, a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, and a display unit. 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611.
  • the terminal device may include more or fewer components than shown in the figure, or some components may be combined, or different components. Layout.
  • the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
  • the processor 610 is configured to:
  • the shooting application in response to the second input, the shooting application is started in a target shooting mode corresponding to an operation trajectory of the second input.
  • the user can start the camera of the corresponding shooting mode according to the actual shooting requirements, the startup method is flexible, and the power consumption of the terminal device can be reduced.
  • executing, by the processor 610 in response to the first input, determining a target application to be started includes:
  • the first input operation trajectory forms a closed graphic
  • the closed graphic contains an icon of a target application
  • the method further includes:
  • a graphic formed by the first input operation track is displayed.
  • the processor 610 executes, in a case where the target application is a shooting application, in response to the second input, starting the target shooting mode according to a target shooting mode corresponding to an operation trajectory of the second input.
  • Shooting applications including:
  • the target application is a shooting application and the second input operation trajectory matches the target trajectory, according to a preset correspondence between the shooting mode and the operation trajectory, shooting according to the target corresponding to the target trajectory Mode launches the shooting application.
  • the target shooting mode is a 2D shooting mode or a 3D shooting mode; after the processor 610 executes the shooting application program according to the target shooting mode corresponding to the second input operation track, the method Also includes:
  • the shooting mode is switched from a 2D shooting mode to a 3D shooting mode, or the shooting mode is switched from a 3D shooting mode to a 2D shooting mode.
  • the radio frequency unit 601 may be used to receive and send signals during the process of receiving and sending information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 610; To send uplink data to the base station.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 601 can also communicate with a network and other devices through a wireless communication system.
  • the terminal device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive email, browse web pages, and access streaming media.
  • the audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sound. Also, the audio output unit 603 may also provide audio output (for example, call signal reception sound, message reception sound, etc.) related to a specific function performed by the terminal device 600.
  • the audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 604 is used for receiving audio or video signals.
  • the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042.
  • the graphics processor 6041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frames may be displayed on a display unit 606.
  • the image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602.
  • the microphone 6042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode and output.
  • the terminal device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 6061 and the terminal 60 when the terminal device 600 moves to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary, which can be used to identify the attitude of the terminal device (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
  • the display unit 606 is configured to display information input by the user or information provided to the user.
  • the display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 607 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal device.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072.
  • Touch panel 6071 also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 6071 or near touch panel 6071 operating).
  • the touch panel 6071 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 610, receive the command sent by the processor 610 and execute it.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 6071.
  • the user input unit 607 may further include other input devices 6072.
  • other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
  • the touch panel 6071 may be overlaid on the display panel 6061.
  • the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch panel 6071 transmits the touch operation to the processor 610 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 6061.
  • the touch panel 6071 and the display panel 6061 are implemented as input and output functions of the terminal device as two independent components, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated.
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 608 is an interface through which an external device is connected to the terminal device 600.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more.
  • the interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal device 600 or may be used to connect the terminal device 600 and an external device. Transfer data between devices.
  • the memory 609 can be used to store software programs and various data.
  • the memory 609 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 609 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 610 is a control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device, and runs or executes software programs and / or modules stored in the memory 609 and calls data stored in the memory 609 , To perform various functions of the terminal device and process data, so as to monitor the terminal device as a whole.
  • the processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
  • the terminal device 600 may further include a power source 611 (such as a battery) for supplying power to various components.
  • a power source 611 such as a battery
  • the power source 611 may be logically connected to the processor 610 through a power management system, thereby implementing management of charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 600 includes some functional modules that are not shown, and details are not described herein again.
  • some embodiments of the present disclosure further provide a terminal device including a processor 610, a memory 609, and a computer program stored on the memory 609 and executable on the processor 610.
  • the computer program is processed by the processor.
  • processor 610 When 610 is executed, each process in the method for starting the application program is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described herein again.
  • Some embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开涉及通信技术领域,提供一种应用程序的启动方法及终端设备。该方法包括:接收第一输入;响应于所述第一输入,确定待启动的目标应用程序;接收第二输入;在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。

Description

应用程序的启动方法及终端设备
相关申请的交叉引用
本申请主张在2018年9月30日在中国提交的中国专利申请号No.201811158603.9的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信技术领域,尤其涉及一种应用程序的启动方法及终端设备。
背景技术
随着终端设备的发展,终端设备具备3D拍摄功能。使用3D摄像头进行拍摄,能够获得被拍摄对象的立体图像,从而能够提高拍摄效果。
目前,具有3D摄像头的终端设备同时具备2D拍摄能力,在用户进行拍照时,终端设备通常按照默认的拍摄模式启动拍摄应用程序。例如,在拍摄应用程序默认设置的拍摄模式为3D拍摄模式时,摄像头在启动时则开启3D拍摄模式。然而,用户需要在不同的场景中进行拍摄,当拍摄应用程序按照默认方式启动3D拍摄模式而用户不需要进行3D拍摄时,则导致终端设备的功耗较大。
可见,终端设备存在由于拍摄应用程序启动拍摄模式的灵活性差,导致终端设备的功耗大的问题。
发明内容
本公开的一些实施例提供一种应用程序的启动方法及终端设备,以解决由于拍摄应用程序启动拍摄模式的灵活性差,导致终端设备的功耗大的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开的一些实施例提供了一种应用程序的启动方法,包括:
接收第一输入;
响应于所述第一输入,确定待启动的目标应用程序;
接收第二输入;
在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
第二方面,本公开的一些实施例还提供一种终端设备,包括:
第一接收模块,用于接收第一输入;
确定模块,用于响应于所述第一输入,确定待启动的目标应用程序;
第二接收模块,用于接收第二输入;
启动模块,用于在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
第三方面,本公开的一些实施例还提供一种终端设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的应用程序的启动方法中的步骤。
第四方面,本公开的一些实施例还提供一种可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的应用程序的启动方法中的步骤。
本公开的一些实施例中,接收第一输入;响应于所述第一输入,确定待启动的目标应用程序;接收第二输入;在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。这样,用户可以根据实际拍摄需求启动相应拍摄模式的拍摄应用程序,启动方式灵活,能够降低终端设备的功耗。
附图说明
为了更清楚地说明本公开的一些实施例的技术方案,下面将对本公开的一些实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1a是本公开的一些实施例提供的应用程序的启动方法的流程图之一;
图1b是本公开的一些实施例提供的终端设备的显示界面图之一;
图1c是本公开的一些实施例提供的终端设备的显示界面图之二;
图1d是本公开的一些实施例提供的终端设备的显示界面图之三;
图2是本公开的一些实施例提供的应用程序的启动方法的流程图之二;
图3是本公开的一些实施例提供的终端设备的结构图之一;
图4是本公开的一些实施例提供的终端设备的结构图之二;
图5是本公开的一些实施例提供的终端设备的结构图之三;
图6是本公开的一些实施例提供的终端设备的结构图之四。
具体实施方式
下面将结合本公开的一些实施例中的附图,对本公开的一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
参见图1a,图1a是本公开的一些实施例提供的应用程序的启动方法的流程图。如图1a所示,包括以下步骤:
步骤101、接收第一输入。
其中,第一输入可以是用户在终端操作界面上的滑动操作、按压操作或者其他操作,例如,在显示界面上的滑动操作,或者对应用程序的图标的按压操作。
步骤102、响应于所述第一输入,确定待启动的目标应用程序。
终端设备可以根据第一输入的操作位置或者操作轨迹等操作参数,确定待启动的目标应用程序。例如,终端设备检测到对目标应用程序的图标的按压操作,确定待启动的目标应用程序;或者终端设备检测到与启动目标应用程序对应的操作,确定待启动的目标应用程序。
第一输入的操作轨迹可以经过拍摄应用程序的图标,也可以不经过拍摄应用程序的图标。例如,如图1b所示,第一输入为对拍摄应用程序的图标的圈选操作。
步骤103、接收第二输入。
其中,第二输入可以是用户在终端操作界面上的滑动操作,拖动操作等。
步骤104、在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
其中,拍摄应用程序可以是能够启动摄像头的任意应用程序。例如,终端设备的待机桌面上显示的用于拍摄的应用程序图标,用户对该图标进行操作可以触发终端设备启动该应用程序。
终端设备可以预先存储操作轨迹与拍摄模式之间的对应关系。其中,上述拍摄模式具体可以包括2D拍摄模式和3D拍摄模式、视频拍摄模式和照片拍摄模式、全景拍摄模式和普通拍摄模式、前置拍摄模式和后置拍摄模式、延时拍摄模式和连续拍摄模式,等等。在拍摄模式包括多种时,可以设置与多种拍摄模式一一对应的操作轨迹。在此步骤中,终端设备可以根据上述对应关系确定与第二输入的操作轨迹对应的目标拍摄模式,从而按照目标拍摄模式启动应用程序。进一步地,应用程序可以按照目标拍摄模式控制摄像头启动。
在此步骤中,从终端设备内部的实现方式来说,从操作系统的角度,可以按照以下方式实现:
终端设备的操作系统可以向拍摄应用程序发送启动指令和指示目标拍摄模式的指令,具体地,可以向拍摄应用程序发送用于指示启动拍摄应用程序的启动指令,该启动指令中携带目标拍摄模式。拍摄应用程序获取操作系统发送的启动指令后,根据启动指令启动拍摄应用程序,并按照启动指令携带的目标拍摄模式启动摄像头。
这样,终端设备的操作系统向拍摄应用程序发送用于启动拍摄应用程序的启动控制指令,启动控制指令中携带目标拍摄模式的参数信息。这样,拍摄应用程序在接收到启动控制指令后,能够根据启动控制指令启动拍摄应用程序,并按照目标拍摄模式启动摄像头。
可选的,从拍摄应用程序的角度,所述方法还包括:
拍摄应用程序获取操作系统发送的用于指示启动拍摄应用程序的第一指令,以及用于指示启动摄像头的目标拍摄模式的第二指令;根据所述第一指 令启动所述拍摄应用程序,并按照所述第二指令指示的所述目标拍摄模式启动所述摄像头。
在此步骤中,拍摄应用程序启动后,控制摄像头按照目标拍摄模式启动。
可选的,所述获取操作系统发送的用于指示启动拍摄应用程序的第一指令,以及用于指示启动摄像头的目标拍摄模式的第二指令,包括:
获取所述操作系统发送的启动指令,所述启动指令中携带用于指示启动所述拍摄应用程序的第一指示信息和用于指示启动摄像头的目标拍摄模式的第二指示信息;
所述根据所述第一指令启动所述拍摄应用程序,并按照所述第二指令指示的所述目标拍摄模式启动所述摄像头,包括:
根据所述启动指令中的第一指示信息启动所述拍摄应用程序,并按照所述启动指令中的第二指示信息所指示的目标拍摄模式启动所述摄像头。
在该实施方式中,拍摄应用程序通过接收操作系统发送的启动指令获取上述第一指令和第二指令,即第一指示信息和第二指示信息。拍摄应用程序根据接收到启动指令中的第一指示信息启动拍摄应用程序,并按照第二指示信息指示的目标拍摄模式启动摄像头。
终端设备能够根据操作系统发送的指令,按照用户所选择的拍摄模式快速启动摄像头,启动方式灵活,能够节约功耗。
相关技术中,操作系统在接收到用户的操作后,操作系统仅指示应用程序启动,然后应用程序按照预设的拍摄模式启动摄像头。而本公开的一些实施例中,操作系统可以根据用户的选择启动拍摄应用程序,且可以根据用户的操作确定拍摄模式,并控制拍摄应用程序按照确定的拍摄模式启动摄像头。
这样,用户可以控制摄像头按照用户选择的拍摄模式启动,摄像头的拍摄模式的确定方式灵活,可以节约终端设备的功耗。
进一步地,终端启动目标拍摄模式相应的摄像头模组,从而显示拍摄界面。在不同的拍摄模式对应不同的摄像头模组的情况下,可以启动与目标拍摄模式相应的摄像头;在同一摄像头模组能够实现不同拍摄模式的情况下,则可以启动摄像头模组的其中一种拍摄模式。
例如,在3D摄像头和2D摄像头分别为独立设置的摄像头模组时,若需 要启动3D拍摄模式,则启动3D摄像头模组;若需要启动2D拍摄模式,则启动2D摄像头模组。在3D摄像头模组中包括2D摄像头模组的情况下,若需要启动3D拍摄模式,则启动3D摄像头模组;若需要启动2D拍摄模式,则启动3D摄像头模组中的2D摄像头模组。
由于3D拍摄模式下需要采集图像的深度信息,终端设备启动3D摄像头模组时的功耗大于启动2D摄像头模组时的功耗。终端设备在按照默认的设置方式启动其中一种摄像模式的情况下,若启动的摄像头为3D摄像头模组,而实际拍摄场景仅需要使用2D拍摄模式,则终端设备的功耗较大。利用本公开的一些实施例的应用程序的启动方法,终端设备能够灵活、快速地启动需要使用的拍摄模式,并启动拍摄模式对应的摄像头模组,能够减少用户操作,减少终端设备的功耗。
本公开的一些实施例中,上述应用程序的启动方法可以应用于终端设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。
为了便于理解本实施例,以下结合具体实施方式进行举例说明。
例如,如图1b所示,用户对拍摄应用程序的图标进行圈选操作,终端设备获取位于圈选操作的操作轨迹内的图标,即拍摄应用程序的图标。用户可以继续在显示界面内进行滑动操作。若该滑动操作的滑动轨迹为如图1c中所示的“2”,终端设备根据该滑动轨迹确定该滑动轨迹对应的拍摄模式为2D拍摄模式,并按照2D拍摄模式启动摄像头。若该滑动操作的滑动轨迹为如图1d所示的“3”,终端设备根据该滑动轨迹确定滑动轨迹对应的拍摄模式为3D拍摄模式,并按照3D拍摄模式启动摄像头。
这样,用户可以选择需要启动的拍摄应用程序以及拍摄模式,终端设备可以按照该拍摄模式快速启动摄像头,可以减少终端的功耗。且用户操作方式灵活,用户操作便捷。
本公开的一些实施例的应用程序的启动方法,接收第一输入;响应于所述第一输入,确定待启动的目标应用程序;接收第二输入;在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入 的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。这样,用户可以根据实际拍摄需求启动相应的摄像头,且在启动拍摄应用程序的同时能够选择拍摄模式,启动方式灵活,减少用户操作,能够降低终端设备的功耗。
参见图2,本实施例与上述实施例的主要区别在于,在第一输入的操作轨迹形成封闭图形,且封闭图形内包含目标应用程序的图标的情况下,确定待启动的目标应用程序。图2是本公开的一些实施例提供的应用程序的启动方法的流程图,如图2所示,包括以下步骤:
步骤201、接收第一输入。
可选的,所述接收第一输入之后,所述方法还包括:
控制待启动的目标应用程序的图标增强显示;和/或
显示所述第一输入的操作轨迹所形成的图形。
在该实施方式中,可以显示第一输入的操作轨迹形成的图形,便于用户确认需要选择的图标,且可以提示用户已选择该图标,用户不需要再次进行选择操作,且可以防止用户误操作。该方式可以在步骤201之后执行。
另外,在根据第一输入确定所选中的目标应用程序后,可以控制待启动的目标应用程序的图标增强显示,以提示用户已选择该图标。例如,可以控制目标应用程序的图标浮起或者增大显示。该方式可以在步骤201或步骤202之后执行。上述两种方式均可以达到提示用户已选择图标的有益效果,在实际应用时,可以采用上述任一种或者两种方式进行提示。
步骤202、在所述第一输入的操作轨迹形成封闭图形,且所述封闭图形内包含目标应用程序的图标的情况下,确定所述目标应用程序为待启动的应用程序。
其中,封闭图形可以是圆形、方形、或者是其他不规则的封闭图形。封闭图形内包含目标应用程序的图标,表示目标应用程序的图标被选中,因此可以确定该图标对应的目标应用程序为待启动的应用程序。
进一步地,终端设备可以检测封闭图形内包含的应用程序的图标的数量,若封闭图形内包含的应用程序的图标的数量为1,则确定封闭图形内的图标对应的目标应用程序为待启动的应用程序。这样,可以防止终端设备发生误操作。
步骤203、接收第二输入。
步骤204、在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
其中,步骤201、步骤203、步骤204的具体实现方式可以参见图1a对应实施例中的相关描述,此处不再赘述。
可选的,所述在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序,包括:
在所述目标应用程序为拍摄应用程序,且所述第二输入的操作轨迹与目标轨迹匹配的情况下,根据拍摄模式与操作轨迹的预设对应关系,按照与所述目标轨迹对应的目标拍摄模式启动所述拍摄应用程序。
在该实施方式中,终端设备将第二输入的操作轨迹与预设的操作轨迹进行对比,若第二输入的操作轨迹与预设的操作轨迹中的目标轨迹匹配,则进一步确定与目标轨迹匹配的拍摄模式。若第二输入的操作轨迹与预设的操作轨迹不匹配,则可以输出不识别操作轨迹的提示信息。
其中,终端设备可以预先设置并存储多个操作轨迹,并设置每个操作轨迹与拍摄模式的对应关系。例如,设置操作轨迹为如图1c中所示的“2”的形状时,对应的拍摄模式为2D拍摄模式,设置操作轨迹为如图1d中所示的“3”的形状时,对应的拍摄模式为3D拍摄模式。这样,当用户进行第二输入,且第二输入的操作轨迹为“2”的形状时,则确定与该操作轨迹对应的拍摄模式为2D拍摄模式;当第二输入的操作轨迹为“3”的形状时,则确定与该操作轨迹对应的拍摄模式为3D拍摄模式。
这样,终端设备可以根据用户操作的操作轨迹确定拍摄模式,用户操作简单,提高操作效率。
可选的,所述目标拍摄模式为2D拍摄模式或3D拍摄模式;
所述按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序之后,所述方法还包括:
接收在拍摄界面内的第三输入;
响应于所述第三输入,将拍摄模式由2D拍摄模式切换为3D拍摄模式,或将拍摄模式由3D拍摄模式切换为2D拍摄模式。
其中,第三输入可以是用于触发拍摄模式切换的输入,具体可以是点击操作、滑动操作或者是其他操作。若当前拍摄模式为2D拍摄模式,则将2D拍摄模式切换为3D拍摄模式;若当前拍摄模式为3D拍摄模式,则将3D拍摄模式切换为2D拍摄模式。
例如,拍摄界面内显示有拍摄模式切换按钮,用户可以对切换按钮进行点击操作,触发拍摄模式切换;又如,用户可以在拍摄界面内进行滑动操作,当滑动距离大于预设距离时触发拍摄模式切换。
另外,当拍摄模式包括其他多种拍摄模式时,也可以按照上述方式进行拍摄模式之间的切换,例如,按照上述方式切换视频拍摄模式和拍照拍摄模式。
这样,用户可以快速在2D拍摄模式和3D拍摄模式之间进行切换,操作方式灵活,提高拍摄效率。
本公开的一些实施例的应用程序的启动方法,拍摄应用程序在启动摄像头时即显示为用户所选择的目标拍摄模式,启动方式灵活,减少用户操作,能够减少终端设备的功耗。
参见图3,图3是本公开的一些实施例提供的终端设备的结构图,如图3所示,终端设备300包括:第一接收模块301、确定模块302、第二接收模块303和启动模块304。
第一接收模块301,用于接收第一输入;
确定模块302,用于响应于所述第一输入,确定待启动的目标应用程序;
第二接收模块303,用于接收第二输入;
启动模块304,用于在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
可选的,所述确定模块302具体用于,在所述第一输入的操作轨迹形成封闭图形,且所述封闭图形内包含目标应用程序的图标的情况下,确定所述目标应用程序为待启动的应用程序。
可选的,如图4所示,所述终端设备还包括:
第一显示模块305,用于控制待启动的目标应用程序的图标增强显示;和/或
第二显示模块306,用于显示所述第一输入的操作轨迹所形成的图形。
可选的,所述启动模块304具体用于,在所述目标应用程序为拍摄应用程序,且所述第二输入的操作轨迹与目标轨迹匹配的情况下,根据拍摄模式与操作轨迹的预设对应关系,按照与所述目标轨迹对应的目标拍摄模式启动所述拍摄应用程序。
可选的,如图5所示,所述目标拍摄模式为2D拍摄模式或3D拍摄模式;
所述终端设备还包括:
第三接收模块307,用于接收在拍摄界面内的第三输入;
切换模块308,用于响应于所述第三输入,将拍摄模式由2D拍摄模式切换为3D拍摄模式,或将拍摄模式由3D拍摄模式切换为2D拍摄模式。
终端设备300能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。
本公开的一些实施例的终端设备300,用户可以根据实际拍摄需求启动相应拍摄模式的摄像头,启动方式灵活,能够降低终端设备的功耗。
图6为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开的一些实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。
其中,处理器610,用于:
接收第一输入;
响应于所述第一输入,确定待启动的目标应用程序;
接收第二输入;
在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
这样,用户可以根据实际拍摄需求启动相应拍摄模式的摄像头,启动方式灵活,能够降低终端设备的功耗。
可选的,处理器610执行所述响应于所述第一输入,确定待启动的目标应用程序,包括:
在所述第一输入的操作轨迹形成封闭图形,且所述封闭图形内包含目标应用程序的图标的情况下,确定所述目标应用程序为待启动的应用程序。
可选的,处理器610执行所述接收第一输入之后,所述方法还包括:
控制待启动的目标应用程序的图标增强显示;和/或
显示所述第一输入的操作轨迹所形成的图形。
可选的,处理器610执行所述在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序,包括:
在所述目标应用程序为拍摄应用程序,且所述第二输入的操作轨迹与目标轨迹匹配的情况下,根据拍摄模式与操作轨迹的预设对应关系,按照与所述目标轨迹对应的目标拍摄模式启动所述拍摄应用程序。
可选的,所述目标拍摄模式为2D拍摄模式或3D拍摄模式;处理器610执行所述按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序之后,所述方法还包括:
接收在拍摄界面内的第三输入;
响应于所述第三输入,将拍摄模式由2D拍摄模式切换为3D拍摄模式,或将拍摄模式由3D拍摄模式切换为2D拍摄模式。
应理解的是,本公开的一些实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。
终端设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与终端设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。
终端设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在终端设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配 置显示面板6061。
用户输入单元607可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元608为外部装置与终端设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备600内的一个或多个元件或者可以用于在终端设备600和外部装置之间传输数据。
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括 存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器610是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器610可包括一个或多个处理单元;可选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
终端设备600还可以包括给各个部件供电的电源611(比如电池),可选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端设备600包括一些未示出的功能模块,在此不再赘述。
可选的,本公开的一些实施例还提供一种终端设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述应用程序的启动方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开的一些实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用程序的启动方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还 包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (12)

  1. 一种应用程序的启动方法,应用于终端设备,包括:
    接收第一输入;
    响应于所述第一输入,确定待启动的目标应用程序;
    接收第二输入;
    在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
  2. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,确定待启动的目标应用程序,包括:
    在所述第一输入的操作轨迹形成封闭图形,且所述封闭图形内包含目标应用程序的图标的情况下,确定所述目标应用程序为待启动的应用程序。
  3. 根据权利要求1所述的方法,其中,所述接收第一输入之后,所述方法还包括:
    控制待启动的目标应用程序的图标增强显示;和/或
    显示所述第一输入的操作轨迹所形成的图形。
  4. 根据权利要求1所述的方法,其中,所述在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序,包括:
    在所述目标应用程序为拍摄应用程序,且所述第二输入的操作轨迹与目标轨迹匹配的情况下,根据拍摄模式与操作轨迹的预设对应关系,按照与所述目标轨迹对应的目标拍摄模式启动所述拍摄应用程序。
  5. 根据权利要求1至3任一项所述的方法,其中,所述目标拍摄模式为2D拍摄模式或3D拍摄模式;
    所述按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序之后,所述方法还包括:
    接收在拍摄界面内的第三输入;
    响应于所述第三输入,将拍摄模式由2D拍摄模式切换为3D拍摄模式,或将拍摄模式由3D拍摄模式切换为2D拍摄模式。
  6. 一种终端设备,包括:
    第一接收模块,用于接收第一输入;
    确定模块,用于响应于所述第一输入,确定待启动的目标应用程序;
    第二接收模块,用于接收第二输入;
    启动模块,用于在所述目标应用程序为拍摄应用程序的情况下,响应于所述第二输入,按照与所述第二输入的操作轨迹对应的目标拍摄模式启动所述拍摄应用程序。
  7. 根据权利要求6所述的终端设备,其中,所述确定模块具体用于,在所述第一输入的操作轨迹形成封闭图形,且所述封闭图形内包含目标应用程序的图标的情况下,确定所述目标应用程序为待启动的应用程序。
  8. 根据权利要求6所述的终端设备,还包括:
    第一显示模块,用于控制待启动的目标应用程序的图标增强显示;和/或
    第二显示模块,用于显示所述第一输入的操作轨迹所形成的图形。
  9. 根据权利要求6所述的终端设备,其中,所述启动模块具体用于,在所述目标应用程序为拍摄应用程序,且所述第二输入的操作轨迹与目标轨迹匹配的情况下,根据拍摄模式与操作轨迹的预设对应关系,按照与所述目标轨迹对应的目标拍摄模式启动所述拍摄应用程序。
  10. 根据权利要求6至9任一项所述的终端设备,其中,所述目标拍摄模式为2D拍摄模式或3D拍摄模式;
    所述终端设备还包括:
    第三接收模块,用于接收在拍摄界面内的第三输入;
    切换模块,用于响应于所述第三输入,将拍摄模式由2D拍摄模式切换为3D拍摄模式,或将拍摄模式由3D拍摄模式切换为2D拍摄模式。
  11. 一种终端设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述的应用程序的启动方法中的步骤。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现如权利要求1-5任一项所述应用程序的启动方法中的步骤。
PCT/CN2019/099930 2018-09-30 2019-08-09 应用程序的启动方法及终端设备 WO2020063136A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811158603.9 2018-09-30
CN201811158603.9A CN109358913B (zh) 2018-09-30 2018-09-30 一种应用程序的启动方法及终端设备

Publications (1)

Publication Number Publication Date
WO2020063136A1 true WO2020063136A1 (zh) 2020-04-02

Family

ID=65348588

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/099930 WO2020063136A1 (zh) 2018-09-30 2019-08-09 应用程序的启动方法及终端设备

Country Status (2)

Country Link
CN (1) CN109358913B (zh)
WO (1) WO2020063136A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358913B (zh) * 2018-09-30 2020-03-31 维沃移动通信(杭州)有限公司 一种应用程序的启动方法及终端设备
CN110290317A (zh) * 2019-06-25 2019-09-27 维沃移动通信有限公司 一种摄像头控制方法及终端设备
CN111966269A (zh) * 2020-08-03 2020-11-20 Oppo广东移动通信有限公司 一种应用程序操作方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149377A1 (en) * 2008-12-12 2010-06-17 Koichi Shintani Imaging apparatus
CN105677144A (zh) * 2015-12-30 2016-06-15 宇龙计算机通信科技(深圳)有限公司 拍照模式启动方法及装置、终端
CN105959545A (zh) * 2016-05-24 2016-09-21 北京小米移动软件有限公司 摄像机及控制摄像机的方法和装置
CN108259761A (zh) * 2018-03-23 2018-07-06 维沃移动通信有限公司 一种拍摄方法及终端
CN108388456A (zh) * 2018-01-30 2018-08-10 维沃移动通信有限公司 一种应用启动方法、移动终端
CN108595093A (zh) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 拍照控制方法、装置、存储介质和电子设备
CN109358913A (zh) * 2018-09-30 2019-02-19 维沃移动通信(杭州)有限公司 一种应用程序的启动方法及终端设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5264844B2 (ja) * 2010-09-06 2013-08-14 日本電信電話株式会社 ジェスチャ認識装置及び方法
KR101850035B1 (ko) * 2012-05-02 2018-04-20 엘지전자 주식회사 이동 단말기 및 그 제어방법
CN103024272A (zh) * 2012-12-14 2013-04-03 广东欧珀移动通信有限公司 移动终端的双摄像头控制装置、方法、系统以及移动终端
CN103049209B (zh) * 2012-12-31 2016-04-06 广东欧珀移动通信有限公司 在手机熄屏状态下启动手机相机的方法和装置
CN103389900B (zh) * 2013-07-23 2018-08-31 Tcl集团股份有限公司 一种Android设备摄像头使用的控制方法及装置
CN104834520A (zh) * 2015-04-17 2015-08-12 惠州Tcl移动通信有限公司 智能终端应用启动的方法及智能终端
CN107483807A (zh) * 2017-06-30 2017-12-15 珠海格力电器股份有限公司 一种自拍方法、装置及其移动终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149377A1 (en) * 2008-12-12 2010-06-17 Koichi Shintani Imaging apparatus
CN105677144A (zh) * 2015-12-30 2016-06-15 宇龙计算机通信科技(深圳)有限公司 拍照模式启动方法及装置、终端
CN105959545A (zh) * 2016-05-24 2016-09-21 北京小米移动软件有限公司 摄像机及控制摄像机的方法和装置
CN108388456A (zh) * 2018-01-30 2018-08-10 维沃移动通信有限公司 一种应用启动方法、移动终端
CN108259761A (zh) * 2018-03-23 2018-07-06 维沃移动通信有限公司 一种拍摄方法及终端
CN108595093A (zh) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 拍照控制方法、装置、存储介质和电子设备
CN109358913A (zh) * 2018-09-30 2019-02-19 维沃移动通信(杭州)有限公司 一种应用程序的启动方法及终端设备

Also Published As

Publication number Publication date
CN109358913A (zh) 2019-02-19
CN109358913B (zh) 2020-03-31

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
US11689649B2 (en) Shooting method and terminal
WO2019196707A1 (zh) 一种移动终端控制方法及移动终端
CN108471498B (zh) 一种拍摄预览方法及终端
CN108174103B (zh) 一种拍摄提示方法及移动终端
WO2019196929A1 (zh) 一种视频数据处理方法及移动终端
CN110213440B (zh) 一种图像分享方法及终端
US20200257433A1 (en) Display method and mobile terminal
WO2021104230A1 (zh) 同步方法及电子设备
WO2019196691A1 (zh) 一种键盘界面显示方法和移动终端
WO2020119413A1 (zh) 摄像头的启动方法、终端及计算机可读存储介质
WO2021129529A1 (zh) 设备切换方法及相关设备
CN109688253B (zh) 一种拍摄方法及终端
CN110865745A (zh) 一种截屏方法及终端设备
WO2021077908A1 (zh) 参数调节方法和电子设备
US11842029B2 (en) Image display method and mobile terminal
WO2020199986A1 (zh) 视频通话方法及终端设备
WO2020063136A1 (zh) 应用程序的启动方法及终端设备
WO2020042921A1 (zh) 屏幕控制方法及电子设备
CN108924422B (zh) 一种全景拍照方法及移动终端
CN108881721B (zh) 一种显示方法及终端
WO2019144815A1 (zh) 拍摄方法及移动终端
WO2020011080A1 (zh) 显示控制方法及终端设备
US20220141390A1 (en) Photographing method, device, and system, and computer-readable storage medium
CN108536513B (zh) 一种图片显示方向调整方法及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19865775

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19865775

Country of ref document: EP

Kind code of ref document: A1