WO2022213358A1 - Camera control method, device, and storage medium - Google Patents

Camera control method, device, and storage medium Download PDF

Info

Publication number
WO2022213358A1
WO2022213358A1 PCT/CN2021/086149 CN2021086149W WO2022213358A1 WO 2022213358 A1 WO2022213358 A1 WO 2022213358A1 CN 2021086149 W CN2021086149 W CN 2021086149W WO 2022213358 A1 WO2022213358 A1 WO 2022213358A1
Authority
WO
WIPO (PCT)
Prior art keywords
control function
preset
camera
button
operation information
Prior art date
Application number
PCT/CN2021/086149
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 深圳市大疆创新科技有限公司
Priority to CN202180094800.2A priority Critical patent/CN116965049A/en
Priority to PCT/CN2021/086149 priority patent/WO2022213358A1/en
Publication of WO2022213358A1 publication Critical patent/WO2022213358A1/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

Definitions

  • the embodiments of the present application relate to the field of cameras, and in particular, to a camera control method, device, and storage medium.
  • Cameras are widely used in many fields. According to different application scenarios, they can be divided into different types, including action cameras, front and rear screen cameras, etc.
  • the camera has many functions, such as the front and rear screen switching function, the mode switching function, etc.
  • the control of the above functions is realized through different physical buttons.
  • this will undoubtedly increase the product space structure.
  • it is also necessary to remember the control functions of different buttons, and in some scenarios, it is inconvenient for the user to distinguish different buttons with the naked eye, and may press blindly, which is likely to cause misoperation.
  • Embodiments of the present application provide a camera control method, device, and storage medium, so as to solve the problem that in the prior art, different control functions are implemented by separate physical buttons, resulting in the need to increase the physical structure or reduce the spatial structure of other components inside the camera. question.
  • a first aspect of the embodiments of the present application is to provide a method for controlling a camera, including: detecting operation information of a preset button, where the preset button is used to control the camera, and the preset button corresponds to a plurality of control functions; If the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function.
  • a second aspect of the embodiments of the present application is to provide a camera control device, including: a memory and a processor; the memory is used to store program codes; the processor calls the program codes, and when the program codes are executed , used to perform the following operations: detect the operation information of the preset button, the preset button is used to control the camera; if the operation information of the preset button is detected, control the camera to switch from the current control function to Another control function.
  • a third aspect of the embodiments of the present application is to provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method described in the first aspect.
  • a fourth aspect of the embodiments of the present application is to provide a computer program product, which includes a computer program, which implements the method described in the first aspect when the computer program is executed by a processor.
  • the camera control method, device and storage medium provided by this embodiment detect the operation information of a preset button, the preset button is used to control the camera, and the preset button corresponds to a plurality of control functions; if the preset button is detected operation information, control the camera to switch from the current control function to another control function. Since the preset buttons correspond to multiple control functions, it is possible to integrate multiple control functions on one physical button, and realize the switching of multiple control functions through one physical button. Switch between different control functions based on the spatial structure of other components inside the camera.
  • FIG. 1 is a schematic diagram of a prior art camera
  • FIG. 2 is a flowchart of an embodiment of a camera control method provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of an application scenario of the camera control method applicable to the embodiment of the present application.
  • FIG. 4 is a flowchart of the control function provided by the embodiment of the present application including screen switching, video recording and sequential switching of the camera;
  • FIG. 5 is an example diagram of a control function provided by an embodiment of the present application including screen switching, video recording, and sequential switching of a camera;
  • FIG. 6 is a structural diagram of a camera control device provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a prior art camera. As shown in FIG. 1 , the camera includes a camera body 1 .
  • the camera body 1 is provided with a shooting button 2 , a screen switching button 3 , a mode switching button 4 , a power button 5 , and the like.
  • different shooting modes are provided in the camera for users to obtain different shooting effects. And different shooting modes also need to be switched, so when switching shooting modes, it is also achieved through a separate physical button.
  • adding a physical button will increase the hardware cost, and correspondingly, the software cost will also increase.
  • Adding physical buttons will also increase the volume of the camera. If you want not to increase the volume of the camera, you need to compress the physical space structure of the camera. Compressing the physical space structure will also cause compression of other components inside the camera.
  • the inventor of the present application proposes the following technical idea: integrate multiple control functions of the camera on one physical button, and preset the switching sequence of the multiple control functions, then after detecting the user's response to the physical button After operating the information, you can control the camera to switch the control function.
  • FIG. 2 is a flowchart of an embodiment of a camera control method provided by an embodiment of the present application. As shown in Figure 2, the control method of the camera may include the following steps:
  • Step S201 detecting operation information of a preset button, where the preset button is used to control the camera.
  • FIG. 3 is a schematic diagram of an application scenario of the camera control method applicable to the embodiment of the present application.
  • the application scenario includes: the camera body 30 ; the camera body 30 is provided with a preset button 31 ; the preset button 31 may be any button among the existing buttons on the camera body 30 .
  • the preset button may also be set on the control device of the camera body 30; wherein, the control device may be a remote control, a handle, etc., and the user can control the camera through the remote control, handle, etc., so as to realize the above introduction several control functions.
  • the preset buttons in this embodiment are physical buttons, which may be physical buttons on the camera 30 or physical buttons on the control device.
  • the camera 30 or the control device is internally provided with a controller for detecting the operation information of the physical key.
  • the preset button corresponds to multiple control functions, and there is a preset switching sequence among the multiple control functions.
  • control function may include at least two of the following: switching from front to rear, switching from rear to front, recording mode, photo mode, time-lapse photo mode, panorama photo mode, auto exposure mode, and manual exposure model.
  • Step S202 if the operation information of the preset button is detected, control the camera to switch from the current control function to another control function.
  • the camera is controlled to switch from the current control function to the next control function in the switching sequence indicated by the preset switching rule.
  • the operation information of the preset button is detected, the preset button is used to control the camera, and the preset button corresponds to multiple control functions; if the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function. Since the preset buttons correspond to multiple control functions, it is possible to integrate multiple control functions on one physical button, and realize the switching of multiple control functions through one physical button. Switch between different control functions based on the spatial structure of other components inside the camera.
  • a preset time can also be set, and it is determined whether to switch the control function according to the number of key operations within the preset time range. Specifically, if the operation information of the preset button is detected within the preset time, control the camera to switch from the current control function to another control function; if the operation information of the preset button is not detected within the preset time, execute Current control function.
  • a switching rule can be preset based on the switching sequence introduced above, so that when the operation information of the preset button is detected, the camera can be controlled from the current control according to the preset switching rule according to the preset switching rule.
  • the function switches to the next control function indicated by the switching rule.
  • the handover rule is used to instruct sequential handover or skip handover based on the above-mentioned handover sequence.
  • step S202 of this embodiment specifically includes: if the single operation information of the preset button is detected within the preset time, then according to the preset switching sequence of the control functions, control the camera from the current control The function switches to the next control function.
  • the preset switching sequence includes: control function A-control function B-control function C-...-control function N; then the switching rule of sequence switching means that every time a key operation information is detected, then Control the camera to perform a sequence switching of the control functions according to the above switching sequence. For example, if it is detected that the user has pressed the preset button once within the preset time, and the current control function is the control function A, the camera is controlled to switch from the control function A to the control function B.
  • control function to be switched by the user may not be adjacent to the current control function in the switching sequence.
  • this embodiment also proposes a jump switching rule.
  • the jump switching rules are described in detail below through specific embodiments:
  • step S202 of this embodiment specifically includes: if multiple operation information of the preset button is detected within the preset time, controlling the camera to switch from the current control function to another control function, and then control the camera to switch from the current control function to another control function.
  • a control function is not adjacent to the current control function in the switching sequence, and the number of times of operating the information is related to the number of skipped control functions.
  • the number of times the information is manipulated multiple times is equal to the number of skipped control functions.
  • the preset switching sequence includes: control function A-control function B-control function C-...-control function N; the current control function is control function A, and the user wants to switch to control function C, then The user needs to press the preset button twice within the preset time to switch to the control function C.
  • the preset time may be set to 2-3 seconds.
  • 2-3 seconds are exemplary descriptions, and those skilled in the art can set the preset time according to actual requirements, which is not limited in this embodiment.
  • the switching sequence of the control functions described above can also be customized by the user. That is, the user can set the position of the control function in the switching sequence, for example, set the control function of screen switching to the second or third key response.
  • the method of this embodiment further includes the steps of: acquiring adjustment information for the preset switching sequence; and adjusting the preset switching sequence according to the adjustment information for the preset switching sequence.
  • the current switching sequence includes: control function A-control function B-control function C-...-control function N; Input the adjustment information on the display interface of the camera to place the control function C at the position of the second key response.
  • the camera's controller After receiving the above adjustment information, the camera's controller will adjust the current switching sequence, and the adjusted switching sequence It is: control function A-control function C-control function B-...-control function N.
  • control method of the camera of this embodiment is described in detail below by taking the control functions including screen switching, video recording and taking pictures, and the preset switching sequence of screen switching - video recording - taking pictures as an example:
  • FIG. 4 is a flowchart of a control function provided by an embodiment of the present application including screen switching, video recording, and sequence switching of a camera.
  • FIG. 5 is an example diagram of a control function provided by an embodiment of the present application including screen switching, video recording, and sequential switching of the camera.
  • control method of the camera includes the following steps:
  • Step S401 displaying a viewfinder interface
  • Step S402 if the user presses the preset button, then the confirmation interface for screen switching (screen cut confirmation interface) is displayed;
  • Step S403 judging whether the operation information of the preset button is detected within the preset time
  • Step S404 if the operation information of the preset button is detected within the preset time, a confirmation interface for recording is displayed;
  • Step S405 if the operation information of the preset button is not detected within the preset time, the screen switching action is performed;
  • Step S406 judging whether the operation information of the preset button is detected within the preset time
  • Step S407 if the operation information of the preset button is detected within the preset time, a confirmation interface for taking a photo is displayed;
  • Step S408 if the operation information of the preset button is not detected within the preset time, then switch to the video recording mode;
  • Step S409 judging whether the operation information of the preset button is detected within the preset time
  • Step S410 if the operation information of the preset button is detected within the preset time, a confirmation interface for screen switching is displayed;
  • Step S411 if the operation information of the preset button is not detected within the preset time, switch to the photographing mode.
  • this embodiment can also provide a graphical user interface for the above camera control method to display the above control function switching process, so that the user can intuitively understand the control function switching process. Therefore, this embodiment also provides the following method steps: acquiring preset identification information corresponding to the control function of the camera; displaying the preset identification information on the display interface of the camera; and the preset identification information corresponding to the current control function is different from other control functions.
  • each control function is shown in the form of a circle icon plus text, and the circle corresponding to the current control function is larger than the circle corresponding to other control functions, so that the current control function is displayed to the user, so that the Provides users with an intuitive understanding of current control functions.
  • FIG. 6 is a structural diagram of a camera control device provided by an embodiment of the present application.
  • the camera control device 60 includes: a processor 61 , a memory 62 , and a transceiver 63 .
  • the processor 61 executes the computer-executed instructions stored in the memory, so that the processor 61 executes the solutions in the above-described embodiments.
  • the processor 61 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • the memory 62 is connected to the processor 61 through a system bus and performs mutual communication, and the memory 62 is used for storing computer program instructions.
  • the transceiver 63 can be used to obtain detection information of whether a preset key is operated.
  • the system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the system bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • Transceivers are used to enable communication between the database access device and other computers (eg, clients, read-write libraries, and read-only libraries).
  • Memory may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory).
  • the processor 61 executes the computer execution instructions stored in the memory, so that the processor 61 executes the solution in the above-mentioned embodiment, which specifically includes: detecting the operation information of a preset button, and the preset button is used to control the camera; if When the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function.
  • the process specifically includes: if the operation of the preset button is detected information, the camera is controlled to switch from the current control function to the next control function according to the preset switching rule of the control function.
  • the switching rule is to perform sequential switching based on a preset switching sequence; the processor executes that if the operation information of the preset button is detected, the camera is controlled by the current control
  • the function is switched to another control function, it specifically includes: if the single operation information of the preset button is detected within a preset time, according to the preset switching sequence of the control function, control the camera from the selected control function. The current control function is switched to the next control function.
  • the switching rule is to perform jump switching based on a preset switching sequence; the processor executes, if detecting the operation information of the preset button, to control the camera to switch from When the current control function is switched to another control function, it specifically includes: if multiple operation information of the preset button is detected within a preset time, controlling the camera to switch from the current control function to another control function, so The other control function is not adjacent to the current control function in the switching sequence, and the number of times of the multiple operation information is related to the number of skipped control functions.
  • control function includes at least two of the following: switching the front screen to the rear screen, switching the rear screen to the front screen, video recording mode, photographing mode, time-lapse photographing mode, panoramic photographing mode, automatic exposure mode and manual exposure mode .
  • the processor controls the camera to switch from the current control function to another control function if the operation information of the preset key is detected, the processor is further configured to execute the following: Operation: If the operation information of the preset button is not detected within the preset time, the current control function is executed.
  • the processor is further configured to: acquire adjustment information on the preset switching sequence; and adjust the preset switching sequence according to the adjustment information on the preset switching sequence.
  • the processor is further configured to: acquire preset identification information corresponding to a control function of the camera; display the preset identification information on a display interface of the camera; The preset identification information corresponding to the current control function is different from other control functions.
  • the preset button is a button on the camera, or a button on a control device of the camera.
  • control device includes a remote control and a handle.
  • the computer equipment provided in the embodiments of the present application can be used to implement the technical solutions of the camera control methods in the above embodiments, and the implementation principles and technical effects thereof are similar, and are not repeated here.
  • the embodiment of the present application further provides a chip for running instructions, and the chip is used for implementing the technical solution of the camera control method in the above-mentioned embodiment.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on the computer, the computer can execute the technical solutions of the camera control methods of the above embodiments.
  • Embodiments of the present application further provide a computer program product, where the computer program product includes a computer program, which is stored in a computer-readable storage medium, at least one processor can read the computer program from the computer-readable storage medium, and at least one processor When the computer program is executed, the technical solutions of the camera control method in the above embodiments can be realized.

Landscapes

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

Abstract

Embodiments of the present application provide a camera control method, a device, and a storage medium. The method comprises: detecting operation information of a preset button, the preset button being used for controlling a camera, and the preset button corresponding to multiple control functions; and if the operation information of the preset button is detected, controlling the camera to switch from a current control function to another control function. In the embodiments of the present application, the multiple control functions are integrated on one physical button, and the switching between the multiple control functions is implemented by means of one physical button, so that the switching between different control functions can be implemented without adding a physical structure or reducing spatial structures of other components and parts inside the camera.

Description

相机的控制方法、设备及存储介质Camera control method, device and storage medium 技术领域technical field
本申请实施例涉及相机领域,尤其涉及一种相机的控制方法、设备及存储介质。The embodiments of the present application relate to the field of cameras, and in particular, to a camera control method, device, and storage medium.
背景技术Background technique
相机,在很多领域被广泛使用,根据应用场景的不同,可以划分为不同类型,包括运动相机、前后屏相机等。Cameras are widely used in many fields. According to different application scenarios, they can be divided into different types, including action cameras, front and rear screen cameras, etc.
相机具有很多功能,例如前后屏幕切换功能、模式切换功能等,目前对于上述功能的控制,是通过不同的物理按键来实现的。然而,这对于相机而言,无疑会增加产品空间结构。另外,对于用户而言,也需要记住不同按键的控制功能,而在一些场景下,用户不方便通过肉眼来区分不同按键,可能会盲按,这样很容易造成误操作。The camera has many functions, such as the front and rear screen switching function, the mode switching function, etc. At present, the control of the above functions is realized through different physical buttons. However, for cameras, this will undoubtedly increase the product space structure. In addition, for the user, it is also necessary to remember the control functions of different buttons, and in some scenarios, it is inconvenient for the user to distinguish different buttons with the naked eye, and may press blindly, which is likely to cause misoperation.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种相机的控制方法、设备及存储介质,以解决现有技术中不同控制功能通过单独的物理按键来实现,造成需要增加物理结构或者缩小相机内部其他零部件的空间结构的问题。Embodiments of the present application provide a camera control method, device, and storage medium, so as to solve the problem that in the prior art, different control functions are implemented by separate physical buttons, resulting in the need to increase the physical structure or reduce the spatial structure of other components inside the camera. question.
本申请实施例的第一方面是提供一种相机的控制方法,包括:检测预设按键的操作信息,所述预设按键用于控制所述相机,所述预设按键对应多个控制功能;若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能。A first aspect of the embodiments of the present application is to provide a method for controlling a camera, including: detecting operation information of a preset button, where the preset button is used to control the camera, and the preset button corresponds to a plurality of control functions; If the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function.
本申请实施例的第二方面是提供一种相机的控制设备,包括:存储器和处理器;所述存储器用于存储程序代码;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:检测预设按键的操作信息,所述预设按键用于控制所述相机;若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能。A second aspect of the embodiments of the present application is to provide a camera control device, including: a memory and a processor; the memory is used to store program codes; the processor calls the program codes, and when the program codes are executed , used to perform the following operations: detect the operation information of the preset button, the preset button is used to control the camera; if the operation information of the preset button is detected, control the camera to switch from the current control function to Another control function.
本申请实施例的第三方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。A third aspect of the embodiments of the present application is to provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method described in the first aspect.
本申请实施例的第四方面是提供一种计算机程序产品,其包括计算机程序,该计算机程序被处理器执行时实现第一方面所述的方法。A fourth aspect of the embodiments of the present application is to provide a computer program product, which includes a computer program, which implements the method described in the first aspect when the computer program is executed by a processor.
本实施例提供的相机的控制方法、设备及存储介质,通过检测预设按键的操作信息,该预设按键用于控制相机,且该预设按键对应多个控制功能;若检测到预设按键的操作信息,则控制相机由当前控制功能切换至另一控制功能。由于预设按键对应多个控制功能,因而可以实现将多个控制功能集成在一个物理按键上,并且通过一个物理按键实现多个控制功能的切换,因此,可以实现在不增加物理结构或者不缩小相机内部其他零部件的空间结构的基础上,在不同的控制功能之间进行切换。The camera control method, device and storage medium provided by this embodiment detect the operation information of a preset button, the preset button is used to control the camera, and the preset button corresponds to a plurality of control functions; if the preset button is detected operation information, control the camera to switch from the current control function to another control function. Since the preset buttons correspond to multiple control functions, it is possible to integrate multiple control functions on one physical button, and realize the switching of multiple control functions through one physical button. Switch between different control functions based on the spatial structure of other components inside the camera.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.
图1是现有技术的相机的示意图;1 is a schematic diagram of a prior art camera;
图2为本申请实施例提供的相机的控制方法实施例的流程图;FIG. 2 is a flowchart of an embodiment of a camera control method provided by an embodiment of the present application;
图3为适用于本申请实施例的相机的控制方法的应用场景示意图;FIG. 3 is a schematic diagram of an application scenario of the camera control method applicable to the embodiment of the present application;
图4为本申请实施例提供的控制功能包括屏幕切换、录像和拍照相机的顺序切换的流程图;FIG. 4 is a flowchart of the control function provided by the embodiment of the present application including screen switching, video recording and sequential switching of the camera;
图5为本申请实施例提供的控制功能包括屏幕切换、录像和拍照相机的顺序切换的示例图;FIG. 5 is an example diagram of a control function provided by an embodiment of the present application including screen switching, video recording, and sequential switching of a camera;
图6为本申请实施例提供的相机的控制设备的结构图。FIG. 6 is a structural diagram of a camera control device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的 技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are for the purpose of describing specific embodiments only, and are not intended to limit the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
图1是现有技术的相机的示意图。如图1所示,该相机包括相机本体1,相机本体1上设置有拍摄按键2、屏幕切换按键3、模式切换按键4、电源键5等。FIG. 1 is a schematic diagram of a prior art camera. As shown in FIG. 1 , the camera includes a camera body 1 . The camera body 1 is provided with a shooting button 2 , a screen switching button 3 , a mode switching button 4 , a power button 5 , and the like.
目前,大部分相机为单屏幕相机,或者是前屏为黑白屏幕,后屏为彩色屏幕的双屏相机。对于单屏幕相机而言,用户在很多时候需要自拍以及拍景,此时,就需要进行屏幕切换。而对于双屏相机而言,前屏往往用于基本参数或取景显示,用于拍摄的是后屏,该种情形下,用户也需要进行屏幕切换。在以上两种场景中,用户进行前后屏切换时,是通过相机上单独的物理按键来实现。At present, most cameras are single-screen cameras, or dual-screen cameras with a black and white screen on the front and a color screen on the back. For a single-screen camera, users often need to take selfies and take pictures, and at this time, they need to switch screens. For dual-screen cameras, the front screen is often used for basic parameters or framing display, and the rear screen is used for shooting. In this case, the user also needs to switch screens. In the above two scenarios, when the user switches between the front and rear screens, it is achieved through a separate physical button on the camera.
另外,相机中提供了不同的拍摄模式,以供用户获得不同的拍摄效果。而不同的拍摄模式也需要切换,那么在切换拍摄模式时,也是通过一个单独的物理按键来实现。In addition, different shooting modes are provided in the camera for users to obtain different shooting effects. And different shooting modes also need to be switched, so when switching shooting modes, it is also achieved through a separate physical button.
对于相机而言,增加一个物理按键就会增加硬件成本,相应的,也会增加软件成本。而增加物理按键也会增加相机的体积,若想不增加相机体积,就需要对相机的物理空间结构进行压缩,对物理空间结构进行压缩,又会造成相机内部其他零部件的压缩。For cameras, adding a physical button will increase the hardware cost, and correspondingly, the software cost will also increase. Adding physical buttons will also increase the volume of the camera. If you want not to increase the volume of the camera, you need to compress the physical space structure of the camera. Compressing the physical space structure will also cause compression of other components inside the camera.
针对上述技术问题,本申请的发明人提出如下技术构思:将相机的多个控制功能集成在一个物理按键上,并且预先设置该多个控制功能的切换顺序,那么在检测到用户对物理按键的操作信息后,就可以控制相机进行控制功能的切换。In view of the above technical problems, the inventor of the present application proposes the following technical idea: integrate multiple control functions of the camera on one physical button, and preset the switching sequence of the multiple control functions, then after detecting the user's response to the physical button After operating the information, you can control the camera to switch the control function.
下面以具体的实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
图2为本申请实施例提供的相机的控制方法实施例的流程图。如图2所示,该相机的控制方法可以包括如下步骤:FIG. 2 is a flowchart of an embodiment of a camera control method provided by an embodiment of the present application. As shown in Figure 2, the control method of the camera may include the following steps:
步骤S201、检测预设按键的操作信息,该预设按键用于控制相机。Step S201 , detecting operation information of a preset button, where the preset button is used to control the camera.
图3为适用于本申请实施例的相机的控制方法的应用场景示意图。如图3所示,该应用场景包括:相机本体30;相机本体30上设置有预设按键31;该预设按键31可以是相机本体30上已有按键中的任一按键。FIG. 3 is a schematic diagram of an application scenario of the camera control method applicable to the embodiment of the present application. As shown in FIG. 3 , the application scenario includes: the camera body 30 ; the camera body 30 is provided with a preset button 31 ; the preset button 31 may be any button among the existing buttons on the camera body 30 .
在一些实施例中,预设按键还可以设置在相机本体30的控制设备上;其中,控制设备可以是遥控器、手柄等,用户通过遥控器、手柄等可以对相机进行控制,以实现上述介绍的几种控制功能。In some embodiments, the preset button may also be set on the control device of the camera body 30; wherein, the control device may be a remote control, a handle, etc., and the user can control the camera through the remote control, handle, etc., so as to realize the above introduction several control functions.
本实施例中的预设按键为物理按键,其可以为相机30上的物理按键,也可以为控制设备上的物理按键。相机30或控制设备内部设置有控制器,用于检测该物理按键的操作信息。The preset buttons in this embodiment are physical buttons, which may be physical buttons on the camera 30 or physical buttons on the control device. The camera 30 or the control device is internally provided with a controller for detecting the operation information of the physical key.
其中,该预设按键对应多个控制功能,且该多个控制功能之间具有预设的切换顺序。Wherein, the preset button corresponds to multiple control functions, and there is a preset switching sequence among the multiple control functions.
在一些场景中,控制功能可以包括以下中至少两项:前屏切换至后屏、后屏切换至前屏、录像模式、拍照模式、延时拍照模式、全景拍照模式、自动曝光模式和手动曝光模式。In some scenarios, the control function may include at least two of the following: switching from front to rear, switching from rear to front, recording mode, photo mode, time-lapse photo mode, panorama photo mode, auto exposure mode, and manual exposure model.
步骤S202、若检测到预设按键的操作信息,则控制相机由当前控制功能切换至另一控制功能。Step S202 , if the operation information of the preset button is detected, control the camera to switch from the current control function to another control function.
具体的,若检测到预设按键的操作信息,则根据预设的切换规则,控制相机从当前控制功能切换至预设的切换规则指示的切换顺序中的下一个控制功能。Specifically, if the operation information of the preset button is detected, according to the preset switching rule, the camera is controlled to switch from the current control function to the next control function in the switching sequence indicated by the preset switching rule.
本实施例通过检测预设按键的操作信息,该预设按键用于控制相机,且该预设按键对应多个控制功能;若检测到预设按键的操作信息,则控制相机由当前控制功能切换至另一控制功能。由于预设按键对应多个控制功能,因而可以实现将多个控制功能集成在一个物理按键上,并且通过一个物理按键实现多个控制功能的切换,因此,可以实现在不增加物理结构或者不缩小相机内部其他零部件的空间结构的基础上,在不同的控制功能之间进行切换。In this embodiment, the operation information of the preset button is detected, the preset button is used to control the camera, and the preset button corresponds to multiple control functions; if the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function. Since the preset buttons correspond to multiple control functions, it is possible to integrate multiple control functions on one physical button, and realize the switching of multiple control functions through one physical button. Switch between different control functions based on the spatial structure of other components inside the camera.
在上述实施例的基础上,还可以设置一预设时间,根据该预设时间范 围内的按键操作次数,确定是否进行控制功能的切换。具体的,若在预设时间内检测到预设按键的操作信息,则控制相机由当前控制功能切换至另一控制功能;若在预设时间内未检测到预设按键的操作信息,则执行当前控制功能。On the basis of the above embodiment, a preset time can also be set, and it is determined whether to switch the control function according to the number of key operations within the preset time range. Specifically, if the operation information of the preset button is detected within the preset time, control the camera to switch from the current control function to another control function; if the operation information of the preset button is not detected within the preset time, execute Current control function.
在上述实施例的基础上,本实施例可以基于上述介绍的切换顺序预先设置一切换规则,从而在检测到预设按键的操作信息的情况下,根据预先设置的切换规则,控制相机从当前控制功能切换至切换规则指示的下一个控制功能。其中,该切换规则用于指示基于上述介绍的切换顺序进行顺序切换或跳跃性切换。On the basis of the above embodiment, in this embodiment, a switching rule can be preset based on the switching sequence introduced above, so that when the operation information of the preset button is detected, the camera can be controlled from the current control according to the preset switching rule according to the preset switching rule. The function switches to the next control function indicated by the switching rule. Wherein, the handover rule is used to instruct sequential handover or skip handover based on the above-mentioned handover sequence.
在顺序切换的切换规则中,本实施例的步骤S202具体包括:若在预设时间内检测到预设按键的单次操作信息,则根据预先设置的控制功能的切换顺序,控制相机从当前控制功能切换至下一个控制功能。In the switching rule for sequential switching, step S202 of this embodiment specifically includes: if the single operation information of the preset button is detected within the preset time, then according to the preset switching sequence of the control functions, control the camera from the current control The function switches to the next control function.
本实施例中,若预设的切换顺序包括:控制功能A-控制功能B-控制功能C-……-控制功能N;则顺序切换的切换规则是指,每检测到一次按键操作信息,则控制相机按照上述切换顺序进行一次控制功能的顺序切换。举例来说,若检测到用户在预设时间内对预设按键进行了一次按键操作信息,且当前控制功能为控制功能A,则控制相机从控制功能A切换至控制功能B。In this embodiment, if the preset switching sequence includes: control function A-control function B-control function C-...-control function N; then the switching rule of sequence switching means that every time a key operation information is detected, then Control the camera to perform a sequence switching of the control functions according to the above switching sequence. For example, if it is detected that the user has pressed the preset button once within the preset time, and the current control function is the control function A, the camera is controlled to switch from the control function A to the control function B.
在一些场景中,用户需要切换的控制功能可能与当前控制功能在切换顺序上不相邻,为了实现该种情形下的用户需求,本实施例还提出了一种跳跃性的切换规则。下面通过具体的实施例对跳跃性的切换规则进行详细说明:In some scenarios, the control function to be switched by the user may not be adjacent to the current control function in the switching sequence. In order to meet the user's requirement in this situation, this embodiment also proposes a jump switching rule. The jump switching rules are described in detail below through specific embodiments:
在跳跃性切换的切换规则中,本实施例的步骤S202具体包括:若在预设时间内检测到预设按键的多次操作信息,则控制相机由当前控制功能切换至另一控制功能,另一控制功能与当前控制功能在切换顺序上不相邻,多次操作信息的次数与跳跃的控制功能的数量相关。In the switching rule of skip switching, step S202 of this embodiment specifically includes: if multiple operation information of the preset button is detected within the preset time, controlling the camera to switch from the current control function to another control function, and then control the camera to switch from the current control function to another control function. A control function is not adjacent to the current control function in the switching sequence, and the number of times of operating the information is related to the number of skipped control functions.
具体的,多次操作信息的次数与跳跃的控制功能的数量相等。Specifically, the number of times the information is manipulated multiple times is equal to the number of skipped control functions.
举例来说,若预设的切换顺序包括:控制功能A-控制功能B-控制功能C-……-控制功能N;当前控制功能为控制功能A,而用户想要切换到控制功能C,则用户需要在预设时间内按压两次预设按键,即可切换到控制功能C。For example, if the preset switching sequence includes: control function A-control function B-control function C-...-control function N; the current control function is control function A, and the user wants to switch to control function C, then The user needs to press the preset button twice within the preset time to switch to the control function C.
为了提升用户的视觉效果体验,在用户图形界面的显示上,可以从当 前控制功能的显示画面切换至另一控制功能的显示画面。即,不显示切换顺序中当前控制功能与另一控制功能之间的控制功能。仍然以上述举例进行说明,若用户在预设时间内按下了2次预设按键,且当前控制功能为控制功能A,则是由控制功能A的显示画面直接切换到控制功能C的显示画面。In order to improve the user's visual effect experience, on the display of the user graphical interface, it is possible to switch from the display screen of the current control function to the display screen of another control function. That is, the control function between the current control function and another control function in the switching sequence is not displayed. Still using the above example to illustrate, if the user presses the preset button twice within the preset time, and the current control function is control function A, the display screen of control function A is directly switched to the display screen of control function C. .
在顺序切换和跳跃性切换的实施例中,为了避免等待时间过长影响用户使用体验。在一些示例中,可以将预设时间设置为2-3秒。当然,此处的2-3秒为示例性说明,本领域技术人员可以根据实际需求设置预设时间,本实施例在此不做限定。In the embodiments of sequential switching and skip switching, in order to avoid excessively long waiting time, the user experience is affected. In some examples, the preset time may be set to 2-3 seconds. Of course, the 2-3 seconds here are exemplary descriptions, and those skilled in the art can set the preset time according to actual requirements, which is not limited in this embodiment.
上述介绍的控制功能的切换顺序还可以由用户进行自定义设置。即:用户可以设置控制功能在切换顺序中的位置,例如将屏幕切换的控制功能设置在第二次或第三次按键响应。The switching sequence of the control functions described above can also be customized by the user. That is, the user can set the position of the control function in the switching sequence, for example, set the control function of screen switching to the second or third key response.
具体的,本实施例的方法还包括如下步骤:获取对预设的切换顺序的调整信息;根据对预设的切换顺序的调整信息,对预设的切换顺序进行调整。Specifically, the method of this embodiment further includes the steps of: acquiring adjustment information for the preset switching sequence; and adjusting the preset switching sequence according to the adjustment information for the preset switching sequence.
举例来说,当前的切换顺序包括:控制功能A-控制功能B-控制功能C-……-控制功能N;若用户想要将控制功能C放置在第2次按键响应的位置,则可以在相机的显示界面上输入将控制功能C放置在第2次按键响应的位置的调整信息,则相机的控制器接收到上述调整信息后,就会对当前的切换顺序进行调整,调整后的切换顺序为:控制功能A-控制功能C-控制功能B-……-控制功能N。For example, the current switching sequence includes: control function A-control function B-control function C-...-control function N; Input the adjustment information on the display interface of the camera to place the control function C at the position of the second key response. After receiving the above adjustment information, the camera's controller will adjust the current switching sequence, and the adjusted switching sequence It is: control function A-control function C-control function B-...-control function N.
下面以控制功能包括屏幕切换、录像和拍照,以及预设的切换顺序为屏幕切换-录像-拍照为例,对本实施例的相机的控制方法进行详细说明:The control method of the camera of this embodiment is described in detail below by taking the control functions including screen switching, video recording and taking pictures, and the preset switching sequence of screen switching - video recording - taking pictures as an example:
图4为本申请实施例提供的控制功能包括屏幕切换、录像和拍照相机的顺序切换的流程图。FIG. 4 is a flowchart of a control function provided by an embodiment of the present application including screen switching, video recording, and sequence switching of a camera.
图5为本申请实施例提供的控制功能包括屏幕切换、录像和拍照相机的顺序切换的示例图。FIG. 5 is an example diagram of a control function provided by an embodiment of the present application including screen switching, video recording, and sequential switching of the camera.
如图4所示,该相机的控制方法包括如下步骤:As shown in Figure 4, the control method of the camera includes the following steps:
步骤S401、显示取景界面;Step S401, displaying a viewfinder interface;
步骤S402、若用户按下预设按键,则显示屏幕切换的确认界面(切屏 确认界面);Step S402, if the user presses the preset button, then the confirmation interface for screen switching (screen cut confirmation interface) is displayed;
如图5所示,以后屏和预设时间是2秒为例,若用户在取景界面按下物理按键,则进入到切屏(屏幕切换)与切模(模式切换)的界面,即切换顺序的显示界面。此时,默认显示切换顺序中第一个控制功能,即屏幕切换的控制功能(请参考图5中左列从上往下数第二个显示界面的图)。图5中将当前的控制功能以不同于其他控制功能的标识进行显示。如图5中所示,屏幕切换的控制功能对应的圆圈大于其他控制功能对应的圆圈。As shown in Figure 5, taking the back screen and the preset time of 2 seconds as an example, if the user presses the physical button on the viewfinder interface, it will enter the interface of screen cutting (screen switching) and mode cutting (mode switching), that is, the switching sequence display interface. At this time, the first control function in the switching sequence is displayed by default, that is, the control function of screen switching (please refer to the diagram of the second display interface from top to bottom in the left column in FIG. 5 ). In FIG. 5, the current control function is displayed with a mark different from other control functions. As shown in FIG. 5 , the circle corresponding to the control function of screen switching is larger than the circle corresponding to other control functions.
步骤S403、判断是否在预设时间内检测到预设按键的操作信息;Step S403, judging whether the operation information of the preset button is detected within the preset time;
步骤S404、若在预设时间内检测到预设按键的操作信息,则显示录像的确认界面;Step S404, if the operation information of the preset button is detected within the preset time, a confirmation interface for recording is displayed;
请继续参阅图5,若在2秒内检测到用户再次按下物理按键,则切换至录像模式的控制功能。Please continue to refer to FIG. 5 , if it is detected that the user presses the physical button again within 2 seconds, the control function of switching to the recording mode is performed.
步骤S405、若在预设时间内未检测到预设按键的操作信息,则执行屏幕切换的动作;Step S405, if the operation information of the preset button is not detected within the preset time, the screen switching action is performed;
步骤S406、判断是否在预设时间内检测到预设按键的操作信息;Step S406, judging whether the operation information of the preset button is detected within the preset time;
步骤S407、若在预设时间内检测到预设按键的操作信息,则显示拍照的确认界面;Step S407, if the operation information of the preset button is detected within the preset time, a confirmation interface for taking a photo is displayed;
请继续参阅图5,若在2秒内检测到用户再次按下物理按键,则切换至拍照模式的控制功能。Please continue to refer to FIG. 5 , if it is detected that the user presses the physical button again within 2 seconds, it will switch to the control function of the photographing mode.
步骤S408、若在预设时间内未检测到预设按键的操作信息,则切换至录像模式;Step S408, if the operation information of the preset button is not detected within the preset time, then switch to the video recording mode;
步骤S409、判断是否在预设时间内检测到预设按键的操作信息;Step S409, judging whether the operation information of the preset button is detected within the preset time;
步骤S410、若在预设时间内检测到预设按键的操作信息,则显示屏幕切换的确认界面;Step S410, if the operation information of the preset button is detected within the preset time, a confirmation interface for screen switching is displayed;
步骤S411、若在预设时间内未检测到预设按键的操作信息,则切换至拍照模式。Step S411 , if the operation information of the preset button is not detected within the preset time, switch to the photographing mode.
需要说明的是,上述步骤S401至步骤S411的控制功能的切换过程,可以循环使用。即:切换屏幕-录像-拍照-切换屏幕-录像-拍照……。It should be noted that, the switching process of the control functions in the above steps S401 to S411 can be used cyclically. Namely: switch screen - record - take picture - switch screen - record - take picture... .
另外,前屏与后屏的功能相同,因此可参考关于后屏的实施方式的介绍,此处不再赘述。In addition, the functions of the front screen and the rear screen are the same, so reference may be made to the introduction about the implementation of the rear screen, which will not be repeated here.
在上述实施例的基础上,本实施例还可以对上述相机的控制方法提供一图形用户界面,以对上述控制功能的切换过程进行显示,从而使用户能够直观地了解控制功能的切换过程。因此,本实施例还提供如下方法步骤:获取相机的控制功能对应的预设标识信息;在相机的显示界面上显示预设标识信息;当前控制功能对应的预设标识信息不同于其它控制功能。On the basis of the above embodiment, this embodiment can also provide a graphical user interface for the above camera control method to display the above control function switching process, so that the user can intuitively understand the control function switching process. Therefore, this embodiment also provides the following method steps: acquiring preset identification information corresponding to the control function of the camera; displaying the preset identification information on the display interface of the camera; and the preset identification information corresponding to the current control function is different from other control functions.
请继续参阅图5,图5中将每个控制功能均以圆圈图标加文字的形式示出,且当前控制功能对应的圆圈大于其他控制功能对应的圆圈,从而将当前控制功能展示给用户,以使用户直观地了解当前控制功能。Please continue to refer to FIG. 5. In FIG. 5, each control function is shown in the form of a circle icon plus text, and the circle corresponding to the current control function is larger than the circle corresponding to other control functions, so that the current control function is displayed to the user, so that the Provides users with an intuitive understanding of current control functions.
基于上述相机的控制方法的实施例,本申请实施例还提供了一种相机的控制设备。图6为本申请实施例提供的相机的控制设备的结构图,如图6所示,该相机的控制设备60包括:处理器61、存储器62和收发器63。Based on the above embodiments of the camera control method, an embodiment of the present application further provides a camera control device. FIG. 6 is a structural diagram of a camera control device provided by an embodiment of the present application. As shown in FIG. 6 , the camera control device 60 includes: a processor 61 , a memory 62 , and a transceiver 63 .
处理器61执行存储器存储的计算机执行指令,使得处理器61执行上述实施例中的方案。处理器61可以是通用处理器,包括中央处理器CPU、网络处理器(network processor,NP)等;还可以是数字信号处理器DSP、专用集成电路ASIC、现场可编程门阵列FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor 61 executes the computer-executed instructions stored in the memory, so that the processor 61 executes the solutions in the above-described embodiments. The processor 61 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components.
存储器62通过系统总线与处理器61连接并完成相互间的通信,存储器62用于存储计算机程序指令。The memory 62 is connected to the processor 61 through a system bus and performs mutual communication, and the memory 62 is used for storing computer program instructions.
收发器63可以用于获取预设按键是否进行操作的检测信息。The transceiver 63 can be used to obtain detection information of whether a preset key is operated.
系统总线可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。收发器用于实现数据库访问装置与其他计算机(例如客户端、读写库和只读库)之间的通信。存储器可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory)。The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The system bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Transceivers are used to enable communication between the database access device and other computers (eg, clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory).
具体的,处理器61执行存储器存储的计算机执行指令,使得处理器61执行上述实施例中的方案,具体包括:检测预设按键的操作信息,所述预设按键用于控制所述相机;若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能。Specifically, the processor 61 executes the computer execution instructions stored in the memory, so that the processor 61 executes the solution in the above-mentioned embodiment, which specifically includes: detecting the operation information of a preset button, and the preset button is used to control the camera; if When the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function.
具体的,所述处理器执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能时,具体包括:若检测到所述预设按键的操作信息,则根据预先设置的所述控制功能的切换规则,控制所述相机从所述当前控制功能切换至下一个控制功能。Specifically, when the processor controls the camera to switch from the current control function to another control function if the operation information of the preset button is detected, the process specifically includes: if the operation of the preset button is detected information, the camera is controlled to switch from the current control function to the next control function according to the preset switching rule of the control function.
在一种可选的实施方式中,所述切换规则为基于预设的切换顺序进行顺序切换;所述处理器执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能时,具体包括:若在预设时间内检测到所述预设按键的单次操作信息,则根据预先设置的所述控制功能的切换顺序,控制所述相机从所述当前控制功能切换至下一个控制功能。In an optional implementation manner, the switching rule is to perform sequential switching based on a preset switching sequence; the processor executes that if the operation information of the preset button is detected, the camera is controlled by the current control When the function is switched to another control function, it specifically includes: if the single operation information of the preset button is detected within a preset time, according to the preset switching sequence of the control function, control the camera from the selected control function. The current control function is switched to the next control function.
在另一种可选的实施方式中,所述切换规则为基于预设的切换顺序进行跳跃性切换;所述处理器执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能时,具体包括:若在预设时间内检测到所述预设按键的多次操作信息,则控制所述相机由当前控制功能切换至另一控制功能,所述另一控制功能与所述当前控制功能在所述切换顺序上不相邻,所述多次操作信息的次数与跳跃的控制功能的数量相关。In another optional implementation manner, the switching rule is to perform jump switching based on a preset switching sequence; the processor executes, if detecting the operation information of the preset button, to control the camera to switch from When the current control function is switched to another control function, it specifically includes: if multiple operation information of the preset button is detected within a preset time, controlling the camera to switch from the current control function to another control function, so The other control function is not adjacent to the current control function in the switching sequence, and the number of times of the multiple operation information is related to the number of skipped control functions.
具体的,所述控制功能包括以下中至少两项:前屏切换至后屏、后屏切换至前屏、录像模式、拍照模式、延时拍照模式、全景拍照模式、自动曝光模式和手动曝光模式。Specifically, the control function includes at least two of the following: switching the front screen to the rear screen, switching the rear screen to the front screen, video recording mode, photographing mode, time-lapse photographing mode, panoramic photographing mode, automatic exposure mode and manual exposure mode .
在一种可选的实施方式中,所述处理器在执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能之后,还用于执行以下操作:若在预设时间内未检测到所述预设按键的操作信息,则执行所述当前控制功能。In an optional implementation manner, after the processor controls the camera to switch from the current control function to another control function if the operation information of the preset key is detected, the processor is further configured to execute the following: Operation: If the operation information of the preset button is not detected within the preset time, the current control function is executed.
在一种可选的实施方式中,所述处理器还用于:获取对预设的切换顺序的调整信息;根据对预设的切换顺序的调整信息,对预设的切换顺序进行调整。In an optional implementation manner, the processor is further configured to: acquire adjustment information on the preset switching sequence; and adjust the preset switching sequence according to the adjustment information on the preset switching sequence.
在一种可选的实施方式中,所述处理器还用于:获取所述相机的控制功能对应的预设标识信息;在所述相机的显示界面上显示所述预设标识信息;所述当前控制功能对应的预设标识信息不同于其它控制功能。In an optional implementation manner, the processor is further configured to: acquire preset identification information corresponding to a control function of the camera; display the preset identification information on a display interface of the camera; The preset identification information corresponding to the current control function is different from other control functions.
具体的,所述预设按键为所述相机上的按键,或者所述相机的控制设 备上的按键。Specifically, the preset button is a button on the camera, or a button on a control device of the camera.
其中,所述控制设备包括遥控器、手柄。Wherein, the control device includes a remote control and a handle.
本申请实施例提供的计算机设备,可用于执行上述实施例中相机的控制方法的技术方案,其实现原理和技术效果类似,在此不再赘述。The computer equipment provided in the embodiments of the present application can be used to implement the technical solutions of the camera control methods in the above embodiments, and the implementation principles and technical effects thereof are similar, and are not repeated here.
本申请实施例还提供一种运行指令的芯片,该芯片用于执行上述实施例中相机的控制方法的技术方案。The embodiment of the present application further provides a chip for running instructions, and the chip is used for implementing the technical solution of the camera control method in the above-mentioned embodiment.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行上述实施例相机的控制方法的技术方案。Embodiments of the present application further provide a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on the computer, the computer can execute the technical solutions of the camera control methods of the above embodiments.
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,其存储在计算机可读存储介质中,至少一个处理器可以从计算机可读存储介质读取计算机程序,至少一个处理器执行计算机程序时可实现上述实施例中相机的控制方法的技术方案。Embodiments of the present application further provide a computer program product, where the computer program product includes a computer program, which is stored in a computer-readable storage medium, at least one processor can read the computer program from the computer-readable storage medium, and at least one processor When the computer program is executed, the technical solutions of the camera control method in the above embodiments can be realized.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. scope.

Claims (22)

  1. 一种相机的控制方法,其特征在于,包括:A method for controlling a camera, comprising:
    检测预设按键的操作信息,所述预设按键用于控制所述相机,所述预设按键对应多个控制功能;Detecting operation information of a preset button, the preset button is used to control the camera, and the preset button corresponds to a plurality of control functions;
    若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能。If the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function.
  2. 根据权利要求1所述的方法,其特征在于,所述若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能,包括:The method according to claim 1, wherein the controlling the camera to switch from a current control function to another control function if the operation information of the preset button is detected, comprising:
    若检测到所述预设按键的操作信息,则根据预先设置的所述控制功能的切换规则,控制所述相机从所述当前控制功能切换至另一个控制功能。If the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function according to the preset switching rule of the control function.
  3. 根据权利要求2所述的方法,其特征在于,所述切换规则为基于预设的切换顺序进行顺序切换;The method according to claim 2, wherein the switching rule is to perform sequential switching based on a preset switching sequence;
    所述若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能,包括:The controlling the camera to switch from the current control function to another control function if the operation information of the preset button is detected, including:
    若在预设时间内检测到所述预设按键的单次操作信息,则根据预先设置的所述控制功能的切换顺序,控制所述相机从所述当前控制功能切换至下一个控制功能。If the single operation information of the preset button is detected within a preset time, the camera is controlled to switch from the current control function to the next control function according to the preset switching sequence of the control functions.
  4. 根据权利要求2所述的方法,其特征在于,所述切换规则为基于预设的切换顺序进行跳跃性切换;The method according to claim 2, wherein the switching rule is to perform skip switching based on a preset switching sequence;
    所述若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能,包括:The controlling the camera to switch from the current control function to another control function if the operation information of the preset button is detected, including:
    若在预设时间内检测到所述预设按键的多次操作信息,则控制所述相机由当前控制功能切换至另一控制功能,所述另一控制功能与所述当前控制功能在所述切换顺序上不相邻,所述多次操作信息的次数与跳跃的控制功能的数量相关。If multiple operation information of the preset button is detected within a preset time, control the camera to switch from the current control function to another control function, and the other control function and the current control function are in the The switching sequence is not adjacent, and the number of times of the multiple operation information is related to the number of skipped control functions.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述控制功能包括以下中至少两项:The method according to any one of claims 1-4, wherein the control function includes at least two of the following:
    前屏切换至后屏、后屏切换至前屏、录像模式、拍照模式、延时拍照模式、全景拍照模式、自动曝光模式和手动曝光模式。The front screen switches to the rear screen, the rear screen switches to the front screen, the video mode, the photo mode, the time-lapse photo mode, the panoramic photo mode, the automatic exposure mode and the manual exposure mode.
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能之后,所述方法还包括:The method according to any one of claims 1-4, wherein, after the camera is controlled to switch from a current control function to another control function if the operation information of the preset button is detected, the The method also includes:
    若在预设时间内未检测到所述预设按键的操作信息,则执行所述当前控制功能。If the operation information of the preset key is not detected within the preset time, the current control function is executed.
  7. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    获取对预设的切换顺序的调整信息;Obtain the adjustment information for the preset switching sequence;
    根据对所述预设的切换顺序的调整信息,对所述预设的切换顺序进行调整。The preset switching sequence is adjusted according to the adjustment information on the preset switching sequence.
  8. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    获取所述相机的控制功能对应的预设标识信息;acquiring preset identification information corresponding to the control function of the camera;
    在所述相机的显示界面上显示所述预设标识信息;displaying the preset identification information on the display interface of the camera;
    所述当前控制功能对应的预设标识信息不同于其它控制功能。The preset identification information corresponding to the current control function is different from other control functions.
  9. 根据权利要求1-4任一项所述的方法,其特征在于,所述预设按键为所述相机上的按键,或者所述相机的控制设备上的按键。The method according to any one of claims 1-4, wherein the preset button is a button on the camera or a button on a control device of the camera.
  10. 根据权利要求9所述的方法,其特征在于,所述控制设备包括遥控器、手柄。The method according to claim 9, wherein the control device comprises a remote control and a handle.
  11. 一种相机的控制设备,其特征在于,包括:存储器和处理器;A camera control device, comprising: a memory and a processor;
    所述存储器用于存储程序代码;the memory is used to store program codes;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is configured to perform the following operations:
    检测预设按键的操作信息,所述预设按键用于控制所述相机;Detecting operation information of a preset button, where the preset button is used to control the camera;
    若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能。If the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function.
  12. 根据权利要求11所述的设备,其特征在于,所述处理器执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能时,具体包括:The device according to claim 11, wherein when the processor controls the camera to switch from a current control function to another control function if the operation information of the preset button is detected, the process specifically includes:
    若检测到所述预设按键的操作信息,则根据预先设置的所述控制功能 的切换规则,控制所述相机从所述当前控制功能切换至另一个控制功能。If the operation information of the preset button is detected, the camera is controlled to switch from the current control function to another control function according to the preset switching rule of the control function.
  13. 根据权利要求12所述的设备,其特征在于,所述切换规则为基于预设的切换顺序进行顺序切换;The device according to claim 12, wherein the switching rule is to perform sequential switching based on a preset switching sequence;
    所述处理器执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能时,具体包括:When the processor controls the camera to switch from the current control function to another control function if the operation information of the preset button is detected, specifically:
    若在预设时间内检测到所述预设按键的单次操作信息,则根据预先设置的所述控制功能的切换顺序,控制所述相机从所述当前控制功能切换至下一个控制功能。If the single operation information of the preset button is detected within a preset time, the camera is controlled to switch from the current control function to the next control function according to the preset switching sequence of the control functions.
  14. 根据权利要求12所述的设备,其特征在于,所述切换规则为基于预设的切换顺序进行跳跃性切换;The device according to claim 12, wherein the switching rule is to perform skip switching based on a preset switching sequence;
    所述处理器执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能时,具体包括:When the processor controls the camera to switch from the current control function to another control function if the operation information of the preset button is detected, specifically:
    若在预设时间内检测到所述预设按键的多次操作信息,则控制所述相机由当前控制功能切换至另一控制功能,所述另一控制功能与所述当前控制功能在所述切换顺序上不相邻,所述多次操作信息的次数与跳跃的控制功能的数量相关。If multiple operation information of the preset button is detected within a preset time, control the camera to switch from the current control function to another control function, and the other control function and the current control function are in the The switching sequence is not adjacent, and the number of times of the multiple operation information is related to the number of skipped control functions.
  15. 根据权利要求11-14任一项所述的设备,其特征在于,所述控制功能包括以下中至少两项:The device according to any one of claims 11-14, wherein the control function includes at least two of the following:
    前屏切换至后屏、后屏切换至前屏、录像模式、拍照模式、延时拍照模式、全景拍照模式、自动曝光模式和手动曝光模式。The front screen switches to the rear screen, the rear screen switches to the front screen, the video mode, the photo mode, the time-lapse photo mode, the panoramic photo mode, the automatic exposure mode and the manual exposure mode.
  16. 根据权利要求11-14任一项所述的设备,其特征在于,所述处理器在执行若检测到所述预设按键的操作信息,则控制所述相机由当前控制功能切换至另一控制功能之后,还用于执行以下操作:The device according to any one of claims 11-14, wherein the processor controls the camera to switch from the current control function to another control function if the operation information of the preset key is detected when the processor is executing After the function, it is also used to do the following:
    若在预设时间内未检测到所述预设按键的操作信息,则执行所述当前控制功能。If the operation information of the preset key is not detected within the preset time, the current control function is executed.
  17. 根据权利要求11-14任一项所述的设备,其特征在于,所述处理器还用于:The device according to any one of claims 11-14, wherein the processor is further configured to:
    获取对预设的切换顺序的调整信息;Obtain the adjustment information for the preset switching sequence;
    根据对预设的切换顺序的调整信息,对预设的切换顺序进行调整。The preset switching sequence is adjusted according to the adjustment information on the preset switching sequence.
  18. 根据权利要求11-14任一项所述的设备,其特征在于,所述处理 器还用于:The device according to any one of claims 11-14, wherein the processor is further configured to:
    获取所述相机的控制功能对应的预设标识信息;acquiring preset identification information corresponding to the control function of the camera;
    在所述相机的显示界面上显示所述预设标识信息;displaying the preset identification information on the display interface of the camera;
    所述当前控制功能对应的预设标识信息不同于其它控制功能。The preset identification information corresponding to the current control function is different from other control functions.
  19. 根据权利要求11-14任一项所述的设备,其特征在于,所述预设按键为所述相机上的按键,或者所述相机的控制设备上的按键。The device according to any one of claims 11-14, wherein the preset button is a button on the camera, or a button on a control device of the camera.
  20. 根据权利要求19所述的设备,其特征在于,所述控制设备包括遥控器、手柄。The device according to claim 19, wherein the control device comprises a remote control and a handle.
  21. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-10任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1-10.
  22. 一种计算机程序产品,其特征在于,包括计算机程序,该计算机程序被处理器执行时实现权利要求1-10中任一项所述的方法。A computer program product, characterized in that it includes a computer program, which implements the method of any one of claims 1-10 when the computer program is executed by a processor.
PCT/CN2021/086149 2021-04-09 2021-04-09 Camera control method, device, and storage medium WO2022213358A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180094800.2A CN116965049A (en) 2021-04-09 2021-04-09 Camera control method, device and storage medium
PCT/CN2021/086149 WO2022213358A1 (en) 2021-04-09 2021-04-09 Camera control method, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/086149 WO2022213358A1 (en) 2021-04-09 2021-04-09 Camera control method, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022213358A1 true WO2022213358A1 (en) 2022-10-13

Family

ID=83545018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/086149 WO2022213358A1 (en) 2021-04-09 2021-04-09 Camera control method, device, and storage medium

Country Status (2)

Country Link
CN (1) CN116965049A (en)
WO (1) WO2022213358A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5111299A (en) * 1988-10-04 1992-05-05 Asahi Kogaku Kogyo Kabushiki Kaisha Still video camera
CN101310519A (en) * 2006-01-30 2008-11-19 索尼株式会社 Imaging device, display control method, and program
CN104796599A (en) * 2014-01-17 2015-07-22 宏达国际电子股份有限公司 Controlling method suitable for an electronic apparatus with one switch button
CN106303219A (en) * 2016-07-29 2017-01-04 广东小天才科技有限公司 A kind of exposal model changing method, device and self-shooting bar
CN106603778A (en) * 2016-12-29 2017-04-26 东莞市真爱酷橡塑制品有限公司 Mobile phone selfie stick
CN109669515A (en) * 2018-12-17 2019-04-23 武汉华星光电半导体显示技术有限公司 A kind of two-sided panel type display and the method for controlling its switching

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5111299A (en) * 1988-10-04 1992-05-05 Asahi Kogaku Kogyo Kabushiki Kaisha Still video camera
CN101310519A (en) * 2006-01-30 2008-11-19 索尼株式会社 Imaging device, display control method, and program
CN104796599A (en) * 2014-01-17 2015-07-22 宏达国际电子股份有限公司 Controlling method suitable for an electronic apparatus with one switch button
CN106303219A (en) * 2016-07-29 2017-01-04 广东小天才科技有限公司 A kind of exposal model changing method, device and self-shooting bar
CN106603778A (en) * 2016-12-29 2017-04-26 东莞市真爱酷橡塑制品有限公司 Mobile phone selfie stick
CN109669515A (en) * 2018-12-17 2019-04-23 武汉华星光电半导体显示技术有限公司 A kind of two-sided panel type display and the method for controlling its switching

Also Published As

Publication number Publication date
CN116965049A (en) 2023-10-27

Similar Documents

Publication Publication Date Title
EP3672262A1 (en) Operation method, device, apparatus and storage medium of playing video
US9667774B2 (en) Methods and devices for sending virtual information card
RU2630167C1 (en) Method and device for switching colour range mode
US20170070678A1 (en) Image capturing device having continuous image capture
JP7166171B2 (en) INTERFACE IMAGE DISPLAY METHOD, APPARATUS AND PROGRAM
US20230308778A1 (en) Photographing method and apparatus, electronic device, and storage medium
US20220417417A1 (en) Content Operation Method and Device, Terminal, and Storage Medium
JP6461107B2 (en) Picture display method and apparatus
CN112312016B (en) Shooting processing method and device, electronic equipment and readable storage medium
US20180035170A1 (en) Method and device for controlling playing state
CN112637515B (en) Shooting method and device and electronic equipment
US9177395B2 (en) Display device and display method for providing image display in first color mode and second color mode
US20140118598A1 (en) Photographing apparatus and method of controlling the same
US20100033582A1 (en) Method and apparatus for controlling thumbnail display and digital photographing apparatus
CN115134505B (en) Preview picture generation method and device, electronic equipment and storage medium
US11016660B2 (en) Method and apparatus for responding to gesture operation and storage medium
WO2022213358A1 (en) Camera control method, device, and storage medium
CN111343386B (en) Image signal processing method and device, electronic device and storage medium
US11089224B2 (en) Imaging apparatus
US20180007279A1 (en) Information processing apparatus, method of controlling image display, and storage medium
TWM519367U (en) Camera system capable of fast switching recording mode
CN111343375A (en) Image signal processing method and device, electronic device and storage medium
JP6590560B2 (en) Imaging control apparatus and control method thereof
US20240221253A1 (en) Picture editing method, electronic device, and storage medium
US11363190B2 (en) Image capturing method and 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: 21935585

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180094800.2

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21935585

Country of ref document: EP

Kind code of ref document: A1