CN112689086B - Information determination method, electronic equipment and computer readable storage medium - Google Patents

Information determination method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112689086B
CN112689086B CN202011458508.8A CN202011458508A CN112689086B CN 112689086 B CN112689086 B CN 112689086B CN 202011458508 A CN202011458508 A CN 202011458508A CN 112689086 B CN112689086 B CN 112689086B
Authority
CN
China
Prior art keywords
image acquisition
target
specific application
setting
acquisition component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011458508.8A
Other languages
Chinese (zh)
Other versions
CN112689086A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202011458508.8A priority Critical patent/CN112689086B/en
Publication of CN112689086A publication Critical patent/CN112689086A/en
Application granted granted Critical
Publication of CN112689086B publication Critical patent/CN112689086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an information determination method which is applied to electronic equipment with a plurality of image acquisition components, and the method comprises the following steps: acquiring a first operation event aiming at a specific application and used for setting an image acquisition component corresponding to the specific application; wherein the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application on the electronic device calling a fixed image acquisition component; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment; and setting the image acquisition component corresponding to the specific application as a target image acquisition component with the target function based on the first operation event. The embodiment of the invention also discloses electronic equipment and a computer readable storage medium.

Description

Information determination method, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to information determination technology in the field of computers, and in particular, to an information determination method, an electronic device, and a computer-readable storage medium.
Background
Electronic equipment capable of taking pictures in the market at present, such as mobile phones, tablet computers and the like, already support equipment with a plurality of cameras. When the camera applied to the equipment is used, the equipment with the multiple cameras can obtain a high-quality picture by using any camera on the equipment; however, for third-party applications provided in the third-party market, usually only front and back cameras fixed by default definition of the system are supported, and other cameras with more functions in the device cannot be used by the third-party applications, so that the quality of pictures taken by the third-party applications is not high.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention desirably provide an information determining method, an electronic device, and a computer-readable storage medium, so as to solve the problem that a third-party application of an electronic device with multiple cameras in a relative technology cannot access cameras with more functions, and improve quality of photos taken by the third-party application.
The technical scheme of the invention is realized as follows:
an information determination method applied to an electronic device having a plurality of image acquisition components, the method comprising:
acquiring a first operation event aiming at a specific application and used for setting an image acquisition component corresponding to the specific application; wherein the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application on the electronic device calling a fixed image acquisition component; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment;
and setting the image acquisition component corresponding to the specific application as a target image acquisition component with the target function based on the first operation event.
In the foregoing solution, the setting, based on the first operation event, the image capturing component corresponding to the specific application as a target image capturing component having the target function includes:
setting the identifier of the image acquisition part initially corresponding to the specific application as an initial identifier;
acquiring a target identification of the target image acquisition component with the target function; wherein the optical properties of the target image capture components of different target functions are different;
and setting the image acquisition component corresponding to the specific application as the target image acquisition component based on the first operation event, the initial identifier and the target identifier.
In the foregoing solution, the setting, based on the first operation event, the initial identifier, and the target identifier, an image capturing component corresponding to the specific application as the target image capturing component includes:
establishing a mapping relation between the initial identifier and the target identifier based on the first operation event;
and setting the image acquisition component corresponding to the specific application as the target image acquisition component based on the mapping relation.
In the above scheme, the method further comprises:
acquiring a second operation event aiming at the specific application and used for setting acquisition parameters of a target image acquisition component corresponding to the specific application;
and setting the acquisition parameters of the target image acquisition component as target acquisition parameters based on the second operation event.
In the foregoing solution, the setting, based on the second operation event, an acquisition parameter of the target image acquisition component as a target acquisition parameter includes:
generating a parameter setting interface for setting acquisition parameters based on the second operation event and displaying the parameter setting interface on a display screen of the electronic equipment;
receiving a first selection operation aiming at the parameter setting interface, and setting the acquisition parameters of the target image acquisition component as the target acquisition parameters based on the first selection operation.
In the above scheme, the method further comprises:
acquiring a calling event for calling an image acquisition component for the specific application, and acquiring image information by adopting the target image acquisition component according to initial acquisition parameters based on the calling event; and the initial acquisition parameters are acquisition parameters initially corresponding to the target image acquisition component.
In the foregoing solution, the method further includes:
acquiring a calling event for calling the image acquisition component aiming at the specific application, and acquiring image information by adopting the target image acquisition component according to target acquisition parameters based on the calling event.
In the foregoing solution, the setting, based on the first operation event, the image capturing component corresponding to the specific application as the target image capturing component corresponding to the target identifier includes:
generating a component setting interface for setting an image acquisition component based on the first operation event and displaying the component setting interface on a display screen of the electronic equipment; the part setting interface is displayed with a selection identifier for selecting a candidate image acquisition part; the candidate image acquisition components are a plurality of the plurality of image acquisition components;
and receiving a second selection operation aiming at the component setting interface, and setting the image acquisition component corresponding to the specific application as the target image acquisition component based on the second selection operation.
An electronic device, the electronic device comprising: a processor, a memory, and a communication bus, wherein:
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the information determination program stored in the memory to implement the steps of:
acquiring a first operation event aiming at a specific application and used for setting an image acquisition component corresponding to the specific application; wherein the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment;
and setting the image acquisition component corresponding to the specific application as a target image acquisition component with the target function based on the first operation event.
A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the information determination method described above.
According to the information determining method, the electronic device and the computer readable storage medium provided by the embodiment of the invention, a first operation event for setting an image acquisition component corresponding to a specific application is acquired; the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment; based on the first operation event, the image acquisition component corresponding to the specific application is set to be the target image acquisition component with the target function, so that the third-party application can use any camera on the electronic equipment instead of only using one fixed camera of the electronic equipment as in the relative technology, the problem that the third-party application of the electronic equipment with a plurality of cameras in the relative technology cannot access the cameras with more functions is solved, and the quality of the photos shot by the third-party application is improved.
Drawings
Fig. 1 is a schematic flowchart of an information determining method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another information determination method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a target camera setting based on a mapping relationship in an information determination method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another information determination method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a setting of a mapping relationship of a camera in an information determination method according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating setting of acquisition parameters of a camera in an information determination method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
An embodiment of the present invention provides an information determining method, which may be applied to an electronic device having a plurality of image capturing components, and as shown in fig. 1, the method includes the steps of:
step 101, acquiring a first operation event for a specific application for setting an image acquisition component corresponding to the specific application.
The first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image capture components for a particular application are located on the same side of the electronic device.
In the embodiment of the present invention, the electronic apparatus may refer to an electronic apparatus having a plurality of front cameras and rear cameras. The target function may refer to a function that is possessed when a picture is taken using a front camera or a rear camera of the electronic device; the quality of the pictures taken by the image capturing components having different target functions is different.
It should be noted that, in a preferred embodiment, the specific application does not include an application which is provided on the electronic device and can call a camera, such as a camera; in one possible implementation, the specific application may refer to a third-party application installed in the electronic device and capable of calling a camera. In the embodiment of the present invention, the camera called by the specific application may refer to a camera located on a side of the electronic device having the display screen, or may refer to a camera located on a side of the electronic device not having the display screen; that is, the camera invoked by the specific application may refer to a front camera or a rear camera.
And 102, setting an image acquisition component corresponding to the specific application as a target image acquisition component with a target function based on the first operation event.
The first operation event may be an operation event for setting a camera corresponding to a specific application in the electronic device. In a possible implementation manner, the first operation event may be an event that a user performs a corresponding operation on the electronic device; it should be noted that the first operation event may include a touch event that a user touches a display screen of the electronic device, an instruction sent by a voice of the user to set the camera, an instruction sent by a gesture of the user to set the camera, and the like.
In the embodiment of the present invention, in response to the first operation event, the electronic device may set a target camera having a target function in the electronic device to be called by the specific application. It should be noted that the event of the target camera in the electronic device called by the specific application is to select a target camera with a target function from a plurality of front cameras and rear cameras, or to switch from one front camera to another front camera with a target function, or to switch from one rear camera to another rear camera with a target function, and does not include an event of switching from a front camera to a rear camera.
According to the information determining method provided by the embodiment of the invention, a first operation event for setting an image acquisition component corresponding to a specific application is acquired; the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment; based on the first operation event, the image acquisition component corresponding to the specific application is set to be the target image acquisition component with the target function, so that the third-party application can use any camera on the electronic equipment instead of only using one fixed camera of the electronic equipment as in the relative technology, the problem that the third-party application of the electronic equipment with a plurality of cameras in the relative technology cannot access the cameras with more functions is solved, and the quality of the photos shot by the third-party application is improved.
Based on the foregoing embodiments, an embodiment of the present invention provides an information determining method, which is shown in fig. 2 and includes the following steps:
step 201, the electronic device acquires a first operation event for a specific application, wherein the first operation event is used for setting an image acquisition component corresponding to the specific application.
The first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image acquisition components corresponding to a particular application are located on the same side of the electronic device.
Step 202, the electronic device sets the identifier of the image capturing component initially corresponding to the specific application as an initial identifier.
The initial identifier may refer to an identifier of a camera initially corresponding to a specific application, and is used to indicate which camera on the electronic device the camera initially corresponding to the specific application is; of course, the initial identifier may also indicate what function the camera initially corresponding to the specific application is as a camera on the electronic device.
Step 203, the electronic device obtains a target identifier of a target image acquisition component with a target function.
Wherein the optical properties of the target image acquisition components of different target functions are different.
In an embodiment of the invention, the target identifier is used for uniquely identifying the target image acquisition component. It should be noted that the target functions may include: a focus-developing function, a wide-angle function, an infrared function, a portrait function, and/or a landscape function, etc.
And step 204, the electronic equipment sets the image acquisition component corresponding to the specific application as a target image acquisition component based on the first operation event, the initial identifier and the target identifier.
In the embodiment of the present invention, in response to the first operation event, the image capturing component corresponding to the specific application may be set as the target image capturing component based on the mapping relationship between the initial identifier and the target identifier.
Wherein, step 204 can be implemented by the following steps:
step 204a, the electronic device establishes a mapping relationship between the initial identifier and the target identifier based on the first operation event.
In the embodiment of the present invention, the initial identifier may be an identifier corresponding to a camera that actually exists in the electronic device, or may be an identifier of a virtual camera that does not actually exist; it should be noted that the initial identifier only indicates that a camera initially corresponds to a specific application, and of course, the camera may be a camera actually existing in the electronic device or a virtual camera.
In a feasible implementation manner, a camera corresponding to the initial identifier is taken as an example of a virtual camera for explanation: if the targeted camera is a front camera, the camera corresponding to the initial identifier can be a virtual front camera, and if the targeted camera is a rear camera, the camera corresponding to the initial identifier can be a virtual rear camera; as shown in fig. 3, a mapping relationship between the virtual front-facing camera and a front-facing camera on the electronic device, that is, a system camera, may be established at this time; of course, a mapping relationship between the virtual rear camera and a rear camera on the electronic device, i.e., a system camera, may also be established; it should be noted that, as shown in fig. 3, the system cameras may include a system camera 0, a system camera 1, a system camera 2 … …, and a system camera N.
And step 204b, the electronic equipment sets the image acquisition component corresponding to the specific application as a target image acquisition component based on the mapping relation.
After the mapping relationship between the initial identifier and the target identifier is set, the electronic device can automatically select the corresponding target camera for the third-party application according to the mapping relationship. It should be noted that, in the embodiment of the present invention, the target camera corresponding to the third-party application may be determined from the cameras of the electronic device according to the selection of the user, instead of selecting only one fixed front camera for the front camera and only one fixed rear camera for the rear camera as in the related art, so that the user may call the cameras with different functions through the third-party application according to different requirements.
According to the information determining method provided by the embodiment of the invention, the third-party application can use any camera on the electronic equipment instead of only using one fixed camera of the electronic equipment as in the relative technology, so that the problem that the third-party application of the electronic equipment with a plurality of cameras in the relative technology cannot access more functional cameras is solved, and the quality of the photos shot by the third-party application is improved.
Based on the foregoing embodiments, an embodiment of the present invention provides an information determining method, which is shown in fig. 4 and includes the following steps:
step 301, the electronic device acquires a first operation event for a specific application, wherein the first operation event is used for setting an image acquisition component corresponding to the specific application.
The first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image acquisition components corresponding to a particular application are located on the same side of the electronic device.
Step 302, the electronic device sets an identifier of an image capturing component initially corresponding to a specific application as an initial identifier.
Step 303, the electronic device obtains a target identifier of a target image acquisition component with a target function.
Wherein the optical properties of the target image acquisition components of different target functions are different.
Step 304, the electronic device establishes a mapping relationship between the initial identifier and the target identifier based on the first operation event.
And 305, setting an image acquisition component corresponding to the specific application as a target image acquisition component by the electronic equipment based on the mapping relation.
In other embodiments of the present invention, step 304 and step 305 may be implemented by:
A. and generating a component setting interface for setting the image acquisition component based on the first operation event and displaying the component setting interface on a display screen of the electronic equipment.
The part setting interface is displayed with a selection identifier for selecting a candidate image acquisition part; the candidate image capturing sections are a plurality of the plurality of image capturing sections.
It should be noted that, after receiving a first operation event of a user, the electronic device generates a corresponding component setting interface in response to the first operation event and displays the component setting interface; the form of the component placement interface is not limited in any way. However, the component setting interface displays selection marks for a plurality of candidate image capturing components. For example, with a front camera as shown in fig. 5, the selection identifier may include a long focus, a short focus, a portrait, and the like; wherein the tele is used for shooting long-distance scenes, the wide is used for shooting wide-field-angle scenes, and the portrait is used for shooting portrait.
Of course, based on the function of each image acquisition component in the electronic equipment, prompt information for prompting the user to select a target image acquisition component is generated; acquiring a first operation event based on the prompt information; the prompt information may be a simple description of the function of each camera, which may help the user to use better, and may also hide special cameras that are really not desired to be freely usable by the user.
B. And receiving a second selection operation aiming at the component setting interface, and setting the image acquisition component corresponding to the specific application as a target image acquisition component based on the second selection operation.
After the user sees the displayed component setting interface, the user can perform second selection operation according to introduction prompts related to different cameras. After the second selection operation is completed, the forward shot seen by the third-party application is that one virtual camera corresponds to the system camera selected by the user.
Step 306, the electronic device acquires a second operation event for the specific application, wherein the second operation event is used for setting the acquisition parameters of the target image acquisition component corresponding to the specific application.
In the embodiment of the present invention, the acquisition parameters of the target image acquisition component corresponding to a specific application may also include multiple parameters; that is to say, the target image capturing component corresponding to the third-party application may be any camera located on the same side in the electronic device, and after the user selects the target camera, the capturing parameters corresponding to the target camera may include multiple types.
In a feasible implementation mode, a mapping relation between a virtual front camera and a front camera on the electronic equipment, namely a system camera is established; or after a mapping relationship between the virtual rear camera and a rear camera on the electronic device, that is, a system camera is established, as shown in fig. 6, acquisition parameters corresponding to the system camera 2 may be set to include a camera parameter 1, a camera parameter 2, and an … … camera N; however, the acquisition parameters corresponding to the fixed camera in the relative technology can be only one, that is, only one of the camera parameters 1 to N can be used.
By adopting the design in the embodiment of the invention, not only can the third-party application call any camera in the electronic equipment according to the actual requirement, but also different acquisition parameters can be adopted according to the actual requirement when the selected camera is adopted to shoot images, thereby further ensuring the quality of shot images and improving the shooting effect.
And 307, the electronic equipment sets the acquisition parameters of the target image acquisition component as target acquisition parameters based on the second operation event.
Wherein, step 307 can be implemented by:
and 307a, the electronic device generates a parameter setting interface for setting the acquisition parameters based on the second operation event and displays the parameter setting interface on a display screen of the electronic device.
The form of the parameter setting interface is not limited, and any interface that can realize the function of setting the acquisition parameters of the camera is feasible. In a possible implementation manner, all the parameters which can be selected in a list form on the parameter setting interface; of course, to facilitate use for selection, some simple description of each parameter may be added to help the user better use it.
Step 307b, the electronic device receives a first selection operation for the parameter setting interface, and sets the acquisition parameter of the target image acquisition component as the target acquisition parameter based on the first selection operation.
In the embodiment of the invention, a user can click the parameters required by the user to perform the first selection operation according to the simple description about each parameter on the parameter setting interface; and the electronic equipment responds to the first selection operation to select the acquisition parameters of the target image acquisition component as the target acquisition parameters selected by the user.
Based on the foregoing embodiments, in other embodiments of the present invention, the method may further include the following steps:
and 308, acquiring a calling event for calling the image acquisition component for a specific application by the electronic equipment, and acquiring image information by adopting the target image acquisition component according to the initial acquisition parameters based on the calling event.
And the initial acquisition parameters are acquisition parameters initially corresponding to the target image acquisition component.
In the embodiment of the invention, when the user uses the third-party application to shoot the image, the image can be shot according to the initial image acquisition parameters corresponding to the selected target camera, and more modification and setting are not needed. That is, each camera will have corresponding initial acquisition parameters.
Based on the foregoing embodiment, in other embodiments of the present invention, the method may further include the following steps:
step 309, acquiring a calling event for calling the image acquisition component for a specific application, and acquiring image information by using the target image acquisition component according to the target acquisition parameter based on the calling event.
In the embodiment of the invention, after the user selects the target camera when the third-party application is used for shooting the image, a target acquisition parameter can be selected for the target camera from multiple acquisition parameters, and the target acquisition parameter is further adopted for shooting the image so as to meet higher requirements.
The scheme in the embodiment does not need to set the application, so that the third-party application is transparent and does not need to be changed. Moreover, the user can freely set, for example, the normal shooting is changed into the large wide-angle shooting, and the user can freely change the setting at any time. That is, the scheme provided by the invention is also used for video call type application.
It should be noted that, for the description of the same or corresponding steps in this embodiment and other embodiments, reference may be made to the description in other embodiments, which is not repeated herein.
According to the information determining method provided by the embodiment of the invention, the third-party application can use any camera on the electronic equipment instead of only using one fixed camera of the electronic equipment as in the relative technology, so that the problem that the third-party application of the electronic equipment with a plurality of cameras in the relative technology cannot access more functional cameras is solved, and the quality of the photos shot by the third-party application is improved.
Based on the foregoing embodiments, an embodiment of the present invention provides an electronic device, where the electronic device may be applied to the information determination method provided in the embodiments corresponding to fig. 1, 2, and 4, and as shown in fig. 7, the electronic device may include: a processor 41, a memory 42, and a communication bus 43, wherein:
the communication bus 43 is used for realizing communication connection between the processor 41 and the memory 42;
the processor 41 is configured to execute the information determination program stored in the memory 42 to implement the following steps:
acquiring a first operation event aiming at a specific application and used for setting an image acquisition component corresponding to the specific application;
the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment;
and setting the image acquisition component corresponding to the specific application as a target image acquisition component with a target function based on the first operation event.
In other embodiments of the present invention, the processor 41 is configured to execute the information determination program stored in the memory 42, and set the image capturing component corresponding to the specific application as the target image capturing component having the target function based on the first operation event, so as to implement the following steps:
setting the mark of an image acquisition component initially corresponding to a specific application as an initial mark;
acquiring a target identification of a target image acquisition component with a target function; wherein the optical properties of the target image acquisition components of different target functions are different;
and setting the image acquisition component corresponding to the specific application as a target image acquisition component based on the first operation event, the initial identifier and the target identifier.
In other embodiments of the present invention, the processor 41 is configured to execute the information determination program stored in the memory 42, and set the image capturing component corresponding to the specific application as the target image capturing component based on the first operation event, the initial identifier and the target identifier, so as to implement the following steps:
establishing a mapping relation between the initial identifier and the target identifier based on the first operation event;
and setting the image acquisition component corresponding to the specific application as a target image acquisition component based on the mapping relation.
In other embodiments of the present invention, processor 41 is configured to execute the information determination program stored in memory 42 to implement the following steps:
acquiring a second operation event aiming at the specific application and used for setting acquisition parameters of a target image acquisition component corresponding to the specific application;
and setting the acquisition parameters of the target image acquisition component as target acquisition parameters based on the second operation event.
In other embodiments of the present invention, the processor 41 is configured to execute the second operation event-based information determination program stored in the memory 42, and set the acquisition parameters of the target image acquisition component as the target acquisition parameters, so as to implement the following steps:
generating a parameter setting interface for setting acquisition parameters based on the second operation event and displaying the parameter setting interface on a display screen of the electronic equipment;
and receiving a first selection operation aiming at the parameter setting interface, and setting the acquisition parameters of the target image acquisition component as target acquisition parameters based on the first selection operation.
In other embodiments of the present invention, processor 41 is configured to execute the information determination program stored in memory 42 to implement the following steps:
acquiring a calling event for calling an image acquisition component for a specific application, and acquiring image information by adopting a target image acquisition component according to initial acquisition parameters based on the calling event;
and the initial acquisition parameters are acquisition parameters initially corresponding to the target image acquisition component.
In other embodiments of the present invention, processor 41 is configured to execute the information determination program stored in memory 42 to implement the following steps:
acquiring a calling event for calling the image acquisition component for a specific application, and acquiring image information by adopting the target image acquisition component according to the target acquisition parameter based on the calling event.
In other embodiments of the present invention, the processor 41 is configured to execute the information determining program stored in the memory 42, and set the image capturing component corresponding to the specific application as the target image capturing component having the target function based on the first operation event, so as to implement the following steps:
generating a component setting interface for setting the image acquisition component based on the first operation event and displaying the component setting interface on a display screen of the electronic equipment;
the part setting interface is displayed with a selection identifier for selecting a candidate image acquisition part; the candidate image acquisition components are a plurality of the plurality of image acquisition components;
and receiving a second selection operation aiming at the component setting interface, and setting the image acquisition component corresponding to the specific application as a target image acquisition component based on the second selection operation.
It should be noted that, for a specific implementation process of the step executed by the processor in this embodiment, reference may be made to an implementation process in the information determination method provided in the embodiments corresponding to fig. 1, 2, and 4, and details are not described here again.
According to the electronic equipment provided by the embodiment of the invention, the third-party application can use any camera on the electronic equipment instead of only using one fixed camera of the electronic equipment as in the relative technology, so that the problem that the third-party application of the electronic equipment with a plurality of cameras in the relative technology cannot access more functional cameras is solved, and the quality of photos shot by the third-party application is improved.
Based on the foregoing embodiments, embodiments of the present invention provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the information determination method provided by the embodiments corresponding to fig. 1, 2 and 4.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (8)

1. An information determination method applied to an electronic device having a plurality of image acquisition components, the method comprising:
acquiring a first operation event aiming at a specific application and used for setting an image acquisition component corresponding to the specific application; wherein the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application calling a fixed image acquisition component on the electronic equipment; the specific application is any one third-party application provided by a third party; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment;
setting the image acquisition component corresponding to the specific application as a target image acquisition component with the target function based on the first operation event;
wherein the setting the image capturing component corresponding to the specific application as a target image capturing component having the target function based on the first operation event comprises:
setting the identifier of the image acquisition part initially corresponding to the specific application as an initial identifier;
acquiring a target identification of the target image acquisition component with the target function; wherein the optical properties of the target image capture components of different target functions are different;
establishing a mapping relation between the initial identifier and the target identifier based on the first operation event;
and setting the image acquisition component corresponding to the specific application as the target image acquisition component based on the mapping relation.
2. The method of claim 1, further comprising:
acquiring a second operation event aiming at the specific application and used for setting acquisition parameters of a target image acquisition component corresponding to the specific application;
and setting the acquisition parameters of the target image acquisition component as target acquisition parameters based on the second operation event.
3. The method of claim 2, said setting acquisition parameters of said target image acquisition component to target acquisition parameters based on said second operational event, comprising:
generating a parameter setting interface for setting acquisition parameters based on the second operation event and displaying the parameter setting interface on a display screen of the electronic equipment;
receiving a first selection operation aiming at the parameter setting interface, and setting the acquisition parameters of the target image acquisition component as the target acquisition parameters based on the first selection operation.
4. The method of claim 1, further comprising:
acquiring a calling event for calling an image acquisition component for the specific application, and acquiring image information by adopting the target image acquisition component according to initial acquisition parameters based on the calling event; and the initial acquisition parameters are acquisition parameters initially corresponding to the target image acquisition component.
5. The method of claim 3, further comprising:
acquiring a calling event for calling the image acquisition component aiming at the specific application, and acquiring image information by adopting the target image acquisition component according to target acquisition parameters based on the calling event.
6. The method of claim 1, the setting, based on the first operational event, the image capture component corresponding to the particular application to a target image capture component corresponding to the target identification, comprising:
generating a component setting interface for setting an image acquisition component based on the first operation event and displaying the component setting interface on a display screen of the electronic equipment; the part setting interface is displayed with a selection identifier for selecting a candidate image acquisition part; the candidate image acquisition components are a plurality of the plurality of image acquisition components;
and receiving a second selection operation aiming at the component setting interface, and setting the image acquisition component corresponding to the specific application as the target image acquisition component based on the second selection operation.
7. An electronic device, the electronic device comprising: a processor, a memory, and a communication bus, wherein:
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the information determination program stored in the memory to perform the steps of:
acquiring a first operation event aiming at a specific application and used for setting an image acquisition component corresponding to the specific application; wherein the first operation event comprises a target function to be possessed by the image acquisition component; the specific application comprises an application on the electronic device calling a fixed image acquisition component; the specific application is any one third-party application provided by a third party; the image acquisition components corresponding to the specific application are positioned on the same side of the electronic equipment;
setting the image acquisition component corresponding to the specific application as a target image acquisition component with the target function based on the first operation event; wherein, the setting the image capturing component corresponding to the specific application as the target image capturing component with the target function based on the first operation event comprises: setting the identifier of the image acquisition component initially corresponding to the specific application as an initial identifier; acquiring a target identification of the target image acquisition component with the target function; wherein the optical properties of the target image capture components of different target functions are different; establishing a mapping relation between the initial identifier and the target identifier based on the first operation event; and setting the image acquisition component corresponding to the specific application as the target image acquisition component based on the mapping relation.
8. A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the information determination method as claimed in any one of claims 1 to 6.
CN202011458508.8A 2020-12-10 2020-12-10 Information determination method, electronic equipment and computer readable storage medium Active CN112689086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011458508.8A CN112689086B (en) 2020-12-10 2020-12-10 Information determination method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011458508.8A CN112689086B (en) 2020-12-10 2020-12-10 Information determination method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112689086A CN112689086A (en) 2021-04-20
CN112689086B true CN112689086B (en) 2022-08-19

Family

ID=75449204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011458508.8A Active CN112689086B (en) 2020-12-10 2020-12-10 Information determination method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112689086B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489898B (en) * 2021-06-29 2023-10-31 广州小鹏汽车科技有限公司 Camera calling method, device, vehicle and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090235189A1 (en) * 2008-03-04 2009-09-17 Alexandre Aybes Native support for manipulation of data content by an application
KR20110040590A (en) * 2009-10-14 2011-04-20 삼성전자주식회사 Method and system for performing data communication of portable terminal
KR102482067B1 (en) * 2015-11-27 2022-12-28 삼성전자주식회사 Electronic apparatus and operating method thereof
CN105959530A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Method and system for invoking a camera function according to an individualized property of an application
CN107172345B (en) * 2017-04-07 2020-02-04 深圳市金立通信设备有限公司 Image processing method and terminal
CN110386064B (en) * 2018-04-20 2021-07-09 比亚迪股份有限公司 Control system and method of vehicle-mounted camera, vehicle-mounted equipment and automobile
CN110113483B (en) * 2019-04-19 2022-02-25 华为技术有限公司 Method for using enhanced function of electronic equipment and related device

Also Published As

Publication number Publication date
CN112689086A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN109600659B (en) Operation method, device and equipment for playing video and storage medium
JP2020507136A (en) VR object synthesizing method, apparatus, program, and recording medium
US10009543B2 (en) Method and apparatus for displaying self-taken images
CN108965611B (en) Shooting interface switching method, device, equipment and storage medium
US20180144546A1 (en) Method, device and terminal for processing live shows
CN108122195B (en) Picture processing method and device
CN107820006A (en) Control the method and device of camera shooting
EP3905660A1 (en) Method and device for shooting image, and storage medium
CN114125528B (en) Video special effect processing method and device, electronic equipment and storage medium
CN111866379A (en) Image processing method, image processing device, electronic equipment and storage medium
CN104850643B (en) Picture comparison method and device
CN112689086B (en) Information determination method, electronic equipment and computer readable storage medium
CN103873759A (en) Shooting method and electronic equipment
US11600300B2 (en) Method and device for generating dynamic image
CN106773750B (en) Equipment image display method and device
CN111835941B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN111862288B (en) Pose rendering method, device and medium
CN107918514B (en) Display method and device, electronic equipment and computer readable storage medium
CN108769513B (en) Camera photographing method and device
CN111724398A (en) Image display method and device
CN112399092A (en) Shooting method and device and electronic equipment
CN106897876B (en) Terminal payment processing method and device
EP2940981B1 (en) Method and device for synchronizing photographs
CN114710624B (en) Shooting method and shooting device
CN112506393B (en) Icon display method and device and storage medium

Legal Events

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