[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108989560B - Screen switching control method in shooting mode, terminal device and storage medium - Google Patents

Screen switching control method in shooting mode, terminal device and storage medium Download PDF

Info

Publication number
CN108989560B
CN108989560B CN201810779163.2A CN201810779163A CN108989560B CN 108989560 B CN108989560 B CN 108989560B CN 201810779163 A CN201810779163 A CN 201810779163A CN 108989560 B CN108989560 B CN 108989560B
Authority
CN
China
Prior art keywords
screen
camera
camera device
combination
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810779163.2A
Other languages
Chinese (zh)
Other versions
CN108989560A (en
Inventor
刘彦彬
刘林
吕宗安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810779163.2A priority Critical patent/CN108989560B/en
Publication of CN108989560A publication Critical patent/CN108989560A/en
Application granted granted Critical
Publication of CN108989560B publication Critical patent/CN108989560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

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

Abstract

The invention discloses a screen switching control method in a shooting mode and terminal equipment thereof, which are used for solving the problem that in the prior art, a camera needs to be switched by complicated manual operation after a screen is switched by using terminal equipment with a double-sided screen by a user. The method comprises the following steps: receiving screen switching operation in a shooting mode; responding to the screen switching operation, and acquiring the times corresponding to the combination of a screen and a camera used when the terminal equipment starts a shooting mode within a preset time period; and determining the camera to be started after the screen switching operation based on the corresponding times of the screen and camera combination used when the terminal equipment starts the shooting mode in the preset time period.

Description

Screen switching control method in shooting mode, terminal device and storage medium
Technical Field
The invention relates to the technical field of terminals, in particular to a screen switching control method in a shooting mode and terminal equipment.
Background
Along with the rapid development of terminal equipment, each big manufacturer is constantly trying to push out new product, and wherein, the terminal equipment who possesses the double-sided screen receives more and more manufacturers' favor owing to can bring more convenient service for the user.
The terminal device having the double-sided screen has two display screens, i.e., a front display screen and a back display screen, and for convenience of description, the front display screen is simply referred to as a main screen, and the back display screen is simply referred to as an auxiliary screen. In order to meet the photographing requirement of a user, cameras are generally arranged on the side surfaces of the main screen and the auxiliary screen of the terminal device, namely a front camera arranged on the side surface of the main screen and a rear camera arranged on the side surface of the auxiliary screen.
When a user uses a front camera or a rear camera of the terminal device to take a picture and wants to perform an operation of switching from a main screen to an auxiliary screen or from the auxiliary screen to the main screen in the picture taking process, the user needs to manually perform the operation of switching the cameras after performing the screen switching operation, so as to achieve the picture taking state desired by the user. For example, when a user uses a front camera of a terminal device to perform self-shooting, the user wants to switch from a main screen to an auxiliary screen and uses a rear camera to perform self-shooting, and then needs to manually perform an operation of switching from the front camera to the rear camera after performing a screen switching operation, which obviously brings a cumbersome operation experience to the user.
Disclosure of Invention
The embodiment of the invention provides a screen switching control method in a shooting mode, which aims to solve the problem that in the prior art, a user needs to switch a camera through complicated manual operation after switching a screen by using a terminal device with a double-sided screen.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a screen switching control method in a shooting mode, where the method is applied to a terminal device, and includes:
receiving screen switching operation in a shooting mode;
responding to the screen switching operation, and acquiring the times corresponding to the combination of a screen and a camera used when the terminal equipment starts a shooting mode within a preset time period;
and determining the camera to be started after the screen switching operation based on the corresponding times of the screen and camera combination used when the terminal equipment starts the shooting mode in the preset time period.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the receiving unit is used for receiving screen switching operation in a shooting mode;
the acquisition unit is used for responding to the screen switching operation and acquiring the times corresponding to the combination of a screen and a camera device used when the terminal equipment starts a shooting mode in a preset time period;
and the determining unit is used for determining the camera to be started after the screen is cut based on the number of times corresponding to the combination of the screen and the camera used when the terminal equipment starts the shooting mode in the preset time period.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the screen cut control method in the shooting mode as in the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the screen-cut control method in the shooting mode according to the first aspect.
In the embodiment of the invention, the screen switching operation can be received in the shooting mode, then the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period are obtained in response to the screen switching operation, and finally the camera device to be started after the screen switching operation can be determined based on the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period. Therefore, when a user uses the camera of the terminal equipment and wants to switch the screen in the process of taking pictures by using the camera, the user can determine the camera to be used after the screen is cut for the user based on the historical use record of the user in a period of time before the current time point, the user is prevented from manually switching the camera, and great convenience is provided for the user.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a screen switching control method in a shooting mode according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that a user needs to switch a camera through complicated manual operation after switching a screen by using a terminal device with a double-sided screen in the prior art, an embodiment of the present invention provides a screen switching control method in a shooting mode.
For convenience of description, the following description will be made of an embodiment of the method taking as an example that an execution subject of the method is a terminal device capable of executing the method. It is understood that the implementation of the method by the terminal device is only an exemplary illustration, and should not be construed as a limitation of the method.
Specifically, the screen switching control method in the shooting mode provided by the invention comprises the following steps: firstly, receiving screen switching operation in a shooting mode; then, responding to the screen switching operation, and acquiring the times corresponding to the combination of the screen and the camera device used when the terminal equipment starts the shooting mode within the preset time period; and finally, determining the camera to be started after screen switching based on the corresponding times of the screen and camera combination used when the terminal equipment starts the shooting mode in the preset time period.
In the embodiment of the invention, the screen switching operation can be received in the shooting mode, then the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period are obtained in response to the screen switching operation, and finally the camera device to be started after the screen switching operation can be determined based on the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period. Therefore, when a user uses the camera of the terminal equipment and wants to switch the screen in the process of taking pictures by using the camera, the user can determine the camera to be used after the screen is cut for the user based on the historical use record of the user in a period of time before the current time point, the user is prevented from manually switching the camera, and great convenience is provided for the user.
The invention is described in detail below with reference to the schematic flow chart of fig. 1, which includes the following steps:
step 101, receiving screen switching operation in a shooting mode;
in order to satisfy the requirement that a user can freely complete self-photographing and post-photographing operations when using a main screen (i.e., a first screen described below) and a sub-screen (i.e., a second screen described below) as display screens when using a terminal device with a dual-sided screen, cameras (i.e., image pickup devices) are disposed on both the front and back sides of the terminal device. The camera disposed on the front side of the terminal device is a front camera (i.e., a first camera described below), and the camera disposed on the back side of the terminal device is a rear camera (i.e., a second camera described below). Moreover, due to the limitations of manufacturing cost and materials, the configurations of the front camera and the rear camera and the configurations of the main screen and the auxiliary screen are not the same. For example, the screen resolution of the main screen is higher than that of the auxiliary screen, and the shooting effect of the front camera is inferior to that of the rear camera.
When a user uses a terminal device with a double-sided screen, the currently used display screen may be the main screen or the sub-screen. In the shooting mode, the user may want to perform a screen-cutting operation based on the requirements of shooting effect or screen resolution, and in this case, the screen-cutting operation of the user may be received.
102, responding to screen switching operation, and acquiring the times corresponding to the combination of a screen and a camera used when the terminal equipment starts a shooting mode within a preset time period;
if a user wants to switch from the main screen to the auxiliary screen at the moment and continues to want to perform self-shooting after screen switching operation, the user needs to manually open a camera application and start the rear camera to perform self-shooting, and obviously, the process brings complicated operation experience to the user. In order to solve the problem, the embodiment of the invention can respond to the screen switching operation, obtain the times corresponding to the combination of the screen and the camera device used when the terminal equipment starts the camera mode in the preset time period, and determine the camera device to be started after the screen switching operation based on the times corresponding to the combination of the screen and the camera device, thereby avoiding the manual operation of a user and providing more convenient service for the user.
Alternatively, the terminal device may include a first screen and a second screen, and a first camera on the first screen side and a second camera on the second screen side.
Optionally, the terminal device with the double-sided screen may have the following two situations when the screen is cut: in the first case, switching from the second screen of the terminal device to the first screen of the terminal device; in the second case, the first screen of the terminal device is switched to the second screen of the terminal device. Taking the two cases as an example, a specific implementation process of acquiring the number of times corresponding to a combination of a screen and an image pickup device used when the terminal device starts a shooting mode within a preset time period in response to a screen switching operation will be described in detail below.
In the first case: and if the screen switching operation is to switch from the second screen to the first screen, acquiring the times corresponding to the combination of the first screen and the first camera used when the terminal equipment starts the shooting mode in a preset time period and the times corresponding to the combination of the first screen and the second camera. For convenience of description, the number of times corresponding to the use of the first screen and the first image pickup device combination within the preset time period is hereinafter denoted as X1, and the number of times corresponding to the use of the first screen and the second image pickup device combination within the preset time period is hereinafter denoted as Y1.
In the second case: and if the screen switching operation is switching from the first screen to the second screen, monitoring the times corresponding to the combination of the second screen and the second camera used when the terminal equipment starts the shooting mode in a preset time period, and the times corresponding to the combination of the second screen and the first camera. For convenience of description, the number of times corresponding to the use of the second screen and the second image pickup device combination within the preset time period is hereinafter referred to as X2, and the number of times corresponding to the use of the second screen and the first image pickup device combination within the preset time period is hereinafter referred to as Y2.
And 103, determining the camera to be started after the screen switching operation based on the number of times corresponding to the combination of the screen and the camera used when the terminal equipment starts the shooting mode in the preset time period.
Optionally, determining the camera to be turned on after the screen is cut based on the number of times that the combination of the screen and the camera used when the terminal device turns on the shooting mode in the preset time period, where the determining specifically includes the following two cases: in case 1, if the number of times that the camera device of the terminal device is used in the preset time period and the screen combination on the same side of the camera device is greater than or equal to the number of times that the camera device of the terminal device and the screen combination on the opposite side of the camera device of the terminal device are used in the preset time period, determining that the camera device to be started is the camera device on the same side of the screen used after screen cutting; and 2, if the number of times that the camera device of the terminal equipment is used in the preset time period and corresponds to the screen combination on the same side of the camera device of the terminal equipment is less than the number of times that the camera device of the terminal equipment corresponds to the screen combination on the opposite side of the camera device of the terminal equipment, determining that the camera device to be started is the camera device on the opposite side of the screen used after screen cutting.
The following description will be given taking as an example a specific scenario in which a user uses a terminal device having a double-sided screen. When a user actually uses a shooting application in a terminal device with a double-sided screen to shoot, the following shooting modes are often available:
shooting mode A: a user uses a first screen of the terminal equipment as a display screen and simultaneously opens a camera device at the side of the first screen, namely the first camera device;
and a shooting mode B: a user uses a second screen of the terminal equipment as a display screen and simultaneously opens a camera device at the side of the second screen, namely the second camera device;
and a shooting mode C: a user uses a first screen of the terminal equipment as a display screen and simultaneously opens a camera device at the side of a second screen, namely a second camera device;
a shooting mode D: the user uses the second screen of the terminal device as a display screen while turning on the camera on the first screen side, that is, the first camera.
Obviously, the shooting mode a is a self-shooting mode of the first image pickup apparatus; the shooting mode B is a self-shooting mode of the second camera device; the shooting mode C is a post-shooting mode of the second camera device; the shooting mode D is a post-shooting mode of the first image pickup apparatus.
When the user starts the shooting mode A or B, the times X corresponding to the combination of the camera of the terminal equipment and the screen on the same side of the camera can be counted. It should be understood that X is 0 in the initialization state, and the user adds 1 to X each time the shooting mode a or shooting mode B is enabled. Each time the user starts the shooting mode C or D, the number Y of times corresponding to the combination of the image pickup device of the terminal device and the screen on the opposite side thereof can be counted, it should be understood that Y is 0 in the initialization state, and the user adds 1 to Y each time the user starts the shooting mode C or D.
Alternatively, the numerical value of the number X of times that the camera used when the terminal device starts the shooting mode within the preset time period corresponds to the screen combination on the same side thereof, and the number Y of times that the camera used when the terminal device starts the shooting mode within the preset time period corresponds to the screen combination on the opposite side thereof may be obtained. The preset time period may be a preset time period T. X and Y may be counted separately in each preset time period T, and cleared in the time period of T +1, and counting may be restarted.
Taking the above case 1 as an example, if the number X of times that the image pickup device is used in a preset time period and corresponds to the screen combination on the same side of the image pickup device is greater than or equal to the number Y of times that the image pickup device corresponds to the screen combination on the opposite side of the image pickup device, it is determined that the image pickup device to be turned on is the image pickup device on the same side of the screen used after the screen is cut, that is, the shooting mode of the image pickup device to be turned on is the self-shooting mode.
Specifically, if X ≧ Y, it indicates that the user is more inclined to use the self-timer mode of the image pickup apparatus, and after the screen cut, the self-timer mode of the image pickup apparatus on the display screen side used after the screen cut is still turned on. For example, if the user switches from the first screen to the second screen while using the shooting mode a, the self-timer shooting mode of the image pickup apparatus on the second screen side (i.e., the second image pickup apparatus) is turned on while switching to the second screen; if the second screen is switched to the first screen when the user uses the photographing mode B, a self-photographing mode of the image pickup device on the first screen side (i.e., the first image pickup device) is turned on when the first screen is switched; if the user switches from the first screen to the second screen while using the photographing mode C, the self-photographing mode of the image pickup device on the second screen side (i.e., the second image pickup device) is turned on while switching to the second screen; if the second screen is switched to the first screen while the user uses the photographing mode D, the self-timer photographing mode of the image pickup device on the first screen side (i.e., the first image pickup device) is turned on while switching to the first screen.
Taking the above case 2 as an example, if the number X of times that the imaging device is used in the preset time period and corresponds to the screen combination on the same side of the imaging device is smaller than the number Y of times that the imaging device corresponds to the screen combination on the opposite side of the imaging device, it is determined that the imaging device to be turned on is the imaging device on the opposite side of the screen used after the screen is cut.
Specifically, if X < Y, it indicates that the user is more inclined to use the post-shooting mode of the image pickup apparatus, and after the screen cut, the post-shooting mode of the image pickup apparatus on the opposite side of the display screen used after the screen cut is still turned on. For example, if the user switches from the first screen to the second screen while using the photographing mode a, the post-photographing mode of the image pickup device (i.e., the first image pickup device) on the opposite side of the second screen is turned on while switching to the second screen; if the second screen is switched to the first screen when the user uses the shooting mode B, starting a post-shooting mode of the camera device (namely, the second camera device) opposite to the first screen when the first screen is switched to; if the user switches from the first screen to the second screen when using the shooting mode C, then the shooting mode of the camera (i.e. the first camera) opposite to the second screen is turned on when switching to the second screen; if the user switches from the second screen to the first screen while using the photographing mode D, the post-photographing mode of the image pickup device (i.e., the second image pickup device) opposite to the first screen is turned on while switching to the first screen.
The above four shooting modes continue to be used: shooting mode a, shooting mode B, shooting mode C, and shooting mode D. Each time the user starts the shooting mode A, the times X1 corresponding to the combination of the first screen and the first camera device can be counted; when the user starts the shooting mode B, the times X2 corresponding to the combination of the second screen and the second camera device can be counted; when the user starts the shooting mode C, the times Y1 corresponding to the combination of the first screen and the second camera device can be counted; each time the user activates the photographing mode D, the number of times Y2 corresponding to the use of the second screen and the first image pickup device combination may be counted.
It should be understood that X1, X2, Y1, and Y2 are all 0 in the initialization state, and that X1 is added by 1 each time the user activates shooting mode a, X2 is added by 1 each time the user activates shooting mode B, Y1 is added by 1 each time the user activates shooting mode C, and Y2 is added by 1 each time the user activates shooting mode D.
Under the first condition in step 102, if the number of times that the camera device is used in the preset time period and corresponds to the screen combination on the same side is greater than or equal to the number of times that the camera device corresponds to the screen combination on the opposite side, determining that the camera device to be turned on is the camera device on the same side as the screen used after the screen cutting operation; and if the times of using the camera device to correspond to the screen combination on the same side of the camera device in the preset time period are less than the times of using the camera device to correspond to the screen combination on the opposite side of the camera device, determining that the camera device to be started is the camera device on the opposite side of the screen used after the screen cutting operation.
Obviously, in this case, if X1 ≧ Y1 indicates that the user is more inclined to use the first screen for self-timer shooting, then after switching from the second screen to the first screen, the first screen-side camera (i.e., the first camera) is still turned on for self-timer shooting. For example, if the second screen is switched to the first screen when the user uses the shooting mode B, the first screen-side camera (i.e., the first camera) is turned on to perform self-shooting when the first screen is switched to; if the user switches from the second screen to the first screen when using the shooting mode D, the first screen-side image pickup device (i.e., the first image pickup device) is turned on to perform self-shooting when switching to the first screen.
If X1< Y1 indicates that the user is more inclined to take a post shot using the first screen, then after switching from the second screen to the first screen, the post shot is still taken using the first screen, i.e., the second camera is turned on. For example, if the user switches from the second screen to the first screen when using the shooting mode B, the second camera device is turned on when switching to the first screen; and if the user switches from the second screen to the first screen when using the shooting mode D, starting the second camera device when switching to the first screen.
Under the second condition in step 101, if the number of times corresponding to the combination of the second screen and the second camera is greater than or equal to the number of times corresponding to the combination of the second screen and the first camera, determining that the camera to be turned on is the second camera; and if the times corresponding to the combination of the second screen and the first camera device are greater than the times corresponding to the combination of the second screen and the second camera device, determining that the camera device to be started is the first camera device.
Obviously, in this case, if X2 ≧ Y2 indicates that the user is more inclined to use the second screen for self-timer shooting, then after switching from the first screen to the second screen, the second screen-side image pickup device is still turned on for self-timer shooting. For example, if the user switches from the first screen to the second screen when using the shooting mode a, the second screen-side camera (i.e., the second camera) is turned on when switching to the second screen; and if the user switches from the first screen to the second screen when using the shooting mode C, starting the second camera when switching to the second screen.
If X2< Y2 indicates that the user is more inclined to use the second screen for the post-shot, the first screen-side image pickup device (i.e., the first image pickup device) is still turned on for the post-shot after switching from the first screen to the second screen. For example, if the user switches from the first screen to the second screen when using the shooting mode a, the first camera device is started to perform post shooting when switching to the second screen; and if the user switches from the first screen to the second screen when using the shooting mode C, starting the first camera device to perform post shooting when switching to the second screen.
In the embodiment of the invention, the screen switching operation can be received in the shooting mode, then the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period are obtained in response to the screen switching operation, and finally the camera device to be started after the screen switching operation can be determined based on the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period. Therefore, when a user uses the camera of the terminal equipment and wants to switch the screen in the process of taking pictures by using the camera, the user can determine the camera to be used after the screen is cut for the user based on the historical use record of the user in a period of time before the current time point, the user is prevented from manually switching the camera, and great convenience is provided for the user.
An embodiment of the present invention further provides a terminal device 200, as shown in fig. 2, including the following functional units:
a receiving unit 201, configured to receive a screen-switching operation in a shooting mode;
an obtaining unit 202, configured to obtain a number of times that a screen and an image capture device combination used when the terminal device starts a shooting mode within a preset time period corresponds to;
a determining unit 203, configured to determine, based on the number of times corresponding to a combination of a screen and an image capture device used when the terminal device starts a shooting mode within a preset time period, the image capture device to be started after the screen switching operation.
Optionally, in an embodiment, the determining unit 203 is configured to:
if the times of using the camera device of the terminal equipment to correspond to the screen combination on the same side of the camera device of the terminal equipment in the preset time period are greater than or equal to the times of using the camera device of the terminal equipment to correspond to the screen combination on the opposite side of the camera device of the terminal equipment, determining that the camera device to be started is the camera device on the same side of the screen used after the screen is cut;
and if the times of using the camera device of the terminal equipment to correspond to the screen combination on the same side of the terminal equipment in the preset time period are less than the times of using the camera device of the terminal equipment to correspond to the screen combination on the opposite side of the terminal equipment, determining that the camera device to be started is the camera device on the opposite side of the screen used after the screen is cut.
Optionally, in an embodiment, the terminal device includes a first screen and a second screen, and a first camera device located on the first screen side and a second camera device located on the second screen side, then the obtaining unit 202 is configured to:
and if the screen switching is from the second screen to the first screen, acquiring the times corresponding to the combination of the first screen and the first camera device and the times corresponding to the combination of the first screen and the second camera device, which are used when the terminal equipment starts a shooting mode in the preset time period.
Optionally, in an embodiment, the determining unit 203 is configured to:
if the times corresponding to the combination of the first screen and the first camera device are more than or equal to the times corresponding to the combination of the first screen and the second camera device, determining that the camera device to be started is the first camera device;
and if the number of times corresponding to the combination of the first screen and the second camera device is greater than the number of times corresponding to the combination of the first screen and the first camera device, determining that the camera device to be started is the second camera device.
Optionally, in an embodiment, the terminal device includes a first screen and a second screen, and a first camera device located on the first screen side and a second camera device located on the second screen side, then the obtaining unit 202 is configured to:
and if the screen switching is from the first screen to the second screen, acquiring the times corresponding to the combination of the second screen and the second camera and the times corresponding to the combination of the second screen and the first camera when the terminal equipment starts the shooting mode in the preset time period.
Optionally, in an embodiment, the determining unit 203 is configured to:
if the number of times corresponding to the combination of the second screen and the second camera device is greater than or equal to the number of times corresponding to the combination of the second screen and the first camera device, determining that the camera device to be started is the second camera device;
and if the number of times corresponding to the combination of the second screen and the first camera device is greater than the number of times corresponding to the combination of the second screen and the second camera device, determining that the camera device to be started is the first camera device.
The terminal device 200 provided in the embodiment of the present invention can implement each process implemented by the screen switching control method in the shooting mode in the method embodiment of fig. 1, and for avoiding repetition, details are not described here again.
Figure 3 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention,
the terminal device 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 3 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 310 is configured to control the user input unit 307 to receive a screen-cutting operation in the shooting mode; responding to the screen switching operation, and acquiring the times corresponding to the combination of a screen and a camera used when the terminal equipment starts a shooting mode within a preset time period; and determining the camera to be started after the screen switching operation based on the corresponding times of the screen and camera combination used when the terminal equipment starts the shooting mode in the preset time period.
In the embodiment of the invention, the screen switching operation can be received in the shooting mode, then the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period are obtained in response to the screen switching operation, and finally the camera device to be started after the screen switching operation can be determined based on the corresponding times of the combination of the screen and the camera device used when the terminal equipment starts the shooting mode in the preset time period. Therefore, when a user uses the camera of the terminal equipment and wants to switch the screen in the process of taking pictures by using the camera, the user can determine the camera to be used after the screen is cut for the user based on the historical use record of the user in a period of time before the current time point, the user is prevented from manually switching the camera, and great convenience is provided for the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 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. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 302, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the terminal device 300. The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The terminal device 300 further comprises at least one sensor 305, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light Emitting Diode (O L ED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 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, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the terminal device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the terminal apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 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 apparatus 300 or may be used to transmit data between the terminal apparatus 300 and an external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the terminal device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
Terminal device 300 may also include a power supply 311 (e.g., a battery) for providing power to various components, and preferably, power supply 311 may be logically connected to processor 310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal device 300 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program is executed by the processor 310 to implement each process of the screen switching control method in the above-described shooting mode, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the screen switching control method in the above-mentioned shooting mode, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A screen switching control method in a shooting mode is applied to terminal equipment and is characterized in that the terminal equipment comprises at least two screens and at least two camera devices, and the method comprises the following steps:
receiving screen switching operation in a shooting mode;
responding to the screen switching operation, and acquiring the times corresponding to the combination of a screen and a camera used when the terminal equipment starts a shooting mode within a preset time period;
and determining the camera to be started after the screen switching operation based on the corresponding times of the screen and camera combination used when the terminal equipment starts the shooting mode in the preset time period.
2. The method of claim 1, wherein the determining the camera to be turned on after the screen is cut based on the number of times corresponding to the combination of the screen and the camera used when the terminal device turns on the shooting mode within a preset time period comprises:
if the times of using the camera device of the terminal equipment to correspond to the screen combination on the same side of the camera device of the terminal equipment in the preset time period are greater than or equal to the times of using the camera device of the terminal equipment to correspond to the screen combination on the opposite side of the camera device of the terminal equipment, determining that the camera device to be started is the camera device on the same side of the screen used after the screen is cut;
and if the times of using the camera device of the terminal equipment to correspond to the screen combination on the same side of the terminal equipment in the preset time period are less than the times of using the camera device of the terminal equipment to correspond to the screen combination on the opposite side of the terminal equipment, determining that the camera device to be started is the camera device on the opposite side of the screen used after the screen is cut.
3. The method according to claim 1, wherein the terminal device includes a first screen and a second screen, and a first camera device located on a first screen side and a second camera device located on a second screen side, and the acquiring, in response to the screen-switching operation, a number of times corresponding to a combination of the screen and the camera device used when the terminal device turns on a shooting mode within a preset time period includes:
and if the screen switching is from the second screen to the first screen, acquiring the times corresponding to the combination of the first screen and the first camera device and the times corresponding to the combination of the first screen and the second camera device, which are used when the terminal equipment starts a shooting mode in the preset time period.
4. The method of claim 3, wherein the determining the image pickup device to be turned on after the screen cut operation based on the number of times corresponding to the combination of the screen and the image pickup device used when the terminal device turns on the shooting mode within a preset time period comprises:
if the times corresponding to the combination of the first screen and the first camera device are more than or equal to the times corresponding to the combination of the first screen and the second camera device, determining that the camera device to be started is the first camera device;
and if the number of times corresponding to the combination of the first screen and the second camera device is greater than the number of times corresponding to the combination of the first screen and the first camera device, determining that the camera device to be started is the second camera device.
5. A terminal device, comprising:
the receiving unit is used for receiving screen switching operation in a shooting mode;
the acquisition unit is used for responding to the screen switching operation and acquiring the times corresponding to the combination of a screen and a camera device used when the terminal equipment starts a shooting mode in a preset time period;
and the determining unit is used for determining the camera to be started after the screen is cut based on the number of times corresponding to the combination of the screen and the camera used when the terminal equipment starts the shooting mode in the preset time period.
6. The terminal device of claim 5, wherein the determining unit is configured to:
if the times of using the camera device of the terminal equipment to correspond to the screen combination on the same side of the camera device of the terminal equipment in the preset time period are greater than or equal to the times of using the camera device of the terminal equipment to correspond to the screen combination on the opposite side of the camera device of the terminal equipment, determining that the camera device to be started is the camera device on the same side of the screen used after the screen is cut;
and if the times of using the camera device of the terminal equipment to correspond to the screen combination on the same side of the terminal equipment in the preset time period are less than the times of using the camera device of the terminal equipment to correspond to the screen combination on the opposite side of the terminal equipment, determining that the camera device to be started is the camera device on the opposite side of the screen used after the screen is cut.
7. The terminal device according to claim 5, wherein the terminal device includes a first screen and a second screen, and a first camera on a side of the first screen and a second camera on a side of the second screen, the acquisition unit is configured to:
and if the screen switching operation is to switch from the second screen to the first screen, acquiring the times corresponding to the combination of the first screen and the first camera and the times corresponding to the combination of the first screen and the second camera, which are used when the terminal equipment starts the shooting mode in the preset time period.
8. The terminal device of claim 7, wherein the determining unit is configured to:
if the times corresponding to the combination of the first screen and the first camera device are more than or equal to the times corresponding to the combination of the first screen and the second camera device, determining that the camera device to be started is the first camera device;
and if the number of times corresponding to the combination of the first screen and the second camera device is greater than the number of times corresponding to the combination of the first screen and the first camera device, determining that the camera device to be started is the second camera device.
9. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the screen cut control method in the shooting mode according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the screen cut control method in the photographing mode according to any one of claims 1 to 4.
CN201810779163.2A 2018-07-16 2018-07-16 Screen switching control method in shooting mode, terminal device and storage medium Active CN108989560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810779163.2A CN108989560B (en) 2018-07-16 2018-07-16 Screen switching control method in shooting mode, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810779163.2A CN108989560B (en) 2018-07-16 2018-07-16 Screen switching control method in shooting mode, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN108989560A CN108989560A (en) 2018-12-11
CN108989560B true CN108989560B (en) 2020-07-28

Family

ID=64549181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810779163.2A Active CN108989560B (en) 2018-07-16 2018-07-16 Screen switching control method in shooting mode, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN108989560B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543279A (en) * 2019-09-23 2021-03-23 北京小米移动软件有限公司 Display control method, display control device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037083A (en) * 2012-12-10 2013-04-10 广东欧珀移动通信有限公司 Switching method and device of front-and-rear camera
CN104320591A (en) * 2014-11-21 2015-01-28 广东欧珀移动通信有限公司 Method and device for controlling front-rear switching of camera and intelligent terminal
CN106453962A (en) * 2016-11-30 2017-02-22 珠海市魅族科技有限公司 Camera shooting control method of double-screen intelligent terminal
CN106791357A (en) * 2016-11-15 2017-05-31 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107333067A (en) * 2017-08-04 2017-11-07 维沃移动通信有限公司 The control method and terminal of a kind of camera
CN108282552A (en) * 2017-12-11 2018-07-13 佛山科学技术学院 A kind of mobile phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182173A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Camera switching method and device
CN106657460A (en) * 2016-11-17 2017-05-10 上海斐讯数据通信技术有限公司 Method and device for adopting rear camera for selfie

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037083A (en) * 2012-12-10 2013-04-10 广东欧珀移动通信有限公司 Switching method and device of front-and-rear camera
CN104320591A (en) * 2014-11-21 2015-01-28 广东欧珀移动通信有限公司 Method and device for controlling front-rear switching of camera and intelligent terminal
CN106791357A (en) * 2016-11-15 2017-05-31 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN106453962A (en) * 2016-11-30 2017-02-22 珠海市魅族科技有限公司 Camera shooting control method of double-screen intelligent terminal
CN107333067A (en) * 2017-08-04 2017-11-07 维沃移动通信有限公司 The control method and terminal of a kind of camera
CN108282552A (en) * 2017-12-11 2018-07-13 佛山科学技术学院 A kind of mobile phone

Also Published As

Publication number Publication date
CN108989560A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN109597556B (en) Screen capturing method and terminal
CN107786817B (en) A kind of photographic method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108307109B (en) High dynamic range image preview method and terminal equipment
CN110913139B (en) Photographing method and electronic equipment
CN108174103B (en) Shooting prompting method and mobile terminal
CN108307106B (en) Image processing method and device and mobile terminal
CN108881617B (en) Display switching method and mobile terminal
CN109523253B (en) Payment method and device
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN111290810B (en) Image display method and electronic equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109688253B (en) Shooting method and terminal
CN109889757B (en) Video call method and terminal equipment
CN110933302B (en) Shooting method and electronic equipment
CN110138967B (en) Terminal operation control method and terminal
CN109104564B (en) Shooting prompting method and terminal equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN110944114B (en) Photographing method and electronic equipment
CN109889756B (en) Video call method and terminal equipment
CN109358913B (en) Application program starting method and terminal equipment
CN108924413B (en) Shooting method and mobile terminal
CN109005337B (en) Photographing method and terminal
CN108259808B (en) Video frame compression method and mobile terminal

Legal Events

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