CN111045583B - Camera control method and electronic equipment - Google Patents

Camera control method and electronic equipment Download PDF

Info

Publication number
CN111045583B
CN111045583B CN201911194120.9A CN201911194120A CN111045583B CN 111045583 B CN111045583 B CN 111045583B CN 201911194120 A CN201911194120 A CN 201911194120A CN 111045583 B CN111045583 B CN 111045583B
Authority
CN
China
Prior art keywords
target
camera
input
electronic device
icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911194120.9A
Other languages
Chinese (zh)
Other versions
CN111045583A (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 CN201911194120.9A priority Critical patent/CN111045583B/en
Publication of CN111045583A publication Critical patent/CN111045583A/en
Application granted granted Critical
Publication of CN111045583B publication Critical patent/CN111045583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The embodiment of the application discloses a camera control method and electronic equipment, relates to the technical field of communication, and aims to solve the problem of how to optimize the operation steps of a telescopic camera. The method is applied to the electronic equipment comprising the telescopic camera module, the telescopic camera module comprises a camera, and under the condition that the camera is positioned in the electronic equipment, the first surface of the telescopic camera module is positioned outside the shell of the electronic equipment, or the first surface of the telescopic camera module is flush with the shell of the electronic equipment. The method comprises the following steps: receiving a first input to a first surface with a camera located inside an electronic device; in response to the first input, controlling the camera to extend out of the interior of the electronic equipment and displaying target content in the target area, wherein the target content comprises any one of the following items: a contact icon, an application icon, and a video call interface. The method is applied to a scene where the telescopic camera is used rapidly.

Description

Camera control method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a camera control method and electronic equipment.
Background
With the continuous progress of science and technology and the continuous improvement of user requirements, the structure, the style and the like of electronic equipment are developed day by day, and the application of the telescopic camera is started. In order to avoid external force collision, when the telescopic camera is not used, the telescopic camera is usually located inside the electronic device; and when the user needs to use the telescopic camera, the telescopic camera can extend out of the electronic equipment.
At present, the operation steps of the telescopic camera are relatively complicated. For example, under the condition that the electronic device is in an unlocked state, a user can find an icon of an application program from a desktop interface of the electronic device, trigger the electronic device to run the application program, and then click a photographing control or a video call control, so that the telescopic camera can extend out from the inside of the electronic device, and the user can use the telescopic camera to photograph or carry out a video call and the like. Therefore, how to optimize the operation steps of the retractable camera becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a camera control method and electronic equipment, and aims to solve the problem of how to optimize the operation steps of a telescopic camera.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a camera control method. The method can be applied to electronic equipment comprising a telescopic camera module, wherein the telescopic camera module comprises a camera, and under the condition that the camera is positioned in the electronic equipment, the first surface of the telescopic camera module is positioned outside a shell of the electronic equipment, or the first surface of the telescopic camera module is flush with the shell of the electronic equipment. The method comprises the following steps: receiving a first input to a first surface with a camera located inside an electronic device; in response to the first input, controlling the camera to extend out of the interior of the electronic equipment and displaying target content in the target area, wherein the target content comprises any one of the following items: a contact icon, an application icon, and a video call interface.
In a second aspect, an embodiment of the present application provides an electronic device. This electronic equipment can include the telescopic module of making a video recording, and the telescopic module of making a video recording includes the camera, and under the condition that the camera is located electronic equipment's inside, the first surface of the telescopic module of making a video recording is located outside electronic equipment's the casing, perhaps, the first surface of the telescopic module of making a video recording flushes with electronic equipment's casing. The electronic device may include a receiving module, a control module, and a display module. The receiving module is used for receiving a first input to the first surface under the condition that the camera is positioned in the electronic equipment; the control module is used for responding to the first input received by the receiving module and controlling the camera to extend out of the interior of the electronic equipment; a display module, configured to display target content in the target area in response to the first input received by the receiving module, where the target content includes any one of: a contact icon, an application icon, and a video call interface.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the camera control method provided in the first aspect are implemented.
In a fourth aspect, the present application 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 camera control method provided in the first aspect.
In this embodiment, the electronic device may include a telescopic camera module, and the telescopic camera module may include a camera, and when the camera is located inside the electronic device, the first surface of the telescopic camera module is located outside the housing of the electronic device, or the first surface of the telescopic camera module is flush with the housing of the electronic device. In the case that the camera is located inside the electronic device, if a first input to the first surface is received, the camera may be controlled to protrude from the inside of the electronic device and display target content in the target area in response to the first input, where the target content includes any one of: a contact icon, an application icon, and a video call interface. According to the scheme, when a user wants to use the camera of the telescopic camera module to collect images, the user can directly trigger the camera to stretch out of the electronic equipment through inputting the first surface of the telescopic camera module, and at least one of the contact icon, the application icon and the video call interface is displayed, so that the user can operate the contact icon, the application icon, the video call interface and the like without finding the application icon in a desktop interface, triggering the electronic equipment to run the application and triggering the camera to stretch out of the electronic equipment, namely the operation steps of the camera are simplified, and the time of the user is saved.
Drawings
Fig. 1 is a schematic architecture diagram of an android operating system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a camera control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a user operation provided in an embodiment of the present application;
fig. 4 is a second schematic view of the operation of the user according to the embodiment of the present application;
fig. 5 is a third schematic view illustrating an operation performed by a user according to an embodiment of the present application;
fig. 6 is a second schematic diagram of a camera control method according to an embodiment of the present disclosure;
fig. 7 is a third schematic diagram of a camera control method according to an embodiment of the present disclosure;
fig. 8 is a fourth schematic view of a camera control method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a hardware schematic diagram of an electronic device according to 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 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 of the present application, are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," should not be construed as 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 application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the application provides a camera control method and electronic equipment, wherein the electronic equipment can comprise a telescopic camera module, the telescopic camera module can comprise a camera, and under the condition that the camera is positioned inside the electronic equipment, the first surface of the telescopic camera module is positioned outside a shell of the electronic equipment, or the first surface of the telescopic camera module is flush with the shell of the electronic equipment. In a case where the camera is located inside the electronic device, if a first input to the first surface is received, the camera may be controlled to protrude from the inside of the electronic device and display target content in the target area in response to the first input, the target content including any one of: a contact icon, an application icon, and a video call interface. Through the scheme, when a user wants to use the camera of the telescopic camera module to collect images, the user can directly trigger the camera to stretch out of the electronic equipment through inputting the first surface of the telescopic camera module and display at least one of the contact icon, the application icon and the video call interface, so that the user can operate the contact icon, the application icon, the video call interface and the like without operating steps of finding the application icon in a desktop interface, triggering the electronic equipment to run the application and triggering the camera to stretch out of the electronic equipment, namely, the operating steps of the camera are simplified, and the time of the user is saved.
The electronic device in the embodiment of the present application 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 application are not limited specifically.
Taking an android operating system as an example, a software environment to which the camera control method provided by the embodiment of the application is applied is introduced.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present disclosure. 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, a Linux 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 an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on a Linux kernel.
Taking an android operating system as an example, in the embodiment of the present application, a developer may develop a software program for implementing the camera control method provided in the embodiment of the present application based on the system architecture of the android operating system shown in fig. 1, so that the camera 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 camera control method provided in the embodiment of the present application by running the software program in the android operating system.
The electronic device in the embodiment of the application may be a terminal device. The terminal device may be a mobile terminal device or a non-mobile terminal device. By way of example, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal 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 terminal device 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 application is not particularly limited.
An execution main body of the camera control method provided in the embodiment of the present application may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the camera control method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited. The following takes an electronic device as an example to exemplarily describe a camera control method provided in the embodiments of the present application.
As shown in fig. 2, an embodiment of the present application provides a camera control method. The method can be applied to electronic devices. The electronic equipment can comprise a telescopic camera module, and the telescopic camera module can comprise a camera. Under the condition that the camera is located inside the electronic equipment, the first surface of the telescopic camera module is located outside the shell of the electronic equipment, or the first surface of the telescopic camera module is flush with the shell of the electronic equipment. The method may include S101 and S102 described below.
S101, under the condition that a camera of the telescopic camera module is located inside the electronic equipment, the electronic equipment receives a first input to a first surface of the telescopic camera module.
Optionally, the first surface of the telescopic camera module may be provided with at least one sensor for detecting user input. At least one sensor may be a pressure sensor, an infrared sensor, or other possible sensors, which may be determined according to actual usage requirements, and the embodiments of the present application are not limited.
In a general case, the camera in the telescopic camera module can be located inside the electronic device. A first possible implementation manner is that when a user touches at least one sensor arranged on the first surface of the telescopic camera module, if a target sensor in the at least one sensor detects a touch input of the user, the electronic device can control the camera to extend/pop out from the inside of the electronic device; a second possible implementation manner is that when the screen of the electronic device receives that the touch input of the user is the preset input, the electronic device may control the camera to extend/pop out from the inside of the electronic device. It should be noted that the camera control method provided by the embodiment of the present invention is exemplarily illustrated by taking the first possible implementation manner as an example.
Optionally, the first input may be a received press input of the user to the first surface of the telescopic camera module when the camera of the telescopic camera module is located inside the electronic device. Specifically, the parameter value of the first input may include at least one of: the time value of pressing to the first surface of telescopic module of making a video recording, to the pressure value of the first surface of telescopic module of making a video recording.
Optionally, the electronic device may receive a first input to the camera from the user in any one of the following scenarios:
scene one, when the camera of telescopic camera module is located electronic equipment's casing, if the user wants to have a video call with target contact through the camera, then the user can press the first surface of telescopic camera module to trigger the camera and stretch out to electronic equipment's outside from electronic equipment's inside, and show the contact icon at the target area, this contact icon includes the icon of target contact.
Scene two, when the camera of telescopic module of making a video recording is located electronic equipment's casing, if the user wants to make a video call with target contact through the camera, then the user can press the first surface of telescopic module of making a video recording to trigger electronic equipment and show the contact icon in the target area. Then, the user can trigger the camera to stretch out of the electronic equipment from the inside of the electronic equipment to the outside of the electronic equipment through inputting the icon of the target contact in the contact icons, and the user can carry out video call with the target contact through the camera.
And when the camera of the telescopic camera module is positioned in the shell of the electronic equipment, if a user wants to take a picture or record a video by using the camera, the user can press the first surface of the telescopic camera module to trigger the camera to stretch out of the electronic equipment from the inside of the electronic equipment and display an application program icon in a target area, wherein the application program corresponding to the application program icon is an application program allowing the camera to be used.
Scene four, when the camera of telescopic camera module was located electronic equipment's casing, if the user wants to use the camera to shoot the photo or record the video, then the user can press the first surface of telescopic camera module to trigger electronic equipment and show the application icon in the target area. Then, the user can trigger the camera to extend out of the electronic equipment from the inside of the electronic equipment to the outside of the electronic equipment through the input of the target application icon in the application program icons, and take pictures or record videos through the camera.
And a fifth scene, when the camera of the telescopic camera module is located in the shell of the electronic device, if the electronic device receives a video call request sent by the initiator device and the user wants to accept the video call request, the user can press the first surface of the telescopic camera module to trigger the camera to extend out of the electronic device from the inside of the electronic device and display a video call interface in the target area.
Optionally, when the electronic device receives the first input of the user, the electronic device may be in an unlocked state, or the electronic device may be in a screen-locked state.
It can be understood that, for the situation that the electronic device is in the screen locking state when the electronic device receives the first input of the user, compared with the operations in the conventional technology that the screen needs to be unlocked, an icon of a certain application program needs to be found, the electronic device is triggered to run the application program, the photographing control is clicked, and the camera is controlled to pop up from the inside of the electronic device, in the embodiment of the present application, because the user can directly trigger the camera of the telescopic camera module to stretch out from the inside of the electronic device through the first input to the first surface of the telescopic camera module, and the screen is lighted to display the target content, the operation steps of the embodiment of the present application are simple and fast.
And S102, the electronic equipment responds to the first input, controls the camera to extend out of the interior of the electronic equipment, and displays the target content in the target area.
Wherein, the target content may include any one of the following: a contact icon, an application icon, and a video call interface.
Optionally, the number of the contact icons may be one or more.
Optionally, in a case that the contact icon is a plurality of contact icons, the plurality of contact icons may be contact icons in the same application program or contact icons in different application programs. It can be understood that when the plurality of contact icons are contact icons in different application programs, a user does not need to switch between the different application programs to quickly find an icon of a contact needing to perform a video call from the plurality of contact icons, so that the operation time of the user is saved.
Optionally, the application program corresponding to the application icon is an application program that allows the camera to be used, that is, the application program corresponding to the application icon may call the camera of the electronic device, and obtain an image through the camera.
Optionally, the target area may be any display area in a screen of the electronic device. The target area can be preset, can also be selected according to a random algorithm, and can be determined according to actual use requirements.
It should be noted that, in the embodiment of the present application, the execution sequence of the electronic device controlling the camera to protrude from the inside of the electronic device and displaying the target content in the target area is not particularly limited. One possible way is that the electronic device may control the camera to extend out from the inside of the electronic device first, and then display the target content in the target area; another possible way is that the electronic device may first display the target content in the target area, and then control the camera to extend from the inside of the electronic device, for example, assuming that the number of the target content displayed by the electronic device is multiple, after the electronic device receives an input of a certain target content of the multiple target contents, the electronic device may control the camera to extend from the inside of the electronic device; another possible way is that the electronic device can control the camera to extend from the inside of the electronic device and display the target content in the target area.
Optionally, the "displaying the target content in the target area" includes: displaying first target content in the target area under the condition that the first input is a first target input; alternatively, in a case where the first input is a second target input, the second target content is displayed in the target area. Wherein the first target input is different from the second target input, and the first target content is different from the second target content.
It should be noted that the first target input being different from the second target input means: the first target input and the second target input have different input parameters. The first target content being different from the second target content means: the first target content and the second target content are different display contents, for example, the first target content may be a contact icon, and the second target content may be an application icon.
For example, the following table 1 is a corresponding relationship table of the type of input, the pressure value to the first surface, and the input pressure value to the first surface provided in the embodiment of the present application.
TABLE 1
Type of input Pressure value to the first surface Input press time value
Type 1 <p 0 <t 0
Type 2 <p 0 ≥t 0
Type 3 ≥p 0 <t 0
Type 4 ≥p 0 ≥t 0
As shown in Table 1 above, when the pressure value to the first surface is less than the pressure threshold value p 0 And the input press time value is less than the time threshold value t 0 When the first input is of type 1; when the pressure value on the first surface is less than the pressure threshold value p 0 And the input press time value is greater than or equal to the time threshold t 0 Then, the type of the first input may be type 2; when the pressure value on the first surface is greater than or equal to the pressure threshold value p 0 And the input press time value is less than the time threshold t 0 Then, the type of the first input may be type 3; when the pressure value on the first surface is greater than or equal to the pressure threshold value p 0 And the input press time value is greater than or equal to the time threshold value t 0 When, the type of the first input may be type 4. When the types of user inputs are different, the target content displayed in the target area may be different.
Illustratively, assume that the type of the first input is type 3 as described above and the target content is a contact icon. As shown in fig. 3 (a), in a case where the electronic device displays a desktop interface and the camera 01 of the retractable camera module is located inside the housing of the electronic device, if a user wants to perform a video call with a target contact in a certain application, the user may press the first surface of the retractable camera module for a short time. The electronic device then detects that the pressure value of the user on the first surface is greater than a pressure threshold value p 0 And the press time value input by the user is smaller than the time threshold value t 0 I.e. the type of the first input received by the electronic device is type 3. As such, in one way, as shown in (b) of fig. 3, the electronic device may control the camera 01 to protrude from the inside of the electronic device to the outside of the housing of the electronic device in response to the first input, and display a floating window 02 in the target area, where the floating window 02 may include icons of a plurality of contacts including an icon of a target contact, and then the user may select the icon of the target contact and perform a video call with the target contact through the camera. Alternatively, the electronic device may display a floating window in the target area in response to the first input, where the floating window may include icons of a plurality of contacts including the icon of the target contact, and then, if the user clicks the icon of the target contact, the electronic device may control the camera 01 to protrude from the inside of the electronic device to the outside of the housing of the electronic device and display the video call interface of the target contact.
For example, assume that the type of the first input is type 4 as described above, and the target content is an application icon. As shown in fig. 4 (a), in a case where the electronic device displays a desktop interface and the camera 01 of the retractable camera module is located inside the housing of the electronic device, if a user wants to take a picture or record a video using the camera 01, the user may press the first surface of the retractable camera module for a long time. The electronic device then detects that the pressure value of the user on the first surface is greater than a pressure threshold value p 0 And the press time value input by the user is larger than the time threshold t 0 I.e. the type of the first input received by the electronic device is type 4. As such, one way is that, as shown in (b) of fig. 4, the electronic apparatus may control the camera 01 to extend from the inside of the electronic apparatus to the outside of the housing of the electronic apparatus in response to the first input and display a floating window 06 including icons of a plurality of applications in a target area, and then the user may select an icon of a target application from the icons of the plurality of applications and take a picture or record a video using the camera 01 in the target application. Alternatively, the electronic device may be responsive to the firstInputting, displaying a floating window 02 in a target area, wherein the floating window 02 can comprise icons of a plurality of applications including an icon of a target application, and then, if a user clicks the icon of the target application, the electronic device can control the camera 01 to extend out of the shell of the electronic device from the inside of the electronic device, so that the user can take a picture or record a video in the target application by using the camera 01.
Illustratively, assume that the type of the first input is type 1 as described above, and the target content is a video call interface. As shown in fig. 5 (a), in a case where the camera 01 of the collapsible camera module is located inside the electronic device, when the electronic device receives a video call request transmitted from an initiator device, the electronic device may display a video call request interface 08 corresponding to the video call request. If the user wants to accept the video call request, the user can press the first surface of the telescopic camera module for a short time. The electronic device then detects that the pressure value of the user on the first surface is less than a pressure threshold value p 0 And the press time value input by the user is smaller than the time threshold value t 0 I.e. the type of the first input received by the electronic device is type 1. As such, as shown in fig. 5 (b), the electronic device may control the camera 01 to protrude from the inside of the electronic device in response to the first input, and display a video call interface 09 in the target area, wherein the video call interface may include: image 04 captured by camera 01, image 09 captured by the initiator device's camera. In this way, the user can make a video call with the video initiator.
It should be noted that, when the camera is located inside the housing of the electronic device, the camera is invisible to the naked eye of the user, so fig. 3 (a), fig. 4 (a), fig. 5 (a), and fig. 5 (c) are all schematic diagrams of the camera with dashed lines; when the camera is located outside the housing of the electronic device, the camera is visible to the naked eye of the user, so the remaining figures all illustrate the camera in solid lines.
Optionally, after the electronic device controls the camera to extend out of the electronic device from the inside of the electronic device, the camera control method provided in the embodiment of the present application may further include: in response to the input of a user to the first surface of the telescopic camera module, controlling the camera to retract into the shell of the electronic equipment from the outside of the electronic equipment; or, in response to a touch input of a user to the screen of the electronic device, controlling the camera to retract into the shell of the electronic device from the outside of the electronic device; or, in response to the voice input of the user to the electronic equipment, controlling the camera to retract into the shell of the electronic equipment from the outside of the electronic equipment; or, in response to a gesture input to the electronic device by a user, the camera is controlled to retract from the outside of the electronic device into the housing of the electronic device.
The embodiment of the application provides a camera control method, when a user wants to use a camera of a telescopic camera module to collect an image, the user can directly trigger the camera to extend out of the electronic equipment through input on the first surface of the telescopic camera module and display at least one of a contact icon, an application icon and a video call interface, so that the user can operate the contact icon, the application icon and the video call interface without operating steps of finding the application icon in a desktop interface, triggering the electronic equipment to run the application and triggering the camera to extend out of the electronic equipment, namely the operating steps of the camera are simplified, and the time of the user is saved.
In order to illustrate the embodiments of the present application more clearly, the following three embodiments are used to exemplarily illustrate the target content as a contact icon, an application icon, and a video call interface.
Example one
Optionally, with reference to fig. 2, as shown in fig. 6, in a case that the target content displayed by the electronic device is a contact icon, the user may select the target icon from the contact icons, and perform a video call with a target contact corresponding to the target image. For example, after S102, the camera control method provided in the embodiment of the present application may further include S103 or S104, where S103 and S104 are alternatively executed.
S103, if a second input of a target icon in the contact icon is received, the electronic equipment responds to the second input, initiates a video call request to a target contact corresponding to the target icon, and displays a video call request interface of the target contact.
Optionally, the second input may be a drag input, a click input, a circle input, or other possible inputs of the user on a target icon in the at least one contact icon, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
It should be noted that the video call request interface is an interface displayed by the electronic device after the video call request is initiated to the target contact corresponding to the target icon and before the video call connection is established with the target contact. After establishing the video call connection with the target contact, the interface displayed by the electronic device may be a video call interface, which may include: an image captured by a camera of the electronic device, an image captured by a camera of the initiator device.
Optionally, after initiating a video call request to a target contact corresponding to the target icon, the camera control method provided in the embodiment of the present application may further include: in a first possible implementation, a video call connection is established with a target contact, and a video call interface is displayed, where the video call interface may include an image captured by a camera of an electronic device and an image captured by a camera of the target device. In a second possible implementation manner, a response message sent by the target device is received, where the response message is used to instruct the target contact to reject the video call request initiated by the electronic device. Wherein the target device may be an electronic device used by the target contact.
For example, as shown in fig. 3 (a), in a case where the electronic device displays a desktop interface and the camera 01 of the retractable camera module is located inside the housing of the electronic device, if a user wants to perform a video call with a target contact in a certain application, the user may press the first surface of the retractable camera module for a short time. As shown in (b) of fig. 3, the electronic device may control the camera 01 to protrude from the inside of the electronic device to the outside of the housing of the electronic device in response to the first input, and display a floating window 02 in the target area, and the floating window 02 may include a plurality of contact icons including a target icon. The user may then click on a target icon of the plurality of contact icons. In the case that the second input to the target icon is received, the electronic device initiates a video call request to the target contact corresponding to the target icon in response to the second input, and displays a video call request interface as shown in (c) of fig. 3. Thereafter, if the target contact accepts the video call request, the electronic device may establish a video call connection with the target contact and display a video call interface as shown in (d) of fig. 3, which may include an image 05 captured by the camera 01 and an image 04 captured by the target device used by the target contact.
It should be noted that, in the above embodiment, the electronic device first responds to the first input, controls the camera to extend out from the inside of the electronic device, and displays the contact icon in the target area; and then receiving a second input of a target icon of the contact icons is exemplified. The embodiment of the application provides another camera control method, and electronic equipment can respond to a first input and display a contact icon in a target area; and responding to a second input of the user to a target icon in the contact icons, controlling the camera to extend out of the electronic equipment, initiating a video call request to a target contact corresponding to the target icon, and displaying a video call request interface of the target contact.
For example, as shown in fig. 3 (a), in a case where the electronic device displays a desktop interface and the camera 01 of the retractable camera module is located inside the housing of the electronic device, if a user wants to perform a video call with a target contact in a certain application, the user may press the first surface of the retractable camera module for a short time. The electronic device may display a floating window in the target area in response to the first input, the floating window may include a plurality of contact icons including the target icon. The user may then click on the target icon. In the case that the second input to the target icon is received, the electronic device controls the camera 01 to extend out of the housing of the electronic device from the inside of the electronic device in response to the second input, and initiates a video call request to the target contact corresponding to the target icon, and displays a video call request interface as shown in (c) of fig. 3. Thereafter, if the target contact accepts the video call request, the electronic device may establish a video call connection with the target contact and display a video call interface as shown in (d) of fig. 3, which may include an image 05 captured by the camera 01 and an image 04 captured by a target device used by the target contact.
And S104, if a third input outside the target area is received, the electronic equipment responds to the third input and displays a shooting and viewing interface or an application program icon.
The application program corresponding to the application program icon is an application program allowing the camera to be used.
In the embodiment of the present invention, the shooting view interface may include a view image captured by a camera of the electronic device.
Optionally, a display area of the contact icon in the screen of the electronic device is a target area, and the display area except the target area may be referred to as a first area. If the user does not want to have a video call with any one contact, the user can trigger the electronic equipment to switch and display the contact icon into a shooting view-finding interface through a third input of the first area, so that the user can shoot a picture or a video through the shooting view-finding interface; or, the user may trigger the electronic device to switch and display the contact icon as the application icon through third input to the first area, and then, the user may trigger the electronic device to run the application corresponding to the application icon through input to the application icon.
According to the camera control method provided by the embodiment of the application, on one hand, under the condition that a user wants to establish a video call with a target contact person in at least one contact person, the user can request the target contact person corresponding to the target icon to establish the video call through inputting the target icon; on the other hand, in the case that the user does not want to establish a video call with any contact, the user can trigger the electronic device to display a shooting view interface or an application icon through input to a display area other than the target area. Therefore, a user can trigger the electronic device to execute different processing actions according to actual use requirements, namely, the camera control method provided by the embodiment of the application is more flexible and diversified.
Example two
Optionally, with reference to fig. 2, as shown in fig. 7, the target content is an application icon, and an application corresponding to the application icon is an application that allows the camera to be used. After S102, the camera control method provided in the embodiment of the present application may further include S105 and S106 described below.
And S105, the electronic equipment receives a fourth input of the target application icon in the application program icons.
Optionally, the fourth input may be a drag input, a click input, a circle input, or other possible inputs of the user on the target application icon in the application program icons, and may be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
Optionally, the application icon may be displayed in a floating frame.
Optionally, the target application program corresponding to the target application icon may be a camera application program or other possible application programs, and may be determined according to actual use requirements, and the embodiment of the present application is not specifically limited.
And S106, the electronic equipment responds to the fourth input and displays an interface of the target application program corresponding to the target application icon.
Wherein, the interface of target application can include the image of gathering through the camera of telescopic module of making a video recording.
Optionally, the interface of the target application program may be any interface in the target application program. For example, in the case where the target application is a camera application, the interface of the target application may be a capture preview screen including an image captured by a camera of the electronic device.
For example, as shown in fig. 4 (a), in a case where the electronic device displays a desktop interface and the camera 01 is located inside a housing of the electronic device, if a user wants to take a picture or record a video using the camera 01, the user may press the first surface of the telescopic camera module for a long time. As shown in (b) of fig. 4, the electronic apparatus may control the camera 01 to protrude from the inside of the electronic apparatus to the outside of the housing of the electronic apparatus in response to the first input, and display a floating window 06 including icons of a plurality of applications in a target area. Then, the user can click on the icon of "application F", i.e., the target application icon, among the icons of the plurality of application programs. After the electronic device receives a fourth input of the icon of "app F" by the user, as shown in (c) of fig. 4, the electronic device may run the app F and call the camera 01 to capture an image, and display a shooting preview interface 07, where the shooting preview screen 07 includes the image captured by the camera 01.
It should be noted that, in the above embodiment, the electronic device first responds to the first input, controls the camera to extend out from the inside of the electronic device, and displays the application icon in the target area; the fourth input of the target application icon in the application icons is received as an example. The embodiment of the application provides another camera control method, and electronic equipment can respond to a first input and display an application program icon in a target area; and responding to a fourth input of the user to a target application icon in the application program icons, controlling the camera to stretch out from the interior of the electronic equipment, and displaying an interface of a target application program corresponding to the target application icon.
For example, as shown in fig. 4 (a), in a case where the electronic device displays a desktop interface and the camera 01 is located inside a housing of the electronic device, if a user wants to take a picture or record a video using the camera 01, the user may press the first surface of the telescopic camera module for a long time. The electronic device may display a floating window including icons of a plurality of applications in the target area in response to the first input. Then, the user can click on the icon of "application F", i.e., the target application icon, among the icons of the plurality of application programs. After the electronic device receives a fourth input of the icon of "application F" from the user, as shown in (c) of fig. 4, the electronic device may control the camera 01 to extend from the inside of the electronic device to the outside of the housing of the electronic device, run the application F, and call the camera 01 to capture an image, and display a shooting preview interface 07, where the shooting preview screen 07 includes the image captured by the camera 01.
According to the camera control method provided by the embodiment of the application, under the condition that the electronic equipment displays at least one application icon, because a user can directly trigger the electronic equipment to display the interface of the target application corresponding to the target application icon through inputting the target application icon in the at least one application icon, the user can directly operate the image acquired by the camera in the interface of the target application, and the camera does not need to be triggered to extend out of the electronic equipment and acquire the image after the application is opened, so that the operation steps of the user can be effectively saved.
EXAMPLE III
Optionally, with reference to fig. 2, as shown in fig. 8, in a case that the electronic device receives a video call request from the initiator device, if the user wants to accept the video chat request, the user may quickly establish a video call with the video initiator through the first input to the first surface of the retractable camera module; and if the user wants to reject the video chat request, the user can reject the video chat request directly through the input of the first surface of the telescopic camera module. For example, in a case that the target content is a video call interface, before the step S101, the camera control method provided in the embodiment of the present application may further include the step S107; after S107, the camera control method provided in the embodiment of the present application may further include S108 and S109 described below.
S107, the electronic equipment receives the video call request sent by the initiator equipment.
It should be noted that, when the electronic device receives a video call request sent by the initiator device, the camera of the telescopic camera module is located inside the electronic device.
Optionally, after receiving the video call request sent by the initiator device, the electronic device outputs a prompt message. Wherein the prompt message can be used to prompt the user whether to receive the video passing request.
In this embodiment of the application, in a case that the target content is a video call interface, the video call interface may include: an image captured by a camera of the electronic device, an image captured by a camera of the initiator device.
Optionally, the manner of outputting the prompt message by the electronic device may include at least one of the following: the method comprises the steps of displaying prompt information on a screen of the electronic equipment, playing the prompt information by the electronic equipment in a voice mode, and prompting a user that the electronic equipment receives a video call request by the electronic equipment in a vibration mode.
Optionally, when the electronic device receives a video call request sent by the initiator device, a screen of the electronic device may be in an unlocked state or a locked state.
For example, if the screen of the electronic device is in the unlocked state, the electronic device may directly display the prompt message. If the screen of the electronic equipment is in the screen locking state, the electronic equipment can light the screen and display prompt information on the screen; or, under the condition that the screen does not need to be lightened, the prompt information is played in a voice mode or the user electronic equipment is prompted to receive the video call request in a vibration mode.
For example, in a case where the electronic device displays a desktop interface or an interface of a certain application, if the electronic device receives a video call request transmitted from an initiator device, the electronic device may display a video call request interface 08 of "director requests to make a video call" as shown in (a) of fig. 5, that is, prompt information. If the user wants to accept the video call request, the user can press the first surface of the retractable camera module, so that the electronic device can respond to the first input of the user, as shown in (b) in fig. 5, control the camera 01 of the retractable camera module to protrude from the inside of the electronic device, and display a video call interface 09 in the case of establishing a video call connection with the video initiator, where the video call interface can include: image 04 captured by camera 01, image 09 captured by the initiator device's camera. In this way, the user can make a video call with the video initiator.
According to the camera control method provided by the embodiment of the application, under the condition that the electronic equipment receives the video call request sent by the initiator equipment, if a user is inconvenient to operate a screen of the electronic equipment, the user can directly input the camera of the electronic equipment to control the camera to extend out of the electronic equipment and display a video call interface. Therefore, the method and the device can quickly establish the video call, effectively reduce the operation steps of the user and improve the operation experience of the user.
And S108, the electronic equipment receives a fifth input to the first surface of the telescopic camera module.
It should be noted that, after the step S107, the steps S101 and S108 may be alternatively executed. Namely, the user can select to trigger the electronic equipment to control the camera to extend out of the interior of the electronic equipment and display the target content through the first input to the camera of the electronic equipment; alternatively, the user may select to trigger rejection of the video call request by a fifth input to a camera of the electronic device.
And S109, the electronic equipment refuses the video call request in response to the fifth input.
In the embodiment of the application, when the electronic device receives a fifth input to the first surface of the telescopic camera module from the user, the camera may be located inside the electronic device; after the electronic device receives the fifth input, the camera may remain located inside the electronic device without protruding from the inside of the electronic device.
Optionally, the fifth input may satisfy the following two conditions: the method comprises the following steps that firstly, the pressing time of a camera is greater than or equal to the preset time; and secondly, pressing the pressure value of the camera to be smaller than the preset pressure value. That is, the fifth input may be a tap-and-press input to the camera.
For example, in a case where the electronic device displays a desktop interface or an interface of some application, if the electronic device receives a video call request transmitted from an initiator device, the electronic device may display a video call request interface 08 of "director requests to make a video call" as shown in (a) of fig. 5, that is, prompt information. If the user does not want to accept the video call request, the user can press the first surface of the retractable camera module for a long time. As such, as shown in (c) of fig. 5, the electronic apparatus may control the camera 01 to remain located inside the electronic apparatus in response to a fifth input by the user and reject the video call request, and display a prompt message "prompt: you have rejected the board's video call request ".
According to the camera control method provided by the embodiment of the application, under the condition that the electronic equipment receives the video call request from the initiator equipment, if the user wants to reject the video chat request and the user does not operate the screen of the electronic equipment conveniently, the user can reject the video call request directly through the input of the first surface of the telescopic camera module. Therefore, the embodiment of the application can quickly reject the video call request, effectively reduce the operation steps of the user and improve the operation experience of the user.
In the embodiment of the present application, the camera control methods shown in the above drawings are all exemplarily described with reference to one drawing in the embodiment of the present application. In specific implementation, the camera control method shown in each of the above drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and details are not described here.
As shown in fig. 9, an embodiment of the present application provides an electronic device 900. The electronic equipment can comprise a telescopic camera module, and the telescopic camera module can comprise a camera. Under the condition that the camera is located inside the electronic equipment, the first surface of the telescopic camera module is located outside the shell of the electronic equipment, or the first surface of the telescopic camera module is flush with the shell of the electronic equipment. The electronic device 900 may include a receiving module 901, a control module 902, and a display module 903. The receiving module 901 may be configured to receive a first input to the first surface when the camera is located inside the electronic device. A control module 902 may be configured to control the camera to protrude from the interior of the electronic device in response to the first input received by the receiving module 901. A display module 903, configured to display target content in the target area in response to the first input received by the receiving module 901, where the target content may include any one of: a contact icon, an application icon, and a video call interface.
Alternatively, the target content may be a contact icon. The control module 902 may be further configured to, if the receiving module 901 receives a second input to a target icon in the contact icons, initiate a video call request to a target contact corresponding to the target icon in response to the second input. The display module 903 may be further configured to, if the receiving module 901 receives a second input to a target icon in the contact icons, respond to the second input, and display a video call request interface of the target contact; alternatively, if the receiving module 901 receives a third input outside the target area, the shooting and viewing interface or the application icon is displayed in response to the third input. The application program corresponding to the application program icon may be an application program that allows the camera to be used.
Optionally, the target content may be an application icon, and the application corresponding to the application icon may be an application that allows the camera to be used. The receiving module 901 may further be configured to receive a fourth input to a target application icon of the application icons after the display module 903 displays the target content in the target area. The display module 903 may be further configured to, in response to the fourth input received by the receiving module 901, display an interface of a target application program corresponding to the target application icon, where the interface of the target application program may include an image captured by a camera.
Optionally, the target content may be a video call interface. The receiving module 901 may be further configured to receive a video call request sent by an initiator device before receiving a first input to the camera. The receiving module 901 may further be configured to receive a fifth input to the first surface after receiving the video call request sent by the initiator device. The control module 902 may be configured to reject the video call request in response to the fifth input received by the receiving module 901.
Optionally, the display module 903 may be specifically configured to display the first target content in the target area when the first input is the first target input; alternatively, in a case where the first input is a second target input, the second target content is displayed in the target area. Wherein the first target input is different from the second target input, and the first target content is different from the second target content.
The electronic device provided in the embodiment of the present application can implement each process implemented by the electronic device in the above method embodiments, and is not described here again to avoid repetition.
The embodiment of the application provides an electronic device, because the electronic device can trigger the camera to stretch out from the inside of the electronic device when receiving the input to the first surface of the telescopic camera module, and display at least one of a contact icon, an application icon and a video call interface, a user can operate the contact icon, the application icon, the video call interface and the like without finding the application icon in a desktop interface, triggering the electronic device to run the application, triggering the camera to stretch out from the inside of the electronic device and other operation steps, namely, the operation steps of the camera are simplified, and the time of the user is saved.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. The electronic device may be a terminal device, such as a mobile phone. As shown in fig. 10, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. 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 application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The electronic equipment that this application embodiment provided can include telescopic module of making a video recording. The telescopic camera module can comprise a camera. Under the condition that the camera is located inside the electronic equipment, the first surface of the telescopic camera module is located outside the shell of the electronic equipment, or the first surface of the telescopic camera module is flush with the shell of the electronic equipment.
A processor 210, which may be configured to control the user input unit 207 to receive a first input to a first surface of the telescopic camera module when the camera is located inside the electronic device; and is used for controlling the camera to protrude from the interior of the electronic device in response to the first input received by the user input unit 207; and for displaying the target content in the target area in response to the first input received by the user input unit 207. Wherein the target content may include any one of: a contact icon, an application icon, and a video call interface.
The embodiment of the application provides an electronic device, and because the electronic device can trigger a camera to extend out of the electronic device when receiving input to the first surface of the telescopic camera module, and display at least one of a contact icon, an application icon and a video call interface, a user can operate the contact icon, the application icon, the video call interface and the like without finding the application icon in a desktop interface, triggering the electronic device to run the application, triggering the camera to extend out of the electronic device, and other operation steps, namely, the operation steps of the camera are simplified, and the time of the user is saved.
It should be understood that, in the embodiment of the present application, the radio frequency unit 201 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 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device 200 provides the user with wireless broadband internet access via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive audio or video signals. The input unit 204 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing 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 201 in case of a phone call mode.
The electronic device 200 also includes at least one sensor 205, 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 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 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 205 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 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 207 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 device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., operations by a user on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse and a joystick, which are not described in detail herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 10 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. 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 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 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 for 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 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby integrally monitoring the electronic device. Processor 210 may include one or more processing units; alternatively, the processor 210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to various components, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 210 as shown in fig. 10, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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 described in 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 control method is applied to an electronic device comprising a telescopic camera module, wherein the telescopic camera module comprises a camera, and under the condition that the camera is located inside the electronic device, a first surface of the telescopic camera module is located outside a shell of the electronic device, or the first surface of the telescopic camera module is flush with the shell of the electronic device, and the method comprises the following steps:
receiving a first input to the first surface with the camera located inside the electronic device;
in response to the first input, controlling the camera to protrude from the interior of the electronic device and displaying target content in a target area, wherein the target content is associated with the camera and comprises any one of the following items: a contact icon and an application icon;
the contact person icon is used for indicating a contact person needing adaptive communication; the application icon is used for indicating the application programs which allow the camera to be used.
2. The method of claim 1, wherein the target content is a contact icon;
after the target content is displayed in the target area, the method further comprises the following steps:
if a second input to a target icon in the contact icon is received, responding to the second input, initiating a video call request to a target contact corresponding to the target icon, and displaying a video call request interface of the target contact;
alternatively, the first and second electrodes may be,
if a third input outside the target area is received, responding to the third input, and displaying a shooting and viewing interface or an application program icon; and the application program corresponding to the application program icon is an application program allowing the camera to be used.
3. The method according to claim 1, wherein the target content is an application icon, and an application corresponding to the application icon is an application that allows the camera to be used;
after the target content is displayed in the target area, the method further comprises the following steps:
receiving a fourth input to a target application icon of the application icons;
and responding to the fourth input, and displaying an interface of a target application program corresponding to the target application icon, wherein the interface of the target application program comprises an image acquired through the camera.
4. The method of claim 1, wherein the targeted content further comprises a video call interface;
prior to the receiving the first input to the first surface, further comprising:
receiving a video call request sent by initiator equipment;
after receiving the video call request sent by the initiator device, the method further includes:
receiving a fifth input to the first surface;
in response to the fifth input, rejecting the video call request.
5. The method of any of claims 1-4, wherein displaying the target content in the target area comprises:
displaying first target content in the target area if the first input is a first target input; or, in the case that the first input is a second target input, displaying second target content in the target area;
wherein the first target input is different from the second target input, and the first target content is different from the second target content.
6. An electronic device, wherein the electronic device comprises a telescopic camera module, and the telescopic camera module comprises a camera, and is characterized in that under the condition that the camera is positioned inside the electronic device, a first surface of the telescopic camera module is positioned outside a shell of the electronic device, or the first surface of the telescopic camera module is flush with the shell of the electronic device; the electronic equipment comprises a receiving module, a control module and a display module;
the receiving module is used for receiving a first input to the first surface under the condition that the camera is positioned in the electronic equipment;
the control module is used for responding to the first input received by the receiving module and controlling the camera to extend out of the interior of the electronic equipment;
the display module is configured to display target content in a target area in response to the first input received by the receiving module, where the target content is associated with the camera, and the target content includes any one of: a contact icon and an application icon;
the contact icon is used for indicating a contact needing adaptive communication; the application icon is used for indicating the application programs which allow the camera to be used.
7. The electronic device of claim 6, wherein the targeted content is a contact icon;
the control module is further configured to, if the receiving module receives a second input to a target icon in the contact icons, initiate a video call request to a target contact corresponding to the target icon in response to the second input;
the display module is further configured to respond to a second input if the receiving module receives the second input to a target icon in the contact icons, and display a video call request interface of the target contact; or if the receiving module receives a third input outside the target area, responding to the third input, and displaying a shooting and viewing interface or an application program icon; and the application program corresponding to the application program icon is an application program allowing the camera to be used.
8. The electronic device of claim 6, wherein the target content is an application icon, and an application corresponding to the application icon is an application that allows the camera to be used;
the receiving module is further configured to receive a fourth input to a target application icon of the application icons after the display module displays the target content in the target area;
the display module is further configured to display an interface of a target application program corresponding to the target application icon in response to the fourth input received by the receiving module, where the interface of the target application program includes an image acquired by the camera.
9. The electronic device of claim 6, wherein the targeted content further comprises a video call interface;
the receiving module is further configured to receive a video call request sent by an initiator device before the receiving of the first input to the first surface;
the receiving module is further configured to receive a fifth input to the first surface after receiving a video call request sent by an initiator device;
the control module is configured to reject the video call request in response to the fifth input received by the receiving module.
10. The electronic device according to any one of claims 6 to 9, wherein the display module is specifically configured to display a first target content in the target area if the first input is a first target input; or, when the first input is a second target input, displaying a second target content in the target area;
wherein the first target input is different from the second target input, and the first target content is different from the second target content.
11. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the camera control method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the camera control method according to any one of claims 1 to 5.
CN201911194120.9A 2019-11-28 2019-11-28 Camera control method and electronic equipment Active CN111045583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911194120.9A CN111045583B (en) 2019-11-28 2019-11-28 Camera control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911194120.9A CN111045583B (en) 2019-11-28 2019-11-28 Camera control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111045583A CN111045583A (en) 2020-04-21
CN111045583B true CN111045583B (en) 2022-09-30

Family

ID=70233099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911194120.9A Active CN111045583B (en) 2019-11-28 2019-11-28 Camera control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111045583B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095651B (en) * 2021-10-18 2023-08-15 荣耀终端有限公司 Camera pop-up control method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030202101A1 (en) * 2002-04-29 2003-10-30 Monroe David A. Method for accessing and controlling a remote camera in a networked system with multiple user support capability and integration to other sensor systems
CN105511781B (en) * 2015-11-30 2019-06-11 深圳市万普拉斯科技有限公司 Start the method, apparatus and user equipment of application program
CN108881634B (en) * 2018-06-28 2020-07-28 北京小米移动软件有限公司 Terminal control method, device and computer readable storage medium
CN108810380B (en) * 2018-06-29 2020-09-29 维沃移动通信有限公司 Terminal equipment and control method

Also Published As

Publication number Publication date
CN111045583A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN110891144B (en) Image display method and electronic equipment
CN109078319B (en) Game interface display method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN110213440B (en) Image sharing method and terminal
CN111142991A (en) Application function page display method and electronic equipment
CN108897473B (en) Interface display method and terminal
CN110752981B (en) Information control method and electronic equipment
CN111142723B (en) Icon moving method and electronic equipment
CN111163260B (en) Camera starting method and electronic equipment
CN110489045B (en) Object display method and terminal equipment
CN110865745A (en) Screen capturing method and terminal equipment
CN110769174B (en) Video viewing method and electronic equipment
CN110703972B (en) File control method and electronic equipment
CN107741814B (en) Display control method and mobile terminal
CN110138967B (en) Terminal operation control method and terminal
JP7371254B2 (en) Target display method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN111405181B (en) Focusing method and electronic equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN109104573B (en) Method for determining focusing point and terminal equipment
CN109189514B (en) Terminal device control method and terminal device
CN111061446A (en) Display 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