CN111405117A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN111405117A
CN111405117A CN202010214840.3A CN202010214840A CN111405117A CN 111405117 A CN111405117 A CN 111405117A CN 202010214840 A CN202010214840 A CN 202010214840A CN 111405117 A CN111405117 A CN 111405117A
Authority
CN
China
Prior art keywords
camera
parameter
target
angle
electronic 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.)
Granted
Application number
CN202010214840.3A
Other languages
Chinese (zh)
Other versions
CN111405117B (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 CN202010214840.3A priority Critical patent/CN111405117B/en
Publication of CN111405117A publication Critical patent/CN111405117A/en
Application granted granted Critical
Publication of CN111405117B publication Critical patent/CN111405117B/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
    • 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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0222Foldable in two directions, i.e. using a two degree of freedom hinge
    • 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/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/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a control method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that shooting of a user is influenced by the fact that a camera is shielded when the existing foldable electronic equipment is folded. The method is applied to foldable electronic equipment, and the electronic equipment comprises a target camera which can move under a screen, and the method comprises the following steps: under the condition that a blocking object exists in a view finding range of a target camera, acquiring a first parameter; moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle. The method can be applied to scenes shot by the electronic equipment.

Description

Control method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a control method and electronic equipment.
Background
With the development of electronic technology and flexible screen technology, foldable electronic devices (such as dual-screen or multi-screen type foldable electronic devices) are beginning to enter people's lives as new electronic devices. The user can freely switch the use mode of the electronic equipment by unfolding and folding the electronic equipment.
At present, foldable electronic devices are usually configured with one or more cameras, and users can shoot by triggering the one or more cameras, and can realize rear shooting and front shooting functions.
However, with foldable electronic devices, when the electronic device is folded, the one or more cameras may be obscured or completely sandwiched between the panels, rendering the user unusable.
Disclosure of Invention
The embodiment of the invention provides a control method and electronic equipment, and aims to solve the problem that shooting of a user is influenced by shielding a camera when the existing foldable electronic equipment is folded.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present invention provides a control method, which is applied to a foldable electronic device, where the electronic device includes a target camera that is movable under a screen, and the method includes: under the condition that a blocking object exists in a view finding range of a target camera, acquiring a first parameter; moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle.
In a second aspect, embodiments of the present invention provide an electronic device having a foldable screen and including a target camera movable under the screen. The electronic device comprises an acquisition module and a control module. The acquisition module is used for acquiring a first parameter when detecting that a blocking object exists in a view range of the target camera. The control module is used for moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter acquired by the acquisition module. The first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the control method in the first aspect are implemented.
In a fourth aspect, an embodiment of the present invention 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 control method in the first aspect.
In the embodiment of the invention, the first parameter can be acquired under the condition that the obstruction is detected to exist in the view finding range of the target camera; moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle. The embodiment of the invention can be applied to a scene how to control the camera to improve the shooting effect when the electronic equipment is folded, and the shooting effect can be influenced because the target camera of the electronic equipment is possibly shielded or the view finding range is reduced when the electronic equipment is folded. Therefore, the embodiment of the invention can solve the problem that the shooting of a user is influenced by shielding the camera when the existing foldable electronic equipment is folded.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a control method according to an embodiment of the present invention;
fig. 3 is one of schematic diagrams of a foldable screen and a camera in a folded state in a control method provided by an embodiment of the present invention;
fig. 4 is a second schematic diagram of a foldable screen and a camera in a folded state in the control method according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a foldable screen and a camera in an unfolded state in the control method provided by the embodiment of the invention;
fig. 6 is a schematic diagram of a foldable screen and a camera in a folded state in the control method provided by the embodiment of the invention;
fig. 7 is a schematic view of field angle ranges of two cameras in the control method according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 10 is a hardware schematic diagram of an electronic 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 application.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims herein are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first and second locations, etc. are for distinguishing between different locations and are not intended to describe a particular order of locations.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, or the like; plural elements means two or more elements, and the like.
The embodiment of the invention provides a control method and electronic equipment, which can acquire a first parameter under the condition that a blocking object exists in a view finding range of a target camera; moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle. The embodiment of the invention can be applied to a scene how to control the camera to improve the shooting effect when the electronic equipment is folded, and the shooting effect can be influenced because the target camera of the electronic equipment is possibly shielded or the view finding range is reduced when the electronic equipment is folded. Therefore, the embodiment of the invention can solve the problem that the shooting of a user is influenced by the fact that the camera is shielded when the screen of the existing foldable screen electronic equipment is folded.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the control method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention, in fig. 1, the architecture of the android operating system includes 4 layers, which are an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, L inux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of the android operating system and belongs to the lowest layer of a software layer of the android operating system, and the kernel layer provides core system services and hardware-related drivers for the android operating system based on L inux kernels.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the control method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the control method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the control method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not limited in particular.
An execution main body of the control method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the control method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example, and an exemplary description is given, with reference to each drawing, of a control method provided by an embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a control method, which may include steps 201 to 202 described below.
Step 201, in the case that it is detected that a blocking object exists in the view range of the target camera, the electronic device acquires a first parameter.
Step 202, the electronic equipment moves the target camera to a first position or folds the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when located at the first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when folded to the first angle.
In the embodiment of the invention, under the condition that the electronic equipment is folded, the target camera of the electronic equipment can be shielded or the view range is reduced, so that the shooting effect can be influenced, and at the moment, the electronic equipment can detect whether a shielding object exists in the view range of the target camera. Further, under the condition that the electronic device detects that a view range of the target camera has a barrier, in order to enable the target camera to have a complete view angle, the electronic device may acquire a first parameter, so as to adjust the position of the target camera or adjust the folding of the electronic device according to the first parameter.
Optionally, the electronic device may further detect whether a blocking object exists in a view range of the target camera under the condition that the electronic device runs the camera application program, so as to adjust in time, and thus the target camera has a complete view angle in a shooting process.
In the embodiment of the invention, the control method can be applied to foldable electronic equipment, and the electronic equipment comprises a target camera which can move under a screen.
The target camera movable under the screen is located inside the electronic device and can move inside the electronic device. For a principle description of how the target camera is specifically moved under the screen of the electronic device, reference may be made to a related description of how the under-screen movable camera is controlled to move in the related art, which is not repeated herein.
Specifically, if the electronic device detects that a blocking object exists in a view range of the target camera, and the position of the camera needs to be adjusted under the condition, the electronic device obtains a first parameter, and moves the target camera to a first position or folds the electronic device to a first angle according to the first parameter.
In an embodiment of the present invention, the first parameter may include a first location parameter. The first parameter may also include a first angle parameter. The first parameters may also include a first location parameter and a first angle parameter.
For example, if the first parameter includes the first position parameter, the electronic device may move the target camera to the first position according to the first position parameter, so that the target camera has a complete viewing angle, and the shooting effect is improved.
For another example, if the first parameter includes the first angle parameter, the electronic device may fold the electronic device to the first angle according to the first angle parameter, so that the target camera has a complete angle of view, and the shooting effect is improved.
For another example, if the first parameter includes a first position parameter and a first angle parameter, the electronic device may fold the electronic device to a first angle according to the first angle parameter; and according to the first position parameter, the target camera is moved to the first position, so that the target camera has a complete visual angle, and the shooting effect is improved.
According to the control method provided by the embodiment of the invention, the first parameter can be obtained under the condition that the obstruction exists in the view finding range of the target camera; moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle. The embodiment of the invention can be applied to a scene how to control the camera to improve the shooting effect when the electronic equipment is folded, and the shooting effect can be influenced because the target camera of the electronic equipment is possibly shielded or the view finding range is reduced when the electronic equipment is folded. Therefore, the embodiment of the invention can solve the problem that the shooting of a user is influenced by the fact that the camera is shielded when the screen of the existing foldable screen electronic equipment is folded.
Optionally, in the embodiment of the present invention, the foldable electronic device may be an electronic device with a foldable screen, or an electronic device with a foldable screen and other foldable areas, or an electronic device with a non-foldable screen and other foldable areas, or any other foldable electronic device meeting actual use requirements, which may be determined specifically according to the actual use requirements, and the embodiment of the present invention is not limited.
For convenience of description, the control method is exemplarily described herein as applied to an electronic device having a foldable screen.
In the embodiment of the invention, for the electronic equipment configured with the foldable screen, when the foldable screen is in an unfolded state, the foldable screen is presented as a complete display screen, and at the moment, the electronic equipment has a single-screen function; when the folding operation of the foldable screen is detected, namely when the foldable screen of the electronic device is in a bent state, the foldable screen is divided into two screens, namely a first screen and a second screen, by taking a folding line of the foldable screen as a reference, and at this time, the electronic device has a multi-screen function.
In the embodiment of the invention, if a user needs to use the multi-screen function of the electronic device, the user can execute the preset folding operation on the electronic device at this time, and the foldable screen of the electronic device is triggered to be folded to form the first screen and the second screen.
Optionally, in the embodiment of the present invention, the preset folding operation may be an input of a user to a physical key on the electronic device for triggering the screen bending, may also be a virtual key on the electronic device for triggering the screen bending, or may be a gesture operation of the user on a foldable screen of the electronic device for triggering the screen bending, and may also be any other operation meeting an actual use requirement, which may be specifically determined according to the actual use requirement, which is not limited in the embodiment of the present invention.
It should be noted that, in the embodiments of the present invention, the term "fold" refers to a situation where the screen is bent, a certain bending angle is formed between the first screen and the second screen, and the bending angle is changed during the bending process of the screen, so that the "fold" is not limited to a situation where the first screen and the second screen are overlapped after being bent.
Optionally, in the embodiment of the present invention, the folding angle value may change with the bending of the foldable screen. The folding angle value can be any angle value of [0 degrees, 360 degrees ]. At a fold angle value of 0 deg., the first and second screens are overlapped together and both the first and second screens are visible to the user. When the folding angle value is 180 degrees, the first screen and the second screen form a complete screen, and the foldable screen is not bent at the moment. When the folding angle value is 360 degrees, the first screen and the second screen are overlapped together, and the first screen and the second screen are invisible to a user.
Optionally, in the embodiment of the present invention, when the electronic device detects a preset folding operation, it may be determined whether the view angle of the target camera is blocked by determining whether the folding angle value between the first screen and the second screen is within a preset angle range.
Exemplarily, if the folding angle value is within the preset angle range, the electronic device determines that the view angle of the target camera is blocked; and if the folding angle value is not within the preset angle range, the electronic equipment determines that the visual angle of the target camera is not shielded.
Optionally, in the embodiment of the present invention, the preset angle range is determined according to whether a camera of the electronic device is shielded under the condition that the screen is bent. For example, the preset angle range includes a screen folding angle in a case where the camera is blocked. It can be understood that if the folding angle value is within the preset angle range, the electronic device can determine that the camera is blocked, and the position of the camera needs to be adjusted.
For example, if the folding angle value is within the preset angle range (0 °, 90 °), the camera may be blocked (e.g., partially blocked or completely blocked), which affects the shooting effect; or the screen may be folded and the camera of the electronic device may be sandwiched and not used. Therefore, at this time, the position of the camera needs to be adjusted, or the folding angle of the electronic device needs to be adjusted.
As another example, if the folding angle value is within the preset angle range [0 °, 5 ° ], the first screen and the second screen are substantially overlapped together, and the position of the camera or the folding angle of the electronic device needs to be adjusted.
The preset angle range is an exemplary list, and may not be limited thereto. The specific value range of the preset angle range can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Of course, the electronic device may also detect whether the view angle of the target camera is blocked in other manners, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, in the embodiment of the present invention, before the electronic device acquires the first parameter (i.e., step 201 described above), the control method provided in the embodiment of the present invention further includes step 203 described below.
And 203, under the condition that the visual angle of the target camera is blocked, the electronic equipment acquires the visual angle parameter of the target camera, the second position parameter of the target camera on the electronic equipment and the second angle parameter of the electronic equipment.
In an embodiment of the present invention, the View angle parameter of the target camera may include a Field of View (FOV) of the target camera, that is, an intrinsic performance parameter of the target camera. Typically, one model of camera has a corresponding FOV.
In the embodiment of the invention, the electronic equipment can store the view angle parameters of the target camera in advance. Correspondingly, the electronic equipment can directly obtain the view angle parameters of the target camera from local under the condition that the view angle of the target camera is detected to be blocked.
In the embodiment of the present invention, the second position parameter of the target camera located in the electronic device may indicate a position of the target camera located in the electronic device.
For example, the electronic device may detect that the target camera is located at the position of the electronic device, and acquire the second position parameter. The second position parameter may be represented by a coordinate, or may be represented by any other possible manner, and may be determined according to an actual use requirement, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, the electronic equipment acquires the folding angle value between the first screen and the second screen, namely the second angle parameter of the electronic equipment, under the condition that the electronic equipment detects that the visual angle of the target camera is blocked.
Optionally, in the embodiment of the present invention, the electronic device may employ an angle sensor to detect a folding angle value between the first screen and the second screen, that is, to obtain the second angle parameter. Of course, the electronic device may also adopt other devices capable of acquiring the folding angle value, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Further, in combination with step 203, step 202 may be specifically realized by step 202A described below.
Step 202A, the electronic device obtains a first parameter according to the view angle parameter of the target camera, the second position parameter of the target camera located on the electronic device, and the second angle parameter of the electronic device.
In the embodiment of the invention, under the condition that the view range of the target camera is detected to have the obstruction, the electronic equipment calculates the first parameter according to the visual angle parameter (such as FOV) of the target camera, the second position parameter of the target camera positioned on the electronic equipment and the second angle parameter of the electronic equipment. Further, if the first parameter includes a first position parameter, the electronic device may move the target camera to the first position according to the first position parameter; or if the first parameter comprises a first angle parameter, the electronic equipment folds the electronic equipment to a first angle according to the first angle parameter; or, if the first parameter includes a first position parameter and a first angle parameter, the electronic device moves the target camera to the first position and folds the electronic device to the first angle. So, make the target camera have complete visual angle, promote the shooting effect.
In the following, possible implementations of the control method provided by the present invention are exemplarily described by the first implementation and the second implementation described below.
First implementation
In a first implementation, the target camera is located on the first screen, that is, the first implementation is described with respect to how the electronic device controls the movement of one camera.
For example, the first position may be located in a second region of the first screen other than the first region, which is a vertical projection region of the second screen on the first screen.
The screen width of the first screen and the screen width of the second screen may be the same or different. In the following, referring to fig. 3 and fig. 4, a possible implementation manner of the control method provided by the embodiment of the present invention is described by taking the case that the screen widths of the first screen and the second screen are equal (assuming that the screen widths are both d 1).
As shown in fig. 3 (a), a foldable screen of an electronic device is bent along a folding line 30, a first screen 31 and a second screen 32 form a certain folding angle, and the first screen 31 is provided with a target camera 33, which is a rear camera. The second screen may or may not be provided with an additional camera (e.g., front facing camera 34). For the sake of convenience of distinction, the rear camera is indicated by a dashed line box, and the front camera is indicated by a solid line box. Fig. 3 (b) shows a schematic cross-sectional view of the electronic device shown in fig. 3 (a).
Referring to fig. 3 (a) and (b), when the folding angle value α between the first screen 31 and the second screen 32 is less than 90 °, the second screen 32 blocks the field of view of the target camera 33 on the side of the first screen 31. in order to avoid the target camera 33 from blocking the field of view of the target camera 33, the target camera 33 may be moved to an area of the first screen that is not blocked or is less blocked.
As shown in fig. 3 (b), for convenience of description, the vertical projection line segment is taken as an example in the figure, in the case that the folding angle value α is less than 90 ° (e.g., α is 45 °), CB is perpendicular to AB, and the vertical projection line segment of AC on AD is AB, that is, the vertical projection area of the second screen 32 on the first screen 31 (i.e., the first area of the first screen) is as shown by AB and has a length of x1, and the second area of the first screen is as shown by BD and has a length of x 2.
Referring to (a) and (b) of fig. 3, if the target camera 33 is located in the first area AB, the target camera 33 is blocked by the panel on which the screen 32 is located, and the viewing angle of the target camera 33 is small. If the target camera 33 is located in the second area BD, the view field of the target camera 33 is less obstructed, and the viewing angle of the target camera 33 is larger.
It is understood that in the case where the folding angle value α is smaller than 90 °, the electronic device may move the target camera from the first area AB to a position in the second area BD (i.e., to the first position) to improve the situation where the target camera is blocked, so that the angle of view of the target camera becomes larger.
As further shown in FIGS. 4 (a) and (b), when the folding angle value α between the first screen 31 and the second screen 32 is less than 90 deg. (e.g., α is 30 deg.), the second screen 32 blocks the field of view of the target camera 33 on the side of the first screen 31 more.
Referring to fig. 3 and 4, when x1< d1, where x1 is d1 cos α, the target camera 33 has a movable space (i.e., the second area BD) on the first screen, the target camera 33 can be moved from the first area AB to a position on the second area BD, where the image-capturing area of the camera is less obstructed, when x1 is d1, the target camera 33 has no movable space on the first screen, where the angle between the panel of the first screen and the panel of the second screen is very small or equal to 0, and the two panels are nearly completely folded or completely folded together.
The control method provided by the embodiment of the invention can be applied to a scene how to adjust the electronic equipment to improve the shooting effect when the foldable electronic equipment is folded, and after the electronic equipment is folded, the position of the camera can be adjusted according to the requirements of a user, so that the visual angle of the camera is increased, and the user can be helped to shoot satisfactory photos.
Second implementation
In a second implementation manner, the target cameras include a first camera located on the first screen and a second camera located on the second screen, that is, the second implementation manner is described with respect to how the electronic device controls the two cameras to move.
Illustratively, as shown in fig. 5, the electronic device 40 includes a first camera 43 positioned at the first screen 41 and a second camera 44 positioned at the second screen 42. Wherein the fold line 45 on the folded screen is generally located between the first and second cameras and the screen width of the first screen 41 is less than the screen width of the second screen 42 (ensuring that the folded second screen is not completely obscured by the first screen). That is, when the folding angle value is small (for example, 0 ° or approximately equal to 0 °), the two screens are partially overlapped together or approximately partially overlapped together, and at this time, the front double-shot or the rear double-shot can be realized by using the first camera and the second camera.
As shown in fig. 6 (a), assuming that the first camera 43 and the second camera 44 both face the user (in this case, both of the cameras may be used as front cameras), and the first screen 41 faces the user, the user may adopt a self-timer function to realize front double shooting, so as to adapt to different shooting scenes and requirements.
As shown in fig. 6 (b), assuming that the first camera 43 and the second camera 44 both face away from the user (in this case, both of the cameras may be used as rear cameras), and the second screen 42 faces the user, the user may adopt a normal shooting function to realize rear double shooting, so as to be suitable for different shooting scenes and requirements.
For example, the step of "the electronic device moves the target camera to the first position" in the step 202 may be specifically implemented by the step 202B described below.
Step 202B, the electronic equipment controls the first camera and the second camera to move, and controls the first camera and the second camera to stop moving under the condition that the target object (namely the object to be shot) is superposed with the first target point.
The first target point is a focus with the shortest vertical distance to the target plane among a plurality of focuses with the overlapped first and second field angle ranges. The first field angle range is a field angle range corresponding to the first camera, and the second field angle range is a field angle range corresponding to the second camera. The target plane is a plane where the first camera and the second camera are located.
It is understood that the field angle (i.e., FOV) of the cameras may determine the viewing range (i.e., field angle range) of the cameras, as shown in fig. 7, the field angle range of the first camera is marked as W1, and the field angle range of the second camera is marked as W2, and the common viewing range where the two cameras intersect, as shown by the shaded area in fig. 7, may refer to the first target point as the best shot point because the double shot effect is better when the first target point falls on the target object.
If any one of the two cameras changes its position, the common finder range changes. For example, the two cameras are moved closer together, and the common viewing range is widened. And moving the two cameras away from each other to zoom out the common view range.
In a possible implementation manner, the electronic device controls the first camera and the second camera to move close to each other, and controls the first camera and the second camera to stop moving when the target object coincides with the first target point. Therefore, the electronic equipment can automatically adjust the position of the camera in the electronic equipment, and the double-shooting effect is realized.
In the embodiment of the invention, when the electronic equipment starts the macro shooting mode of the camera, the object to be shot is closer to the camera. In this shooting scene, if the object to be shot does not fall within the field angle ranges of the two cameras, the electronic apparatus may control the first camera 43 and the second camera 44 to move closer to each other until the optimal shooting point P falls on the object to be shot 46, that is, both the first camera 43 and the second camera 44 are focused on the object to be shot 46, as shown in fig. 7.
It should be noted that, if the two cameras have moved to the minimum distance, and the optimal shooting point P cannot be made to fall on the object 46 to be shot, a prompt message may be displayed on the shooting interface to remind the user to move the mobile phone, so that the shooting point P falls on the object 46 to be shot. Therefore, the electronic equipment can be manually adjusted by a user, and a double-shooting effect is realized.
In another possible implementation manner, the electronic device may control the first camera and the second camera to move away from each other, and control the first camera and the second camera to stop moving when the target object coincides with the first target point.
In the embodiment of the invention, when the camera enters the panoramic mode, the object to be shot is far away from the cameras, the two cameras can automatically move in opposite directions until the maximum distance between the two cameras is reached, and the images shot by the two cameras can be just spliced without cutting or completing. At the moment, the vertical distance from the optimal shooting point to the shooting object is the shortest, and the imaging quality is the best.
For example, as shown in fig. 7, when the electronic device switches on the panoramic mode of the camera, the object 47 to be photographed may be far away from the cameras, and if the object 47 to be photographed does not fall within the field angle range of the two cameras, the electronic device may control the two cameras 43 and 44 to automatically move in opposite directions until the maximum distance between the two cameras is reached and the images photographed by the two cameras are just ready to be stitched without clipping or completing. At this time, the optimal shooting point P is closest to the vertical distance of the object to be shot, and the first camera 43 and the second camera 44 are both focused on the object 47 to be shot, so that the imaging quality is the best.
It should be noted that the electronic device may control at least one of the two cameras to move, and the embodiments of the present invention may not be limited to moving the camera in the horizontal direction, but may also move in any direction that may be implemented.
In the embodiment of the invention, under different shooting scenes, the electronic equipment can control the two cameras to move according to actual conditions and adjust the positions of the cameras, thereby realizing the double-shooting effect.
Optionally, in the embodiment of the present invention, after the electronic device moves the target camera to the first position (step 202 described above), the control method provided in the embodiment of the present invention further includes the following step 204 and step 205.
And 204, under the condition that the object is detected to exist in the view finding range when the target camera is located at the first position, the electronic equipment acquires a second parameter.
Wherein the second parameter indicates that the target camera has a full angle of view when located at a third position in the electronic device.
And step 205, the electronic device moves the target camera from the first position to a third position according to the second parameter, wherein the first position and the third position are respectively located on two opposite planes of the electronic device.
In the embodiment of the invention, if all the movable positions of the target camera cannot shoot the target object, the electronic equipment can move the target camera to the other side of the electronic equipment, so that the target camera has a complete visual angle. So, electronic equipment can the automatic adjustment camera the position for the camera has complete visual angle, thereby can promote the shooting effect.
Optionally, in this embodiment of the present invention, after the electronic device moves the target camera to the first position (step 202 described above), or after the electronic device moves the target camera from the first position to the third position (step 205 described above), the control method provided in this embodiment of the present invention further includes the following steps 206 to 209.
And step 206, the electronic equipment displays the camera identification of the target camera on the screen.
The camera identification may be in an icon form, a text form, or any other possible form, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Step 207, the electronic device receives a first input of the camera identification by the user.
For example, the first input may be a drag input of the camera identification by the user.
And step 208, the electronic equipment responds to the first input, and the display position of the camera mark on the screen is updated to a second position in the electronic equipment.
And step 209, the electronic equipment responds to the first input and moves the target camera to the second position.
In the embodiment of the invention, the electronic equipment can indicate the position of the camera by adopting the camera identification on the preview interface, and in a scene in which a user needs to manually adjust the position of the camera, the user can adjust the position of the camera by operating the camera identification, so that special functions of different scenes are realized.
In the embodiment of the invention, the camera can be controlled to move to a proper position according to different shooting scenes, so that a double-shooting effect is realized, the hardware cost is saved, and different shooting scene requirements of a user are met.
It should be noted that the execution order of the above step 208 and the above step 209 is not limited. Step 208 may be performed first, followed by step 209; step 208 may be performed first, and then step 209 may be performed; step 208 and step 209 may also be performed simultaneously.
Optionally, in the embodiment of the present invention, after the electronic device moves the target camera to the first position or folds the electronic device to the first angle (step 202 described above), or after the electronic device moves the target camera from the first position to the third position (step 205 described above), the control method provided in the embodiment of the present invention further includes the following steps 210 to 211.
Step 210, the electronic device receives a shooting instruction of a user.
For example, the shooting instruction may be an instruction triggered by a user through a touch shooting control.
And step 211, the electronic equipment responds to the shooting instruction, and adopts the target camera to shoot to obtain an image of the object to be shot.
In the embodiment of the invention, after the electronic equipment moves the target camera to the first position or folds the electronic equipment to the first angle, the target camera has a complete visual angle, and if the user needs to shoot, the user can touch the shooting control to trigger the electronic equipment to shoot. Therefore, the shooting effect can be improved.
It should be noted that the embodiment of the present invention is not limited to be applied to a folding screen, but may also be applied to a multi-screen electronic device such as a flexible screen and a tiled screen. In addition, in the interaction aspect, similar interactions can be used for the off-screen infrared device, the microphone assembly and the like, and taking the microphone as an example, in the case that the microphone assembly is opened and shielded, the electronic device can control the microphone assembly to move to other positions of the electronic device, so that the microphone assembly is prevented from being shielded.
The embodiment of the invention provides electronic equipment, which is foldable electronic equipment and comprises a target camera capable of moving under a screen. As shown in fig. 8, electronic device 700 includes an acquisition module 701 and a control module 702.
The obtaining module 701 is configured to obtain a first parameter when it is detected that a blocking object exists in a view range of a target camera;
the control module 702 is configured to move the target camera to a first position or fold the electronic device to a first angle according to the first parameter obtained by the obtaining module 701;
the first parameter includes at least one of a first position parameter indicating that the target camera has a complete view angle when located at the first position and a first angle parameter indicating that the electronic device has a complete view angle when folded to the first angle.
Optionally, in this embodiment of the present invention, the obtaining module 701 is further configured to, before obtaining the first parameter, obtain a viewing angle parameter of the target camera, a second position parameter of the target camera located in the electronic device, and a second angle parameter of the electronic device under the condition that a viewing angle of the target camera is blocked;
the obtaining module 701 is specifically configured to obtain the first parameter according to a viewing angle parameter of the target camera, a second position parameter of the target camera located in the electronic device, and a second angle parameter of the electronic device.
Optionally, in the embodiment of the present invention, the target camera includes a first camera located on the first screen and a second camera located on the second screen, and the first screen and the second screen are screens formed by folding the electronic device;
the control module 702 is specifically configured to control the first camera and the second camera to move, and control the first camera and the second camera to stop moving when the target object coincides with the first target point;
the first target point is a focus with the shortest vertical distance to the target plane among a plurality of focuses with overlapped first and second field angle ranges; the first field angle range is a field angle range corresponding to the first camera, the second field angle range is a field angle range corresponding to the second camera, and the target plane is a plane where the first camera and the second camera are located.
Optionally, with reference to fig. 8, as shown in fig. 9, the electronic device provided in the embodiment of the present invention further includes a display module 703 and a receiving module 704;
the display module 703 is configured to display a camera identifier of the target camera on a screen of the electronic device after the control module 702 moves the target camera to the first position;
the receiving module 704 is configured to receive a first input of the camera identifier displayed by the display module 703 from a user;
the display module 703 is further configured to update the display position of the camera identifier on the screen to a second position in the electronic device in response to the first input received by the receiving module 704;
the control module 702 is further configured to move the target camera to a second position.
Optionally, in this embodiment of the present invention, the obtaining module 701 is further configured to, after the control module 702 moves the target camera to the first position, obtain a second parameter when it is detected that a blocking object exists in a view range of the target camera located at the first position, where the second parameter indicates that the target camera located at a third position in the electronic device has a complete view angle;
the control module 702 is further configured to move the target camera from a first position to a third position according to the second parameter acquired by the acquisition module 701, where the first position and the third position are located on two opposite planes of the electronic device, respectively.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
According to the electronic equipment provided by the embodiment of the invention, the first parameter can be obtained under the condition that the obstruction exists in the view finding range of the target camera; moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle. The embodiment of the invention can be applied to a scene how to control the camera to improve the shooting effect when the electronic equipment is folded, and the shooting effect can be influenced because the target camera of the electronic equipment is possibly shielded or the view finding range is reduced when the electronic equipment is folded. Therefore, the embodiment of the invention can solve the problem that the shooting of a user is influenced by the fact that the camera is shielded when the screen of the existing foldable screen electronic equipment is folded.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 10, the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic 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 sensor 805 is used for acquiring a first parameter when detecting that a barrier exists in a view range of the target camera; a processor 810, configured to move the target camera to a first position or fold the electronic device to a first angle according to the first parameter; the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete visual angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete visual angle when being folded to a first angle.
The embodiment of the invention provides electronic equipment which can be applied to a scene how to control a camera to improve the shooting effect when the electronic equipment is folded, and the shooting effect can be influenced because a target camera of the electronic equipment can be shielded or the view finding range of the electronic equipment is reduced when the electronic equipment is folded. Therefore, the embodiment of the invention can solve the problem that the shooting of a user is influenced by the fact that the camera is shielded when the screen of the existing foldable screen electronic equipment is folded.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 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 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device 800 provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input unit 804 may include an image capture device (e.g., a camera) 8040, a Graphics Processing Unit (GPU) 8041, and a microphone 8042. An image capture device 8040 (e.g., a camera) captures image data for still pictures or video. The graphic processor 8041 processes image data of still pictures or video obtained by the image capturing apparatus in the video capturing mode or the image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound 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 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 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 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (L CD), an organic light-emitting diode (O L ED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although the touch panel 8071 and the display panel 8061 are shown in fig. 10 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. 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 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program 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 809 can include high speed random access memory, and can 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 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and optionally, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 810 shown in fig. 10, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the control method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
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 control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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 application 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 an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method disclosed in 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 (12)

1. A control method is applied to a foldable electronic device, wherein the electronic device comprises a target camera movable under a screen, and the method comprises the following steps:
under the condition that a blocking object exists in the view finding range of the target camera, acquiring a first parameter;
according to the first parameter, moving the target camera to a first position or folding the electronic equipment to a first angle;
the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete view angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete view angle when being folded to a first angle.
2. The method of claim 1, wherein prior to said obtaining the first parameter, the method comprises:
acquiring a view angle parameter of the target camera, a second position parameter of the target camera on the electronic equipment and a second angle parameter of the electronic equipment under the condition that the view angle of the target camera is blocked;
the acquiring of the first parameter includes:
and acquiring the first parameter according to the visual angle parameter of the target camera, the second position parameter of the target camera on the electronic equipment and the second angle parameter of the electronic equipment.
3. The method of claim 1, wherein the target cameras comprise a first camera located on a first screen and a second camera located on a second screen, and the first screen and the second screen are screens formed by folding the electronic device;
moving the target camera to a first position, comprising:
controlling the first camera and the second camera to move, and controlling the first camera and the second camera to stop moving under the condition that a target object is overlapped with a first target point;
the first target point is a focus with the shortest vertical distance to a target plane in a plurality of focuses with overlapped first and second field angle ranges; the first field angle range is a field angle range corresponding to the first camera, the second field angle range is a field angle range corresponding to the second camera, and the target plane is a plane where the first camera and the second camera are located.
4. The method of any of claims 1-3, wherein after the moving the target camera to the first position, the method further comprises:
displaying a camera identification of the target camera on a screen of the electronic equipment;
receiving a first input of the camera identification by a user;
in response to the first input, updating a display location of the camera identification on the screen to a second location in the electronic device, and moving the target camera to the second location.
5. The method of claim 1, wherein after the moving the target camera to the first position, the method further comprises:
under the condition that a shelter is detected in a view finding range when the target camera is located at the first position, a second parameter is obtained, and the second parameter indicates that the target camera has a complete view angle when located at a third position in the electronic equipment;
and moving the target camera from the first position to the third position according to the second parameter, wherein the first position and the third position are respectively located on two opposite planes of the electronic equipment.
6. The electronic equipment is characterized in that the electronic equipment is foldable electronic equipment, the electronic equipment comprises a target camera which can move under a screen, and the electronic equipment comprises an acquisition module and a control module;
the acquisition module is used for acquiring a first parameter under the condition that a shelter is detected in the view finding range of the target camera;
the control module is used for moving the target camera to a first position or folding the electronic equipment to a first angle according to the first parameter acquired by the acquisition module;
the first parameter comprises at least one of a first position parameter and a first angle parameter, the first position parameter indicates that the target camera has a complete view angle when being located at a first position, and the first angle parameter indicates that the electronic equipment has a complete view angle when being folded to a first angle.
7. The electronic device of claim 6,
the acquisition module is further configured to acquire, before acquiring the first parameter, a view angle parameter of the target camera, a second position parameter of the target camera at the electronic device, and a second angle parameter of the electronic device under the condition that a view angle of the target camera is blocked;
the acquisition module is specifically configured to acquire the first parameter according to the view angle parameter of the target camera, the second position parameter of the target camera located in the electronic device, and the second angle parameter of the electronic device.
8. The electronic device of claim 6, wherein the target camera comprises a first camera located on a first screen and a second camera located on a second screen, and the first screen and the second screen are screens formed by folding the electronic device;
the control module is specifically configured to control the first camera and the second camera to move, and control the first camera and the second camera to stop moving when a target object coincides with a first target point;
the first target point is a focus with the shortest vertical distance to a target plane in a plurality of focuses with overlapped first and second field angle ranges; the first field angle range is a field angle range corresponding to the first camera, the second field angle range is a field angle range corresponding to the second camera, and the target plane is a plane where the first camera and the second camera are located.
9. The electronic device of any of claims 6-8, further comprising a display module and a receiving module;
the display module is used for displaying a camera identifier of the target camera on a screen of the electronic equipment after the control module moves the target camera to a first position;
the receiving module is used for receiving first input of the camera identification displayed by the display module by a user;
the display module is further used for responding to the first input received by the receiving module, and updating the display position of the camera mark on the screen to a second position in the electronic equipment;
the control module is further configured to move the target camera to the second position.
10. The electronic device of claim 6,
the obtaining module is further configured to obtain a second parameter when detecting that an obstruction exists in a view range of the target camera located at the first position after the control module moves the target camera to the first position, where the second parameter indicates that the target camera has a complete view angle when located at a third position in the electronic device;
the control module is further configured to move the target camera from the first position to a third position according to the second parameter acquired by the acquisition module, where the first position and the third position are located on two opposite planes of the electronic device, respectively.
11. An electronic device, characterized in that the electronic device comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the control method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 5.
CN202010214840.3A 2020-03-24 2020-03-24 Control method and electronic equipment Active CN111405117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010214840.3A CN111405117B (en) 2020-03-24 2020-03-24 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010214840.3A CN111405117B (en) 2020-03-24 2020-03-24 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111405117A true CN111405117A (en) 2020-07-10
CN111405117B CN111405117B (en) 2021-01-15

Family

ID=71429041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010214840.3A Active CN111405117B (en) 2020-03-24 2020-03-24 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111405117B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953879A (en) * 2020-08-31 2020-11-17 京东方科技集团股份有限公司 Under-screen camera module, electronic equipment and photo shooting method
US11343415B1 (en) * 2021-03-16 2022-05-24 International Business Machines Corporation Multi-camera alignment in a rollable display device
TWI767523B (en) * 2021-01-20 2022-06-11 佳世達科技股份有限公司 Electronic device
WO2023029715A1 (en) * 2021-08-31 2023-03-09 中兴通讯股份有限公司 Under-screen camera image processing method, device, and system, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699391A (en) * 2015-04-07 2015-06-10 联想(北京)有限公司 Electronic equipment and control method for cameras thereof
US20160295173A1 (en) * 2015-04-03 2016-10-06 Ronen Gredinger Digital camcorder angle display viewer device with an add-on protective cover for a mobile device and method for transporting components thereof
CN106998428A (en) * 2017-04-21 2017-08-01 维沃移动通信有限公司 The image pickup method and mobile terminal of a kind of mobile terminal
CN108076292A (en) * 2017-12-28 2018-05-25 努比亚技术有限公司 Image pickup method, mobile terminal and storage medium
CN108322647A (en) * 2018-01-31 2018-07-24 努比亚技术有限公司 Panoramic picture image pickup method, mobile terminal and computer readable storage medium
US20190004282A1 (en) * 2017-06-28 2019-01-03 Samsung Electronics Co., Ltd. Electronic device including camera module
CN109756594A (en) * 2018-12-26 2019-05-14 维沃移动通信有限公司 Control method, terminal and the storage medium of screen
CN110049251A (en) * 2019-05-21 2019-07-23 闻泰通讯股份有限公司 It images focus adjustment method, device, fold screen equipment and storage medium
CN110445923A (en) * 2018-05-04 2019-11-12 Oppo广东移动通信有限公司 The control method of electronic device and electronic device
CN110557474A (en) * 2018-05-31 2019-12-10 努比亚技术有限公司 Flexible screen terminal shooting method, terminal and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160295173A1 (en) * 2015-04-03 2016-10-06 Ronen Gredinger Digital camcorder angle display viewer device with an add-on protective cover for a mobile device and method for transporting components thereof
CN104699391A (en) * 2015-04-07 2015-06-10 联想(北京)有限公司 Electronic equipment and control method for cameras thereof
CN106998428A (en) * 2017-04-21 2017-08-01 维沃移动通信有限公司 The image pickup method and mobile terminal of a kind of mobile terminal
US20190004282A1 (en) * 2017-06-28 2019-01-03 Samsung Electronics Co., Ltd. Electronic device including camera module
CN108076292A (en) * 2017-12-28 2018-05-25 努比亚技术有限公司 Image pickup method, mobile terminal and storage medium
CN108322647A (en) * 2018-01-31 2018-07-24 努比亚技术有限公司 Panoramic picture image pickup method, mobile terminal and computer readable storage medium
CN110445923A (en) * 2018-05-04 2019-11-12 Oppo广东移动通信有限公司 The control method of electronic device and electronic device
CN110557474A (en) * 2018-05-31 2019-12-10 努比亚技术有限公司 Flexible screen terminal shooting method, terminal and computer readable storage medium
CN109756594A (en) * 2018-12-26 2019-05-14 维沃移动通信有限公司 Control method, terminal and the storage medium of screen
CN110049251A (en) * 2019-05-21 2019-07-23 闻泰通讯股份有限公司 It images focus adjustment method, device, fold screen equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953879A (en) * 2020-08-31 2020-11-17 京东方科技集团股份有限公司 Under-screen camera module, electronic equipment and photo shooting method
CN111953879B (en) * 2020-08-31 2022-08-09 京东方科技集团股份有限公司 Under-screen camera module, electronic equipment and photo shooting method
TWI767523B (en) * 2021-01-20 2022-06-11 佳世達科技股份有限公司 Electronic device
US11343415B1 (en) * 2021-03-16 2022-05-24 International Business Machines Corporation Multi-camera alignment in a rollable display device
WO2023029715A1 (en) * 2021-08-31 2023-03-09 中兴通讯股份有限公司 Under-screen camera image processing method, device, and system, and storage medium

Also Published As

Publication number Publication date
CN111405117B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN111541845B (en) Image processing method and device and electronic equipment
CN111405117B (en) Control method and electronic equipment
CN108471498B (en) Shooting preview method and terminal
CN109862267B (en) Shooting method and terminal equipment
CN108495029B (en) Photographing method and mobile terminal
CN110908558B (en) Image display method and electronic equipment
CN111083379A (en) Shooting method and electronic equipment
CN109639969B (en) Image processing method, terminal and server
CN111010512A (en) Display control method and electronic equipment
CN110769174B (en) Video viewing method and electronic equipment
CN111107269B (en) Photographing method, electronic device and storage medium
CN111596990B (en) Picture display method and device
CN111385415B (en) Shooting method and electronic equipment
CN111050109B (en) Electronic equipment control method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN110968229A (en) Wallpaper setting method and electronic equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN110798621A (en) Image processing method and electronic equipment
CN110769154B (en) Shooting method and electronic equipment
CN110769156A (en) Picture display method and electronic equipment
CN111061531A (en) Picture display method and electronic equipment
CN110868546B (en) Shooting method and electronic equipment
WO2021147932A1 (en) Image capture method and electronic device
CN111131706B (en) Video picture processing method and electronic equipment

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