CN112637508A - Camera control method and device and electronic equipment - Google Patents

Camera control method and device and electronic equipment Download PDF

Info

Publication number
CN112637508A
CN112637508A CN202011645209.5A CN202011645209A CN112637508A CN 112637508 A CN112637508 A CN 112637508A CN 202011645209 A CN202011645209 A CN 202011645209A CN 112637508 A CN112637508 A CN 112637508A
Authority
CN
China
Prior art keywords
camera
target object
input
setting
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011645209.5A
Other languages
Chinese (zh)
Other versions
CN112637508B (en
Inventor
夏福珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011645209.5A priority Critical patent/CN112637508B/en
Publication of CN112637508A publication Critical patent/CN112637508A/en
Application granted granted Critical
Publication of CN112637508B publication Critical patent/CN112637508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a control method and device of a camera and electronic equipment, and belongs to the technical field of communication. The control method of the camera comprises the following steps: receiving a first input under the condition that an instant messaging connection is established with a target object through a first application program; responding to the first input, and starting a corresponding target camera according to the camera authority corresponding to the target object; and acquiring the content shot by the target camera, and sending the content to the target object. According to the camera control method provided by the embodiment of the application, various camera calling modes are provided for different target objects, the requirements of users on shooting image quality when the users communicate with different objects can be met, and the user experience is better. In addition, the running speed of the camera can be improved while the picture quality of the pictures and the video is ensured.

Description

Camera control method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a control method and device of a camera and electronic equipment.
Background
Currently, in the process of using communication software to perform instant messaging with friends, a user can use the communication software to perform operations such as video, photographing and screen capturing. For example, in the process of a video of a user and a friend, the user can use communication software to record the video or capture a screen so as to record some moments of the user, and a good memory can be left for the user.
In the process of implementing the application, the inventor finds that in the prior art, only a system camera at the bottom layer of a mobile terminal can be called when communication software is used for shooting or video, so that the quality of the obtained pictures and videos is poor, and the user experience is influenced. In addition, for a mobile terminal having a plurality of cameras, one of the cameras or all of the cameras is used by default when photographing or video is performed using communication software. Thus, if one camera is used by default, the quality of the obtained pictures and videos is poor, and if all cameras are used by default, the running speed of the pictures or videos is influenced, and the user experience is influenced. Therefore, it is necessary to provide a technical solution for controlling the camera, which can improve the operation speed while ensuring the picture quality of the photos and videos.
Content of application
The embodiment of the application aims to provide a control method and device of a camera and electronic equipment, which can solve the problem that the authority of the camera cannot be changed, ensure the picture quality of pictures and videos and improve the running speed of the camera.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling a camera, where the method includes:
receiving a first input under the condition that an instant messaging connection is established with a target object through a first application program;
responding to the first input, and starting a corresponding target camera according to the camera authority corresponding to the target object;
and acquiring the content shot by the target camera, and sending the content to the target object.
In a second aspect, an embodiment of the present application provides a control apparatus for a camera, where the apparatus includes:
the first receiving module is used for receiving first input under the condition that instant messaging connection is established between the first receiving module and a target object through a first application program;
the first response module is used for responding to the first input and starting a corresponding target camera according to the camera authority corresponding to the target object;
and the first acquisition module is used for acquiring the content shot by the target camera and sending the content to the target object.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the instant messaging connection is established with the target object through the first application program, a first input is received; and responding to the first input, starting a corresponding target camera according to the camera authority corresponding to the target object, and sending the content shot by the target camera to the target object. Therefore, the camera control method provided by the embodiment of the application provides various camera calling modes for different target objects, can meet the requirements of users on shooting image quality when communicating with different objects, and is better in user experience. In addition, the running speed of the camera can be improved while the picture quality of the pictures and the video is ensured.
Drawings
Fig. 1 is a schematic flowchart of a control method of a camera according to an embodiment of the present invention;
FIGS. 2-8 are schematic interface diagrams of a first application according to embodiments of the present invention;
fig. 9 is a block schematic diagram of a control device of the camera according to the embodiment of the present invention;
FIG. 10 is a block schematic diagram of an electronic device of an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a camera control method provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a camera control method, including:
step 101, receiving a first input under the condition that an instant communication connection is established with a target object through a first application program.
In this embodiment, the method for controlling a camera provided in this embodiment of the present application may be applied to an electronic device. The electronic device includes a first application and a plurality of cameras.
The first application may be, for example, an instant messaging application. A user may use a first application to communicate with other users. In addition, in the process that the user communicates with other users through the first application program, one or more cameras of the electronic equipment can be called through the first application program, so that functions of photographing, video recording, screen capturing and the like can be realized. For example, during the process that the user communicates with the target object through the first application program, the camera can be called to take a picture, and the picture is sent to other communicating users. For example, during a video call between a user and a target object through the first application program, a camera may be called to perform video recording or screen capturing operation, so as to record some moments of the video call process.
The target object may refer to an object for instant messaging by the user through the first application. For example, a buddy list is included in the first application, and the user may select one of the buddies from the buddy list as the target object. Also for example, the user may add a new friend using the first application, targeting the new friend being added.
The first input may refer to an input for invoking a camera. Illustratively, the interface for instant messaging between the user and the target object through the first application program comprises an interaction control of 'shooting', an interaction control of 'video call', and the like. For example, the first input may be a touch operation to an interactive control of "shoot". Also for example, the first input may be a touch operation to an interactive control of "video call".
And 102, responding to the first input, and starting a corresponding target camera according to the camera authority corresponding to the target object.
In this embodiment, the electronic apparatus has a plurality of cameras. The camera permission refers to the number of started cameras and the specific number of started cameras when the cameras are called through the first application program. For example, assuming that the electronic device includes six cameras, namely, camera 1, camera 2, camera 3, camera 4, camera 5, and camera 6, the camera authority may be to start up camera 1 and camera 2 when the cameras are called by the first application. The camera authority may be to start the camera 1, the camera 3 and the camera 5 when the camera is called by the first application.
And 103, acquiring the content shot by the target camera, and sending the content to the target object.
According to the embodiment of the application, different target camera authorities can be set for different target objects according to the actual needs of users, and therefore when first input is received, corresponding target cameras can be started according to the camera authorities corresponding to the target objects in response to the first input. The camera control method provided by the embodiment of the application provides various camera calling modes for different target objects, can meet the requirements of users on the shooting image quality when communicating with different objects, and is better in user experience. In addition, the control method of the camera provided by the embodiment of the application can improve the running speed of the camera while ensuring the picture quality of the pictures and the video.
In this embodiment, the user can set different camera permissions for different target objects according to actual needs. In some embodiments of the present application, before receiving the first input, a step of setting a camera right for the target object may be further included. For example, a target object may be selected from a buddy list of the first application, and a camera right may be set for the target object. For example, when a new friend is added by using the first application program, the new friend being added can be used as a target object, and the camera authority can be set for the target object.
The following describes some specific examples of the steps of setting the camera rights for the target object.
In some embodiments of the present application, before the receiving the first input, the method for controlling the camera may further include:
step 201, receiving a second input of the first setting interface aiming at the target object.
The first setting interface of the target object comprises a plurality of interactive controls, and the second setting interface is accessed in response to the operation of the user on the interactive controls, so that the user can set the camera permission for the target object. The first setting interface can be a material setting interface of the target object, and the second setting interface can be a camera authority setting interface.
Taking the first application as an instant messaging application as an example, as shown in fig. 2, the first setting interface of the target object is a data setting interface of the target object, and the data setting interface includes options of "set remarks and labels", "friend permission", "recommend him to friends", and the like. In this example, the profile setting interface may further include an interactive control for the camera authority.
Step 202, responding to the second input, and displaying a second setting interface, wherein the second setting interface comprises a first preset control corresponding to at least one camera.
The second input may refer to an input for displaying the second setting interface. Referring to FIG. 2, the second input may be a double click on the "Material settings" area. The second input may also be a touch operation on an interactive control of "camera permission.
The second setting interface may be, for example, a camera permission setting interface. The second setting interface may include at least one first preset control labeled with a camera number, for example, see fig. 3, and the camera permission setting interface includes first preset controls labeled with a camera 01, a camera 02, a camera 03, a camera 04, a camera 05, and a camera 06, respectively. The second setting interface may further include camera information corresponding to the at least one camera and a first preset control corresponding to the at least one camera, where the camera information may be a serial number of the camera, for example, see fig. 5, the camera permission setting interface includes a camera a, a camera B, a camera C, a camera D, a camera E, and a camera F, and each camera is correspondingly provided with the first preset control 51.
Step 203, responding to a third input aiming at the first preset control corresponding to the at least one camera, and setting camera permission for the target object.
The third input may refer to an input for turning the camera on or off. For example, the third input may be a touch operation on a first preset control labeled with a camera number, and the corresponding camera is turned on or off in response to an operation of a user on the first preset control.
For example, referring to fig. 3, the second setting interface, i.e., the camera setting interface, is labeled with the first preset controls of the camera 01, the camera 02, the camera 03, the camera 04, the camera 05, and the camera 06, respectively. At this time, all six cameras of the electronic device are in an on state. As shown in fig. 4, when the user clicks the first preset control labeled with "camera 01", the authority of the camera 01 is turned off, that is, the camera 01 is in the stop state. At this time, the first preset control labeled with "camera 01" may be hidden or displayed in gray. When the user clicks the first preset control marked with the camera 01 again, the authority of the camera 01 is opened, namely the camera 01 is in an enabled state.
For example, referring to fig. 5, the camera permission setting interface includes a camera a, a camera B, a camera C, a camera D, a camera E, and a camera F, and each camera is correspondingly provided with a first preset control 51. As shown in fig. 5, six cameras are enabled by default. The user can set the authority of each camera through the first preset control corresponding to each camera, namely, the camera is selected to be opened or closed. As shown in fig. 6, the user may set camera a, camera C, and camera E enabled.
According to the embodiment of the application, before the first input is received, the second setting interface is displayed in response to the second input of the first setting interface aiming at the target object, the third input of the first preset control corresponding to at least one camera aiming at the second setting interface is further responded, the camera permission is set for the target object, and the use is more convenient.
In still other embodiments of the present application, before the receiving the first input, the method for controlling the camera may further include:
step 301, obtaining the grouping identification of the target object.
In this embodiment, the group identifier is used to classify the friends of the user. For example, the group identification may include special interest, my friends, girlfriends/deceased parties, family, colleagues, classmates, and the like. The group identification of the target object may be preset. For example, when the electronic device is shipped from a factory, a plurality of group identifiers are preset for the first application program. For example, during the process of using the first application program by the user, a group identifier, such as a client, may also be set for the added friend. For example, when a user adds a new friend using a first application, a group identification may be set for the new friend being added.
And 302, determining the camera authority corresponding to the group identifier of the target object according to the mapping relation between the group identifier and the camera authority.
In this embodiment, after the group identifier of the target object is obtained, the camera permission corresponding to the group identifier of the target object may be found according to the mapping relationship between the group identifier and the camera permission.
For example, a mapping relationship between the group identifier and the camera authority may be established in advance, for example, referring to fig. 7, for the group identifier of "girlfriend/decency party", it may be preset to enable all cameras. For the group identification of "family", it may be preset to enable two of the cameras. For the group identification of "colleague", one of the cameras may be preset to be enabled.
For example, a new group identifier may be set for the target object, and a corresponding camera right may be set for the new group identifier. For example, when the target object a is added, the group identifier of "client" is set for the target object a, and one of the cameras is enabled for the group identifier setting of "client".
And 303, setting the camera authority corresponding to the group identifier of the target object as the camera authority corresponding to the target object.
According to the embodiment of the application, the camera authority corresponding to the group identification of the target object can be obtained according to the group identification of the target object, and the camera authority corresponding to the group identification of the target object is set as the camera authority corresponding to the target object. Therefore, the target objects can be grouped, the camera permission is set for the target objects based on the grouping identification of the target objects, the user does not need to set the camera permission of each target object respectively, the setting steps of the camera permission can be simplified, and the user can use the system conveniently.
In still other embodiments of the present application, before the receiving the first input, the method for controlling the camera may further include:
step 401, obtaining interaction information with a target object.
The interaction information with the target object may be the number of times or duration of the interaction between the user and the target object. For example, the interactive behavior may include, but is not limited to, chat (including private chat and group chat), @ actions, praise, comment, video, voice, etc. behaviors of interaction between the user and the instant messaging buddy. The interactive information can be chat frequency, chat record number, @ times, praise times, comment times, video duration, voice duration and the like.
Step 402, determining camera use frequency data between the camera and the target object according to the interaction information between the camera and the target object.
For example, the camera usage frequency data between the user and the target object may be determined according to the video duration, the voice duration, and the number of times of video between the user and the target object.
And 403, setting camera authority for the target object according to the camera use frequency data between the target object and the camera.
For example, if the camera usage frequency between the user and the target object is high, indicating that the user may frequently video or send photos with the target object in a short time, based on which, in order to improve the image quality of the video and photos, multiple cameras may be set to be enabled when the user communicates with the target object.
If the camera usage frequency between the user and the target object is low, it indicates that the user rarely makes a video call with the target object or sends a photo, and based on this, in order not to affect the running speed of the first application program, one or two cameras may be set to be enabled when the user communicates with the target object.
According to the embodiment of the application, the camera use frequency data between the camera and the target object can be determined according to the interaction information between the camera and the target object, and further, the camera authority can be set for the target object according to the camera use frequency data between the camera and the target object. Thus, the requirements of the user on the shooting image quality when the user communicates with different objects can be met, and the user experience can be improved.
In still other embodiments of the present application, before the receiving the first input, the method for controlling the camera may further include:
step 501, when the target object of the first application program is added, displaying a third setting interface of the target object.
Taking the first application as an instant messaging application as an example, as shown in fig. 8, the third setting interface of the target object is a friend setting interface of the target object, and the friend setting interface may include an interaction control 81 marked with a "camera".
Step 502, receiving a fourth input for the third setting interface.
The fourth input may refer to an input for displaying a fourth setting interface. Referring to fig. 8, the fourth input may be, for example, a touch operation on the interactive control 81 of the "camera".
Step 503, responding to a fourth input, and displaying a fourth setting interface, where the fourth setting interface includes a second preset control corresponding to at least one camera.
The fourth setting interface may be, for example, a camera permission setting interface as shown in fig. 3. The fourth setting interface may also be, for example, a camera permission setting interface as shown in fig. 5.
And 504, responding to a fifth input aiming at the second preset control corresponding to the at least one camera, and setting camera permission for the target object.
The fifth input may refer to an input for turning the camera on or off. For example, the fifth input may be a touch operation on a second preset control labeled with a camera number, and the corresponding camera is turned on or off in response to an operation of the second preset control by a user.
For example, referring to fig. 3, the fourth setting interface, that is, the camera setting interface, is labeled with the second preset controls of the camera 01, the camera 02, the camera 03, the camera 04, the camera 05, and the camera 06, respectively. And the user operates any one of the second preset controls to open or close the corresponding camera.
For example, referring to fig. 5, the camera permission setting interface includes a camera a, a camera B, a camera C, a camera D, a camera E, and a camera F, and each camera is correspondingly provided with a second preset control. The user can set the authority of each camera through the second preset control corresponding to each camera, namely, the camera is selected to be opened or closed.
According to the embodiment of the application, when the user adds the target object by using the first application program, the camera authority can be directly set for the target object being added, and the use is more convenient.
According to the embodiment of the application, different camera authorities can be set for different target objects according to the actual needs of users, so that first input is received under the condition that instant messaging connection is established between the target objects and the target objects through a first application program; and responding to the first input, starting a corresponding target camera according to the camera authority corresponding to the target object, and sending the content shot by the target camera to the target object. The camera control method provided by the embodiment of the application provides various camera calling modes for different target objects, can meet the requirements of users on the shooting image quality when communicating with different objects, and is better in user experience. In addition, the control method of the camera provided by the embodiment of the application can improve the running speed of the camera while ensuring the picture quality of the pictures and the video.
It should be noted that, in the control method of the camera provided in the embodiment of the present application, the execution main body may be a control device of the camera, or a control module in the control device of the camera, which is used for executing the control method of loading the camera. In the embodiment of the present application, a control method for a camera to execute loading of a camera is taken as an example, and the control method for a camera provided in the embodiment of the present application is described.
As shown in fig. 9, an embodiment of the present invention provides a control apparatus 900 for a camera, including: a first receiving module 910, a first responding module 920, and a first obtaining module 930.
The first receiving module 910 is configured to receive a first input when an instant messaging connection is established with a target object through a first application.
The first response module 920 is configured to respond to the first input and start a corresponding target camera according to the camera permission corresponding to the target object.
The first obtaining module 930 is configured to obtain the content captured by the target camera, and send the content to the target object.
In some embodiments of the present application, the control device 900 of the camera may further include a second receiving module, a second responding module, and a first setting module.
The second receiving module is used for receiving second input of the first setting interface aiming at the target object.
The second response module is used for responding to the second input and displaying a second setting interface, and the second setting interface comprises a first preset control corresponding to at least one camera.
The first setting module is used for responding to a third input aiming at the first preset control corresponding to the at least one camera and setting camera permission for the target object.
In other embodiments of the present application, the control device 900 of the camera may further include a second obtaining module, a first determining module, and a second setting module.
The second obtaining module is configured to obtain the group identifier of the target object.
The first determining module is used for determining the camera authority corresponding to the grouping identification of the target object according to the mapping relation between the grouping identification and the camera authority.
The second setting module is used for setting the camera authority corresponding to the grouping identification of the target object as the camera authority corresponding to the target object.
In still other embodiments of the present application, the control device 900 of the camera may further include a third obtaining module, a second determining module, and a third setting module.
The third acquisition module is used for acquiring the interaction information between the target object and the third acquisition module.
The second determining module is used for determining the camera use frequency data with the target object according to the interaction information with the target object.
The third setting module is used for setting camera permission for the target object according to the camera use frequency data between the target object and the camera.
In still other embodiments of the present application, the control device 900 of the camera may further include a display module, a third receiving module, a third responding module, and a fourth setting module.
The display module is used for displaying a third setting interface of the target object when the target object of the first application program is added.
The third receiving module is configured to receive a fourth input for the third setting interface.
The third response module is configured to display a fourth setting interface in response to a fourth input, where the fourth setting interface includes a second preset control corresponding to the at least one camera.
The fourth setting module is configured to set a camera permission for the target object in response to a fifth input to a second preset control corresponding to the at least one camera.
The control device of the camera in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the camera in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device for the camera provided in the embodiment of the present application can implement each process implemented by the control device for the camera in the method embodiments of fig. 1 to 8, and is not described herein again to avoid repetition.
According to the control device of the camera, different camera authorities can be set for different target objects according to actual needs of users, and therefore first input is received under the condition that instant messaging connection is established between the target objects and the target objects through a first application program; and responding to the first input, starting a corresponding target camera according to the camera authority corresponding to the target object, and sending the content shot by the target camera to the target object. The camera control method provided by the embodiment of the application provides various camera calling modes for different target objects, can meet the requirements of users on the shooting image quality when communicating with different objects, and is better in user experience. In addition, the control method of the camera provided by the embodiment of the application can improve the running speed of the camera while ensuring the picture quality of the pictures and the video.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 1010, a memory 1009, and a program or an instruction stored in the memory 1009 and capable of running on the processor 1010, where the program or the instruction is executed by the processor 1010 to implement each process of the above-described embodiment of the control method for a camera, and the same technical effect can be achieved, and details are not described here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1007 is configured to receive a first input when an instant messaging connection is established with a target object through a first application.
And the processor 1010 is configured to respond to the first input and start a corresponding target camera according to the camera permission corresponding to the target object.
The processor 1010 is further configured to obtain content captured by the target camera, and send the content to the target object.
According to the electronic equipment provided by the embodiment of the application, different target camera authorities can be set for different target objects according to the actual needs of users, so that first input is received under the condition that instant messaging connection is established between the electronic equipment and the target objects through a first application program; and responding to the first input, starting a corresponding target camera according to the camera authority corresponding to the target object, and sending the content shot by the target camera to the target object. The camera control method provided by the embodiment of the application provides various camera calling modes for different target objects, can meet the requirements of users on the shooting image quality when communicating with different objects, and is better in user experience. In addition, the control method of the camera provided by the embodiment of the application can improve the running speed of the camera while ensuring the picture quality of the pictures and the video.
Optionally, the user input unit 1007 is further configured to receive a second input of the first setting interface for the target object.
The processor 1010 is further configured to display a second setting interface in response to the second input, where the second setting interface includes a first preset control corresponding to at least one camera.
The processor 1010 is further configured to set a camera permission for the target object in response to a third input for the first preset control corresponding to the at least one camera.
Optionally, the processor 1010 is further configured to obtain a group identifier of the target object;
determining the camera authority corresponding to the group identifier of the target object according to the mapping relation between the group identifier and the camera authority; and
and setting the camera authority corresponding to the group identification of the target object as the camera authority corresponding to the target object.
According to the embodiment of the application, the target objects can be grouped, the camera permission is set for the target objects based on the grouping identification of the target objects, a user does not need to set the camera permission of each target object respectively, the setting steps of the camera permission can be simplified, and the user can use the camera permission conveniently.
Optionally, the processor 1010 is further configured to obtain interaction information with the target object;
determining camera use frequency data with the target object according to the interaction information with the target object; and
and setting camera authority for the target object according to the camera use frequency data between the target object and the camera.
According to the embodiment of the application, the camera use frequency data between the user and the target object can be obtained according to the interaction information between the user and the target object, and further, the camera permission can be set for the target object according to the camera use frequency data between the user and the target object. Thus, the requirements of the user on the shooting image quality when the user communicates with different objects can be met, and the user experience can be improved.
Optionally, the display unit 1006 is configured to display a third setting interface of the target object when the target object of the first application is added.
The user input unit 1007 is further configured to receive a fourth input for the third setting interface.
The processor 1010 is further configured to respond to a fourth input and display a fourth setting interface, where the fourth setting interface includes a second preset control corresponding to at least one camera; and
and responding to a fifth input of a second preset control corresponding to the at least one camera, and setting camera permission for the target object.
According to the embodiment of the application, when the user adds the target object by using the first application program, the camera authority can be set for the target object being added, and the use is more convenient.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the control method for a camera, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method embodiment of the camera, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A control method of a camera, the method comprising:
receiving a first input under the condition that an instant messaging connection is established with a target object through a first application program;
responding to the first input, and starting a corresponding target camera according to the camera authority corresponding to the target object;
and acquiring the content shot by the target camera, and sending the content to the target object.
2. The control method of claim 1, wherein prior to said receiving the first input, the method further comprises:
receiving a second input of the first setting interface for the target object;
responding to the second input, and displaying a second setting interface, wherein the second setting interface comprises a first preset control corresponding to at least one camera;
and responding to a third input aiming at the first preset control corresponding to the at least one camera, and setting camera permission for the target object.
3. The control method of claim 1, wherein prior to said receiving the first input, the method further comprises:
acquiring a grouping identifier of the target object;
determining the camera authority corresponding to the group identifier of the target object according to the mapping relation between the group identifier and the camera authority;
and setting the camera authority corresponding to the group identification of the target object as the camera authority corresponding to the target object.
4. The control method of claim 1, wherein prior to said receiving the first input, the method further comprises:
acquiring interaction information with a target object;
determining camera use frequency data with the target object according to the interaction information with the target object;
and setting camera authority for the target object according to the camera use frequency data between the target object and the camera.
5. The control method according to claim 1, characterized in that the method further comprises:
when a target object of the first application program is added, displaying a third setting interface of the target object;
receiving a fourth input for the third settings interface;
responding to a fourth input, and displaying a fourth setting interface, wherein the fourth setting interface comprises a second preset control corresponding to at least one camera;
and responding to a fifth input aiming at the second preset control corresponding to the at least one camera, and setting camera permission for the target object.
6. A control device for a camera, comprising:
the first receiving module is used for receiving first input under the condition that instant messaging connection is established between the first receiving module and a target object through a first application program;
the first response module is used for responding to the first input and starting a corresponding target camera according to the camera authority corresponding to the target object;
and the first acquisition module is used for acquiring the content shot by the target camera and sending the content to the target object.
7. The apparatus of claim 6, further comprising:
a second receiving module, configured to receive a second input of the first setting interface for the target object;
the second response module is used for responding to the second input and displaying a second setting interface, and the second setting interface comprises a first preset control corresponding to at least one camera;
and the first setting module is used for responding to a third input aiming at the first preset control corresponding to the at least one camera and setting camera permission for the target object.
8. The apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring the grouping identification of the target object;
the first determining module is used for determining the camera authority corresponding to the grouping identifier of the target object according to the mapping relation between the grouping identifier and the camera authority;
and the second setting module is used for setting the camera authority corresponding to the grouping identification of the target object as the camera authority corresponding to the target object.
9. The apparatus of claim 6, further comprising:
the third acquisition module is used for acquiring interaction information with the target object;
the second determining module is used for determining camera use frequency data with the target object according to the interaction information with the target object;
and the third setting module is used for setting camera permission for the target object according to the camera use frequency data between the target object and the camera.
10. The apparatus of claim 6, further comprising:
the display module is used for displaying a third setting interface of a target object when the target object of the first application program is added;
a third receiving module, configured to receive a fourth input for the third setting interface;
the third response module is used for responding to a fourth input and displaying a fourth setting interface, and the fourth setting interface comprises a second preset control corresponding to at least one camera;
and the fourth setting module is used for responding to a fifth input aiming at a second preset control corresponding to the at least one camera and setting camera permission for the target object.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the method of controlling a camera according to any one of claims 1 to 5.
12. A readable storage medium, wherein the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method of the camera head according to any one of claims 1 to 5.
CN202011645209.5A 2020-12-31 2020-12-31 Camera control method and device and electronic equipment Active CN112637508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011645209.5A CN112637508B (en) 2020-12-31 2020-12-31 Camera control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011645209.5A CN112637508B (en) 2020-12-31 2020-12-31 Camera control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112637508A true CN112637508A (en) 2021-04-09
CN112637508B CN112637508B (en) 2022-11-11

Family

ID=75291281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011645209.5A Active CN112637508B (en) 2020-12-31 2020-12-31 Camera control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112637508B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023088040A1 (en) * 2021-11-16 2023-05-25 华为技术有限公司 Camera control method and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077339A (en) * 2012-12-28 2013-05-01 广东欧珀移动通信有限公司 Data protection method and device
US20130169738A1 (en) * 2011-12-29 2013-07-04 Samsung Electronics Co., Ltd. Digital imaging apparatus and control method thereof
CN103634560A (en) * 2012-08-21 2014-03-12 鸿富锦精密工业(深圳)有限公司 A video conference system and a video image control method thereof
CN104469156A (en) * 2014-12-08 2015-03-25 广东欧珀移动通信有限公司 Camera switching method and device and mobile terminal
CN104519267A (en) * 2013-09-30 2015-04-15 北京三星通信技术研究有限公司 Shooting control method and terminal equipment
CN104796610A (en) * 2015-04-20 2015-07-22 广东欧珀移动通信有限公司 Mobile terminal and camera sharing method, device and system thereof
CN109889756A (en) * 2019-03-14 2019-06-14 维沃移动通信有限公司 A kind of video call method and terminal device
CN111163260A (en) * 2019-12-20 2020-05-15 维沃移动通信有限公司 Camera starting method and electronic equipment
CN111601034A (en) * 2020-05-06 2020-08-28 维沃移动通信有限公司 Camera module control method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130169738A1 (en) * 2011-12-29 2013-07-04 Samsung Electronics Co., Ltd. Digital imaging apparatus and control method thereof
CN103634560A (en) * 2012-08-21 2014-03-12 鸿富锦精密工业(深圳)有限公司 A video conference system and a video image control method thereof
CN103077339A (en) * 2012-12-28 2013-05-01 广东欧珀移动通信有限公司 Data protection method and device
CN104519267A (en) * 2013-09-30 2015-04-15 北京三星通信技术研究有限公司 Shooting control method and terminal equipment
CN104469156A (en) * 2014-12-08 2015-03-25 广东欧珀移动通信有限公司 Camera switching method and device and mobile terminal
CN104796610A (en) * 2015-04-20 2015-07-22 广东欧珀移动通信有限公司 Mobile terminal and camera sharing method, device and system thereof
CN109889756A (en) * 2019-03-14 2019-06-14 维沃移动通信有限公司 A kind of video call method and terminal device
CN111163260A (en) * 2019-12-20 2020-05-15 维沃移动通信有限公司 Camera starting method and electronic equipment
CN111601034A (en) * 2020-05-06 2020-08-28 维沃移动通信有限公司 Camera module control method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
金雨等: "基于LabVIEW和USB摄像头的图像采集与处理", 《现代电子技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023088040A1 (en) * 2021-11-16 2023-05-25 华为技术有限公司 Camera control method and apparatus

Also Published As

Publication number Publication date
CN112637508B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN113364668B (en) Message reminding method and device and electronic equipment
CN113315869B (en) Content display method, content display device, electronic equipment, content display system and storage medium
CN111601012B (en) Image processing method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN110737844B (en) Data recommendation method and device, terminal equipment and storage medium
CN113300938A (en) Message sending method and device and electronic equipment
CN112434338A (en) Picture sharing method and device, electronic equipment and storage medium
CN112637508B (en) Camera control method and device and electronic equipment
WO2024093815A1 (en) Data sharing method and apparatus, electronic device, and medium
CN113965614A (en) Session creation method and device and electronic equipment
CN112163200A (en) Picture processing method and device and electronic equipment
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN114726662A (en) Group chat session management method and device, electronic equipment and readable storage medium
CN112996138A (en) Communication establishing method, device and storage medium
CN113691443B (en) Image sharing method and device and electronic equipment
CN114401281B (en) Communication management method, device, electronic equipment and readable storage medium
CN114629869B (en) Information generation method, device, electronic equipment and storage medium
CN115052107B (en) Shooting method, shooting device, electronic equipment and medium
WO2023206576A1 (en) Image processing method and apparatus
CN110807116A (en) Data processing method and device and data processing device
CN111526260B (en) Transmission method, transmission device and electronic equipment
CN114885200B (en) Message processing method, device, electronic equipment and computer readable storage medium
CN115412524B (en) Message processing method, device, electronic equipment and medium
CN117149020A (en) Information management method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant