Search

CN-116016727-B - Adaptation method, device, terminal and storage medium for external camera

CN116016727BCN 116016727 BCN116016727 BCN 116016727BCN-116016727-B

Abstract

The disclosure relates to an adaptation method, a device, a terminal and a storage medium of an external camera, wherein the terminal comprises a body and a covering part, the body comprises a mounting part, the mounting part is used for mounting the external camera, the mounting part is configured to be adapted to at least one external camera, when the external camera is not mounted on the mounting part, the covering part is detachably connected with the mounting part, and the covering part covers the mounting part. The method and the device can reduce the requirements of the terminal on the quantity and the quality of the built-in cameras, even the built-in cameras are not required to be arranged on the terminal, a user can automatically install the external cameras according to the requirements, the cost of the terminal can be reduced, the requirements of the user can be met, and the use experience of the user can be improved. And can set up in the terminal and cover the portion, when need not to install external camera, the accessible covers the portion of installing to ensure the aesthetic property of terminal outward appearance, and can protect the portion of installing, further promote user's use experience.

Inventors

  • REN XING
  • SUN CHANGYU

Assignees

  • 北京小米移动软件有限公司

Dates

Publication Date
20260505
Application Date
20211019

Claims (19)

  1. 1. A terminal, characterized in that the terminal comprises a body and a cover portion, the body comprises a mounting portion for mounting at least one external camera, and the mounting portion is configured to fit with at least one of the external cameras, When the external camera is not mounted on the mounting part, the covering part is detachably connected with the mounting part, and the covering part covers the mounting part, and/or, When the external camera is mounted on the mounting part, the covering part is separated from the mounting part; The terminal comprises a host and at least one connector, the external camera is electrically connected with the host through one connector in the at least one connector, different configuration information is arranged on the external cameras with different specification models, each connector corresponds to at least one configuration information, and the configuration information is used for carrying out initialization setting on the terminal so that the terminal can call the camera shooting function of the external camera; And in the at least one connector, each connector corresponds to the external cameras with different specification models.
  2. 2. The terminal of claim 1, wherein the mounting portion includes a mounting slot disposed in the first side of the body; The cover part comprises a cover plate, and when the cover plate is detachably connected with the mounting groove, the side surface, far away from the mounting groove, of the cover plate is flush with the first side surface.
  3. 3. The terminal of claim 2, wherein a side of the cover plate remote from the mounting slot includes a decorative layer.
  4. 4. The terminal of claim 1, wherein the host is located within the body and the position of the connector relative to the mounting portion is adjustable.
  5. 5. The terminal of claim 4, wherein each of the connectors includes a communication connection port and a power supply connection port.
  6. 6. A terminal according to any of claims 1-5, wherein the external camera and/or the cover part is detachably connected to the mounting part by means of an adsorption force.
  7. 7. The terminal of claim 6, wherein the mounting portion includes a magnetic member, and the external camera and/or the cover portion is detachably connected to the mounting portion via the magnetic member.
  8. 8. An adaptation method of an external camera, which is applied to a terminal, is characterized by comprising the following steps: Electrically connecting an external camera with a host of the terminal through one connector in at least one connector; acquiring characteristic information of an external camera; Determining configuration information according to the characteristic information, wherein different types of external cameras are provided with different configuration information, and each connector corresponds to at least one type of configuration information; according to the configuration information, initializing and configuring the terminal to realize the adaptation of the terminal and the external camera; In the at least one connector, each connector corresponds to the external cameras with different specifications and models.
  9. 9. The method of claim 8, wherein determining configuration information based on the characteristic information comprises: Acquiring preset information, wherein the preset information comprises a mapping relation between set feature information and set configuration information; Searching the preset information for setting characteristic information corresponding to the characteristic information, and determining setting configuration information corresponding to the setting characteristic information as the configuration information.
  10. 10. The method according to claim 9, characterized in that the method comprises: Receiving update information sent by a server; and updating the preset information according to the updating information.
  11. 11. The method of claim 8, wherein determining configuration information based on the characteristic information comprises: the characteristic information is sent to a server; And receiving the configuration information fed back by the server.
  12. 12. The method according to any of claims 8-11, wherein the characteristic information comprises an identification and/or a specification model.
  13. 13. The method according to any of claims 9-11, wherein the configuration information comprises at least one of: Operating voltage, communication frequency, register address, anti-shake algorithm.
  14. 14. An adaptation device of external camera is applied to the terminal, its characterized in that, the device includes: at least one connector for electrically connecting the external camera with the host of the terminal, Each connector corresponds to the external cameras with different specification models in the at least one connector; the acquisition module is used for acquiring the characteristic information of the external camera; the determining module is used for determining configuration information according to the characteristic information, wherein different types of external cameras are provided with different configuration information, and each connector corresponds to at least one type of configuration information; And the initialization module is used for initializing and configuring the terminal according to the configuration information so as to realize the adaptation of the terminal and the external camera.
  15. 15. The apparatus of claim 14, wherein the device comprises a plurality of sensors, The acquisition module is used for acquiring preset information, wherein the preset information comprises a mapping relation between set characteristic information and set configuration information; the determining module is configured to search the preset information for setting feature information corresponding to the feature information, and determine setting configuration information corresponding to the setting feature information as the configuration information.
  16. 16. The apparatus of claim 15, wherein the apparatus comprises: the receiving module is used for receiving the update information sent by the server; and the updating module is used for updating the preset information according to the updating information.
  17. 17. The apparatus of claim 14, wherein the means for determining comprises: The sending submodule is used for sending the characteristic information to a server; And the receiving sub-module is used for receiving the configuration information fed back by the server.
  18. 18. A terminal, the terminal comprising: A processor; A memory for storing the processor-executable instructions; Wherein the processor is configured to perform the method of any of claims 8-13.
  19. 19. A non-transitory computer readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the method of any one of claims 8-13.

Description

Adaptation method, device, terminal and storage medium for external camera Technical Field The disclosure relates to the technical field of terminals, and in particular relates to an adaptation method, an adaptation device, a terminal and a storage medium of an external camera. Background At present, functions of terminals such as mobile phones are more and more comprehensive, and the mobile phones become an indispensable part of daily life. Because of the demands of code scanning, photographing, video call and the like in daily life, the camera becomes one of the most important parts of the mobile phone. In addition, the number of cameras in the mobile phone is also increasing (for example, 3-4 rear cameras are generally arranged in the current high-end mobile phone). The plurality of cameras occupy most of the space of the mobile phone, so that the size and the weight of the mobile phone are increased, the cost of the high-quality cameras is high, and the cost of the mobile phone is greatly increased by the plurality of cameras. Disclosure of Invention In order to overcome the problems in the related art, the present disclosure provides an adaptation method, an adaptation device, a terminal and a storage medium of an external camera. According to a first aspect of embodiments of the present disclosure, there is provided a terminal comprising a body and a cover portion, the body comprising a mounting portion for mounting an external camera, and the mounting portion being configured to fit with at least one of the external cameras, When the external camera is not mounted on the mounting part, the covering part is detachably connected with the mounting part, and the covering part covers the mounting part, and/or, When the external camera is mounted on the mounting portion, the covering portion is separated from the mounting portion. Optionally, the mounting portion includes a mounting groove, and the mounting groove is disposed on the first side surface of the body; The cover part comprises a cover plate, and when the cover plate is detachably connected with the mounting groove, the side surface, far away from the mounting groove, of the cover plate is flush with the first side surface. Optionally, a side of the cover plate remote from the mounting groove includes a decorative layer. Optionally, the terminal includes a host and at least one connector, the host is located in the body, and a position of the connector relative to the mounting portion is adjustable; the external camera is electrically connected with the host through one connector of the at least one connector. Optionally, each connector in the at least one connector corresponds to the external camera with different specification models. Optionally, each of the connectors includes a communication connection port and a power supply connection port. Optionally, the external camera and/or the covering part is detachably connected with the mounting part through an adsorption force mode. Optionally, the mounting portion includes a magnetic member, and the external camera and/or the covering portion is detachably connected with the mounting portion through the magnetic member. According to a second aspect of embodiments of the present disclosure, there is provided an adaptation method of an external camera, applied to a terminal, the method including: acquiring characteristic information of an external camera; Determining configuration information according to the characteristic information; And initializing and configuring the terminal according to the configuration information so as to realize the adaptation of the terminal and the external camera. Optionally, the determining configuration information according to the feature information includes: Acquiring preset information, wherein the preset information comprises a mapping relation between set feature information and set configuration information; Searching the preset information for setting characteristic information corresponding to the characteristic information, and determining setting configuration information corresponding to the setting characteristic information as the configuration information. Optionally, the method comprises: Receiving update information sent by a server; and updating the preset information according to the updating information. Optionally, the determining configuration information according to the feature information includes: the characteristic information is sent to a server; And receiving the configuration information fed back by the server. Optionally, the characteristic information includes an identity and/or a specification model. Optionally, the configuration information includes at least one of: Operating voltage, communication frequency, register address, anti-shake algorithm. According to a third aspect of embodiments of the present disclosure, there is provided an adapting device of an external camera, applied to a terminal, the device including: the acquis