WO2021175181A1 - Electronic device and photographing prompting method - Google Patents

Electronic device and photographing prompting method Download PDF

Info

Publication number
WO2021175181A1
WO2021175181A1 PCT/CN2021/078416 CN2021078416W WO2021175181A1 WO 2021175181 A1 WO2021175181 A1 WO 2021175181A1 CN 2021078416 W CN2021078416 W CN 2021078416W WO 2021175181 A1 WO2021175181 A1 WO 2021175181A1
Authority
WO
WIPO (PCT)
Prior art keywords
indicator light
electronic device
camera
adjustment
target
Prior art date
Application number
PCT/CN2021/078416
Other languages
French (fr)
Chinese (zh)
Inventor
张旭
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021175181A1 publication Critical patent/WO2021175181A1/en

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
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Definitions

  • the present invention relates to the technical field of communication equipment, and in particular to an electronic device and a shooting prompt method.
  • the camera can also become a separate and independent working accessory. Due to the separation of the camera and the display, when the user holds the separate camera by hand to take pictures or video, it needs to be displayed by other users.
  • the information displayed on the screen provides reminders to adjust the direction of taking pictures or videos, which makes the shooting operation of the electronic device in the separated state of the camera inconvenient.
  • the embodiments of the present invention provide an electronic device and a shooting prompt method to solve the problem of inconvenience in the shooting operation of the electronic device when the camera is in a separated state.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes a device body and a camera device, the camera device is detachably connected to the device body, and the camera device is separated from the device body.
  • the device body is in communication connection with the camera device, and the camera device is provided with a camera and an indicator light, and the indicator light is used to indicate the adjustment direction of the camera in the shooting state.
  • an embodiment of the present invention provides a shooting prompt method, using the above-mentioned electronic device, and the method includes:
  • the indicator light is controlled to indicate the adjustment direction of the camera.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the above-mentioned shooting prompt method.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned shooting prompt method are implemented.
  • an embodiment of the present invention provides a computer software product, the computer software product is stored in a non-volatile storage medium, and the software product is configured to be executed by at least one processor to realize the aforementioned shooting. Prompt the steps of the method.
  • the adjustment direction of the camera device is indicated by setting the indicator light on the camera device, so that when the camera device is separated from the equipment body, the user can directly base on the indicator light on the camera device when shooting.
  • the direction is adjusted to adjust the shooting angle, so the electronic device provided in the embodiment of the present invention can facilitate the user to shoot.
  • FIG. 1 is a schematic diagram of an exploded structure of an electronic device provided by an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a camera device in an electronic device provided by an embodiment of the present invention.
  • FIG. 3 is a flowchart of a shooting prompt method provided by an embodiment of the present invention.
  • Fig. 4 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 1 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • the electronic device includes a device body 10 and a camera device 20.
  • the device body 10 can be detachably connected.
  • the camera device 20 is separated from the device body 10
  • the device body 10 is communicatively connected with the camera device 20, and the camera device 20 is provided with a camera 201 and an indicator light 202.
  • the indicator light 202 is used to indicate the adjustment direction of the camera in the shooting state.
  • the above-mentioned electronic device may be a smart device such as a mobile phone, a personal digital assistant (PDA), and a laptop computer.
  • the aforementioned indicator light 202 may be a light-emitting diode (Light-Emitting Diode, LED) indicator, which may specifically include one or more.
  • the aforementioned adjustment direction can be understood as at least one of the following: upward movement, downward movement, leftward movement, and forward movement. Move right, flip back and forth (flip up or down) and flip left and right (flip to the left or flip to the right), etc.
  • indicator lights can be used to indicate different adjustment directions, for example, indicator light 1 indicates the first adjustment direction, and indicator light 2 indicates the second adjustment direction; it can also be used to indicate different states of the same indicator (such as flashing frequency, The display color or display brightness, etc.) indicate different adjustment directions.
  • the indicator light 1 displays the first color to indicate the first adjustment direction
  • the indicator light 1 displays the second color to indicate the second adjustment direction
  • multiple indicator lights can also be used Jointly indicate a certain adjustment direction.
  • indicator light 1 and indicator light 2 are on at the same time to indicate the first adjustment direction
  • indicator light 3 and indicator 4 are on at the same time to indicate the second adjustment direction.
  • one or more of the above indication modes may be combined to indicate corresponding multiple adjustment directions, and the specific indication form is not further limited herein.
  • the above-mentioned communication mode between the camera device 20 and the device body 10 can be set according to actual needs.
  • wireless transmission modes such as Bluetooth and millimeter wave antennas can be used for communication.
  • an indicator light 202 is provided on the camera device to indicate the adjustment direction of the camera device, so that when the camera device is separated from the device body, the user can directly base on the indicator light 202 on the camera device when shooting.
  • the indicated adjustment direction is used to adjust the shooting angle. Therefore, the electronic device provided in the embodiment of the present invention can facilitate the user to shoot.
  • the number of indicator lights 202 is at least two, wherein each indicator light 202 is used to individually indicate the first adjustment direction.
  • the above-mentioned first adjustment direction may include at least two of upward movement, downward movement, leftward movement, and rightward movement.
  • the position of the indicator light 202 can be set to correspond to the correspondingly indicated first adjustment direction.
  • the indicator light 202 for indicating upward movement is located above the camera device to indicate the direction
  • the downwardly moving indicator light 202 is located below the camera device
  • the indicator light 202 for indicating leftward movement is located on the left side of the camera device
  • the indicator light 202 for indicating rightward movement is located on the right side of the camera device.
  • the above-mentioned multiple indicator lights are arranged around the camera 201, and the above-mentioned up, down, left, and right directions are defined based on the position of the camera.
  • the number of the indicator lights 202 is four, and the setting position of each indicator light corresponds to the first adjustment direction indicated by the indicator light. In this way, it is convenient for the user to recognize the adjustment direction indicated by the indicator light 202.
  • multiple indicator lights 202 may be used to jointly indicate the adjustment direction, that is, N of the indicator lights are used to jointly indicate the second adjustment direction, and N is an integer greater than 1.
  • the second adjustment direction includes at least one of front-to-back flipping and left-to-right flipping.
  • two indicator lights 202 can be turned on at the same time to indicate forward and backward turning; and the other two indicator lights 202 can be turned on at the same time.
  • each indicator light 202 In order to better understand the adjustment direction indicated by each indicator light 202, the adjustment direction indicated by each indicator light will be described below with reference to FIG. 2.
  • Light 1 is on, indicating that the camera is moved upwards
  • Light 2 is on, indicating that the camera is moved to the left;
  • Light 3 is on, indicating that the camera device is moved down
  • Light 4 is on, which means moving the camera device to the right;
  • Light 1 and light 3 are on, indicating that the camera device is turned back and forth;
  • Lamp 2 and lamp 4 are on, indicating that the camera device is flipped left and right;
  • the camera device further includes a housing 203 for accommodating the camera 201.
  • the housing 203 may be a cuboid or a cylindrical structure, as shown in FIG. 2, and the cuboid is taken as an example for description below.
  • the first surface of the casing is provided with a camera opening adapted to the camera 201.
  • the above-mentioned lamp 1, lamp 3, lamp 2, and lamp 4 are respectively arranged on the top, bottom, left, and right sides of the imaging device. It should be understood that the lamp 1, the lamp 3, the lamp 2, and the lamp 4 may all be arranged on the first surface of the housing 203, or may be respectively arranged on the upper, lower, left, and right sides of the housing 203 adjacent to the first surface.
  • the electronic device is used to: generate composition data of the image information according to the composition type matched with the image information collected by the camera 201; determine the position adjustment information according to the composition data; The position adjustment information controls the indicator light 202 to indicate the adjustment direction of the camera 201.
  • the device body 10 may generate the composition data of the image information according to the composition type matched by the image information collected by the camera 201; and determine the position adjustment information according to the composition data. Then the device outputs a control signal to the camera device according to the position adjustment information to control the working state of the corresponding indicator light in the camera device; or the position adjustment information output value of the camera device, so that the camera device controls the corresponding indicator light according to the position information Working status.
  • the above composition types include golden section, triangle composition, horizontal line composition, diagonal line composition, vertical line composition and curve composition.
  • the key position points in the image information can be identified, the composition type matching the image information can be determined based on the key position points, and the composition data can be obtained based on the analysis of the composition type, and the composition data represents the comparison information between the ideal position point and the actual position point.
  • indicator light 1 indicates the first adjustment direction
  • indicator light 2 indicates the second adjustment direction
  • it can also be used to indicate different states of the same indicator (such as the frequency of flashing, The display color or display brightness, etc.) indicate different adjustment directions.
  • the indicator light 1 displays the first color to indicate the first adjustment direction
  • the indicator light 1 displays the second color to indicate the second adjustment direction
  • multiple indicator lights can also be used Jointly indicate a certain adjustment direction.
  • indicator light 1 and indicator light 2 are on at the same time to indicate the first adjustment direction
  • indicator light 3 and indicator 4 are on at the same time to indicate the second adjustment direction.
  • the position adjustment information includes an adjustment direction
  • the electronic device is specifically configured to: determine a target indicator light for indicating the adjustment direction; and control the target indicator light to be on or flashing constantly.
  • the device body 10 may determine the target indicator light used to indicate the adjustment direction, or the camera device 20 may determine the target indicator light used to indicate the adjustment direction.
  • the adjustment direction and the indicator light have a mapping relationship, and usually the target indicator light can be determined by looking up the mapping relationship. After the target indicator is determined, the target indicator can be controlled to enter the working state to indicate the corresponding adjustment direction. At this time, the user can adjust the shooting angle of the camera according to the adjustment direction indicated by the target indicator light, thereby improving the shooting effect.
  • the electronic device is specifically configured to perform any one of the following:
  • the adjusted displacement size is indicated by the blinking frequency of the target indicator light and/or the brightness of the target indicator light, thereby facilitating the user to accurately adjust to the final position (that is, the best composition effect), and improving the adjustment Convenience.
  • the displacement to be adjusted when the displacement to be adjusted is smaller, the current intensity is smaller, so that the indicator light has a change from on to off. When the indicator light is off, it means that the adjustment is in place and no further adjustment is required.
  • an indication for adjusting the magnitude of the displacement is added, so that the accuracy of the indication can be improved.
  • an embodiment of the present invention also provides a shooting prompt method, which is applied to the above-mentioned electronic device, and the method includes:
  • Step 301 In the shooting state, generate composition data of the image information according to the composition type matched by the image information collected by the camera;
  • Step 302 Determine position adjustment information according to the composition data
  • Step 303 Control the indicator light to indicate the adjustment direction of the camera according to the position adjustment information.
  • the position adjustment information includes an adjustment direction
  • the controlling the indicator light to indicate the adjustment direction of the camera according to the position adjustment information includes:
  • the position adjustment information further includes adjusting the magnitude of the displacement
  • the controlling the target indicator to be on or flashing includes any one of the following:
  • step 303 may be performed by a camera device.
  • the implementation of each step can be referred to the description of the above-mentioned embodiment, which will not be repeated here. Since the shooting method provided by the embodiment of the present invention is applied to the electronic device in the above-mentioned embodiment, it has all the beneficial effects of the above-mentioned electronic device.
  • FIG. 4 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
  • a radio frequency unit 401 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers,
  • the electronic device further includes an equipment body and a camera device, the camera device is detachably connected to the device body, and when the camera device is separated from the device body, the device body communicates with the camera device Connected, the camera device is provided with a camera and an indicator light.
  • the processor 410 is configured to: in the shooting state, generate composition data of the image information according to the composition type matched by the image information collected by the camera; determine position adjustment information according to the composition data; and determine position adjustment information according to the position adjustment information
  • the control indicator indicates the adjustment direction of the camera.
  • an indicator light 202 is provided on the camera device to indicate the adjustment direction of the camera device, so that when the camera device is separated from the device body, the user can directly base on the indicator light 202 on the camera device when shooting.
  • the indicated adjustment direction adjusts the shooting angle, so the electronic device provided in the embodiment of the present invention can facilitate the user to shoot.
  • the radio frequency unit 401 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 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.
  • the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operate).
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 4071 can cover the display panel 4061.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of touch event, and then the processor 410 determines the type of touch event according to the touch The type of event provides corresponding visual output on the display panel 4061.
  • the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 408 is an interface for connecting an external device and the electronic device 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect the electronic device 400 to an external device. Transfer data between devices.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
  • the electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 400 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410.
  • an electronic device including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410.
  • the computer program is executed by the processor 410,
  • Each process of the foregoing embodiment of the shooting prompt method is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned shooting prompt method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • the program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), programmable logic devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to execute the present disclosure Other electronic units or a combination of the functions described above.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processor
  • DSP Device Digital Signal Processing Device
  • DSPD Digital Signal Processing Device
  • PLD programmable logic devices
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technology described in the embodiments of the present disclosure can be implemented by modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • the software codes can be stored in the memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides an electronic device and a photographing prompting method. the electronic device comprises a device body and a photographing apparatus, wherein the photographing apparatus is detachably connected to the device body; in the case that the photographing apparatus is separated from the device body, the device body is communicationally connected to the photographing apparatus; the photographing apparatus is provided with a camera and an indicator lamp, wherein the indicator lamp is used for indicating, in a photographing state, an adjustment direction of the camera.

Description

电子设备及拍摄提示方法Electronic equipment and shooting prompt method
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年3月6日在中国提交的中国专利申请号No.202010150241.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010150241.X filed in China on March 6, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信设备技术领域,尤其涉及一种电子设备及拍摄提示方法。The present invention relates to the technical field of communication equipment, and in particular to an electronic device and a shooting prompt method.
背景技术Background technique
随着智能电子设备(如手机)行业的发展,拍摄也越来越智能化,由于大多数用户没有专业的摄影技能,不能合理的运用构图,所以现在的电子设备都增加了智能构图功能,在拍摄时提供一些辅助指导,在手机显示屏上显示构图提示信息,用户依据显示屏上的提示信息移动电子设备到最佳位置,从而拍出满意的照片。With the development of the industry of smart electronic devices (such as mobile phones), shooting is becoming more and more intelligent. Since most users do not have professional photography skills and cannot use composition reasonably, current electronic devices have added smart composition functions. Some auxiliary guidance is provided when shooting, and the composition prompt information is displayed on the mobile phone display screen. The user moves the electronic device to the best position according to the prompt information on the display screen to take a satisfactory photo.
随着无线技术的发展,摄像头也可以变成分离且可独立工作的配件,由于摄像头与显示屏的分离,那么当用户用手拿着分离的摄像头进行拍照或者录像时,需要由其他用户基于显示屏上的显示信息进行提醒,以调整拍照或者录像的方向,这样使得电子设备的在摄像头在分离状态下的拍摄操作不便。With the development of wireless technology, the camera can also become a separate and independent working accessory. Due to the separation of the camera and the display, when the user holds the separate camera by hand to take pictures or video, it needs to be displayed by other users. The information displayed on the screen provides reminders to adjust the direction of taking pictures or videos, which makes the shooting operation of the electronic device in the separated state of the camera inconvenient.
发明内容Summary of the invention
本发明实施例提供一种电子设备及拍摄提示方法,以解决电子设备的在摄像头在分离状态下的拍摄操作不便的问题。The embodiments of the present invention provide an electronic device and a shooting prompt method to solve the problem of inconvenience in the shooting operation of the electronic device when the camera is in a separated state.
第一方面,本发明实施例提供了一种电子设备,所述电子设备包括设备本体和摄像装置,所述摄像装置与所述设备本体可拆卸连接,在所述摄像装置与所述设备本体分离的情况下,所述设备本体与所述摄像装置通信连接,所述摄像装置设有摄像头和指示灯,所述指示灯用于在拍摄状态下,指示摄像头的调整方向。In a first aspect, an embodiment of the present invention provides an electronic device. The electronic device includes a device body and a camera device, the camera device is detachably connected to the device body, and the camera device is separated from the device body. In the case of, the device body is in communication connection with the camera device, and the camera device is provided with a camera and an indicator light, and the indicator light is used to indicate the adjustment direction of the camera in the shooting state.
第二方面,本发明实施例提供了一种拍摄提示方法,应用上述电子设备, 所述方法包括:In a second aspect, an embodiment of the present invention provides a shooting prompt method, using the above-mentioned electronic device, and the method includes:
在拍摄状态下,根据所述摄像头采集的图像信息匹配的构图类型,生成所述图像信息的构图数据;In the shooting state, generating composition data of the image information according to the composition type matched by the image information collected by the camera;
根据所述构图数据确定位置调整信息;Determining position adjustment information according to the composition data;
根据所述位置调整信息控制指示灯指示摄像头的调整方向。According to the position adjustment information, the indicator light is controlled to indicate the adjustment direction of the camera.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述的拍摄提示方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the above-mentioned shooting prompt method.
第四方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的拍摄提示方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned shooting prompt method are implemented.
第五方面,本发明实施例提供了一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现上述的拍摄提示方法的步骤。In a fifth aspect, an embodiment of the present invention provides a computer software product, the computer software product is stored in a non-volatile storage medium, and the software product is configured to be executed by at least one processor to realize the aforementioned shooting. Prompt the steps of the method.
本发明实施例中,通过在摄像装置上设置指示灯对摄像装置的调整方向进行指示,从而在摄像装置与设备本体分离的情况下进行拍摄时,用户可以直接基于摄像装置上指示灯的指示的调整方向进行拍摄角度的调整,因此本发明实施例提供的电子设备可以方便用户进行拍摄。In the embodiment of the present invention, the adjustment direction of the camera device is indicated by setting the indicator light on the camera device, so that when the camera device is separated from the equipment body, the user can directly base on the indicator light on the camera device when shooting. The direction is adjusted to adjust the shooting angle, so the electronic device provided in the embodiment of the present invention can facilitate the user to shoot.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明实施例提供的电子设备的***结构示意图;FIG. 1 is a schematic diagram of an exploded structure of an electronic device provided by an embodiment of the present invention;
图2是本发明实施例提供的电子设备中摄像装置的结构示意图;2 is a schematic structural diagram of a camera device in an electronic device provided by an embodiment of the present invention;
图3是本发明实施例提供的拍摄提示方法的流程图;FIG. 3 is a flowchart of a shooting prompt method provided by an embodiment of the present invention;
图4是本发明实施例提供的电子设备的结构图。Fig. 4 is a structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
参见图1和图2,图1是本发明实施例提供的一种电子设备的结构图,如图1所示,该电子设备包括设备本体10和摄像装置20,所述摄像装置20与所述设备本体10可拆卸连接,在所述摄像装置20与所述设备本体10分离的情况下,所述设备本体10与所述摄像装置20通信连接,所述摄像装置20设有摄像头201和指示灯202,所述指示灯202用于在拍摄状态下,指示摄像头的调整方向。1 and 2, FIG. 1 is a structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 1, the electronic device includes a device body 10 and a camera device 20. The device body 10 can be detachably connected. When the camera device 20 is separated from the device body 10, the device body 10 is communicatively connected with the camera device 20, and the camera device 20 is provided with a camera 201 and an indicator light 202. The indicator light 202 is used to indicate the adjustment direction of the camera in the shooting state.
本发明实施例中,上述电子设备可以为手机、个人数字助理(Personal Digital Assistant,PDA)和膝上型计算机等智能设备。上述指示灯202可以为发光二极管(Light-Emitting Diode,LED)指示灯,具体可以包括一个或者多个,上述调整方向可以理解为以下至少一项:向上移动、向下移动、向左移动、向右移动、前后翻转(向上翻转或向下翻转)和左右翻转(向左翻转或向右翻转)等。In the embodiment of the present invention, the above-mentioned electronic device may be a smart device such as a mobile phone, a personal digital assistant (PDA), and a laptop computer. The aforementioned indicator light 202 may be a light-emitting diode (Light-Emitting Diode, LED) indicator, which may specifically include one or more. The aforementioned adjustment direction can be understood as at least one of the following: upward movement, downward movement, leftward movement, and forward movement. Move right, flip back and forth (flip up or down) and flip left and right (flip to the left or flip to the right), etc.
具体的,可以通过不同的指示灯指示不同的调整方向,例如指示灯1指示第一调整方向,指示灯2指示第二调整方向;也可以通过同一指示灯的不同指示状态(例如闪烁的频率、显示的颜色或者显示的亮度等状态)指示不同的调整方向,例如指示灯1显示第一颜色指示第一调整方向,指示灯1显示第二颜色指示第二调整方向;还可以通过多个指示灯联合指示某一调整方向。例如,指示灯1和指示灯2同时亮指示第一调整方向,指示灯3和指示灯4同时亮指示第二调整方向。Specifically, different indicator lights can be used to indicate different adjustment directions, for example, indicator light 1 indicates the first adjustment direction, and indicator light 2 indicates the second adjustment direction; it can also be used to indicate different states of the same indicator (such as flashing frequency, The display color or display brightness, etc.) indicate different adjustment directions. For example, the indicator light 1 displays the first color to indicate the first adjustment direction, and the indicator light 1 displays the second color to indicate the second adjustment direction; multiple indicator lights can also be used Jointly indicate a certain adjustment direction. For example, indicator light 1 and indicator light 2 are on at the same time to indicate the first adjustment direction, and indicator light 3 and indicator 4 are on at the same time to indicate the second adjustment direction.
应理解,在一实施例中,可以结合以上指示方式中的一种或者多种方式对应多个调整方向进行指示,具体的指示形式在此不做进一步的限定。It should be understood that, in an embodiment, one or more of the above indication modes may be combined to indicate corresponding multiple adjustment directions, and the specific indication form is not further limited herein.
上述摄像装置20和设备本体10的通信方式可以根据实际需要进行设置,例如可以采用蓝牙和毫米波天线等无线传输方式进行通信。The above-mentioned communication mode between the camera device 20 and the device body 10 can be set according to actual needs. For example, wireless transmission modes such as Bluetooth and millimeter wave antennas can be used for communication.
本发明实施例中,通过在摄像装置上设置指示灯202对摄像装置的调整 方向进行指示,从而在摄像装置与设备本体分离的情况下进行拍摄时,用户可以直接基于摄像装置上指示灯202的指示的调整方向进行拍摄角度的调整,因此,本发明实施例提供的电子设备可以方便用户进行拍摄。In the embodiment of the present invention, an indicator light 202 is provided on the camera device to indicate the adjustment direction of the camera device, so that when the camera device is separated from the device body, the user can directly base on the indicator light 202 on the camera device when shooting. The indicated adjustment direction is used to adjust the shooting angle. Therefore, the electronic device provided in the embodiment of the present invention can facilitate the user to shoot.
可选的,在一实施例中,所述指示灯202的数量指示至少为两个,其中,每一所述指示灯202用于单独指示第一调整方向。Optionally, in an embodiment, the number of indicator lights 202 is at least two, wherein each indicator light 202 is used to individually indicate the first adjustment direction.
本实施例中,上述第一调整方向可以包括向上移动、向下移动、向左移动和向右移动中的至少两项。可选的,为了更好对调整方向进行指示,可以设置指示灯202的位置与对应指示的第一调整方向对应,例如用于指示向上移动的指示灯202位于摄像装置的上方,用于指示向下移动的指示灯202位于摄像装置的下方,用于指示向左移动的指示灯202位于摄像装置的左方,用于指示向右移动的指示灯202位于摄像装置的右方。可选的,上述多个指示灯环绕摄像头201设置,上述上下左右方位基于摄像头的位置定义。换句话说,在本实施例中,所述指示灯202的数量为四个,且每一所述指示灯设置位置与所述指示灯指示的所述第一调整方向对应。这样,方便用户识别指示灯202所指示调整方向。In this embodiment, the above-mentioned first adjustment direction may include at least two of upward movement, downward movement, leftward movement, and rightward movement. Optionally, in order to better indicate the adjustment direction, the position of the indicator light 202 can be set to correspond to the correspondingly indicated first adjustment direction. For example, the indicator light 202 for indicating upward movement is located above the camera device to indicate the direction The downwardly moving indicator light 202 is located below the camera device, the indicator light 202 for indicating leftward movement is located on the left side of the camera device, and the indicator light 202 for indicating rightward movement is located on the right side of the camera device. Optionally, the above-mentioned multiple indicator lights are arranged around the camera 201, and the above-mentioned up, down, left, and right directions are defined based on the position of the camera. In other words, in this embodiment, the number of the indicator lights 202 is four, and the setting position of each indicator light corresponds to the first adjustment direction indicated by the indicator light. In this way, it is convenient for the user to recognize the adjustment direction indicated by the indicator light 202.
进一步的,在一可选实施例中,可以采用多个指示灯202联合指示调整方向,也就是说,N个所述指示灯联合用于联合指示第二调整方向,N为大于1的整数。Further, in an optional embodiment, multiple indicator lights 202 may be used to jointly indicate the adjustment direction, that is, N of the indicator lights are used to jointly indicate the second adjustment direction, and N is an integer greater than 1.
本实施例中,该第二调整方向包括前后翻转和左右翻转中的至少一项,例如,可以通过两个指示灯202同时点亮,表示向前后翻转;通过另外两个指示灯202同时点亮,表示左右翻转。In this embodiment, the second adjustment direction includes at least one of front-to-back flipping and left-to-right flipping. For example, two indicator lights 202 can be turned on at the same time to indicate forward and backward turning; and the other two indicator lights 202 can be turned on at the same time. , Means flip left and right.
为了更好的理解各指示灯202指示的调整方向,以下结合图2对各指示灯指示的调整方向进行说明。In order to better understand the adjustment direction indicated by each indicator light 202, the adjustment direction indicated by each indicator light will be described below with reference to FIG. 2.
灯1亮,表示向上移动摄像装置; Light 1 is on, indicating that the camera is moved upwards;
灯2亮,表示向左移动摄像装置; Light 2 is on, indicating that the camera is moved to the left;
灯3亮,表示向下移动摄像装置; Light 3 is on, indicating that the camera device is moved down;
灯4亮,表示向右移动摄像装置; Light 4 is on, which means moving the camera device to the right;
灯1和灯3亮,表示前后翻转摄像装置; Light 1 and light 3 are on, indicating that the camera device is turned back and forth;
灯2和灯4亮,表示左右翻转摄像装置; Lamp 2 and lamp 4 are on, indicating that the camera device is flipped left and right;
可选的,该摄像装置还包括用于收容摄像头201的壳体203,该壳体203可以为长方体或者圆柱体等结构,如图2所示,以下以长方体为例进行说明。该壳体的第一表面设有与摄像头201适配的摄像头开孔。上述灯1、灯3、灯2和灯4分别设置在摄像装置的上下左右四侧。应理解,灯1、灯3、灯2和灯4可以均设置在该壳体203的第一表面,也可以分别设置在壳体203中与该第一表面相邻的上下左右四个侧面。Optionally, the camera device further includes a housing 203 for accommodating the camera 201. The housing 203 may be a cuboid or a cylindrical structure, as shown in FIG. 2, and the cuboid is taken as an example for description below. The first surface of the casing is provided with a camera opening adapted to the camera 201. The above-mentioned lamp 1, lamp 3, lamp 2, and lamp 4 are respectively arranged on the top, bottom, left, and right sides of the imaging device. It should be understood that the lamp 1, the lamp 3, the lamp 2, and the lamp 4 may all be arranged on the first surface of the housing 203, or may be respectively arranged on the upper, lower, left, and right sides of the housing 203 adjacent to the first surface.
进一步的,在拍摄状态下,所述电子设备用于:根据所述摄像头201采集的图像信息匹配的构图类型,生成所述图像信息的构图数据;根据所述构图数据确定位置调整信息;根据所述位置调整信息控制所述指示灯202指示摄像头201的调整方向。Further, in the shooting state, the electronic device is used to: generate composition data of the image information according to the composition type matched with the image information collected by the camera 201; determine the position adjustment information according to the composition data; The position adjustment information controls the indicator light 202 to indicate the adjustment direction of the camera 201.
在一实施例中,可以由设备本体10根据所述摄像头201采集的图像信息匹配的构图类型,生成所述图像信息的构图数据;根据所述构图数据确定位置调整信息。然后由设备根据位置调整信息输出控制信号至摄像装置,以控制摄像装置中相应的指示灯的工作状态;或者将位置调整信息输出值摄像装置,以供摄像装置根据位置信息控制相应的指示灯的工作状态。In an embodiment, the device body 10 may generate the composition data of the image information according to the composition type matched by the image information collected by the camera 201; and determine the position adjustment information according to the composition data. Then the device outputs a control signal to the camera device according to the position adjustment information to control the working state of the corresponding indicator light in the camera device; or the position adjustment information output value of the camera device, so that the camera device controls the corresponding indicator light according to the position information Working status.
可选的,上述构图类型包括黄金分割、三角形构图、水平线构图、斜线构图、垂直线构图和曲线构图。例如,可以识别图像信息中的关键位置点,基于关键位置点确定与图像信息匹配的构图类型,基于该构图类型分析得到构图数据,该构图数据表示理想位置点与实际位置点的对比信息。Optionally, the above composition types include golden section, triangle composition, horizontal line composition, diagonal line composition, vertical line composition and curve composition. For example, the key position points in the image information can be identified, the composition type matching the image information can be determined based on the key position points, and the composition data can be obtained based on the analysis of the composition type, and the composition data represents the comparison information between the ideal position point and the actual position point.
具体的,可以通过不同的指示灯指示不同的调整方向,例如指示灯1指示第一调整方向,指示灯2指示第二调整方向;也可以通过同一指示灯的不同指示状态(例如闪烁的频率、显示的颜色或者显示的亮度等状态)指示不同的调整方向,例如指示灯1显示第一颜色指示第一调整方向,指示灯1显示第二颜色指示第二调整方向;还可以通过多个指示灯联合指示某一调整方向。例如,指示灯1和指示灯2同时亮指示第一调整方向,指示灯3和指示灯4同时亮指示第二调整方向。Specifically, different indicator lights can be used to indicate different adjustment directions. For example, indicator light 1 indicates the first adjustment direction, and indicator light 2 indicates the second adjustment direction; it can also be used to indicate different states of the same indicator (such as the frequency of flashing, The display color or display brightness, etc.) indicate different adjustment directions. For example, the indicator light 1 displays the first color to indicate the first adjustment direction, and the indicator light 1 displays the second color to indicate the second adjustment direction; multiple indicator lights can also be used Jointly indicate a certain adjustment direction. For example, indicator light 1 and indicator light 2 are on at the same time to indicate the first adjustment direction, and indicator light 3 and indicator 4 are on at the same time to indicate the second adjustment direction.
可选的,在一实施例中,位置调整信息包括调整方向,所述电子设备具体用于:确定用于指示所述调整方向的目标指示灯;控制所述目标指示灯常亮或者闪烁。Optionally, in an embodiment, the position adjustment information includes an adjustment direction, and the electronic device is specifically configured to: determine a target indicator light for indicating the adjustment direction; and control the target indicator light to be on or flashing constantly.
本实施例中,可以由设备本体10确定用于指示所述调整方向的目标指示灯,也可以由摄像装置20确定用于指示所述调整方向的目标指示灯。其中,调整方向和指示灯具有映射关系,通常查找该映射关系即可确定目标指示灯。在确定目标指示灯后,可以控制目标指示灯进入工作状态,以指示对应的调整方向。此时用户可以根据目标指示灯指示的调整方向调整摄像头的拍摄角度,从而提高拍摄的效果。In this embodiment, the device body 10 may determine the target indicator light used to indicate the adjustment direction, or the camera device 20 may determine the target indicator light used to indicate the adjustment direction. Among them, the adjustment direction and the indicator light have a mapping relationship, and usually the target indicator light can be determined by looking up the mapping relationship. After the target indicator is determined, the target indicator can be controlled to enter the working state to indicate the corresponding adjustment direction. At this time, the user can adjust the shooting angle of the camera according to the adjustment direction indicated by the target indicator light, thereby improving the shooting effect.
进一步的,在所述位置调整信息还包括调整位移大小的情况下,所述电子设备具体用于执行以下任一项:Further, in the case where the position adjustment information further includes an adjustment displacement, the electronic device is specifically configured to perform any one of the following:
按照与所述调整位移大小关联的目标电流强度控制所述目标指示灯常亮或者闪烁;Controlling the target indicator light to be on or flashing according to the target current intensity associated with the adjustment displacement;
按照与所述调整位移大小关联的目标频率控制所述目标指示灯闪烁;Controlling the target indicator light to flash according to the target frequency associated with the adjustment displacement;
其中,所述目标电流强度越大,所述调整位移大小越大或者越小;Wherein, the greater the target current intensity, the greater or the smaller the adjustment displacement;
所述目标频率越大,所述调整位移大小越大或者越小。The larger the target frequency, the larger or the smaller the adjustment displacement.
本发明实施例中,通过目标指示灯的闪烁频率和/或目标指示灯的亮度指示调整的位移大小,从而可以方便用户准确调整到最终的位置(即最佳的构图效果),提高了调整的便捷性。例如,在一实施例中,当需要调整的位移越小时,电流强度越小,这样指示灯具有从亮到灭的变化,当指示灯灭掉后,即表示调整到位,无需继续调整。由于在本发明实施例中,增加调整位移大小的指示,从而可以提高指示的准确性。In the embodiment of the present invention, the adjusted displacement size is indicated by the blinking frequency of the target indicator light and/or the brightness of the target indicator light, thereby facilitating the user to accurately adjust to the final position (that is, the best composition effect), and improving the adjustment Convenience. For example, in one embodiment, when the displacement to be adjusted is smaller, the current intensity is smaller, so that the indicator light has a change from on to off. When the indicator light is off, it means that the adjustment is in place and no further adjustment is required. In the embodiment of the present invention, an indication for adjusting the magnitude of the displacement is added, so that the accuracy of the indication can be improved.
需要说明的是,本发明实施例中介绍的多种可选的实施方式,彼此可以相互结合实现,也可以单独实现,对此本发明实施例不作限定。进一步的,参照图3,本发明实施例还提供了一种拍摄提示方法,应用于上述电子设备,所述方法包括:It should be noted that the multiple optional implementation manners introduced in the embodiment of the present invention can be implemented in combination with each other or can be implemented separately, and the embodiment of the present invention does not limit this. Further, referring to FIG. 3, an embodiment of the present invention also provides a shooting prompt method, which is applied to the above-mentioned electronic device, and the method includes:
步骤301,在拍摄状态下,根据所述摄像头采集的图像信息匹配的构图类型,生成所述图像信息的构图数据;Step 301: In the shooting state, generate composition data of the image information according to the composition type matched by the image information collected by the camera;
步骤302,根据所述构图数据确定位置调整信息;Step 302: Determine position adjustment information according to the composition data;
步骤303,根据所述位置调整信息控制指示灯指示摄像头的调整方向。Step 303: Control the indicator light to indicate the adjustment direction of the camera according to the position adjustment information.
可选的,所述位置调整信息包括调整方向,所述根据所述位置调整信息控制指示灯指示摄像头的调整方向包括:Optionally, the position adjustment information includes an adjustment direction, and the controlling the indicator light to indicate the adjustment direction of the camera according to the position adjustment information includes:
确定用于指示所述调整方向的目标指示灯;Determining a target indicator light used to indicate the adjustment direction;
控制所述目标指示灯常亮或者闪烁。Control the target indicator light to be on or flashing.
步骤301,所述位置调整信息还包括调整位移大小,所述控制所述目标指示灯常亮或者闪烁包括以下任一项:In step 301, the position adjustment information further includes adjusting the magnitude of the displacement, and the controlling the target indicator to be on or flashing includes any one of the following:
按照与所述调整位移大小关联的目标电流强度控制所述目标指示灯常亮或者闪烁;Controlling the target indicator light to be on or flashing according to the target current intensity associated with the adjustment displacement;
按照与所述调整位移大小关联的目标频率控制所述目标指示灯闪烁;Controlling the target indicator light to flash according to the target frequency associated with the adjustment displacement;
其中,所述目标电流强度越大,所述调整位移大小越大或者越小;所述目标频率越大,所述调整位移大小越大或者越小。Wherein, the greater the target current intensity, the greater or the smaller the adjustment displacement; the greater the target frequency, the greater or the smaller the adjustment displacement.
应理解,在其他实施例中,上述步骤303可以由摄像装置执行。It should be understood that, in other embodiments, the above step 303 may be performed by a camera device.
本发明实施中,各步骤的实现可以参照上述实施例的描述,在此不再赘述。由于本发明实施例提供的拍摄方法应用于上述实施例中电子设备,因此具有上述电子设备的全部有益效果。In the implementation of the present invention, the implementation of each step can be referred to the description of the above-mentioned embodiment, which will not be repeated here. Since the shooting method provided by the embodiment of the present invention is applied to the electronic device in the above-mentioned embodiment, it has all the beneficial effects of the above-mentioned electronic device.
图4为实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,电子设备还包括设备本体和摄像装置,所述摄像装置与所述设备本体可拆卸连接,在所述摄像装置与所述设备本体分离的情况下,所述设备本体与所述摄像装置通信连接,所述摄像装置设有摄像头和指示灯。Wherein, the electronic device further includes an equipment body and a camera device, the camera device is detachably connected to the device body, and when the camera device is separated from the device body, the device body communicates with the camera device Connected, the camera device is provided with a camera and an indicator light.
处理器410,用于:在拍摄状态下,根据所述摄像头采集的图像信息匹配的构图类型,生成所述图像信息的构图数据;根据所述构图数据确定位置调整信息;根据所述位置调整信息控制指示灯指示摄像头的调整方向。The processor 410 is configured to: in the shooting state, generate composition data of the image information according to the composition type matched by the image information collected by the camera; determine position adjustment information according to the composition data; and determine position adjustment information according to the position adjustment information The control indicator indicates the adjustment direction of the camera.
本发明实施例中,通过在摄像装置上设置指示灯202对摄像装置的调整方向进行指示,从而在摄像装置与设备本体分离的情况下进行拍摄时,用户 可以直接基于摄像装置上指示灯202的指示的调整方向进行拍摄角度的调整,因此本发明实施例提供的电子设备可以方便用户进行拍摄。In the embodiment of the present invention, an indicator light 202 is provided on the camera device to indicate the adjustment direction of the camera device, so that when the camera device is separated from the device body, the user can directly base on the indicator light 202 on the camera device when shooting. The indicated adjustment direction adjusts the shooting angle, so the electronic device provided in the embodiment of the present invention can facilitate the user to shoot.
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信***与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 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 401 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与电子设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
电子设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在电子设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如 横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operate). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of touch event, and then the processor 410 determines the type of touch event according to the touch The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元408为外部装置与电子设备400连接的接口。例如,外部装置 可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device and the electronic device 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc. The interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect the electronic device 400 to an external device. Transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
电子设备400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理***与处理器410逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Preferably, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备400包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 400 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述拍摄提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410. When the computer program is executed by the processor 410, Each process of the foregoing embodiment of the shooting prompt method is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍摄提示方法实 施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned shooting prompt method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的 技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be realized by controlling the relevant hardware through a computer program. The program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), programmable logic devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to execute the present disclosure Other electronic units or a combination of the functions described above.
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technology described in the embodiments of the present disclosure can be implemented by modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure. The software codes can be stored in the memory and executed by the processor. The memory can be implemented in the processor or external to the processor.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (13)

  1. 一种电子设备,包括设备本体和摄像装置,所述摄像装置与所述设备本体可拆卸连接,在所述摄像装置与所述设备本体分离的情况下,所述设备本体与所述摄像装置通信连接,所述摄像装置设有摄像头和指示灯,所述指示灯用于在拍摄状态下,指示摄像头的调整方向。An electronic device, comprising a device body and a camera device, the camera device is detachably connected to the device body, and when the camera device is separated from the device body, the device body communicates with the camera device Connected, the camera device is provided with a camera and an indicator light, and the indicator light is used to indicate the adjustment direction of the camera in the shooting state.
  2. 根据权利要求1所述的电子设备,其中,所述指示灯的数量指示至少为两个,其中,每一所述指示灯用于单独指示第一调整方向。5. The electronic device according to claim 1, wherein the number of indicator lights is at least two, wherein each indicator light is used to individually indicate the first adjustment direction.
  3. 根据权利要求2所述的电子设备,其中,N个所述指示灯联合用于联合指示第二调整方向,N为大于1的整数。3. The electronic device according to claim 2, wherein the N indicator lights are used to jointly indicate the second adjustment direction, and N is an integer greater than 1.
  4. 根据权利要求2所述的电子设备,其中,所述指示灯的数量为4个,且每一所述指示灯设置位置与所述指示灯指示的所述第一调整方向对应。3. The electronic device according to claim 2, wherein the number of the indicator lamps is 4, and each of the indicator lamps is set at a position corresponding to the first adjustment direction indicated by the indicator lamps.
  5. 根据权利要求1所述的电子设备,其中,在拍摄状态下,所述电子设备用于:根据所述摄像头采集的图像信息匹配的构图类型,生成所述图像信息的构图数据,根据所述构图数据确定位置调整信息;根据所述位置调整信息控制所述指示灯指示摄像头的调整方向。The electronic device according to claim 1, wherein, in the shooting state, the electronic device is configured to: generate composition data of the image information according to the composition type matched by the image information collected by the camera, and according to the composition The data determines the position adjustment information; according to the position adjustment information, the indicator light is controlled to indicate the adjustment direction of the camera.
  6. 根据权利要求5所述的电子设备,其中,所述位置调整信息包括调整方向,所述电子设备具体用于:确定用于指示所述调整方向的目标指示灯;控制所述目标指示灯常亮或者闪烁。The electronic device according to claim 5, wherein the position adjustment information includes an adjustment direction, and the electronic device is specifically configured to: determine a target indicator light used to indicate the adjustment direction; and control the target indicator light to be on constantly Or flashing.
  7. 根据权利要求6所述的电子设备,其中,所述位置调整信息还包括调整位移大小,所述电子设备具体用于执行以下任一项:7. The electronic device according to claim 6, wherein the position adjustment information further comprises an adjustment displacement, and the electronic device is specifically configured to perform any one of the following:
    按照与所述调整位移大小关联的目标电流强度控制所述目标指示灯常亮或者闪烁;Controlling the target indicator light to be on or flashing according to the target current intensity associated with the adjustment displacement;
    按照与所述调整位移大小关联的目标频率控制所述目标指示灯闪烁;Controlling the target indicator light to flash according to the target frequency associated with the adjustment displacement;
    其中,所述目标电流强度越大,所述调整位移大小越大或者越小;Wherein, the greater the target current intensity, the greater or the smaller the adjustment displacement;
    所述目标频率越大,所述调整位移大小越大或者越小。The larger the target frequency, the larger or the smaller the adjustment displacement.
  8. 一种拍摄提示方法,应用于权利要求1至4中任一项所述的电子设备,包括:A shooting prompt method, applied to the electronic device according to any one of claims 1 to 4, comprising:
    在拍摄状态下,根据所述摄像头采集的图像信息匹配的构图类型,生成 所述图像信息的构图数据;In the shooting state, generating composition data of the image information according to the composition type matched by the image information collected by the camera;
    根据所述构图数据确定位置调整信息;Determining position adjustment information according to the composition data;
    根据所述位置调整信息控制指示灯指示摄像头的调整方向。According to the position adjustment information, the indicator light is controlled to indicate the adjustment direction of the camera.
  9. 根据权利要求8所述的方法,其中,所述位置调整信息包括调整方向,所述根据所述位置调整信息控制指示灯指示摄像头的调整方向包括:The method according to claim 8, wherein the position adjustment information includes an adjustment direction, and the controlling the indicator light to indicate the adjustment direction of the camera according to the position adjustment information includes:
    确定用于指示所述调整方向的目标指示灯;Determining a target indicator light used to indicate the adjustment direction;
    控制所述目标指示灯常亮或者闪烁。Control the target indicator light to be on or flashing.
  10. 根据权利要求9所述的方法,其中,所述位置调整信息还包括调整位移大小,所述控制所述目标指示灯常亮或者闪烁包括以下任一项:The method according to claim 9, wherein the position adjustment information further comprises adjusting the magnitude of the displacement, and the controlling the target indicator to be on or flashing includes any one of the following:
    按照与所述调整位移大小关联的目标电流强度控制所述目标指示灯常亮或者闪烁;Controlling the target indicator light to be on or flashing according to the target current intensity associated with the adjustment displacement;
    按照与所述调整位移大小关联的目标频率控制所述目标指示灯闪烁;Controlling the target indicator light to flash according to the target frequency associated with the adjustment displacement;
    其中,所述目标电流强度越大,所述调整位移大小越大或者越小;所述目标频率越大,所述调整位移大小越大或者越小。Wherein, the greater the target current intensity, the greater or the smaller the adjustment displacement; the greater the target frequency, the greater or the smaller the adjustment displacement.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求8至10中任一项所述的拍摄提示方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 8 to 10 One of the steps of the shooting reminder method.
  12. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求8至10中任一项所述的拍摄提示方法的步骤。A computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the shooting prompt method according to any one of claims 8 to 10 are realized.
  13. 一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现如权利要求8至10中任一项所述的拍摄提示方法的步骤。A computer software product, the computer software product is stored in a non-volatile storage medium, and the software product is configured to be executed by at least one processor to implement any one of claims 8 to 10 The steps of the shooting tips method.
PCT/CN2021/078416 2020-03-06 2021-03-01 Electronic device and photographing prompting method WO2021175181A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010150241.X 2020-03-06
CN202010150241.XA CN111277763A (en) 2020-03-06 2020-03-06 Electronic equipment and shooting prompting method

Publications (1)

Publication Number Publication Date
WO2021175181A1 true WO2021175181A1 (en) 2021-09-10

Family

ID=71002837

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078416 WO2021175181A1 (en) 2020-03-06 2021-03-01 Electronic device and photographing prompting method

Country Status (2)

Country Link
CN (1) CN111277763A (en)
WO (1) WO2021175181A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277763A (en) * 2020-03-06 2020-06-12 维沃移动通信有限公司 Electronic equipment and shooting prompting method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110008036A1 (en) * 2009-07-08 2011-01-13 Susumu Takatsuka Photographing device and photographing control method
CN102413282A (en) * 2011-10-26 2012-04-11 惠州Tcl移动通信有限公司 Self-shooting guidance method and equipment
CN103618851A (en) * 2013-11-08 2014-03-05 杨睿琦 Self-photographing method and terminal
CN104320585A (en) * 2014-11-06 2015-01-28 广东欧珀移动通信有限公司 Photographing method of mobile terminal, mobile terminal, camera and mobile device
US20150308642A1 (en) * 2014-04-23 2015-10-29 General Led, Inc. Self-Aiming Track Light Fixture System and Method
CN108989665A (en) * 2018-06-26 2018-12-11 Oppo(重庆)智能科技有限公司 Image processing method, device, mobile terminal and computer-readable medium
CN111277763A (en) * 2020-03-06 2020-06-12 维沃移动通信有限公司 Electronic equipment and shooting prompting method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4894712B2 (en) * 2007-10-17 2012-03-14 ソニー株式会社 Composition determination apparatus, composition determination method, and program
CN101771815B (en) * 2008-12-30 2011-12-14 华晶科技股份有限公司 Digital image shooting method
CN101815171B (en) * 2009-02-24 2011-11-23 华晶科技股份有限公司 Image capturing device and automatic shooting position indication method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110008036A1 (en) * 2009-07-08 2011-01-13 Susumu Takatsuka Photographing device and photographing control method
CN102413282A (en) * 2011-10-26 2012-04-11 惠州Tcl移动通信有限公司 Self-shooting guidance method and equipment
CN103618851A (en) * 2013-11-08 2014-03-05 杨睿琦 Self-photographing method and terminal
US20150308642A1 (en) * 2014-04-23 2015-10-29 General Led, Inc. Self-Aiming Track Light Fixture System and Method
CN104320585A (en) * 2014-11-06 2015-01-28 广东欧珀移动通信有限公司 Photographing method of mobile terminal, mobile terminal, camera and mobile device
CN108989665A (en) * 2018-06-26 2018-12-11 Oppo(重庆)智能科技有限公司 Image processing method, device, mobile terminal and computer-readable medium
CN111277763A (en) * 2020-03-06 2020-06-12 维沃移动通信有限公司 Electronic equipment and shooting prompting method

Also Published As

Publication number Publication date
CN111277763A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
WO2021104195A1 (en) Image display method and electronic device
CN108628565B (en) Mobile terminal operation method and mobile terminal
WO2021160065A1 (en) Photographing light filling method, electronic device, and medium
EP3691235A1 (en) Display method and mobile terminal
WO2021204045A1 (en) Audio control method and electronic device
WO2020238497A1 (en) Icon moving method and terminal device
WO2020199984A1 (en) Camera module, and mobile terminal and control method therefor
CN107819935B (en) Control method of mobile terminal and mobile terminal
KR102641922B1 (en) Object positioning methods and electronic devices
WO2021068885A1 (en) Control method and electronic device
WO2021004426A1 (en) Content selection method, and terminal
WO2021004306A1 (en) Operation control method and terminal
WO2021115172A1 (en) Display method and electronic device
WO2021104235A1 (en) Interface control method, electronic device and computer readable storage medium
WO2021077908A1 (en) Parameter adjusting method and electronic device
WO2019228296A1 (en) Display processing method and terminal device
WO2021147911A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
WO2021004281A1 (en) State display method and terminal device
WO2020238562A1 (en) Display method and terminal
WO2021057712A1 (en) Proximity detection method and terminal device
WO2020135042A1 (en) Virtual key display method and terminal
WO2021238806A1 (en) Interface circuit and electronic device
WO2020020060A1 (en) Fill-light module, fingerprint identification method, and terminal device
WO2021104159A1 (en) Display control method and electronic device
WO2021208890A1 (en) Screen capturing method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21764210

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21764210

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21764210

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27-02-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21764210

Country of ref document: EP

Kind code of ref document: A1