CN110248099B - Terminal and camera lamp effect control method - Google Patents

Terminal and camera lamp effect control method Download PDF

Info

Publication number
CN110248099B
CN110248099B CN201910590057.4A CN201910590057A CN110248099B CN 110248099 B CN110248099 B CN 110248099B CN 201910590057 A CN201910590057 A CN 201910590057A CN 110248099 B CN110248099 B CN 110248099B
Authority
CN
China
Prior art keywords
camera module
area
terminal
camera
indicator
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
CN201910590057.4A
Other languages
Chinese (zh)
Other versions
CN110248099A (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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN201910590057.4A priority Critical patent/CN110248099B/en
Publication of CN110248099A publication Critical patent/CN110248099A/en
Application granted granted Critical
Publication of CN110248099B publication Critical patent/CN110248099B/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/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a terminal and a camera lamp effect control method, and relates to the technical field of communication. The terminal includes: the shell is provided with a through hole; the camera module extends out of the shell or retracts into the shell through the through hole; the camera module comprises at least one indicating lamp arranged in the camera module, and when the number of the indicating lamps is more than two, the indicating lamps are arranged in a dot matrix form; the driving circuit is connected with the indicator light; and the main control module is connected with the driving circuit. According to the embodiment of the invention, the indicator lamps arranged in a dot matrix form are added in the camera module, the indicator lamps are controlled to generate different lighting effects according to different use scenes of the camera module, so that a user can determine the current state of the camera module or the terminal according to the lighting effects, and the lighting of the indicator lamps can play a role in supplementing light for the photographing function of the camera, so that the user can feel scientific and technological feeling when using the terminal, and the user experience is improved.

Description

Terminal and camera lamp effect control method
Technical Field
The invention relates to the technical field of communication, in particular to a terminal and a camera lamp effect control method.
Background
Along with semiconductor technology's rapid development, intelligent terminal has got into a new era, and comprehensive screen more and more receives user's favor, and rotatory camera of over-and-under type is in due course under this basis, and the user can also possess the extremely experience of shooing when enjoying the benefit that the whole screen brought, like the life of rotatory tracking shooting, video recording, has richened user. The intelligent terminal who has flexible rotation function, reinforcing user comfort level that can be very big enriches user's life, but also has some not enoughly, for example, when scalable rotatory camera module stretches out the terminal and carries out the during operation, often only the camera is at work, whole camera module is bulky moreover, and the function is more single, lacks fashion science and technology and feels.
Disclosure of Invention
The embodiment of the invention provides a terminal and a camera light effect control method, which aim to solve the problem of single function of a camera module in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal, including:
the shell is provided with a through hole;
the camera module extends out of the shell or retracts into the shell through the through hole;
the camera module comprises at least one indicating lamp arranged in the camera module, and when the number of the indicating lamps is more than two, the indicating lamps are arranged in a dot matrix form;
the driving circuit is connected with the indicator light;
the main control module is connected with the driving circuit;
when the camera module is positioned outside the shell, the main control module controls the indicator lamp to work in a first working mode through the driving circuit;
when the camera module is positioned in the shell, the main control module controls the indicator lamp to work in a second working mode through the driving circuit;
when the camera module part is positioned in the shell, the main control module controls the indicator light to work in a third working mode through the driving circuit.
In a second aspect, an embodiment of the present invention further provides a method for controlling a camera light effect, which is applied to the above terminal, where the method includes:
when the camera module is positioned outside the shell, the indicating lamp is controlled to work in the first working mode;
when the camera module is positioned in the shell, the indicating lamp is controlled to work in the second working mode;
and when the camera module part is positioned in the shell, controlling the indicator light to work in the third working mode.
In a third aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the camera light effect control method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the camera light effect control method as described above.
In this way, in the embodiment of the invention, the indicator lamps arranged in a dot matrix form are added in the camera module, the indicator lamps are controlled to work according to different use scenes of the camera module, the indicator lamps generate different lighting effects, so that a user can determine the current state of the camera module or the terminal according to the lighting effects, and the illumination of the indicator lamps can also play a role in supplementing light for the photographing function of the camera, so that the user can feel cool and scientific and technological feelings when using the terminal, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 2 is a schematic perspective view of a terminal according to an embodiment of the present invention;
FIG. 3 is a schematic view of an indicator light according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an operating mode of an indicator light according to an embodiment of the present invention;
FIG. 5 is a second schematic view of the operation mode of the indicator light according to the embodiment of the present invention;
FIG. 6 is a third schematic view of an operation mode of an indicator light according to the embodiment of the present invention;
fig. 7 is a schematic flow chart of a camera light effect control method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a terminal according to another embodiment of the present invention.
Description of reference numerals: 1. camera module, 2, pilot lamp, 3, drive circuit, 4, main control module, 5, audio module, 6, motor drive module, 11, first region, 12, second region, 13, third region.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a terminal, including:
the shell is provided with a through hole;
the camera module 1 extends out of the shell or retracts into the shell through the through hole;
the camera module comprises at least one indicating lamp 2 arranged in the camera module 1, wherein when the number of the indicating lamps 2 is more than two, the indicating lamps 2 are arranged in a dot matrix form;
a drive circuit 3 connected to the indicator lamp 2;
a main control module 4 connected to the drive circuit 3;
when the camera module 1 is located outside the shell, the main control module 4 controls the indicator light 2 to work in a first working mode through the driving circuit 3;
when the camera module 1 is located in the shell, the main control module 4 controls the indicator light 2 to work in a second working mode through the driving circuit 3;
when the camera module 1 is partially located in the housing, the main control module 4 controls the indicator light 2 to operate in a third operating mode through the driving circuit 3.
In this embodiment, the camera module 1 may be a retractable and rotatable camera module, the terminal includes a housing, and a through hole for the camera module 1 to pass through is formed in the top of the housing. Optionally, the camera module 1 includes a camera and a rotating component, and the camera module rotates relative to the terminal through the rotating component, so as to realize a rotary photographing function; the indicator light 2 may be an RGB (Red Green Blue ) color light, and a plurality of indicator lights are arranged at different positions in the camera module 1 in a dot matrix manner; the indicator light 2 is connected with a driving circuit 3, and the driving circuit 3 is used for controlling the indicator light 2 in a dot matrix form to work; the main control module 4 can acquire the working state of the camera module 1, and when the camera module 1 is in different working states, the indicating lamp 2 is controlled to work in different working modes.
Optionally, a plurality of preset operating modes of the indicator light 2 are stored in the terminal, for example: with preset frequency scintillation, multiple colour formation gradual change colour, pilot lamp light form preset shape etc. the user can be as required with camera module 1 corresponds when different operating condition and sets up different pilot lamp mode. Wherein, camera module 1's operating condition includes: the camera module 1 is located in the shell, the camera module 1 is located outside the shell and the camera module 1 is partially located in the shell. When a user uses the terminal, if the camera module 1 is positioned outside the shell, the main control module 4 controls the indicator light 2 to work in a first working mode through the driving circuit 3; if the camera module 1 is located in the shell, the main control module 4 controls the indicator light 2 to work in a second working mode through the driving circuit 3; if the camera module 1 is partially located in the housing, the main control module 4 controls the indicator light 2 to operate in a third operating mode through the driving circuit 3. Therefore, the user can determine the current state of the camera module or the terminal according to the working mode of the indicator lamp, the indicator lamp is lightened, the photographing function of the camera can be supplemented with light, and the user experience is enhanced.
According to the embodiment of the invention, the indicator lamps arranged in a dot matrix form are added in the camera module, the indicator lamps are controlled to work according to different use scenes of the camera module, the indicator lamps generate different lighting effects, so that a user can determine the current state of the camera module or the terminal according to the lighting effects, the lighting of the indicator lamps can also play a role in supplementing light for the photographing function of the camera, the user can feel cool and scientific and technological feelings when the user uses the terminal, and the user experience is improved.
Optionally, as shown in fig. 1, the terminal further includes: the motor driving module 6 is connected with the camera module 1, and the motor driving module 6 is also connected with the main control module 4; the main control module 4 controls the camera module 1 to stretch or rotate through the motor driving module 6. Optionally, the motor driving module 6 includes: and the motor driving unit is used for controlling the lifting motor and the rotating motor to work and further controlling the lifting module and the rotating module of the camera module 1 to work.
As shown in fig. 2, the indicator lamp 2 includes: the camera module comprises an indicator light arranged in a first area 11 of the camera module 1, an indicator light arranged in a second area 12 of the camera module 1 and an indicator light arranged in a third area 13 of the camera module 1;
the first region 11, the second region 12, and the third region 13 are different regions.
Optionally, the first area 11 is a top area of the camera module 1, the second area 12 is an area facing the front of the camera in the camera module 1, and the third area 13 is left and right areas of the camera module 1. The indicating lamps 2 are respectively arranged in different areas of the camera module 1, the main control module 4 controls the indicating lamps 2 in different areas to be lightened according to the working state of the camera module 1, and a user can determine the current state of the camera module or the terminal according to the working mode of the indicating lamps 2 to prompt the user. Wherein the indicator lights of the first region 11, the second region 12 and the third region 13 may be set to different functions, such as: the light effect of the indicator light in the first area 11 is used for rotating light effect, music light effect, incoming call indication, charging display, flashlight, clock display and the like; the light effect of the indicator light in the second area 12 is used for the telescopic light effect and the light supplement effect; the light effect of the indicator light of the third area 13 is used for photographing timing, shutter prompting, self-photographing light supplement and the like; the user can also freely set the lamp effect usage under each scene.
It should be noted that the indicator lights 2 located in different areas of the camera module 1 are all arranged in a dot matrix form, as shown in fig. 3, the main control module 4 can control the lighting condition of the indicator lights in the dot matrix form through the driving circuit 3 to achieve different light effects, for example, control some of the indicator lights in fig. 3 to be lit, so that the lit indicator lights form a preset pattern.
The following describes the operation mode of the indicator light 2 when the camera module 1 is in different operation states by using a specific embodiment.
When the camera module 1 is located outside the housing, the first operating mode may be that the indicator light of the first area 11 is turned on in a preset mode. Use camera module 1 is the rotatable camera module of liftable as an example, optionally, main control module 4 considers when receiving the signal that the user clicked the rotation and shot camera module 1 is in the rotation state of shooing, camera module 1 can pass through drive circuit 3 control is located the pilot lamp of first region 11 is lighted (also can drive simultaneously the second region 12 and the pilot lamp of third region 13 carries out supplementary lamp effect) to this produces different photochromic, concrete mode when the pilot lamp is lighted can set up in advance, if control the time that the pilot lamp of first region 11 was lighted successively makes the pilot lamp of first region 11 produces the light efficiency of gradual change.
When the camera module 1 is located outside the housing, the first operating mode may be that the indicator lights of the second area 12 and/or the third area 13 are turned on in a preset mode. Use camera module 1 is the rotatable camera module of liftable for the example, if main control module 4 discerns camera module 1 is in leading state of shooing or the rearmounted state of shooing, can pass through drive circuit 3 control is located the regional 12 of second and/or the pilot lamp of third region 13 is lighted, concrete mode when the pilot lamp is lighted can set up in advance, if control is located the pilot lamp of the regional 12 of second shows to become digital sign or flash light, as shown in fig. 4 to this suggestion user, it is about to begin to shoot, in time prepares to shoot relevant posture, the pilot lamp can also play the effect of light filling to the function of shooing of camera.
When the camera module 1 is partially located in the housing, the third operating mode may be that the indicator lights in the second area 12 and/or the third area 13 are turned on in a preset mode, that is, when the main control module 4 recognizes that the camera module 1 is in the process of extending out of the housing or retracting into the housing, the indicator lights in the second area 12 and/or the third area 13 may be controlled to be turned on by the driving circuit 3, and a specific mode when the indicator lights are turned on may be preset, for example, the lighting time of the indicator lights in the second area 12 is controlled, so that the indicator lights in the second area 12 form a light effect with gradually changed color.
When the camera module 1 is located in the housing, the second operating mode may be that the indicator light of the first area 11 is turned on in a preset mode, that is, when the camera module 1 is in a state of not popping up a terminal, taking the first area 11 as the top area of the camera module 1 as an example, only the indicator light of the first area 11 can be observed by a user when being turned on, and at this time, the indicator light of the first area 11 is defaulted to generate different light effects. The main control module 4 may obtain a current state of the terminal, and if the terminal is in a sleep standby state at this time, the main control module 4 controls the indicator lamp located in the first area 11 to be turned on through the driving circuit 3, so that the first area 11 becomes a "background clock screen", the indicator lamp is turned on, and current time is displayed, as shown in fig. 5, in order to reduce power consumption, a working mode of the indicator lamp may be set to an intermittent working mode through the driving circuit 3, and when a user wakes up the terminal, the main control module 4 sends an instruction to the driving circuit 3, so that the indicator lamp stops working; if the terminal is in a charging state at this time, the main control module 4 may control the indicator lamp located in the first area 11 to be turned on through the driving circuit 3, so that the first area 11 not only displays the current time, but also displays a charging icon and charging electric quantity, as shown in fig. 6, in order to reduce power consumption, the operating mode of the indicator lamp may be an intermittent operating mode, when charging is completed, a user pulls out the charging device, and at this time, the terminal screen is turned on, and when the main control module 4 detects that the screen is turned on, the main control module 4 may control the driving circuit 3 to stop operating through an instruction, so that the indicator lamp of the first area 11 stops operating in a screen-on state of the terminal; in addition, when the terminal is in a dormant standby state, if the main control module 4 detects that unread information or a missed call exists, the driving circuit 3 can also control the indicator light located in the first area 11 to be turned on, so that the first area 11 displays a corresponding information icon, and the indicator light can work in a breathing light mode to prompt a user.
Further, a light guide film is arranged on the outer side of the indicator light 2. The light guide film can uniformize light emitted from the indicator lamps 2 arranged in a lattice form.
As shown in fig. 1, the terminal further includes: the audio module 5 is connected with the main control module 4, and the audio module 5 is also connected with the driving circuit 3; the main control module 4 controls the audio module 5 to output an audio signal to the driving circuit 3, and controls the indicator light 2 to operate in one of the first operating mode, the second operating mode and the third operating mode through the driving circuit 3.
When the terminal plays an audio file, the main control module 4 can control the audio module 5 to the drive circuit 3 outputs an audio signal, so that the drive circuit 3 drives the indicator light 2 to light according to the audio signal, the lighting form of the indicator light 2 can be one of the first working mode, the second working mode and the third working mode, for example, the indicator light 2 is controlled to flash different colors or patterns according to the rhythm in the audio signal, so that a user can feel cool and scientific and technological feelings when using the terminal, and the user experience is improved.
Optionally, a lamp effect display function switch button of the indicator lamp is arranged on a setting interface of the terminal, when a user uses the terminal for the first time, the lamp effect display function needs to be started, and the user can set an indicator lamp working mode corresponding to the camera module according to the working state of the camera module, so that the indicator lamp can generate different lamp effects when the camera module is not in the working state. The terminal also comprises a power supply module which is used for providing power supply for each part of the terminal.
In summary, in the embodiments of the present invention, the indicator lamps arranged in a dot matrix manner are added in the camera module, and the indicator lamps are controlled to operate according to different usage scenes of the camera module, so that the indicator lamps generate different light effects, a user can determine the current state of the camera module or the terminal according to the light effects, and the illumination of the indicator lamps can also play a role of light supplement for the photographing function of the camera, so that the user can feel cool and scientific and technological feelings when using the terminal, and the user experience is improved.
As shown in fig. 7, an embodiment of the present invention provides a camera light effect control method, which is applied to the terminal described above, and the method includes:
step 701, when the camera module is located outside the housing, controlling the indicator light to work in the first working mode;
in this embodiment, the camera module can be a scalable rotatable camera module, and the operating condition of camera module can include: the camera module is located in a shell of the terminal, the camera module is located outside the shell, and the camera module is partially located in the shell. Optionally, the camera module being located outside the housing includes, but is not limited to: the camera module is in a rotary photographing state, and the camera module is in a front photographing state or a rear photographing state.
When the camera module is located outside the shell, namely the camera module is in a popup state, the indicating lamp is controlled to work in a first working mode. When the camera module is in the popup state, the camera of the terminal is considered to be in the use state or the to-be-used state, at the moment, the indicating lamps on the camera module can be lightened in different working modes, and the first working mode represents the corresponding lamp effect when the camera module is in the popup state. The indicator light comprises a plurality of working modes, wherein the first working mode can be as follows: the indicator light of the first area is lit in a preset mode, or the indicator light of the second area and/or the third area is lit in a preset mode.
Step 702, when the camera module is located in the housing, controlling the indicator light to operate in the second operating mode;
when the camera module is located in the housing, the camera module may be considered to be not working, and at this time, only the indicator light in the first area may be observed by a user when being turned on, and at this time, the indicator light in the first area is defaulted to generate different light effects, that is, the second operating mode may be that the indicator light in the first area is turned on in a preset mode.
And 703, controlling the indicator light to work in the third working mode when the camera module is partially positioned in the shell.
The camera module being partially within the housing may include the camera module being in the process of extending out of the housing or retracting into the housing. When the camera module is partially located in the housing, the camera module may be considered to be in a process of starting or shutting down, and the third operating mode may be that the indicator light of the second area and/or the third area is turned on in a preset mode.
It should be noted that the preset mode may be: the indicator light flashes at a preset frequency, a plurality of colors form gradient colors, the indicator light is lightened to form a preset shape, and the like. The different operating condition of camera module corresponds different pilot lamp mode, the different mode of pilot lamp produces different light efficiencies, makes the user can confirm the current state at camera module or terminal according to the light efficiency, just the different mode of pilot lamp can also play the effect of light filling to the function of shooing of camera, makes the user can experience when the use terminal and dazzle and cool science and technology and feels, has promoted user experience.
According to the embodiment of the invention, the indicating lamp is controlled to work in different preset working modes according to different working states of the camera module, the indicating lamp generates different light effects, so that a user can determine the current state of the camera module or the terminal according to the light effects, and the light can also play a role in supplementing light for the photographing function of the camera when the indicating lamp is turned on, so that the user can feel cool and scientific and technological feelings when the user uses the terminal, and the user experience is improved.
Specifically, the camera module is a telescopic rotary camera module, and step 701 may include: the first working mode comprises a first preset mode and a second preset mode;
when the camera module is positioned outside the shell and is in a rotary photographing state, controlling an indicator lamp positioned in a first area of the camera module to be lightened in a first preset mode;
in this embodiment, the first preset mode may be a gradually changing lighting effect, the first area may be a top area of the camera module, and the indicator light located in the first area is used for rotating a light effect, a music light effect, an incoming call indication, a charging display, a flashlight, a clock display, and the like. When the camera module is in the rotary photographing state, the time that the indicator lamp in the camera module top area is sequentially turned on is controlled, so that the indicator lamp in the first area generates gradually changed lighting effect, and user experience is improved. It should be noted that the first preset mode may also be other light effects, and a user may customize the setting.
When the camera module is in the pop-up state, the indicating lamp can be controlled to stop working after the camera module rotates to the final position in order to reduce power consumption. The rotation state of camera module can be realized through the mode that the angle detected, is detecting promptly when camera module rotates to preset angle, control pilot lamp stop work.
The camera module is located outside the shell, and when the camera module is in a front-mounted photographing state or a rear-mounted photographing state, the indicating lamp in the second area and/or the third area of the camera module is controlled to be turned on in a second preset mode.
In this embodiment, the second preset mode may be that the indicator light is turned on and then displayed as a digital character or flickers; the second area can be the area of the positive orientation of camera in the camera module, the third area can be the left and right sides area of camera module. Optionally, the indicator light located in the second area is used for a telescopic light effect and a light supplement light effect; and the indicating lamp positioned in the third area is used for photographing timing, shutter prompting, self-photographing light supplement and the like. When the camera module is in a front-mounted photographing state or a rear-mounted photographing state, the indication lamp in the second area and/or the third area can be controlled to be turned on and displayed to form a digital character or twinkling light, as shown in fig. 4, so that a user is prompted, photographing is about to start, related photographing postures are prepared in time, and the indication lamp can also play a role in light supplement for the photographing function of the camera.
Specifically, the step 703 may include: and when the camera module is in the extending or retracting process, controlling indicator lamps positioned in the second area and/or the third area of the camera module to be lightened in a fourth preset mode.
In this embodiment, the fourth preset mode may be a gradual light effect. And when the camera module is identified to be in the process of extending or retracting, controlling indicator lamps positioned in the second area and/or the third area to light in a color gradient mode. The user can feel cool and scientific and technological sense when the terminal is used, and user experience is improved.
The working mode of the indicator light when the camera module is in the pop-up state or in the process of extending and retracting is described above through a specific embodiment, and the working mode of the indicator light when the camera module is in the non-pop-up state is described below.
Specifically, the step 702 may include: and when the camera module is positioned in the shell, controlling an indicator lamp positioned in a first area of the camera module to be lightened in a third preset mode.
When the camera module is located in the shell, namely when the camera module is in an un-popup state, the user is considered not to use the camera at the moment, only part of the indicator light at the top end of the camera can be observed when the camera works, and then the indicator light in the first area of the camera module is controlled to be lightened in a third preset mode at the moment.
Further, when the camera module is located in the housing, controlling an indicator light located in the first area of the camera module to be turned on in a third preset mode may include:
detecting the working state of the terminal:
when the terminal is in a dormant state, controlling an indicator lamp positioned in a first area of the camera module to display at least one of time, unread information and missed call prompt icons; optionally, the first region is a top region of the camera module. When the terminal is detected to be in a dormant state, the indicator lamp located in the first area is controlled to be turned on, so that the first area becomes a background clock screen, the indicator lamp is turned on, and the current time is displayed, as shown in fig. 5, in order to reduce power consumption, the operating mode of the indicator lamp can be set to an intermittent operating mode, and when a user wakes up the terminal, the indicator lamp in the first area is controlled to stop operating.
Optionally, the first region is a top region of the camera module. When the terminal is detected to be in a dormant state, if unread information or a missed call is detected, the indicator light located in the first area can be controlled to be turned on, so that the first area displays an icon for prompting the unread information or the missed call, and the indicator light can work in a breathing light mode to achieve the effect of prompting a user.
When the terminal is in a charging state, an indicator lamp located in a first area of the camera module is controlled to display the current battery capacity. Optionally, the first region is a top region of the camera module. When the terminal is detected to be in a charging state, the indicator lamp located in the first area is controlled to be turned on, so that the first area displays a charging icon and charging electric quantity, and the first area can also be controlled to display the current battery electric quantity and the current time at the same time.
Optionally, the operating mode of the indicator light may also be controlled according to an audio file. When the terminal broadcast audio file, control the pilot lamp is according to the different colour of rhythm scintillation or pattern in the audio signal, makes the user can feel when using the terminal and dazzles cool and science and technology sense, promotes user experience.
According to the embodiment of the invention, the indicator lamp is controlled to work in different working modes according to different working states of the camera module, the indicator lamp generates different light effects, so that a user can determine the current state of the camera module or the terminal according to the light effects, and the illumination of the indicator lamp can also play a role in supplementing light for the photographing function of the camera, so that the user can feel cool and scientific and technological feelings when using the terminal, and the user experience is improved.
Fig. 8 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal configuration shown in fig. 8 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to control the indicator light to operate in the first operating mode when the camera module is located outside the housing; when the camera module is positioned in the shell, the indicating lamp is controlled to work in the second working mode; and when the camera module part is positioned in the shell, controlling the indicator light to work in the third working mode.
It is thus clear that this terminal is according to the different operating condition control pilot lamp work of camera module at different mode, and the pilot lamp produces different light efficiencies, makes the user confirm camera module or the current state in terminal according to the light efficiency, just the pilot lamp lights and can also play the effect of light filling to the function of shooing of camera, makes the user can experience when using terminal and dazzle cool and science and technology sense, has promoted user experience.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal 800 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal 800 or may be used to transmit data between the terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the terminal. Processor 810 may include one or more processing units; preferably, the processor 810 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 processor 810.
The terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, 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 computer program implements each process of the above-mentioned embodiment of the camera lamp effect control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned camera light effect control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A terminal, comprising:
the shell is provided with a through hole;
the camera module (1) extends out of the shell or retracts into the shell through the through hole;
the camera module comprises at least one indicating lamp (2) arranged in the camera module (1), wherein when the number of the indicating lamps (2) is more than two, the indicating lamps (2) are arranged in a dot matrix form; the indicator lamp (2) comprises: the camera module comprises an indicator light arranged in a first area (11) of the camera module (1), an indicator light arranged in a second area (12) of the camera module (1) and an indicator light arranged in a third area (13) of the camera module (1); the first region (11), the second region (12) and the third region (13) are different regions;
a drive circuit (3) connected to the indicator light (2);
a main control module (4) connected with the drive circuit (3);
when the camera module (1) is positioned outside the shell, the main control module (4) controls the indicator light (2) to work in a first working mode through the driving circuit (3); the first working mode is as follows: the indicator light of the first area is lighted in a first preset mode, or the indicator light of the second area and/or the third area is lighted in a second preset mode;
when the camera module (1) is positioned in the shell, the main control module (4) controls the indicator light (2) to work in a second working mode through the driving circuit (3); the second working mode is that the indicator light of the first area is lightened in a third preset mode;
when the camera module (1) is partially positioned in the shell, the main control module (4) controls the indicator light (2) to work in a third working mode through the driving circuit (3); the third working mode is that the indicator light of the second area and/or the third area is lightened in a fourth preset mode.
2. A terminal according to claim 1, characterized in that said first area (11) is a top area of said camera module (1); the second area (12) is an area facing the front face of a camera in the camera module (1); the third area (13) is the area on the left side and the right side of the camera module (1).
3. A terminal according to claim 1, characterized in that the outside of the indicator light (2) is provided with a light guiding film.
4. The terminal of claim 1, further comprising:
the audio module (5) is connected with the main control module (4), and the audio module (5) is also connected with the driving circuit (3);
the main control module (4) controls the audio module (5) to output an audio signal to the driving circuit (3), and controls the indicator light (2) to work in one of the first working mode, the second working mode and the third working mode through the driving circuit (3).
5. A camera lamp efficiency control method applied to the terminal of any one of claims 1 to 4, comprising:
when the camera module is positioned outside the shell, the indicating lamp is controlled to work in the first working mode;
when the camera module is positioned in the shell, the indicating lamp is controlled to work in the second working mode;
and when the camera module part is positioned in the shell, controlling the indicator light to work in the third working mode.
6. The method for controlling lamp efficiency of a camera according to claim 5, wherein the camera module is a telescopic rotating camera module, and when the camera module is located outside the housing, the indicator lamp is controlled to operate in the first operating mode, which specifically includes:
the first working mode comprises a first preset mode and a second preset mode;
when the camera module is positioned outside the shell and is in a rotary photographing state, controlling an indicator lamp positioned in a first area of the camera module to be lightened in a first preset mode;
the camera module is located outside the shell, and when the camera module is in a front-mounted photographing state or a rear-mounted photographing state, the indicating lamp in the second area and/or the third area of the camera module is controlled to be turned on in a second preset mode.
7. The method for controlling lamp efficiency of a camera according to claim 5, wherein the controlling the indicator lamp to operate in a second operation mode when the camera module is located in the housing specifically comprises:
and when the camera module is positioned in the shell, controlling an indicator lamp positioned in a first area of the camera module to be lightened in a third preset mode.
8. The method for controlling lamp efficiency of a camera according to claim 5, wherein the controlling the indicator lamp to operate in a third operating mode when the camera module is partially located in the housing specifically comprises:
and when the camera module is in the extending or retracting process, controlling indicator lamps positioned in the second area and/or the third area of the camera module to be lightened in a fourth preset mode.
9. The method for controlling lamp efficiency of a camera according to claim 7, wherein the controlling an indicator lamp located in a first area of the camera module to be turned on in a third preset mode when the camera module is located in the housing comprises:
detecting the working state of the terminal:
when the terminal is in a dormant state, controlling an indicator lamp positioned in a first area of the camera module to display at least one of time, unread information and missed call prompt icons;
when the terminal is in a charging state, an indicator lamp located in a first area of the camera module is controlled to display the current battery capacity.
10. A terminal 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 light effect control method according to any one of claims 5 to 9.
CN201910590057.4A 2019-07-02 2019-07-02 Terminal and camera lamp effect control method Active CN110248099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910590057.4A CN110248099B (en) 2019-07-02 2019-07-02 Terminal and camera lamp effect control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910590057.4A CN110248099B (en) 2019-07-02 2019-07-02 Terminal and camera lamp effect control method

Publications (2)

Publication Number Publication Date
CN110248099A CN110248099A (en) 2019-09-17
CN110248099B true CN110248099B (en) 2021-05-18

Family

ID=67890661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910590057.4A Active CN110248099B (en) 2019-07-02 2019-07-02 Terminal and camera lamp effect control method

Country Status (1)

Country Link
CN (1) CN110248099B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371974A (en) * 2020-03-02 2020-07-03 Oppo(重庆)智能科技有限公司 Terminal shooting control method and device, terminal and storage medium
CN113542603B (en) * 2021-07-13 2024-01-23 上海福赛梦扬科技有限公司 Camera operation prompt processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991844A (en) * 2016-07-19 2016-10-05 广东欧珀移动通信有限公司 Camera and terminal device
CN106506931A (en) * 2015-09-07 2017-03-15 富泰华工业(深圳)有限公司 Electronic installation and its camera control method and system
CN107948398A (en) * 2017-10-30 2018-04-20 维沃移动通信有限公司 A kind of message prompt method and mobile terminal
CN109104554A (en) * 2018-08-27 2018-12-28 惠州Tcl移动通信有限公司 A kind of ring flash of light control camera assembly, mobile terminal and its assembly method
CN109359017A (en) * 2018-09-28 2019-02-19 维沃移动通信有限公司 A kind of state information display method and mobile terminal
CN208862961U (en) * 2018-10-31 2019-05-14 维沃移动通信有限公司 A kind of electronic equipment with rotary photographic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018054762A (en) * 2016-09-27 2018-04-05 キヤノン株式会社 Imaging control device, control method thereof, program and recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506931A (en) * 2015-09-07 2017-03-15 富泰华工业(深圳)有限公司 Electronic installation and its camera control method and system
CN105991844A (en) * 2016-07-19 2016-10-05 广东欧珀移动通信有限公司 Camera and terminal device
CN107948398A (en) * 2017-10-30 2018-04-20 维沃移动通信有限公司 A kind of message prompt method and mobile terminal
CN109104554A (en) * 2018-08-27 2018-12-28 惠州Tcl移动通信有限公司 A kind of ring flash of light control camera assembly, mobile terminal and its assembly method
CN109359017A (en) * 2018-09-28 2019-02-19 维沃移动通信有限公司 A kind of state information display method and mobile terminal
CN208862961U (en) * 2018-10-31 2019-05-14 维沃移动通信有限公司 A kind of electronic equipment with rotary photographic device

Also Published As

Publication number Publication date
CN110248099A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN109639970B (en) Shooting method and terminal equipment
CN107786817B (en) A kind of photographic method and mobile terminal
CN111246121B (en) Shooting light supplement method, electronic equipment and medium
WO2020199984A1 (en) Camera module, and mobile terminal and control method therefor
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
CN108628515B (en) Multimedia content operation method and mobile terminal
WO2021068870A1 (en) Key structure, key control method, and electronic device
CN107995395A (en) Mobile terminal and the image acquiring method for the mobile terminal
CN109688253B (en) Shooting method and terminal
CN109639965A (en) Starting method, terminal and the computer readable storage medium of camera
CN110248099B (en) Terminal and camera lamp effect control method
CN109710150A (en) Key control method and terminal
CN108234894A (en) A kind of exposure adjustment method and terminal device
CN108900695A (en) A kind of display processing method and terminal device
CN110213412A (en) A kind of display methods and terminal
CN107635072A (en) The control method and mobile terminal of a kind of mobile terminal
CN111443765A (en) Electronic equipment and screen display method
CN110290331A (en) A kind of screen control method and terminal
CN111050050A (en) Filter adjusting method and electronic equipment
CN108279842A (en) A kind of function controlling method, function controlling device and terminal device
WO2020063136A1 (en) Application program start-up method and terminal device
CN110545387B (en) Shooting method and terminal equipment
CN108628511A (en) A kind of program starts method and mobile terminal
WO2021175181A1 (en) Electronic device and photographing prompting method
CN109600545A (en) A kind of shooting householder method, terminal and computer readable storage medium

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