CN112887579A - Camera module control method and device and electronic equipment - Google Patents

Camera module control method and device and electronic equipment Download PDF

Info

Publication number
CN112887579A
CN112887579A CN202110179077.XA CN202110179077A CN112887579A CN 112887579 A CN112887579 A CN 112887579A CN 202110179077 A CN202110179077 A CN 202110179077A CN 112887579 A CN112887579 A CN 112887579A
Authority
CN
China
Prior art keywords
camera module
flexible screen
input
groove
shell
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
CN202110179077.XA
Other languages
Chinese (zh)
Other versions
CN112887579B (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 CN202110179077.XA priority Critical patent/CN112887579B/en
Publication of CN112887579A publication Critical patent/CN112887579A/en
Application granted granted Critical
Publication of CN112887579B publication Critical patent/CN112887579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/301Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED
    • 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)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a camera module control method and device and electronic equipment, and belongs to the technical field of communication. The electronic equipment comprises a shell, a flexible screen and a camera module, wherein a groove is formed in the shell, the camera module is arranged in the groove and moves in the groove, the first end of the flexible screen is fixedly connected with the shell, the flexible screen is provided with a contraction state contained in the shell, and at least part of the flexible screen is expanded in an expansion state outside the shell. Like this, under the folding angle of flexible screen is greater than the condition of predetermineeing the threshold value, because the camera module sets up in the recess on the casing, can control the camera module and remove in the recess to accomplish the adjustment to the shooting angle of camera module, need not the manual shooting angle that adjusts the camera module of buckling flexible screen of user, and then make the adjustment to the shooting angle of camera module more convenient.

Description

Camera module control method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a camera module control method and device and electronic equipment.
Background
With the development of electronic technology, the types of electronic devices are more and more diversified, and the flexible screen is widely applied to the electronic devices. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: the user is usually required to bend the flexible screen manually, so that the shooting angle of the camera module of the electronic equipment can be adjusted, and therefore the current adjusting effect on the shooting angle of the camera module is poor.
Disclosure of Invention
The embodiment of the application aims to provide a camera module control method and device and electronic equipment, and the problem that the adjustment effect of the shooting angle of a camera module is poor can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a camera module control method, which is applied to an electronic device, where the electronic device includes a housing, a flexible screen, and a camera module, where the housing is provided with a groove, the camera module is disposed in the groove and moves in the groove, a first end of the flexible screen is fixedly connected to the housing, and the flexible screen has a retracted state accommodated in the housing and an extended state at least partially extended outside the housing;
the method comprises the following steps:
receiving a first input under the condition that the camera module is started, wherein the first input is used for controlling the flexible screen to be folded;
and under the condition that the folding angle of the flexible screen is larger than a preset threshold value, controlling the camera module to move in the groove.
In a second aspect, an embodiment of the present application provides a camera module control apparatus, which is applied to an electronic device, where the electronic device includes a housing, a flexible screen, and a camera module, where the housing is provided with a groove, the camera module is disposed in the groove and moves in the groove, a first end of the flexible screen is fixedly connected to the housing, and the flexible screen has a retracted state accommodated in the housing and an extended state at least partially extending outside the housing;
the camera module control device comprises:
the first receiving module is used for receiving a first input under the condition that the camera module is started, wherein the first input is used for controlling the flexible screen to be folded;
and the control module is used for controlling the camera module to move in the groove under the condition that the folding angle of the flexible screen is greater than a preset threshold value.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this application embodiment, the camera module sets up in the recess on the casing, can control the camera module and remove in the recess to accomplish the adjustment to the shooting angle of camera module, need not have the manual flexible screen of buckling of user and adjust the shooting angle of camera module, and then make the adjustment to the shooting angle of camera module more convenient.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a housing in an electronic device according to an embodiment of the present disclosure;
fig. 3 is a second schematic structural diagram of a housing in an electronic device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a camera module control method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a camera module control device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a camera module control method and an electronic device provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 1, the electronic device includes a housing 10, a flexible screen 20, and a camera module 30, where the housing 10 is provided with a groove 11, the camera module 30 is disposed in the groove 11 and moves in the groove 11, a first end of the flexible screen 20 is fixedly connected to the housing 10, and the flexible screen 20 has a retracted state accommodated in the housing 10 and an extended state at least partially extending outside the housing 10.
Wherein the housing 10 in the present application may also comprise a reel, and the flexible screen 20 may be retracted or extended with respect to the reel.
The working principle of the application can be seen in the following expressions:
when the shooting angle of the camera module 30 needs to be adjusted, the camera module 30 can be controlled to move in the groove 11, so that the adjustment of the shooting angle of the camera module 30 is completed. Therefore, the user does not need to manually bend the flexible screen 20 to adjust the shooting angle of the camera module 30, and the adjustment of the shooting angle of the camera module 30 is more convenient. It should be noted that, in the embodiment of the present application, the flexible screen 20 may also be referred to as a housing screen.
It should be noted that, as an optional mode, the housing 10 may be a cylindrical housing, and the groove 11 may be an annular groove, so that when the camera module 30 moves in the annular groove, the adjustment range of the shooting angle of the camera module 30 may reach 360 degrees, thereby further enhancing the adjustment effect of the shooting angle of the camera module 30. Referring to fig. 1, a1 in fig. 1 can be used to indicate the moving direction of the camera module 30.
Of course, as another optional embodiment, the groove 11 may be a semi-annular groove or an arc-shaped groove, so that, compared with the annular groove, the adjustment range of the shooting angle of the camera module 30 can be reduced, and the processing difficulty and the processing cost of the groove 11 can be reduced.
In addition, with the user in prior art through manual flexible screen 20 of buckling, thereby the mode of the adjustment of the shooting angle of the camera module 30 of the realization to electronic equipment compares, the hardness of casing 10 and recess 11 in this embodiment is higher, at the in-process of the shooting angle of adjustment camera module 30, casing 10 and recess 11 non-deformable, thereby when making camera module 30 move in recess 11, its removal orbit that corresponds is fixed orbit, thereby can be more accurate and quick adjustment to corresponding position.
Of course, the specific manner of controlling the camera module 30 to move in the groove 11 is not limited herein, for example: as an alternative embodiment, the electronic device may include a driving member, the driving member is connected to the camera module 30, and the driving member is used for driving the camera module 30 to move in the groove 11. It should be noted that the driving member may be provided with a control switch, and when a first input to the control switch is received, the camera module 30 may be driven to move in the groove 11, and meanwhile, when a preset condition is met, the driving of the camera module 30 in the groove 11 may be stopped. The preset conditions may include: the driving time length satisfies any one of the preset time length, the moving distance of the camera module 30 satisfies the preset distance (the preset distance can be calculated according to the driving speed and the driving time length of the driving member to the camera module 30), and the second input to the control switch is received.
It should be noted that the specific types of the first input and the second input are not limited herein, for example: the first input and the second input may be touch input, press input, voice input, or the like.
In addition, based on another optional implementation manner of the foregoing implementation manner, the driving element may further be connected to a controller of the electronic device, so that the driving state of the driving element on the camera module 30 is controlled by the controller, so that the control effect on the driving of the camera module 30 is better.
In addition, in order to enable the camera module 30 to better move in the groove 11, a sliding rail may be embedded in the groove 11, and the camera module 30 may be disposed on the sliding rail and move along the sliding rail, so that the resistance of the camera module 30 when moving along the groove 11 is small.
Referring to fig. 2 and 3, the casing 10 may include an inner frame 12 and an outer frame 13, the outer frame 13 has a hollow structure, the inner frame 12 may be disposed in a hollow area of the outer frame 13, and an accommodating space is formed between the inner frame 12 and an inner wall of the outer frame 13, it can be understood that the groove may occupy a part of the accommodating space, and when the flexible screen 20 has a contracted state accommodated in the casing 10, the flexible screen 20 may be accommodated in the accommodating space, so that the volume of the whole electronic device may be reduced, and the electronic device may be conveniently carried.
In addition, when at least a part of the screen of the flexible screen 20 is in the unfolded state outside the housing 10, the content can be played on the flexible screen 20, so that the playing effect of the electronic device is better. While at least part of the screen of the flexible screen 20 is in the unfolded state outside the housing 10, it can also be understood that: at least part of the flexible screen 20 is unfolded in an unfolded state outside the housing 10.
In the embodiment of the present application, the electronic Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Referring to fig. 4, fig. 4 is a flowchart of a camera module control method provided in an embodiment of the present application, where the method is applied to an electronic device, where the electronic device includes a housing 10, a flexible screen 20, and a camera module 30, a groove 11 is formed in the housing 10, the camera module 30 is disposed in the groove 11 and moves in the groove 11, a first end of the flexible screen 20 is fixedly connected to the housing 10, the flexible screen 20 has a retracted state accommodated in the housing 10, and an extended state at least partially extending outside the housing 10, as shown in fig. 4, the method includes the following steps:
step 401, receiving a first input under the condition that the camera module is started, wherein the first input is used for controlling the flexible screen to be folded.
Step 402, controlling the camera module to move in the groove under the condition that the folding angle of the flexible screen is larger than a preset threshold value.
Therein, the flexible screen may be folded into two regions, wherein one region may be referred to as a first region and the other region may be referred to as a second region. That is to say: the folding angle of the flexible screen may refer to a folding angle between the first region and the second region.
And the specific distribution of the first region and the second region can be seen in the following expression: for example: referring to fig. 1, the first region may include a portion of the display region 22 of the flexible screen, and the second region may include another portion of the display region 22 of the flexible screen and a non-display region 21, the non-display region 21 may be an edge region of the flexible screen 20 and may be made of an insulating material, so that a user may control the flexible screen 20 to expand or compress by pinching the non-display region 21, and the non-display region 21 may also protect the display region 22 of the flexible screen 20.
In addition, the second region may include only the non-display region 21, and it should be noted that the non-display region 21 may be bent along a connection point with the display region 22, that is: the non-display area 21 and the display area 22 may have an angle therebetween.
It should be noted that, when the folding angle of the second area relative to the first area is greater than the preset threshold (that is, the folding angle of the flexible screen is greater than the preset threshold), it is indicated that the shooting angle of the camera module 30 is relatively poor at this time, and the shooting angle of the camera module 30 needs to be adjusted at this time, so that the camera module 30 can be controlled to move in the groove 11. The specific value of the preset threshold is not limited herein, and the preset threshold may be a default value of the system, and of course, the preset threshold may also be a numerical value determined according to the input of the user.
In addition, the specific manner of controlling the camera module 30 to move in the groove 11 can be referred to the corresponding expressions in the above embodiments, and details are not described herein again.
In this application embodiment, can control camera module 30 and remove in recess 11 to accomplish the adjustment to the shooting angle of camera module 30, need not the manual flexible screen 20 of buckling of user and adjust the shooting angle of camera module 30, and then make the adjustment to the shooting angle of camera module 30 more convenient.
As an alternative embodiment, the moving speed of the camera module is related to the folding angle of the flexible screen. Like this, the translation rate of adjustable camera module promptly through the folding angle of flexible screen to make the control to the translation rate of camera module more convenient.
For example, when the camera module 30 moves in the groove 11, the camera module may move at a constant speed, and the calculation formula of the corresponding speed may be: where v is the moving speed of the camera module 30, i is a constant, and a is the numerical value of the folding angle of the second region with respect to the first region, which may also be referred to as the folding angle of the flexible panel.
As an alternative embodiment, the moving direction of the camera module is associated with the folding direction of the flexible screen. Like this, the moving direction of camera module can be adjusted through the folding direction of flexible screen to make the control to the moving direction of camera module more convenient.
For example: referring to fig. 5 and 6, when the flexible screen is bent toward the first direction, the movement direction of the camera module 30 may be determined to be a clockwise direction (i.e., a direction a2 shown in fig. 5), and when the flexible screen is bent toward the second direction, the movement direction of the camera module 30 may be determined to be a counterclockwise direction (i.e., a direction A3 shown in fig. 6).
Wherein the first direction and the second direction may be different directions, for example: the first direction and the second direction may be opposite directions.
For example: referring to fig. 5 and 6, where the position shown in B is one side of the flexible screen 20 and the user may be located on that side, and the position shown in C may be the other side of the flexible screen 20, and the first direction may be the side facing B and the second direction may be the side facing C.
It should be noted that the folding angle of the flexible screen can also be understood as: the included angle shown at D1 in fig. 5 or D2 in fig. 6.
As an optional implementation, the method further comprises:
controlling the flexible screen to display a preview interface;
and controlling the preview interface to move on the flexible screen according to the moving distance of the camera module in the groove, wherein the moving distance of the preview interface on the flexible screen corresponds to the moving distance.
Here, referring to fig. 7, the preview interface 23 may be displayed only in a partial area of the flexible screen 20, so that the photographing preview interface 23 may move on the flexible screen 20. For example: the shooting preview interface 23 can be firstly displayed in the first display area, at this time, the shooting preview interface 23 is not displayed in the second display area, after the camera module 30 moves in the groove 11, the preview interface 23 can move from the first display area to the second display area for displaying, and the moving distance of the shooting preview interface 23 between the first display area and the second display area can correspond to the moving distance of the camera module 30 in the groove 11, for example: the above-mentioned moving distance and moving distance may be in a proportional relationship, and the above-mentioned proportional relationship between the moving distance and moving distance may be 1: 2.
Of course, the moving direction of the shooting preview interface 23 may also correspond to the moving direction of the camera module 30, for example: the groove 11 is an annular groove, and when the camera module 30 moves clockwise in the annular groove, the moving direction of the preview interface 11 may be a direction away from the housing 10; when the camera module 30 moves in the annular groove in the counterclockwise direction, the moving direction of the shooting preview interface 23 may be a direction close to the housing 10.
The shooting preview interface 23 can be displayed in the display area 22 of the flexible screen 20, and the display content in the shooting preview interface 23 can display the content acquired by the camera module 30, it should be noted that after the camera module 30 moves along the groove 11, the display content in the shooting preview interface 23 also changes correspondingly.
For example: when the camera module 30 is located at the first position, the displayed content in the preview interface 23 can be an image of a first person, and at this time, the electronic device wants to acquire an image of a second person, the camera module 30 can be controlled to move to the second position along the groove 11, and the displayed content in the preview interface 23 can be an image of the second person during shooting.
In the embodiment of the application, after the position of the camera module 30 is moved, the shooting angle of the camera module 30 is adjusted, and meanwhile, the display position of the shooting preview interface 23 on the flexible screen 20 can be controlled to be adjusted, so that the display effect of the shooting preview interface 23 on the flexible screen 20 is further enhanced.
As an optional implementation, the method further comprises:
receiving a second input under the condition that a shooting preview interface is displayed, wherein the second input is used for controlling the flexible screen to be folded;
and responding to the second input, and adjusting the focal distance at the target position in the shooting preview interface.
Therefore, the focal length of the target position can be adjusted through the folding angle of the flexible screen, so that the focal length can be adjusted more conveniently, and the adjustment result of the focal length is more accurate.
For example: the focal length may be calculated by a calculation formula, which may be: and m-i-a, wherein m may represent the focal length after adjustment, i represents a constant, and a represents the folding angle of the flexible screen.
In addition, the focal length and the folding angle can be in a direct proportional relationship, i.e., the larger the folding angle, the larger the focal length.
As an optional implementation manner, before adjusting the focal distance at the target position in the shooting preview interface, the method further includes:
receiving a third input, wherein the third input is used for controlling the flexible screen to be folded;
in response to the third input, in a case where the folded position of the flexible screen is located in a display area of the photographing preview interface, determining a first position in the display area as the target position.
Therefore, the determination result of the target position can be more accurate through the embodiment, and the determination mode of the target position is more convenient.
It should be noted that, on the flexible screen, the shooting preview interface may be displayed in only a partial area, rather than in the entire area.
For example, referring to fig. 8, when the folded position of the flexible screen is located in the display area of the shooting preview interface 23, any point in the display area of the shooting preview interface 23 may be taken as a target position. For example, the position of the object in the preview interface taken along the folding line 24 may be set as the target position, that is, the image of the person a is included on the folding line 24, and then the person a is set as the target position.
Specifically, the display area of the preview interface 23 may be displayed along the folding line 24, and since other operation controls are displayed in the preview interface 23 in addition to the preview image (the area where the content is displayed), only the midpoint of the line segment of the folding line 24 in the preview image area may be determined as the target position, that is, the midpoint c of the ab line segment may be determined as the target position.
It should be noted that, as an alternative embodiment, when the duration of the folding angle being the target angle (exceeding the preset angle) is greater than the preset duration, the camera module 30 is controlled to capture an image. Therefore, the camera module 30 can be controlled to shoot the image without touching the shooting control by the user, so that the operation of the user is simplified, and meanwhile, the intelligent degree of shooting the image by the camera module 30 is further enhanced.
In addition, it should be noted that the second input in the above embodiments may also be used to control the flexible screen to move relative to the housing. In this way, the focal length at the target position can be adjusted according to the moving distance of the flexible screen relative to the housing.
For example: as an optional implementation, the focal length at the target position in the shooting preview interface is adjusted according to the moving distance of the flexible screen relative to the shell.
Wherein, there may be a correspondence between the moving distance and the focal length of the flexible screen, for example: the distance of movement and the focal length of the flexible screen may be in a direct or inverse relationship. Such as: the proportional relationship between the moving distance and the focal length of the flexible screen can be 1:1 or 1:2, and the specific numerical value is not limited herein.
In addition, the adjustment mode of the focal length of the flexible screen can be determined according to the moving direction of the flexible screen, for example: as an alternative embodiment, when the second end of the flexible screen moves away from the housing, the focal length of the target location may be adjusted; when the second end of the flexible screen moves towards the direction close to the shell, the focus of the target position can be adjusted to be smaller. As another alternative, when the second end of the flexible screen moves away from the housing, the focal length of the target position may be adjusted smaller; when the second end of the flexible screen moves towards the direction close to the shell, the focus of the target position can be adjusted.
It should be noted that, when the focal length of the target position is adjusted, the adjustment may be performed within a preset adjustment range, that is, the adjusted focal length must be located within the preset adjustment range, and when the adjusted focal length exceeds the preset adjustment range, the adjustment of the focal length of the target position needs to be stopped, and accordingly, the movement of the flexible screen also stops. For example: the minimum value of the preset adjustment range may be 1 time, that is, the minimum adjustment value of the focal length of the target position may be 1 time.
In addition, when the focal length of the content in the user viewing preview interface meets the requirements of the user, the adjustment process of the focal length of the target position can be manually controlled and stopped.
As an optional implementation, the adjusting the focal length at the target position in the shooting preview interface according to the moving distance of the flexible screen relative to the housing includes:
under the condition that the flexible screen moves from a first position to a second position, the focal length of the target position is increased according to a first moving distance between the first position and the second position;
when the flexible screen moves from the second position to the first position, the focal length of the target position is adjusted to be smaller according to a second moving distance between the second position and the first position;
wherein the first position is between the housing and the second position.
It should be noted that the focal length may be calculated by substituting the first moving distance or the second moving distance into a formula, where m is i w f, where m is the adjusted focal length, i is a constant, w is the first moving distance or the second moving distance, and f is a numerical value of the acting force received by the flexible screen.
In the embodiment of the application, the focal length of the target position is adjusted through the first moving distance or the second moving distance, so that the adjusting mode is more diversified, and the adjusting result is more accurate.
As an optional embodiment, in a case that the line of sight of the user is not projected onto the flexible screen, the target position is a geometric center position of the shooting preview interface; or, in the case that the line of sight of the user is projected onto the flexible screen, the target position is a projection position of the line of sight of the user on the flexible screen.
Therefore, when the fact that the gaze of the user is projected onto the flexible screen is detected, the fact that the user is interested in the display content of the flexible screen at the moment is shown, the focal length of the area can be adjusted at the moment, and therefore the display effect of the flexible screen is enhanced; when the position of the user's gaze projection is not detected, the focal length of the geometric center position of the photographing preview interface can be directly adjusted.
It should be noted that, whether the gaze of the user is projected onto the flexible screen is detected, the gaze projection position of the user may be determined by shooting the image of the user and according to the content mapped on the eyeball of the user in the shot image, or directly according to the orientation of the face of the user and the orientation of the eyeball in the shot image, and the specific manner is not limited herein.
In the embodiment of the application, through step 401 and 402, can control the camera module and remove in the recess to accomplish the adjustment to the shooting angle of camera module, need not the manual flexible screen of buckling of user and adjust the shooting angle of camera module, and then make the adjustment to the shooting angle of camera module more convenient.
It should be noted that, in the camera module control method provided in the embodiment of the present application, the execution main body may be a camera module control device, or a control module in the camera module control device, which is used for executing the camera module control method. In the embodiment of the present application, a method for executing a camera module by a camera module control device is taken as an example to describe the camera module control device provided in the embodiment of the present application.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a camera module control device provided in an embodiment of the present application, and is applied to an electronic device, where the electronic device includes a housing, a flexible screen, and a camera module, where a groove is formed in the housing, the camera module is disposed in the groove and moves in the groove, a first end of the flexible screen is fixedly connected to the housing, the flexible screen has a retracted state accommodated in the housing, and an extended state at least partially extended outside the housing, as shown in fig. 9, the camera module control device 900 includes:
a first receiving module 901, configured to receive a first input when the camera module is started, where the first input is used to control the flexible screen to be folded;
and the control module 902 is used for controlling the camera module to move in the groove when the folding angle of the flexible screen is larger than a preset threshold value.
Optionally, the moving direction of the camera module is associated with the folding direction of the flexible screen, or the moving speed of the camera module is associated with the folding angle of the flexible screen.
Optionally, the camera module control device 900 further includes:
the second receiving module is used for receiving a second input under the condition that a shooting preview interface is displayed, wherein the second input is used for controlling the flexible screen to be folded;
and the adjusting module is used for responding to the second input and adjusting the focal length of the target position in the shooting preview interface.
Optionally, in a case that a line of sight of a user is not projected onto the flexible screen, the target position is a geometric center position of the shooting preview interface;
or, in the case that the line of sight of the user is projected onto the flexible screen, the target position is a projection position of the line of sight of the user on the flexible screen.
Optionally, the camera module control device 900 further includes:
the third receiving module is used for receiving a third input, and the third input is used for controlling the flexible screen to be folded;
and the determining module is used for determining a first position in the display area as the target position under the condition that the folding position of the flexible screen is positioned in the display area of the shooting preview interface in response to the third input.
In this application embodiment, the camera module sets up in the recess on the casing, can control the camera module and remove in the recess to accomplish the adjustment to the shooting angle of camera module, need not the manual flexible screen of buckling of user and adjust the shooting angle of camera module, and then make the adjustment to the shooting angle of camera module more convenient.
The camera module control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The camera module control device in the embodiment of the present application may be a 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 application are not limited specifically.
The camera module control device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001, a memory 1002, and a program or an instruction stored in the memory 1002 and executable on the processor 1001, where the program or the instruction is executed by the processor 1001 to implement each process in the embodiment of the camera module control method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: the electronic device 1110 further comprises a housing, a flexible screen and a camera module, wherein the housing is provided with a groove, the camera module is arranged in the groove and moves in the groove, the first end of the flexible screen is fixedly connected with the housing, and the flexible screen has a contraction state accommodated in the housing and an expansion state at least partially expanded outside the housing.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1107 is configured to receive a first input when the camera module is started, where the first input is used to control the flexible screen to be folded;
and the processor 1110 is configured to control the camera module to move in the groove when the folding angle of the flexible screen is greater than a preset threshold value.
Optionally, the moving direction of the camera module is associated with the folding direction of the flexible screen, or the moving speed of the camera module is associated with the folding angle of the flexible screen.
Optionally, the user input unit 1107 is further configured to receive a second input, where a shooting preview interface is displayed, where the second input is used to control the flexible screen to be folded;
the processor 1110 is further configured to adjust a focal distance at a target position in the capture preview interface in response to the second input.
Optionally, in a case that a line of sight of a user is not projected onto the flexible screen, the target position is a geometric center position of the shooting preview interface;
or, in the case that the line of sight of the user is projected onto the flexible screen, the target position is a projection position of the line of sight of the user on the flexible screen.
Optionally, the user input unit 1107 is further configured to receive a third input, where the third input is used to control the flexible screen to be folded;
the processor 1110 is further configured to determine, in response to the third input, a first position in a display area of the shooting preview interface as the target position in a case where the folded position of the flexible screen is located in the display area.
In this application embodiment, the camera module sets up in the recess on the casing, can control the camera module and remove in the recess to accomplish the adjustment to the shooting angle of camera module, need not the manual flexible screen of buckling of user and adjust the shooting angle of camera module, and then make the adjustment to the shooting angle of camera module more convenient.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 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. The memory 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. Processor 1110 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above camera module control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above camera module control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A camera module control method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a shell, a flexible screen and a camera module, a groove is formed in the shell, the camera module is arranged in the groove and moves in the groove, the first end of the flexible screen is fixedly connected with the shell, and the flexible screen has a contraction state accommodated in the shell and an expansion state at least partially expanded outside the shell;
the method comprises the following steps:
receiving a first input under the condition that the camera module is started, wherein the first input is used for controlling the flexible screen to be folded;
and under the condition that the folding angle of the flexible screen is larger than a preset threshold value, controlling the camera module to move in the groove.
2. The method of claim 1, wherein a direction of movement of the camera module is associated with a direction of folding of the flexible screen, or wherein a speed of movement of the camera module is associated with an angle of folding of the flexible screen.
3. The method of claim 1, further comprising:
receiving a second input under the condition that a shooting preview interface is displayed, wherein the second input is used for controlling the flexible screen to be folded;
and responding to the second input, and adjusting the focal distance at the target position in the shooting preview interface.
4. The method of claim 3,
under the condition that the sight line of the user is not projected onto the flexible screen, the target position is the geometric center position of the shooting preview interface;
or, in the case that the line of sight of the user is projected onto the flexible screen, the target position is a projection position of the line of sight of the user on the flexible screen.
5. The method of claim 3, wherein prior to adjusting the focal distance at the target location in the capture preview interface, the method further comprises:
receiving a third input, wherein the third input is used for controlling the flexible screen to be folded;
in response to the third input, in a case where the folded position of the flexible screen is located in a display area of the photographing preview interface, determining a first position in the display area as the target position.
6. A camera module control device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a shell, a flexible screen and a camera module, a groove is formed in the shell, the camera module is arranged in the groove and moves in the groove, the first end of the flexible screen is fixedly connected with the shell, and the flexible screen has a contraction state accommodated in the shell and an expansion state at least partially expanded outside the shell;
the camera module control device comprises:
the first receiving module is used for receiving a first input under the condition that the camera module is started, wherein the first input is used for controlling the flexible screen to be folded;
and the control module is used for controlling the camera module to move in the groove under the condition that the folding angle of the flexible screen is greater than a preset threshold value.
7. The camera module control device of claim 6, wherein the moving direction of the camera module is associated with the folding direction of the flexible screen, or the moving speed of the camera module is associated with the folding angle of the flexible screen.
8. The camera module control of claim 6, further comprising:
the second receiving module is used for receiving a second input under the condition that a shooting preview interface is displayed, wherein the second input is used for controlling the flexible screen to be folded;
and the adjusting module is used for responding to the second input and adjusting the focal length of the target position in the shooting preview interface.
9. The camera module control of claim 8,
under the condition that the sight line of the user is not projected onto the flexible screen, the target position is the geometric center position of the shooting preview interface;
or, in the case that the line of sight of the user is projected onto the flexible screen, the target position is a projection position of the line of sight of the user on the flexible screen.
10. The camera module control of claim 8, further comprising:
the third receiving module is used for receiving a third input, and the third input is used for controlling the flexible screen to be folded;
and the determining module is used for determining a first position in the display area as the target position under the condition that the folding position of the flexible screen is positioned in the display area of the shooting preview interface in response to the third input.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the camera module control method according to any one of claims 1-5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the camera module control method according to any one of claims 1-5.
CN202110179077.XA 2021-02-07 2021-02-07 Camera module control method and device and electronic equipment Active CN112887579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110179077.XA CN112887579B (en) 2021-02-07 2021-02-07 Camera module control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110179077.XA CN112887579B (en) 2021-02-07 2021-02-07 Camera module control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112887579A true CN112887579A (en) 2021-06-01
CN112887579B CN112887579B (en) 2023-02-24

Family

ID=76056276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110179077.XA Active CN112887579B (en) 2021-02-07 2021-02-07 Camera module control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112887579B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125307A (en) * 2021-12-30 2022-03-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160307545A1 (en) * 2015-04-15 2016-10-20 Samsung Electronics Co., Ltd. Electronic device including flexible display and content display method thereof
CN206850821U (en) * 2017-04-26 2018-01-05 郑成勋 Portable intelligent terminal
CN107682622A (en) * 2017-09-08 2018-02-09 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107835369A (en) * 2017-11-27 2018-03-23 努比亚技术有限公司 Camera control method, mobile terminal and computer-readable recording medium
CN108200327A (en) * 2017-11-29 2018-06-22 努比亚技术有限公司 A kind of filming control method, flexible screen terminal and computer readable storage medium
CN210052079U (en) * 2019-07-02 2020-02-11 广东长盈精密技术有限公司 Pen type mobile terminal
CN111078347A (en) * 2019-12-23 2020-04-28 维沃移动通信有限公司 Screen display method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160307545A1 (en) * 2015-04-15 2016-10-20 Samsung Electronics Co., Ltd. Electronic device including flexible display and content display method thereof
CN206850821U (en) * 2017-04-26 2018-01-05 郑成勋 Portable intelligent terminal
CN107682622A (en) * 2017-09-08 2018-02-09 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107835369A (en) * 2017-11-27 2018-03-23 努比亚技术有限公司 Camera control method, mobile terminal and computer-readable recording medium
CN108200327A (en) * 2017-11-29 2018-06-22 努比亚技术有限公司 A kind of filming control method, flexible screen terminal and computer readable storage medium
CN210052079U (en) * 2019-07-02 2020-02-11 广东长盈精密技术有限公司 Pen type mobile terminal
CN111078347A (en) * 2019-12-23 2020-04-28 维沃移动通信有限公司 Screen display method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125307A (en) * 2021-12-30 2022-03-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN114125307B (en) * 2021-12-30 2024-02-02 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112887579B (en) 2023-02-24

Similar Documents

Publication Publication Date Title
EP3780577A1 (en) Photography method and mobile terminal
CN111182205B (en) Photographing method, electronic device, and medium
CN111669507A (en) Photographing method and device and electronic equipment
CN110198413B (en) Video shooting method, video shooting device and electronic equipment
CN112954199B (en) Video recording method and device
CN112565613B (en) Preview image display control method, device, electronic equipment and medium
CN110769174B (en) Video viewing method and electronic equipment
CN111669506A (en) Photographing method and device and electronic equipment
CN112153281A (en) Image processing method and device
CN112738401B (en) Zooming method and device and electronic equipment
CN113138818A (en) Interface display method and device and electronic equipment
US20240088722A1 (en) Electronic device and wireless charging method
CN111405117A (en) Control method and electronic equipment
CN112887579B (en) Camera module control method and device and electronic equipment
CN112788244B (en) Shooting method, shooting device and electronic equipment
CN112954209B (en) Photographing method and device, electronic equipment and medium
CN112637495A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN111131712B (en) Image processing method and device and electronic equipment
CN115379118B (en) Camera switching method and device, electronic equipment and readable storage medium
WO2023071981A1 (en) Photographing method and apparatus, and electronic device
CN116027892A (en) Electronic equipment protection method and device and electronic equipment
CN115499589A (en) Shooting method, shooting device, electronic equipment and medium
CN113473008B (en) Shooting method and device
CN114245017A (en) Shooting method and device and electronic equipment
CN114519212A (en) Information display method and device

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