WO2020258953A1 - 摄像头切换方法及终端设备 - Google Patents

摄像头切换方法及终端设备 Download PDF

Info

Publication number
WO2020258953A1
WO2020258953A1 PCT/CN2020/081255 CN2020081255W WO2020258953A1 WO 2020258953 A1 WO2020258953 A1 WO 2020258953A1 CN 2020081255 W CN2020081255 W CN 2020081255W WO 2020258953 A1 WO2020258953 A1 WO 2020258953A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
terminal device
input
control
user
Prior art date
Application number
PCT/CN2020/081255
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 WO2020258953A1 publication Critical patent/WO2020258953A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • 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/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • H04N23/662Transmitting camera control signals through networks, e.g. control via the Internet by using master/slave camera arrangements for affecting the control of camera image capture, e.g. placing the camera in a desirable condition to capture a desired image

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a camera switching method and terminal equipment.
  • the front camera of the terminal device can be set as a telescopic camera, thereby realizing a full-screen design of the terminal device.
  • the user can trigger the terminal device to switch between the front camera and the rear camera to adapt to different application scenarios. Specifically, when the front camera of the terminal device is working (the front camera extends from the inside of the terminal device), if the user needs to use the rear camera, the user can trigger the terminal device to switch from the front camera to The rear camera triggers the terminal device to close the front camera and control the front camera to retract into the terminal device, and turn on the rear camera (that is, the rear camera is in working state at this time).
  • the user can trigger the terminal device to switch from the rear camera to the front camera, that is, trigger the terminal device to turn off the rear camera, and turn on the front camera and control the front camera from the terminal The inside of the device sticks out.
  • the user when the user needs to alternately use the front camera and the rear camera of the terminal device, the user needs to trigger the terminal device to switch back and forth between the front camera and the rear camera multiple times, which leads to the front camera of the terminal device.
  • the camera is extended and retracted many times, which increases the mechanical loss of the camera and shortens the service life of the camera.
  • the embodiments of the present disclosure provide a camera switching method and a terminal device to solve the problem of increasing the mechanical loss of the front camera and shortening the service life of the front camera due to multiple extensions and retractions of the front camera.
  • inventions of the present disclosure provide a camera switching method, which can be applied to a terminal device.
  • the terminal device includes a first camera and a second camera.
  • the first camera is a telescopic camera.
  • the method includes: turning on the first camera and In the extended state, the user's first input is received; and in response to the first input, the first camera is turned off and the second camera is turned on; wherein, after responding to the first input, the first camera remains in the extended state.
  • an embodiment of the present disclosure provides a terminal device.
  • the terminal device includes a first camera, a second camera, a receiving module, and a processing module.
  • the first camera is a telescopic camera.
  • the receiving module is used to receive the first input of the user when the first camera is turned on and in the extended state; the processing module is used to turn off the first camera and turn on the second input in response to the first input received by the receiving module Camera; wherein, after the processing module responds to the first input, the first camera remains extended.
  • embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program is executed by the processor to realize the camera of the first aspect. Steps to switch methods.
  • embodiments of the present disclosure provide a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the camera switching method of the first aspect are implemented.
  • the terminal device may include a first camera and a second camera, and the first camera is a telescopic camera.
  • the terminal device can receive the user's first input when the first camera is turned on and in the extended state; and in response to the first input, turn off the first camera and turn on the second camera; wherein, after responding to the first input, The first camera remains extended.
  • the terminal device since the first camera is turned on and in the extended state, the user can trigger the terminal device to switch from the first camera to the second camera through the first input (ie turn off the first camera and turn on the second camera), And the first camera can remain extended after switching. Therefore, when the user needs to switch back to the first camera, the terminal device can directly turn off the second camera and turn on the first camera.
  • the terminal The device no longer needs to control the expansion and contraction of the first camera. In this way, during the process of alternate switching between the first camera and the second camera, the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure
  • FIG. 2 is one of the schematic diagrams of the camera switching method provided by the embodiments of the disclosure.
  • FIG 3 is one of the schematic diagrams of the interface of the camera switching method application provided by the embodiment of the disclosure.
  • FIG. 4 is a second schematic diagram of a camera switching method provided by an embodiment of the disclosure.
  • FIG 5 is the second schematic diagram of the interface of the camera switching method application provided by the embodiments of the disclosure.
  • FIG. 6 is the third schematic diagram of a camera switching method provided by an embodiment of the disclosure.
  • FIG. 7 is a fourth schematic diagram of a camera switching method provided by an embodiment of the disclosure.
  • FIG. 8 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 9 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first camera and the second camera are used to distinguish different cameras, rather than to describe the specific order of the cameras.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • Camera preview interface refers to the interface displayed by the terminal device when the camera application in the terminal device is running in the foreground of the terminal device.
  • the camera preview interface generally includes shooting controls, an album entry (the thumbnail displayed on the entry can be the thumbnail of the image captured by the camera application of the terminal device), camera switching controls, and a shooting preview area (used to display Preview image captured by the currently turned on camera).
  • Foreground running refers to a running state of the application in the terminal device in the terminal device.
  • an application running in the foreground of the terminal device means that the user interface of the application is displayed on the display screen of the terminal device, and the user can interact with the application by inputting on the user interface.
  • Background running refers to the running state of the application in the terminal device.
  • an application running in the background of the terminal device means that the application is running in the resource manager of the terminal device and the terminal
  • the user interface of the application is generally not displayed on the display of the device.
  • the camera application refers to the camera application.
  • the camera application is used to represent the camera application in the embodiments of the present disclosure.
  • the camera application and the camera application can be interchanged, and both have the same meaning.
  • the icon of the camera application refers to the icon of the camera application, or the shortcut icon of the camera application, or the like.
  • the embodiments of the present disclosure provide a camera switching method and a terminal device.
  • the terminal device may include a first camera and a second camera, and the first camera is a telescopic camera.
  • the terminal device can receive the user's first input when the first camera is turned on and in the extended state; and in response to the first input, turn off the first camera and turn on the second camera; wherein, after responding to the first input, The first camera remains extended.
  • the user since the first camera is turned on and in the extended state, the user can trigger the terminal device to switch from the first camera to the second camera through the first input (ie turn off the first camera and turn on the second camera), And the first camera can remain extended after switching.
  • the terminal device can directly turn off the second camera and turn on the first camera. That is, during the camera switching process, the terminal The device no longer needs to control the expansion and contraction of the first camera. In this way, during the process of alternate switching between the first camera and the second camera, the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment applied by the camera switching method provided by the embodiments of the present disclosure.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the camera switching method provided by the embodiment of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the interface
  • the camera switching method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the camera switching method provided in the embodiments of the present disclosure by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present disclosure may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the camera switching method provided by the embodiments of the present disclosure may be executed by the aforementioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the camera switching method.
  • the specifics can be determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited. The following takes a terminal device as an example to exemplarily describe the camera switching method provided by the embodiment of the present disclosure.
  • the terminal device may include multiple cameras.
  • the terminal device including two cameras as an example, assuming that the two cameras are the first camera and the second camera, and the first camera is a telescopic camera, then the first camera can be a front camera, and the second camera It can be a rear camera.
  • the embodiments of the present disclosure are all exemplified by taking the terminal device including the first camera and the second camera as an example.
  • the user when the user triggers the terminal device to switch between the first camera and the second camera, the user can trigger the terminal device to control only the first camera and the second camera through a specific input (for example, the first input described below) Switching between (ie, closing one and opening the other), there is no need to control the expansion and contraction of the first camera; that is, in the process of controlling the switching between the first camera and the second camera, the first camera can be kept extended.
  • the user can trigger the terminal device to turn off the first camera and turn on the second camera through the first input, and keep the first camera in the extended state (that is, without controlling The first camera is retracted into the terminal device).
  • the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • an embodiment of the present disclosure provides a camera switching method.
  • the method may include the following S201 and S202.
  • the above-mentioned first camera may be a front camera in a terminal device, and the first camera may be a telescopic camera. That is, the first camera can be retracted in the terminal device. Specifically, the first camera may be in an extended state or in a retracted state.
  • the above-mentioned first camera is in the extended state, which can be understood as the first camera in the extended state from the inside of the terminal device, that is, after the first camera moves from the first initial position by a preset stroke
  • the above-mentioned first camera in the retracted state can be understood as a state in which the first camera is retracted inside the terminal device, that is, the state where the first camera is after moving from the second initial position by a preset stroke.
  • the first initial position may be the initial position of the first camera inside the terminal device; the second initial position may be the initial position of the first camera outside the terminal device.
  • the above-mentioned first camera may be a vertical lifting telescopic camera, a semi-rotating telescopic camera, or other possible forms of cameras, which can be determined according to actual usage requirements.
  • the embodiment is not limited. That is, the terminal device can control the expansion and contraction of the first camera through the driving mechanism.
  • the terminal device can control the first camera to extend from or retract into the terminal device through the drive mechanism in the terminal device, that is, the terminal device can control the first camera to expand and contract through the drive mechanism.
  • the driving mechanism may be a lifting mechanism, a rotating mechanism, or a driving mechanism of other possible forms, which can be specifically determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the first camera when the driving mechanism is a lifting mechanism, the first camera may be a vertical lifting telescopic camera; when the driving mechanism is a rotating mechanism, the first camera may be a semi-rotating telescopic camera.
  • the terminal device when the first camera is a vertically-lifting telescopic camera, the terminal device can control the first camera to extend from or retract into the terminal device through the lifting mechanism.
  • the terminal device can control the first camera to extend from the terminal device (or called out from the terminal device) or retract into the terminal device (or called Screw into the terminal equipment).
  • the terminal device when the above-mentioned first camera is turned on and in an extended state, the terminal device may run a camera application in the foreground of the terminal device. Or, when the second camera is turned on, the terminal device may run the camera application in the foreground of the terminal device. It can be understood that in actual implementation, when the terminal device runs a camera application in the foreground of the terminal device, at least one camera in the terminal device is turned on.
  • the user can trigger the terminal device to run the camera application in the foreground of the terminal device by inputting the icon of the camera application (that is, the user triggers the terminal device to directly open the camera application), and the terminal device can start the first One camera or second camera.
  • the user can also trigger the terminal device to run the camera application in the foreground of the terminal device through input on the interface of other applications (that is, the user triggers the terminal device to call the camera application through other applications).
  • the terminal device can turn on the first camera or The second camera.
  • the camera preview interface of the camera application may be displayed on the display screen of the terminal device.
  • the camera preview interface may be the preview interface of the first camera or the preview interface of the second camera. Specifically, it can be determined according to the currently turned on camera, which is not limited in the embodiment of the present disclosure.
  • the above-mentioned first input may be an input by the user on the above-mentioned camera preview interface, or an input by the user to perform a preset gesture on the terminal device.
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the first input when the first input is the user's input on the camera preview interface, the first input may specifically be the user's input to the first control in the camera preview interface, and the above S201 may be specifically through the following S201a is implemented.
  • the aforementioned first control is a control in the camera preview interface.
  • the first input to the first control can be used to trigger the terminal device to turn off the first camera, turn on the second camera, and keep the first camera in an extended state.
  • the above-mentioned first input may be any possible input such as a click input, a long press input, or a double-press input, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned click input may be input of single click, double click, or continuous click for a preset number of times.
  • the aforementioned long-press input may be an input for a preset time of contact.
  • the above-mentioned re-press input is also called pressure touch input, which refers to an input in which the user presses with a pressure value greater than or equal to the pressure threshold.
  • the aforementioned camera preview interface may further include a fourth control.
  • the fourth control can be used to trigger the terminal device to switch between different cameras. For example, when the first camera is turned on and in the extended state, the user can trigger the terminal device to turn off the first camera and turn on the second camera by inputting the fourth control, and control the first camera to be in the retracted state. Or, when the second camera is turned on, the user can trigger the terminal device to turn off the second camera, turn on the first camera, and control the first camera to be in the extended state by inputting the fourth control. That is, the user can trigger the terminal device to switch between different cameras by inputting the fourth control.
  • the above-mentioned S201 may be specifically implemented by the following S201b.
  • the terminal device receives a first input of a user performing a preset gesture.
  • the above-mentioned first input may be a gesture input of the user's hand relative to the terminal device or the screen of the terminal device.
  • the terminal device may first detect the user's gesture, and when the user performs the preset gesture, the terminal device It can be determined that the first input is received.
  • the foregoing preset gesture may be any gesture that may implement the solution.
  • the aforementioned preset gesture may be a gesture in which the user's hand moves in a preset direction, or may be a gesture in which the user's hand moves along a preset trajectory, and may be any other gesture that may implement this solution, which can be specifically used according to actual usage.
  • the requirements are determined, and the embodiments of the present disclosure are not limited.
  • the terminal device turns off the first camera and turns on the second camera.
  • the first camera may remain extended. That is, after the terminal device responds to the first input, the terminal device may not control the first camera to retract into the terminal device.
  • the aforementioned terminal device turning off the first camera means that the terminal device controls the first camera to stop working, that is, the terminal device stops collecting images through the first camera.
  • the above-mentioned terminal device turning on the second camera means that the terminal device controls the second camera to start working, that is, the terminal device starts to collect images through the second camera.
  • the above-mentioned first camera remains extended, which means that when the terminal device switches from the first camera to the second camera, only the first camera is turned off without controlling the first camera to retract. Inside the terminal device (that is, there is no need to control the first camera to be in a retracted state). In this way, when the terminal device switches from the second camera to the first camera again, the terminal device does not need to control the first camera to extend from the terminal device, that is, during the camera switching process, the terminal device does not need to control the expansion of the first camera, so that Reduce the mechanical loss of the first camera and increase the service life of the first camera.
  • the terminal device includes a first camera and a second camera
  • the first camera is a vertical lift type telescopic camera.
  • the first camera is turned on and in the extended state
  • the camera preview interface displayed by the terminal device is the preview interface of the first camera
  • the camera preview interface includes the first control and the shooting preview area
  • the first camera is displayed in the shooting preview area.
  • the camera's shooting preview image (that is, the preview image collected by the first camera).
  • the first input is the user's click input on the first control.
  • the first camera 31 is in an extended state, and the camera preview interface (that is, the preview interface of the first camera) is displayed on the display screen of the terminal device, and the camera preview interface includes the first camera.
  • a control 32 and a shooting preview area 33 in which the shooting preview image of the first camera 31 (that is, the preview image collected by the first camera 31) is displayed.
  • the terminal device receives the user's first input to the first control
  • the terminal device responds to the first input, as shown in Figure 3 (b)
  • the terminal device can be closed
  • the first camera 31 and the second camera are turned on, and the first camera 31 remains in an extended state, and the shooting preview image displayed in the shooting preview area 33 is switched from the preview image collected by the first camera to the preview image collected by the second camera.
  • the terminal device since the first camera is turned on and in the extended state, the user can trigger the terminal device to switch from the first camera to the second camera through the first input (ie, turn off the first camera). , Turn on the second camera), and the first camera can remain extended after switching. Therefore, when the user needs to switch back to the first camera, the terminal device can directly close the second camera and turn on the first camera, namely During the camera switching process, the terminal device no longer needs to control the expansion and contraction of the first camera. In this way, during the process of alternate switching between the first camera and the second camera, the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • the terminal device may continue to display the first control in the camera preview interface; or it may cancel the display of the first control in the camera preview interface.
  • the terminal device may continue to display the first control in the camera preview interface; or it may cancel the display of the first control in the camera preview interface.
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the terminal device may display the foregoing fourth control in the camera preview interface.
  • the terminal device may display the second control in the camera preview interface.
  • the user can perform an input on the second control (for example, the second input below) to trigger the terminal device to control the first camera when the second camera is turned on.
  • the camera is retracted into the terminal device (that is, in a retracted state).
  • the camera switching method provided by the embodiment of the present disclosure may further include the following S203 and S204.
  • the above S201 is specifically implemented by the above S201a.
  • S203 The terminal device receives a second input from the user to the second control.
  • the above-mentioned second input may be any possible input such as a click input, a long press input, or a double-press input, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • a click input a long press input
  • a double-press input a double-press input
  • the description of the click input, long press input, and double press input please refer to the related description of the first input in S201a, which will not be repeated here.
  • the above-mentioned second control and the above-mentioned first control may be the same control or different controls, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present disclosure.
  • the terminal device controls the first camera to be in the retracted state, which can be understood as the terminal device controls the first camera to switch from the extended state to the retracted state, that is, the terminal device controls the first camera to retract.
  • the state of the first camera behind the terminal device can be understood as the terminal device controls the first camera to switch from the extended state to the retracted state, that is, the terminal device controls the first camera to retract.
  • the terminal device can control the first camera to retract into the terminal device through the above-mentioned driving mechanism.
  • the driving mechanism reference may be made to the related description of the driving mechanism in the above-mentioned embodiment, which will not be repeated here.
  • the second camera is turned on, the first camera is turned off, and the first camera remains extended, and the second control is displayed in the camera preview interface.
  • the second input is a long-press input of the user on the second control.
  • the first camera 51 is in the extended state, and a camera preview interface is displayed on the display screen of the terminal device.
  • the camera preview interface includes a second control 52 and a shooting preview area 53 , And the shooting preview image of the second camera (that is, the preview image collected by the second camera) is displayed in the shooting preview area 53.
  • the terminal device controls The first camera is in a retracted state (that is, the first camera is retracted into the terminal device), and the shooting preview area 53 continues to display the shooting preview image of the second camera (that is, the preview image collected by the second camera).
  • the second input of the second control can trigger the terminal device control
  • the first camera is in a retracted state, that is, the first camera is controlled to retract into the terminal device. Therefore, the flexibility of the user to use the camera is increased, and the human-computer interaction performance is improved.
  • the terminal device may cancel the display of the first control in the camera preview interface.
  • the camera switching method provided by the embodiment of the present disclosure may further include the following S205.
  • S205 The terminal device cancels the display of the first control in the camera preview interface.
  • the camera preview interface in S205 may be the preview interface of the second camera, that is, the shooting preview image of the second camera is displayed in the shooting preview area of the camera preview interface (that is, the preview image collected by the second camera is displayed).
  • the terminal device may continue to display the fourth control in the camera preview interface, and the first camera may remain in the extended state.
  • the user can trigger the terminal device to turn off the second camera and turn on the second camera by inputting the fourth control. In this way, you can switch from the second camera to the first camera without controlling the first camera to switch from the retracted state to the extended state (understandably, in this case, there is no need to control the first camera to extend from the terminal device ), avoiding frequent expansion and contraction of the first camera.
  • the terminal device turns off the first camera 31 and turns on the second camera, and after the first camera 31 remains extended, the terminal device can display in the shooting preview area 33
  • the preview image taken by the second camera that is, the preview image collected by the second camera
  • the display of the first control in the camera preview interface is cancelled.
  • the user can trigger the terminal device to switch from the second camera to the first camera again by inputting the fourth control, and during the switching process, the terminal device only needs to turn off the second camera and turn on the first camera.
  • the camera is sufficient, and there is no need to control the first camera to switch from the retracted state to the extended state (it is understandable that in this case, there is no need to control the first camera to extend from the inside of the terminal device).
  • the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • the terminal device can display the shooting preview image of the first camera (that is, the preview image collected by the first camera) in the camera preview interface. ). Since the first camera is a telescopic camera, and it takes a certain time for the telescopic camera to extend from the terminal device, and after the telescopic camera is fully extended from the terminal device (that is, after the first camera is in the extended state), the camera preview interface The shooting preview image of the telescopic camera (that is, the preview image collected by the telescopic camera) will be displayed.
  • the shooting preview image of the first camera ie, the first camera
  • Preview image collected by the first camera the switching time for switching from the second camera to the first camera is shortened, thereby speeding up the response speed of the terminal device and improving the user experience.
  • the terminal device when the terminal device turns off the first camera and turns on the second camera, that is, after the terminal device switches from the first camera to the second camera, the camera application in the terminal device runs in the foreground of the terminal device .
  • the terminal device can detect the running state of the camera application, and when detecting that the camera application is closed or the camera application is switched to run in the background of the terminal device, the terminal device can control the first camera to be in a retracted state.
  • the camera switching method provided in the embodiment of the present disclosure may further include the following S206.
  • the terminal device controls the first camera to be in a retracted state when detecting that the camera application is closed or switched to running in the background of the terminal device.
  • the terminal device when the camera application in the terminal device is closed or switched from running in the foreground of the terminal device to running in the background of the terminal device, the terminal device can automatically control the first camera to switch from the extended state to the retracted state, It can be understood that the terminal device can automatically control the first camera to retract into the terminal device.
  • the camera opened in the terminal device can be the first camera or the second camera. Camera. That is, when the first camera is turned on or the second camera is turned on, the camera applications in the terminal device are all running in the foreground of the terminal device.
  • the user can trigger the camera application to switch from running in the foreground of the terminal device to running in the background of the terminal device by inputting the home key or the return key in the terminal device.
  • the user can trigger the terminal device to close the camera application in the terminal device by inputting the interface of the recently run program in the terminal device.
  • the user before the user inputs to the recently run program interface in the terminal device, the user can first trigger the terminal device to display the recently run program interface through an input.
  • the terminal device when the camera application in the terminal device is closed or switched from running in the foreground of the terminal device to running in the background of the terminal device, the terminal device may also control the second camera to turn off.
  • the terminal device since the terminal device detects that the camera application is closed or switches from running in the foreground of the terminal device to running in the background of the terminal device, it can automatically control the first camera to be in the retracted state, and can automatically control the second camera.
  • the camera is off. Therefore, the first camera can be prevented from being exposed to the outside of the terminal device for a long time, so that the service life of the first camera can be increased.
  • the camera switching method provided in the embodiment of the present disclosure may also Including the following S207; and, the above S201 can be specifically implemented by the following S201c.
  • the terminal device receives a user's first input.
  • the aforementioned third control may be a control displayed in the aforementioned camera preview interface.
  • the third control may be used to indicate whether the first camera is in a locked state.
  • the above-mentioned first camera in the locked state can be understood as: locking the first camera in the extended state. That is, when the first camera is in the locked state, the first camera is in the extended state regardless of whether the terminal device switches the camera.
  • the foregoing third control may be a lock-shaped control as shown in 521 of (a) in FIG. 5.
  • the lock-shaped control can have two display states: a locked state and an open state.
  • a locked state When the terminal device displays the lock control in the locked state, it can indicate that the first camera is in the locked state; when the terminal device displays the lock control in the open state, it can indicate that the first camera is in the unlocked state.
  • the first camera when the first camera is in the locked state, no matter whether the terminal device switches the camera, the first camera is in the extended state; when the first camera is in the unlocked state, as the terminal device switches the camera, the first camera expands and contracts.
  • the lock-shaped control is in a locked state as an example for illustration, which does not impose any limitation on the embodiment of the present disclosure.
  • the lock-shaped control can have different displays under different conditions. State, such as the locked state or the open state described above.
  • maintaining the first camera in the extended state may include: maintaining the first camera in the extended state when the third control indicates that the first camera is in the locked state.
  • the third control can be used to indicate whether the first camera is in the locked state
  • the user can trigger the terminal device to update the display state of the third control, so as to realize that the first camera is in the locked state and the unlocked state. Switch between, which can increase the flexibility of the user to use the camera and improve the performance of human-computer interaction.
  • the camera switching methods shown in the drawings of the above methods are all exemplified in conjunction with a drawing in the embodiments of the present disclosure.
  • the camera switching methods shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
  • an embodiment of the present disclosure provides a terminal device 800.
  • the terminal device 800 may include a first camera, a second camera, a receiving module 801, and a processing module 802.
  • the first camera is a telescopic camera.
  • the receiving module 801 is used to receive the user's first input when the first camera is turned on and in the extended state; the processing module 802 is used to turn off the first camera in response to the first input received by the receiving module 801, and Turn on the second camera; wherein, after the processing module 802 responds to the first input, the first camera remains extended.
  • the above-mentioned first input may be a user's input to a first control, and the first control is a control in the camera preview interface displayed on the upper terminal device; or, the above-mentioned first input may be performed by the user Preset gesture input.
  • the above-mentioned first input is the user's input to the first control; the processing module 802 is further configured to cancel the preview of the first control on the camera after turning off the first camera and turning on the second camera. Display in the interface.
  • the above-mentioned first input is the user's input to the first control; the receiving module 801 is further configured to receive the user's input to the first control after the processing module 802 turns off the first camera and turns on the second camera.
  • the second input of the second control; the processing module 802 is also used to control the first camera in a retracted state in response to the second input received by the receiving module 801.
  • the processing module 802 when the camera application in the terminal device is running in the foreground of the terminal device; the processing module 802 is also configured to turn off the first camera and turn on the second camera, and then detect the When the camera application is closed or switched to the background operation of the terminal device, the first camera is controlled to be in a retracted state.
  • the processing module 802 is further configured to display a third control before the receiving module 801 receives the first input, and the third control may be used to indicate whether the first camera is in a locked state; wherein, Maintaining the extended state of the first camera may include: maintaining the extended state of the first camera when the third control indicates that the first camera is in the locked state.
  • the terminal device 800 provided in the embodiment of the present disclosure can implement the various processes implemented by the terminal device shown in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • An embodiment of the present disclosure provides a terminal device, which may include a first camera and a second camera, and the first camera is a telescopic camera.
  • the terminal device can receive the first input of the user when the first camera is turned on and in the extended state; and in response to the first input, turn off the first camera and turn on the second camera; wherein, after responding to the first input , The first camera remains extended.
  • the user since the first camera is turned on and in the extended state, the user can trigger the terminal device to switch from the first camera to the second camera through the first input (ie turn off the first camera and turn on the second camera), And the first camera can remain extended after switching.
  • the terminal device can directly turn off the second camera and turn on the first camera. That is, during the camera switching process, the terminal The device no longer needs to control the expansion and contraction of the first camera. In this way, during the process of alternate switching between the first camera and the second camera, the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • FIG. 9 is a schematic diagram of the hardware structure of a terminal device for implementing various embodiments of the present disclosure.
  • the terminal device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components.
  • the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
  • the user input unit 107 is configured to receive the first input of the user when the first camera is turned on and in the extended state; the processor 110 is configured to turn off the first input in response to the first input received by the user input unit 107 One camera, and the second camera is turned on; wherein, after the processor 110 responds to the first input received by the user input unit 107, the first camera remains extended.
  • An embodiment of the present disclosure provides a terminal device, which may include a first camera and a second camera, and the first camera is a telescopic camera.
  • the terminal device can receive the user's first input when the first camera is turned on and in the extended state; and in response to the first input, turn off the first camera and turn on the second camera; wherein, after responding to the first input, The first camera remains extended.
  • the terminal device since the first camera is turned on and in the extended state, the user can trigger the terminal device to switch from the first camera to the second camera through the first input (ie turn off the first camera and turn on the second camera), And the first camera can remain extended after switching. Therefore, when the user needs to switch back to the first camera, the terminal device can directly turn off the second camera and turn on the first camera.
  • the terminal The device no longer needs to control the expansion and contraction of the first camera. In this way, during the process of alternate switching between the first camera and the second camera, the terminal device does not need to control the first camera to expand and contract multiple times, thereby reducing the mechanical loss of the first camera and increasing the service life of the first camera.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; Uplink data is sent to the base station.
  • the radio frequency unit 101 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 101 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sounds. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture still pictures or video images 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 frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the terminal device 100 also includes at least one sensor 105, 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 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the terminal device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture 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 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be realized by multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it is transmitted to the processor 110 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the terminal device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 100 or can be used to connect to the terminal device 100 and external Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 109 may include a high-speed random access memory, and may also 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 110 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the terminal device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor 110 as shown in FIG. 9, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer
  • a terminal device including a processor 110 as shown in FIG. 9, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer
  • the program is executed by the processor 110, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

本公开实施例提供一种摄像头切换方法及终端设备,该方案包括:在第一摄像头开启且处于伸出状态,接收用户的第一输入;响应于第一输入,关闭第一摄像头,并开启第二摄像头;其中,响应第一输入之后,第一摄像头保持伸出状态。

Description

摄像头切换方法及终端设备
相关申请的交叉引用
本申请主张在2019年06月26日在中国提交的中国专利申请号No.201910563563.4的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种摄像头切换方法及终端设备。
背景技术
随着终端技术的发展,终端设备的屏占比越来越高。例如,可以将终端设备的前置摄像头设置为伸缩摄像头,从而实现终端设备的全面屏设计。
通常,用户可以触发终端设备在前置摄像头和后置摄像头之间切换,以适应不同的应用场景。具体的,在终端设备的前置摄像头处于工作状态(此时前置摄像头从终端设备内部伸出)的情况下,如果用户需求使用后置摄像头,那么用户可以触发终端设备从前置摄像头切换到后置摄像头,即触发终端设备关闭前置摄像头并控制前置摄像头缩回到终端设备内部,且开启后置摄像头(即此时后置摄像头处于工作状态)。此时,若用户又需求使用前置摄像头,则用户可以再触发终端设备从后置摄像头切换到前置摄像头,即触发终端设备关闭后置摄像头,且开启前置摄像头并控制前置摄像头从终端设备内部伸出。
然而,上述过程中,当用户需求交替使用终端设备的前置摄像头和后置摄像头时,用户需要多次触发终端设备在前置摄像头和后置摄像头之间来回切换,如此导致终端设备的前置摄像头多次伸出和缩回,从而增加了摄像头的机械损耗,缩短了摄像头的使用寿命。
发明内容
本公开实施例提供一种摄像头切换方法及终端设备,以解决由于前置摄像头多次伸出和缩回,而增加前置摄像头的机械损耗,缩短前置摄像头的使用寿命的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本公开实施例提供了一种摄像头切换方法,可以应用于终端设备,终端设备包括第一摄像头和第二摄像头,第一摄像头为伸缩摄像头,该方法包括:在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;且响应于第一输入,关闭第一摄像头,并开启第二摄像头;其中,响应第一输入之后,第一摄像头保持伸出状态。
第二方面,本公开实施例提供了一种终端设备,该终端设备包括第一摄像头、第二摄像头、接收模块和处理模块,第一摄像头为伸缩摄像头。接收模块,用于在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;处理模块,用于响应于接收模块接收的第一输入,关闭第一摄像头,并开启第二摄像头;其中,处理模块响应第一输入之后,第一摄像头保持伸出状态。
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在存 储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现上述第一方面的摄像头切换方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面的摄像头切换方法的步骤。
在本公开实施例中,终端设备可以包括第一摄像头和第二摄像头,第一摄像头为伸缩摄像头。终端设备可以在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;且响应于第一输入,关闭第一摄像头,并开启第二摄像头;其中,响应第一输入之后,第一摄像头保持伸出状态。通过该方案,由于在第一摄像头开启并处于伸出状态的情况下,用户可以通过第一输入触发终端设备从第一摄像头切换到第二摄像头(即关闭第一摄像头,开启第二摄像头),并且可以在切换后使得第一摄像头仍然保持伸出状态,因此当用户需要再切换回第一摄像头时,终端设备可以直接关闭第二摄像头,并开启第一摄像头,即在摄像头切换过程中,终端设备无需再控制第一摄像头伸缩。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
附图说明
图1为本公开实施例提供的一种可能的安卓操作***的架构示意图;
图2为本公开实施例提供的摄像头切换方法的示意图之一;
图3为本公开实施例提供的摄像头切换方法应用的界面示意图之一;
图4为本公开实施例提供的摄像头切换方法的示意图之二;
图5为本公开实施例提供的摄像头切换方法应用的界面示意图之二;
图6为本公开实施例提供的摄像头切换方法的示意图之三;
图7为本公开实施例提供的摄像头切换方法的示意图之四;
图8为本公开实施例提供的终端设备的结构示意图;
图9为本公开实施例提供的终端设备的硬件示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一摄像头和第二摄像头等是用于区别不同的摄像头,而不是用于描述摄像头的特定顺序。
在本公开实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不 应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。
下面首先对本公开的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。
相机预览界面:是指终端设备中的相机应用程序在终端设备的前台运行时,终端设备显示的界面。通常,相机预览界面中一般包括拍摄控件、相册入口(该入口上显示的缩略图可以为终端设备的相机应用最近一次拍摄得到的图像的缩略图)、摄像头切换控件和拍摄预览区(用于显示当前开启的摄像头采集的预览图像)。
前台运行:是指终端设备中的应用程序在终端设备中的一种运行状态。具体的,一个应用程序在终端设备的前台运行,是指终端设备的显示屏上显示该应用程序的用户界面,且用户可以通过在该用户界面上输入,实现与该应用程序交互。
后台运行:是指终端设备中的应用程序在终端设备中的一种运行状态,具体的,一个应用程序在终端设备的后台运行,是指应用程序在终端设备的资源管理器里运行,且终端设备的显示屏上一般不显示该应用程序的用户界面。用户需要使用或者查看该应用程序时,可以先触发终端设备将该应用程序切换为前台运行,然后再使用或者查看该应用程序。
需要说明的是,本公开实施例中,相机应用是指相机应用程序,为了便于描述,本公开实施例中均以相机应用表示相机应用程序。并且,在本公开实施例中,相机应用和相机应用程序可以互换,两者意思相同。此外,本公开实施例中,相机应用的图标是指相机应用程序的图标,或者相机应用程序的快捷图标等。
本公开实施例提供一种摄像头切换方法及终端设备,该终端设备可以包括第一摄像头和第二摄像头,第一摄像头为伸缩摄像头。终端设备可以在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;且响应于第一输入,关闭第一摄像头,并开启第二摄像头;其中,响应第一输入之后,第一摄像头保持伸出状态。通过该方案,由于在第一摄像头开启并处于伸出状态的情况下,用户可以通过第一输入触发终端设备从第一摄像头切换到第二摄像头(即关闭第一摄像头,开启第二摄像头),并且可以在切换后使得第一摄像头仍然保持伸出状态,因此当用户需要再切换回第一摄像头时,终端设备可以直接关闭第二摄像头,并开启第一摄像头,即在摄像头切换过程中,终端设备无需再控制第一摄像头伸缩。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
本公开实施例中的终端设备可以为具有操作***的终端设备。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本公开实施例不作具体限定。
下面以安卓操作***为例,介绍本公开实施例提供的摄像头切换方法所应用的软件环境。
如图1所示,为本公开实施例提供的一种可能的安卓操作***的架构示意图。在 图1中,安卓操作***的架构包括4层,分别为:应用程序层、应用程序框架层、***运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作***中的各个应用程序(包括***应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
***运行库层包括库(也称为***库)和安卓操作***运行环境。库主要为安卓操作***提供其所需的各类资源。安卓操作***运行环境用于为安卓操作***提供软件环境。
内核层是安卓操作***的操作***层,属于安卓操作***软件层次的最底层。内核层基于Linux内核为安卓操作***提供核心***服务和与硬件相关的驱动程序。
以安卓操作***为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作***的***架构,开发实现本公开实施例提供的摄像头切换方法的软件程序,从而使得该界面摄像头切换方法可以基于如图1所示的安卓操作***运行。即处理器或者终端设备可以通过在安卓操作***中运行该软件程序实现本公开实施例提供的摄像头切换方法。
本公开实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性地,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。
本公开实施例提供的摄像头切换方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该摄像头切换方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的摄像头切换方法进行示例性地说明。
本公开实施例中,终端设备可以包括多个摄像头。示例性地,以终端设备包括两个摄像头为例,假设这两个摄像头分别为第一摄像头和第二摄像头,且第一摄像头为伸缩摄像头,那么第一摄像头可以为前置摄像头,第二摄像头可以为后置摄像头。
需要说明的是,为了更好地描述和理解本公开实施例的各个实现方式,本公开实施例中均以终端设备包括第一摄像头和第二摄像头为例进行示例性地说明。
本公开实施例中,在用户触发终端设备在第一摄像头和第二摄像头切换的过程中,用户可以通过特定输入(例如下述的第一输入)触发终端设备只控制第一摄像头和第二摄像头之间的切换(即关闭一个,开启另一个),无需再控制第一摄像头伸缩;即在控制第一摄像头和第二摄像头切换的过程中,可以使得第一摄像头一直保持伸出状态。具体的,在第一摄像头开启且处于伸出状态的情况下,用户可以通过第一输入触发终端设备关闭第一摄像头,并开启第二摄像头,以及保持第一摄像头处于伸出状态(即无需控制第一摄像头缩回到该终端设备内部)。从而,在用户又需求使用第一摄像头时,用户只需通过另一个输入触发终端设备关闭第二摄像头,并开启第一摄像头, 即可实现第一摄像头和第二摄像头之间的切换。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
下面具体结合各个附图对本公开实施例提供的摄像头切换方法进行示例性地描述。
如图2所示,本公开实施例提供一种摄像头切换方法,该方法可以包括下述的S201和S202。
S201、在第一摄像头开启且处于伸出状态的情况下,终端设备接收用户的第一输入。
需要说明的是,本公开实施例中,上述第一摄像头可以为终端设备中的前置摄像头,且第一摄像头可以为伸缩摄像头。即第一摄像头可以在终端设备中伸缩。具体的,第一摄像头可以处于伸出状态,也可以处于缩回状态。
可选地,本公开实施例中,上述第一摄像头处于伸出状态,可以理解为第一摄像头处于从终端设备内部伸出到位的状态,即第一摄像头从第一初始位置移动预设行程之后所处的状态。上述第一摄像头处于缩回状态,可以理解为第一摄像头在终端设备内部处于缩回到位的状态,即第一摄像头从第二初始位置移动预设行程之后所处的状态。其中,可以理解,上述第一初始位置可以为第一摄像头在终端设备内部所处的初始位置;上述第二初始位置可以为第一摄像头在终端设备外部所处的初始位置。
可选地,本公开实施例中,上述第一摄像头可以为垂直升降式伸缩摄像头,也可以为半旋转式伸缩摄像头,还可以为其它可能形式的摄像头,具体可以根据实际使用需求确定,本公开实施例不作限定。即终端设备可以通过驱动机构控制第一摄像头伸缩。
可选地,本公开实施例中,终端设备可以通过终端设备中的驱动机构控制第一摄像头从终端设备内部伸出或缩回到终端设备内部,即终端设备可以通过驱动机构控制第一摄像头伸缩。该驱动机构可以为升降机构,也可以为旋转机构,还可以为其它可能形式的驱动机构,具体可以根据实际使用需求确定,本公开实施例不作限定。
示例性地,当上述驱动机构为升降机构时,上述第一摄像头可以为垂直升降式伸缩摄像头;当上述驱动机构为旋转机构时,上述第一摄像头可以为半旋转式伸缩摄像头。
具体的,本公开实施例中,当第一摄像头为垂直升降式伸缩摄像头时,终端设备可以通过升降机构控制第一摄像头从终端设备内部伸出或缩回到终端设备内部。当第一摄像头为半旋转式伸缩摄像头时,终端设备可以通过旋转机构控制第一摄像头从终端设备内部伸出(或称为从终端设备内部旋出)或缩回到终端设备内部(或称为旋入到终端设备内部)。
可选地,本公开实施例中,当上述第一摄像头开启且处于伸出状态时,终端设备可以在终端设备前台运行相机应用。或者,当第二摄像头开启时,终端设备可以在终端设备前台运行相机应用。可以理解,实际实现中,在终端设备在终端设备的前台运行相机应用的情况下,终端设备中至少有一个摄像头开启。
可选地,本公开实施例中,用户可以通过对相机应用的图标输入,触发终端设备在终端设备的前台运行相机应用(即用户触发终端设备直接打开相机应用),此时终 端设备可以开启第一摄像头或第二摄像头。用户也可以通过在其它应用程序的界面上的输入,触发终端设备在终端设备的前台运行相机应用(即用户触发终端设备通过其他应用程序调用相机应用),此时终端设备可以开启第一摄像头或第二摄像头。
本公开实施例中,终端设备在终端设备的前台运行相机应用时,终端设备的显示屏上可以显示相机应用的相机预览界面。其中,相机预览界面可以为第一摄像头的预览界面或第二摄像头的预览界面。具体可以根据当前开启的摄像头确定,本公开实施例不作限定。
对于相机预览界面的具体描述可以参见上述名词解释部分对相机预览界面的相关描述,此处不再赘述。
可选地,本公开实施例中,上述第一输入可以为用户在上述相机预览界面上的输入,也可以为用户对终端设备执行预设手势的输入。具体可以根据实际使用需求确定,本公开实施例不作限定。
一种实现方式中,当上述第一输入为用户在上述相机预览界面上的输入时,第一输入具体可以为用户对相机预览界面中的第一控件的输入,上述S201具体可以通过下述的S201a实现。
S201a、在第一摄像头开启且处于伸出状态的情况下,终端设备接收用户对第一控件的第一输入。
其中,上述第一控件为相机预览界面中的控件。对第一控件的第一输入可以用于触发终端设备关闭第一摄像头,并开启第二摄像头,以及使得第一摄像头保持伸出状态。
可选地,本公开实施例中,上述第一输入可以为点击输入、长按输入或者重按输入等任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。
其中,上述点击输入可以为单击、双击或者连续点击预设次数的输入。上述长按输入可以为接触预设时间的输入。上述重按输入也称为压力触控输入,是指用户以大于或等于压力阈值的压力值按下的输入。
需要说明的是,上述预设次数、预设时间以及压力阈值均可以根据实际使用需求确定,本公开实施例不作限定。
可选地,本公开实施例中,上述相机预览界面中还可以包括第四控件。第四控件可以用于触发终端设备在不同摄像头之间切换。例如,在第一摄像头开启且处于伸出状态的情况下,用户可以通过对第四控件的输入,触发终端设备关闭第一摄像头,并开启第二摄像头,以及控制第一摄像头处于缩回状态。或者,在第二摄像头开启的情况下,用户可以通过对第四控件的输入,触发终端设备关闭第二摄像头,并开启第一摄像头,以及控制第一摄像头处于伸出状态。即用户可以通过对第四控件的输入,触发终端设备在不同摄像头之间切换。
另一种实现方式中,当上述第一输入为用户对终端设备执行预设手势的输入时,上述S201具体可以通过下述的S201b实现。
S201b、在第一摄像头开启且处于伸出状态的情况下,终端设备接收用户执行预设手势的第一输入。
本公开实施例中,上述第一输入可以为用户的手相对于终端设备或者终端设备的 屏幕的手势输入。
可选地,本公开实施例中,终端设备接收用户对终端设备执行与预设手势对应的第一输入之前,终端设备可以先检测用户的手势,在检测到用户执行预设手势时,终端设备可以确定接收到第一输入。
可选地,本公开实施例中,上述预设手势可以为任意可能实现本方案的手势。例如,上述预设手势可以为用户的手沿预设方向移动的手势,或者可以为用户的手沿预设轨迹移动的手势,以及可以是其它任意可能实现本方案的手势,具体可以根据实际使用需求确定,本公开实施例不作限定。
S202、终端设备响应于第一输入,关闭第一摄像头,并开启第二摄像头。
其中,终端设备响应第一输入之后,第一摄像头可以保持伸出状态。即终端设备响应第一输入之后,终端设备可以不控制第一摄像头缩回到终端设备内部。
可以理解,本公开实施例中,上述终端设备关闭第一摄像头,是指终端设备控制第一摄像头停止工作,即终端设备停止通过第一摄像头采集图像。上述终端设备开启第二摄像头,是指终端设备控制第二摄像头开始工作,即终端设备开始通过第二摄像头采集图像。
可选地,本公开实施例中,上述第一摄像头保持伸出状态,是指终端设备在从第一摄像头切换到第二摄像头时,只关闭第一摄像头,而无需控制第一摄像头缩回到终端设备内部(即无需控制第一摄像头处于缩回状态)。如此,当终端设备再从第二摄像头切换到第一摄像头时,终端设备可以无需控制第一摄像头从终端设备内部伸出,即在摄像头切换过程中,终端设备无需控制第一摄像头伸缩,从而可以降低第一摄像头的机械损耗,并提高第一摄像头的使用寿命。
下面再结合图3和图4对上述S201和S202所示的摄像头切换方法进行进一步示例性地说明。
示例性地,假设终端设备包括第一摄像头和第二摄像头,且第一摄像头为垂直升降式伸缩摄像头。又假设第一摄像头开启且处于伸出状态,且终端设备显示的相机预览界面为第一摄像头的预览界面,并且相机预览界面中包括第一控件和拍摄预览区,以及拍摄预览区中显示第一摄像头的拍摄预览图像(即第一摄像头采集的预览图像)。再假设第一输入为用户对第一控件的点击输入。那么,如图3中的(a)所示,第一摄像头31处于伸出状态,且终端设备的显示屏上显示相机预览界面(即第一摄像头的预览界面),该相机预览界面中包括第一控件32和拍摄预览区33,该拍摄预览区33中显示第一摄像头31的拍摄预览图像(即第一摄像头31采集的预览图像)。此时,用户点击第一控件32,即终端设备接收到用户对第一控件的第一输入,那么终端设备响应于该第一输入,如图3中的(b)所示,终端设备可以关闭第一摄像头31,并开启第二摄像头,以及第一摄像头31保持伸出状态,且拍摄预览区33中显示的拍摄预览图像从第一摄像头采集的预览图像切换为第二摄像头采集的预览图像。
本公开实施例提供的摄像头切换方法中,由于在第一摄像头开启且处于伸出状态的情况下,用户可以通过第一输入触发终端设备从第一摄像头切换到第二摄像头(即关闭第一摄像头,开启第二摄像头),并且可以在切换后使得第一摄像头仍然保持伸出状态,因此当用户需要再切换回第一摄像头时,终端设备可以直接关闭第二摄像头, 并开启第一摄像头,即在摄像头切换过程中,终端设备无需再控制第一摄像头伸缩。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
可选地,本公开实施例中,终端设备执行上述S202之后,可以继续在相机预览界面中显示第一控件;也可以取消第一控件在相机预览界面中的显示。具体可以根据实际使用需求确定,本公开实施例不作限定。
可以理解,本公开实施例中,在终端设备执行上述S202之后,无论第一控件是否继续在相机预览界面中显示,终端设备均可以在相机预览界面中显示上述第四控件。
可选地,本公开实施例中,在终端设备执行上述S202之后,终端设备可以在相机预览界面中显示第二控件。这种情况下,如果用户不再需求使用第一摄像头,那么用户可以通过对第二控件执行一个输入(例如下述第二输入),触发终端设备在第二摄像头开启的情况下,控制第一摄像头缩回到终端设备内部(即处于缩回状态)。
示例性地,结合上述图2,如图4所示,在上述S202之后,本公开实施例提供的摄像头切换方法还可以包括下述的S203和S204。并且,上述S201具体是通过上述S201a实现的。
S203、终端设备接收用户对第二控件的第二输入。
可选地,本公开实施例中,上述第二输入可以为点击输入、长按输入或者重按输入等任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。对于点击输入、长按输入以及重按输入的描述具体可以参见上述S201a中对第一输入的相关描述,此处不再赘述。
可选地,上述第二控件与上述第一控件可以为相同的控件,也可以为不同的控件,具体可以根据实际使用需求确定,本公开实施例不作限定。
S204、终端设备响应于第二输入,控制第一摄像头处于缩回状态。
可以理解,本公开实施例中,终端设备控制第一摄像头处于缩回状态,可以理解为终端设备控制第一摄像头从伸出状态切换为缩回状态,也即终端设备控制第一摄像头缩回到终端设备内部之后,第一摄像头所处的状态。
本公开实施例中,终端设备可以通过上述驱动机构控制第一摄像头缩回到终端设备内部。具体的,对于驱动机构的描述具体可以参见上述实施例中对驱动机构的相关描述,此处不再赘述。
下面再结合图5对上述S203-S204所示的摄像头切换方法进行进一步示例性地说明。
假设第二摄像头开启,第一摄像头关闭,且第一摄像头保持伸出状态,以及相机预览界面中显示第二控件。又假设第二输入为用户对第二控件的长按输入。那么,如图5中的(a)所示,第一摄像头51处于从伸出状态,且终端设备的显示屏上显示相机预览界面,该相机预览界面中包括第二控件52和拍摄预览区53,且该拍摄预览区53中显示第二摄像头的拍摄预览图像(即第二摄像头采集的预览图像)。此时,用户长按第二控件52,即终端设备接收到用户对第二控件的第二输入,那么终端设备响应于该第二输入,如图5中的(b)所示,终端设备控制第一摄像头处于缩回状态(即第一摄像头缩回到终端设备内部的状态),且该拍摄预览区53中继续显示第二摄像头的 拍摄预览图像(即第二摄像头采集的预览图像)。
本公开实施例中,由于用户可以在第二摄像头开启(即第二摄像头处于工作状态),且用户不再需求使用第一摄像头时,可以通过对第二控件的第二输入,触发终端设备控制第一摄像头处于缩回状态,即控制第一摄像头缩回到终端设备内部。因此,增加了用户使用摄像头的灵活性,提高了人机交互性能。
可选地,本公开实施例中,在终端设备执行上述S202之后,终端设备可以取消第一控件在相机预览界面中的显示。
示例性地,结合上述图2,如图6所示,在上述S202之后,本公开实施例提供的摄像头切换方法还可以包括下述的S205。
S205、终端设备取消第一控件在相机预览界面中的显示。
其中,S205中的相机预览界面可以为第二摄像头的预览界面,即相机预览界面的拍摄预览区中显示第二摄像头的拍摄预览图像(也即显示第二摄像头采集的预览图像)。
需要说明的是,终端设备取消第一控件在相机预览界面中的显示之后,可以继续在相机预览界面中显示第四控件,且第一摄像头可以保持伸出状态。此时,若用户需求使用第一摄像头,那么用户可以通过对第四控件的输入,触发终端设备关闭第二摄像头,并开启第二摄像头。如此,即可从第二摄像头切换到第一摄像头,而无需控制第一摄像头从缩回状态切换至伸出状态(可以理解,这种情况下,无需再控制第一摄像头从终端设备内部伸出),避免了第一摄像头的频繁伸缩。
示例性地,如图3中的(b)所示,终端设备关闭第一摄像头31,并开启第二摄像头,以及第一摄像头31保持伸出状态之后,终端设备可以在拍摄预览区33中显示第二摄像头的拍摄预览图像(即第二摄像头采集的预览图像),并取消第一控件在相机预览界面中的显示。
本公开实施例中,由于用户可以通过对第四控件的输入,触发终端设备再次从第二摄像头切换为第一摄像头,且在切换过程中,终端设备只需关闭第二摄像头,且开启第一摄像头即可,无需再控制第一摄像头从缩回状态切换至伸出状态(可以理解,这种情况下,无需再控制第一摄像头从终端设备内部伸出)。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
进一步的,本公开实施例中,在终端设备关闭第二摄像头,并开启第一摄像头之后,终端设备即可在相机预览界面中显示第一摄像头的拍摄预览图像(即第一摄像头采集的预览图像)。由于第一摄像头为伸缩摄像头,且伸缩摄像头从终端设备内部伸出需要一定时间,并且在伸缩摄像头完全从终端设备内部伸出之后(即第一摄像头处于伸出状态之后),相机预览界面中才会显示该伸缩摄像头的拍摄预览图像(即该伸缩摄像头采集的预览图像)。因此,与传统伸缩摄像头的伸出过程相比,本公开实施例中,由于只需关闭第二摄像头,并开启第一摄像头,即可在相机预览界面中显示第一摄像头的拍摄预览图像(即第一摄像头采集的预览图像)。因此,缩短了从第二摄像头切换到第一摄像头的切换时间,从而加快了终端设备的响应速度,提高了用户体验。
可选地,本公开实施例中,当终端设备关闭第一摄像头,并开启第二摄像头,即 终端设备从第一摄像头切换到第二摄像头之后,终端设备中的相机应用在终端设备的前台运行。此时,终端设备可以检测相机应用的运行状态,并在检测到相机应用关闭或者相机应用切换到在终端设备的后台运行时,终端设备可以控制第一摄像头处于缩回状态。
示例性地,结合上述图2,如图7所示,在上述S202之后,本公开实施例提供的摄像头切换方法还可以包括下述的S206。
S206、终端设备在检测到相机应用关闭或切换到终端设备的后台运行的情况下,控制第一摄像头处于缩回状态。
对于后台运行的描述具体可以参见上述名词解释部分对后台运行的相关描述,此处不再赘述。
本公开实施例中,当终端设备中的相机应用关闭或者从在终端设备的前台运行切换到在终端设备的后台运行时,终端设备可以自动控制第一摄像头从伸出状态切换为缩回状态,可以理解,终端设备可以自动控制第一摄像头缩回到终端设备内部。
可以理解,本公开实施例中,当终端设备中的相机应用在终端设备的前台运行,且第一摄像头处于伸出状态时,终端设备中开启的摄像头可以为第一摄像头,也可以为第二摄头。即在第一摄像头开启或第二摄像头开启的情况下,终端设备中的相机应用均在终端设备的前台运行。
可选地,本公开实施例中,用户可以通过对终端设备中的home键或者返回键输入,触发相机应用从在终端设备的前台运行切换到在终端设备的后台运行。
可选地,本公开实施例中,用户可以通过对终端设备中的最近运行程序界面输入,触发终端设备关闭终端设备中的相机应用。实际实现中,在用户对终端设备中的最近运行程序界面输入之前,用户可以先通过一个输入触发终端设备显示最近运行程序界面。
可选地,本公开实施例中,当终端设备中的相机应用关闭或者从在终端设备的前台运行切换到在终端设备的后台运行时,终端设备还可以控制第二摄像头关闭。
本公开实施例中,由于终端设备在检测到相机应用关闭或者从在终端设备的前台运行切换到在终端设备的后台运行时,可以自动控制第一摄像头处于缩回状态,并可以自动控制第二摄像头关闭。因此,可以防止第一摄像头长时间暴露在终端设备外部,从而可以提高第一摄像头的使用寿命。
可选地,本公开实施例中,在上述S201中的在第一摄像头开启且处于伸出状态的情况下,在终端设备接收上述第一输入之前,本公开实施例提供的摄像头切换方法还可以包括下述的S207;并且,上述S201具体可以通过下述的S201c实现。
S207、在第一摄像头开启且处于伸出状态的情况下,终端设备显示第三控件。
S201c、终端设备接收用户的第一输入。
可选地,本公开实施例中,上述第三控件可以为上述相机预览界面中显示的控件。上述第三控件可以用于指示上述第一摄像头是否处于锁定状态。
其中,上述第一摄像头处于锁定状态可以理解为:锁定第一摄像头处于伸出状态。即在第一摄像头处于锁定状态时,无论终端设备是否切换摄像头,第一摄像头均处于伸出状态。
示例性地,上述第三控件可以为如图5中的(a)的521所示的锁形控件。该锁形控件可以具有锁住状态和打开状态两种显示状态。当终端设备以锁住状态显示锁形控件时,可以指示第一摄像头处于锁定状态;当终端设备以打开状态显示锁形控件时,可以指示第一摄像头处于非锁定状态。其中,在第一摄像头处于锁定状态时,无论终端设备是否切换摄像头,第一摄像头均处于伸出状态;在第一摄像头处于非锁定状态时,随着终端设备切换摄像头,第一摄像头进行伸缩。
需要说明的是,图5中是以锁形控件处于锁住状态为例进行示意的,其并不对本公开实施例造成任何限定,实际实现中,锁形控件可以在不同情况下具有不同的显示状态,例如上述锁住状态或打开状态。
本发明实施例中,第一摄像头保持伸出状态可以包括:在第三控件指示第一摄像头处于锁定状态的情况下,第一摄像头保持伸出状态。
本公开实施例中,由于第三控件可以用于指示第一摄像头是否处于锁定状态,因此用户可以通过触发终端设备更新第三控件的显示状态,以实现第一摄像头在锁定状态和非锁定状态之间切换,从而可以增加用户使用摄像头的灵活性,提高人机交互性能。
需要说明的是,本公开实施例中,上述各个方法附图所示的摄像头切换方法均是以结合本公开实施例中的一个附图为例示例性地说明的。具体实现时,上述各个方法附图所示的摄像头切换方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
如图8所示,本公开实施例提供一种终端设备800,该终端设备800可以包括第一摄像头、第二摄像头、接收模块801和处理模块802,第一摄像头为伸缩摄像头。接收模块801,用于在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;处理模块802,用于响应于接收模块801接收的第一输入,关闭第一摄像头,并开启第二摄像头;其中,处理模块802响应第一输入之后,第一摄像头保持伸出状态。
可选地,本公开实施例中,上述第一输入可以为用户对第一控件的输入,第一控件为上终端设备显示的相机预览界面中的控件;或者,上述第一输入可以为用户执行预设手势的输入。
可选地,本公开实施例中,上述第一输入为用户对第一控件的输入;处理模块802,还用于在关闭第一摄像头,并开启第二摄像头之后,取消第一控件在相机预览界面中的显示。
可选地,本公开实施例中,上述第一输入为用户对第一控件的输入;接收模块801,还用于在处理模块802关闭第一摄像头,并开启第二摄像头之后,接收用户对第二控件的第二输入;处理模块802,还用于响应于接收模块801接收的第二输入,控制第一摄像头处于缩回状态。
可选地,本公开实施例中,上述终端设备中的相机应用在该终端设备的前台运行时;处理模块802,还用于在关闭第一摄像头,并开启第二摄像头之后,在检测到该相机应用关闭或切换到该终端设备的后台运行的情况下,控制第一摄像头处于缩回状态。
可选地,本公开实施例中,上述处理模块802,还用于在接收模块801接收第一 输入之前,显示第三控件,第三控件可以用于指示第一摄像头是否处于锁定状态;其中,第一摄像头保持伸出状态可以包括:在第三控件指示第一摄像头处于锁定状态的情况下,第一摄像头保持伸出状态。
本公开实施例提供的终端设备800能够实现上述方法实施例所示的终端设备实现的各个过程,为避免重复,这里不再赘述。
本公开实施例提供一种终端设备,该终端设备可以包括第一摄像头和第二摄像头,第一摄像头为伸缩摄像头。该终端设备可以在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;且响应于第一输入,关闭第一摄像头,并开启第二摄像头;其中,响应第一输入之后,第一摄像头保持伸出状态。通过该方案,由于在第一摄像头开启并处于伸出状态的情况下,用户可以通过第一输入触发终端设备从第一摄像头切换到第二摄像头(即关闭第一摄像头,开启第二摄像头),并且可以在切换后使得第一摄像头仍然保持伸出状态,因此当用户需要再切换回第一摄像头时,终端设备可以直接关闭第二摄像头,并开启第一摄像头,即在摄像头切换过程中,终端设备无需再控制第一摄像头伸缩。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
图9为实现本公开各个实施例的一种终端设备的硬件结构示意图。如图9所示,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图9中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。
其中,用户输入单元107,用于在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;处理器110,用于响应于用户输入单元107接收的第一输入,关闭第一摄像头,并开启第二摄像头;其中,处理器110响应于用户输入单元107接收的第一输入之后,第一摄像头保持伸出状态。
本公开实施例提供一种终端设备,该终端设备可以包括第一摄像头和第二摄像头,第一摄像头为伸缩摄像头。终端设备可以在第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;且响应于第一输入,关闭第一摄像头,并开启第二摄像头;其中,响应第一输入之后,第一摄像头保持伸出状态。通过该方案,由于在第一摄像头开启并处于伸出状态的情况下,用户可以通过第一输入触发终端设备从第一摄像头切换到第二摄像头(即关闭第一摄像头,开启第二摄像头),并且可以在切换后使得第一摄像头仍然保持伸出状态,因此当用户需要再切换回第一摄像头时,终端设备可以直接关闭第二摄像头,并开启第一摄像头,即在摄像头切换过程中,终端设备无需再控制第一摄像头伸缩。如此,在第一摄像头和第二摄像头交替切换的过程中,终端设备无需再控制第一摄像头多次伸缩,从而降低了第一摄像头的机械损耗,提高了第一摄像头的使用寿命。
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信***与网络和其他设备通信。
终端设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采 用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图9中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
终端设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
另外,终端设备100包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端设备,包括如图9所示的处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到 相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (14)

  1. 一种摄像头切换方法,应用于终端设备,所述终端设备包括第一摄像头和第二摄像头,所述第一摄像头为伸缩摄像头,所述方法包括:
    在所述第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;
    响应于所述第一输入,关闭所述第一摄像头,并开启所述第二摄像头;
    其中,响应所述第一输入之后,所述第一摄像头保持伸出状态。
  2. 根据权利要求1所述的方法,其中,所述第一输入为用户对第一控件的输入,所述第一控件为所述终端设备显示的相机预览界面中的控件;
    或者,
    所述第一输入为用户执行预设手势的输入。
  3. 根据权利要求2所述的方法,其中,所述第一输入为用户对所述第一控件的输入;
    所述关闭所述第一摄像头,并开启所述第二摄像头之后,所述方法还包括:
    取消所述第一控件在所述相机预览界面中的显示。
  4. 根据权利要求2所述的方法,其中,所述第一输入为用户对所述第一控件的输入;
    所述关闭所述第一摄像头,并开启所述第二摄像头之后,所述方法还包括:
    接收用户对第二控件的第二输入;
    响应于所述第二输入,控制所述第一摄像头处于缩回状态。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述终端设备中的相机应用在所述终端设备的前台运行;
    所述关闭所述第一摄像头,并开启所述第二摄像头之后,所述方法还包括:
    在检测到所述相机应用关闭或切换到所述终端设备的后台运行的情况下,控制所述第一摄像头处于缩回状态。
  6. 根据权利要求1所述的方法,其中,所述接收用户的第一输入之前,所述方法还包括:
    显示第三控件,所述第三控件用于指示所述第一摄像头是否处于锁定状态;
    其中,所述第一摄像头保持伸出状态包括:在所述第三控件指示所述第一摄像头处于锁定状态的情况下,所述第一摄像头保持伸出状态。
  7. 一种终端设备,所述终端设备包括第一摄像头、第二摄像头、接收模块和处理模块,所述第一摄像头为伸缩摄像头;
    所述接收模块,用于在所述第一摄像头开启且处于伸出状态的情况下,接收用户的第一输入;
    所述处理模块,用于响应于所述接收模块接收的所述第一输入,关闭所述第一摄像头,并开启所述第二摄像头;
    其中,所述处理模块响应所述第一输入之后,所述第一摄像头保持伸出状态。
  8. 根据权利要求7所述的终端设备,其中,所述第一输入为用户对第一控件的输入,所述第一控件为所述终端设备显示的相机预览界面中的控件;
    或者,
    所述第一输入为用户执行预设手势的输入。
  9. 根据权利要求8所述的终端设备,其中,所述第一输入为用户对所述第一控件的输入;
    所述处理模块,还用于在关闭所述第一摄像头,并开启所述第二摄像头之后,取消所述第一控件在所述相机预览界面中的显示。
  10. 根据权利要求8所述的终端设备,其中,所述第一输入为用户对所述第一控件的输入;
    所述接收模块,还用于在所述处理模块关闭所述第一摄像头,并开启所述第二摄像头之后,接收用户对第二控件的第二输入;
    所述处理模块,还用于响应于所述接收模块接收的所述第二输入,控制所述第一摄像头处于缩回状态。
  11. 根据权利要求7至10中任一项所述的终端设备,其中,所述终端设备中的相机应用在所述终端设备的前台运行;
    所述处理模块,还用于在关闭所述第一摄像头,并开启所述第二摄像头之后,在检测到所述相机应用关闭或切换到所述终端设备的后台运行的情况下,控制所述第一摄像头处于缩回状态。
  12. 根据权利要求8所述的终端设备,其中,所述处理模块,还用于在所述接收模块接收所述第一输入之前,显示第三控件,所述第三控件用于指示所述第一摄像头是否处于锁定状态;
    其中,所述第一摄像头保持伸出状态包括:在所述第三控件指示所述第一摄像头处于锁定状态的情况下,所述第一摄像头保持伸出状态。
  13. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的摄像头切换方法的步骤。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的摄像头切换方法的步骤。
PCT/CN2020/081255 2019-06-26 2020-03-25 摄像头切换方法及终端设备 WO2020258953A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910563563.4A CN110445979B (zh) 2019-06-26 2019-06-26 一种摄像头切换方法及终端设备
CN201910563563.4 2019-06-26

Publications (1)

Publication Number Publication Date
WO2020258953A1 true WO2020258953A1 (zh) 2020-12-30

Family

ID=68429035

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/081255 WO2020258953A1 (zh) 2019-06-26 2020-03-25 摄像头切换方法及终端设备

Country Status (2)

Country Link
CN (1) CN110445979B (zh)
WO (1) WO2020258953A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115484391A (zh) * 2021-06-16 2022-12-16 荣耀终端有限公司 一种拍摄方法及电子设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445979B (zh) * 2019-06-26 2021-03-23 维沃移动通信有限公司 一种摄像头切换方法及终端设备
CN113301404A (zh) * 2020-02-24 2021-08-24 聚好看科技股份有限公司 显示设备和控制方法

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070172226A1 (en) * 2006-01-25 2007-07-26 Pentax Corporation Digital single-lens reflex camera
CN207926666U (zh) * 2018-02-09 2018-09-28 广东欧珀移动通信有限公司 移动终端
CN109167894A (zh) * 2018-06-15 2019-01-08 Oppo广东移动通信有限公司 摄像头控制方法、装置、移动终端及存储介质
CN109246262A (zh) * 2014-07-23 2019-01-18 华为技术有限公司 一种终端设备
CN208433993U (zh) * 2018-03-09 2019-01-25 Oppo广东移动通信有限公司 电子设备
CN109359460A (zh) * 2018-11-20 2019-02-19 维沃移动通信有限公司 一种面部识别方法及终端设备
CN109819117A (zh) * 2019-03-27 2019-05-28 维沃移动通信有限公司 一种提醒方法及移动终端
CN109862240A (zh) * 2018-12-25 2019-06-07 维沃移动通信(杭州)有限公司 一种摄像头结构及终端
CN110445979A (zh) * 2019-06-26 2019-11-12 维沃移动通信有限公司 一种摄像头切换方法及终端设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677088A (zh) * 2015-12-31 2016-06-15 联想(北京)有限公司 一种控制方法、电子设备
KR102659803B1 (ko) * 2016-04-14 2024-04-23 삼성전자주식회사 촬영 방법 및 이를 지원하는 전자 장치
CN107329650A (zh) * 2017-06-21 2017-11-07 珠海市魅族科技有限公司 交互方法、交互装置、终端设备及计算机可读存储介质
CN108919883A (zh) * 2018-05-31 2018-11-30 维沃移动通信有限公司 一种摄像头保护方法及移动终端
CN108965691B (zh) * 2018-06-12 2021-03-02 Oppo广东移动通信有限公司 摄像头控制方法、装置、移动终端及存储介质
CN109040351B (zh) * 2018-06-12 2020-07-24 Oppo广东移动通信有限公司 摄像头控制方法、装置、移动终端及存储介质
CN109005262B (zh) * 2018-08-30 2020-06-05 维沃移动通信有限公司 一种摄像头控制方法、终端及计算机可读存储介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070172226A1 (en) * 2006-01-25 2007-07-26 Pentax Corporation Digital single-lens reflex camera
CN109246262A (zh) * 2014-07-23 2019-01-18 华为技术有限公司 一种终端设备
CN207926666U (zh) * 2018-02-09 2018-09-28 广东欧珀移动通信有限公司 移动终端
CN208433993U (zh) * 2018-03-09 2019-01-25 Oppo广东移动通信有限公司 电子设备
CN109167894A (zh) * 2018-06-15 2019-01-08 Oppo广东移动通信有限公司 摄像头控制方法、装置、移动终端及存储介质
CN109359460A (zh) * 2018-11-20 2019-02-19 维沃移动通信有限公司 一种面部识别方法及终端设备
CN109862240A (zh) * 2018-12-25 2019-06-07 维沃移动通信(杭州)有限公司 一种摄像头结构及终端
CN109819117A (zh) * 2019-03-27 2019-05-28 维沃移动通信有限公司 一种提醒方法及移动终端
CN110445979A (zh) * 2019-06-26 2019-11-12 维沃移动通信有限公司 一种摄像头切换方法及终端设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115484391A (zh) * 2021-06-16 2022-12-16 荣耀终端有限公司 一种拍摄方法及电子设备
CN115484391B (zh) * 2021-06-16 2023-12-12 荣耀终端有限公司 一种拍摄方法及电子设备

Also Published As

Publication number Publication date
CN110445979A (zh) 2019-11-12
CN110445979B (zh) 2021-03-23

Similar Documents

Publication Publication Date Title
WO2021083052A1 (zh) 对象分享方法及电子设备
WO2021083132A1 (zh) 图标移动方法及电子设备
WO2021218902A1 (zh) 显示控制方法、装置及电子设备
WO2020181942A1 (zh) 图标控制方法及终端设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2021012927A1 (zh) 图标显示方法及终端设备
WO2021129536A1 (zh) 图标移动方法及电子设备
WO2020258953A1 (zh) 摄像头切换方法及终端设备
WO2020151525A1 (zh) 消息发送方法及终端设备
CN111078076A (zh) 一种应用程序切换方法及电子设备
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2021104163A1 (zh) 图标整理方法及电子设备
WO2020199783A1 (zh) 界面显示方法及终端设备
WO2020192324A1 (zh) 界面显示方法及终端设备
WO2021164716A1 (zh) 显示方法及电子设备
WO2021037073A1 (zh) 控制方法及终端设备
WO2020215950A1 (zh) 界面显示方法及终端设备
WO2020215982A1 (zh) 桌面图标管理方法及终端设备
WO2021031717A1 (zh) 截屏方法及终端设备
WO2021129537A1 (zh) 电子设备控制方法及电子设备
WO2020181954A1 (zh) 应用程序控制方法及终端设备
WO2020192297A1 (zh) 屏幕界面切换方法及终端设备
WO2020192322A1 (zh) 显示方法及终端设备
WO2021057712A1 (zh) 接近检测方法及终端设备
WO2020215967A1 (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: 20832458

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: 20832458

Country of ref document: EP

Kind code of ref document: A1