Electronic equipment control method and device, terminal and storage medium

By monitoring the barrel temperature in real time and adjusting the working state of the cooling mechanism, the eye-baking problem caused by the increase in the barrel temperature of the head-mounted device is solved, improving the user experience.

CN120282403APending Publication Date: 2025-07-08BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311837325.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

After wearing the headset for a long time, the temperature of the lens barrel increases, causing users to feel the problem of baking their eyes.

Method used

By obtaining the barrel temperature and comparing it with a preset threshold, when the temperature exceeds the threshold, the operating state of the cooling mechanism is adjusted to reduce the barrel temperature, including adjusting the power and operating mode of the cooling mechanism.

Benefits of technology

Effectively reduce the lens barrel temperature to the comfort range of human eyes, reduce the experience of baking eyes, and improve the comfort of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120282403A_ABST
    Figure CN120282403A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of electronic equipment, a terminal and a storage medium. The control method of the electronic equipment comprises the steps of obtaining a first temperature of a lens cone of the electronic equipment; determining whether the first temperature is greater than a first preset threshold; and when it is determined that the first temperature is greater than the first preset threshold value, adjusting the working state of a first cooling mechanism of the electronic equipment to reduce the temperature of the lens cone. Whether the first cooling mechanism of the electronic equipment works or not is determined by comparing the first temperature of the lens cone with the first preset threshold value, and then the temperature of the lens cone can be reduced by adjusting the working state of the first cooling mechanism, so that the temperature of the lens cone is in a range suitable for human eyes to feel, and the experience of eye baking is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information technology, and particularly to a control method and device for an electronic device, a terminal, and a storage medium. Background Art

[0002] Some current electronic devices (for example, head-mounted devices, such as VR (Virtual Reality) glasses) often focus on providing users with a better sense of immersion. After wearing for a long time, for example, the inside of the head-mounted device generates heat, resulting in a continuous increase in the temperature of the lens barrel. Through the refraction of the lens, some users will feel as if their eyes are being roasted. Therefore, further improvement in this regard is desired. Summary of the Invention

[0003] To solve the existing problems, the present disclosure provides a control method and device for an electronic device, a terminal, and a storage medium.

[0004] The present disclosure adopts the following technical solutions.

[0005] An embodiment of the present disclosure provides a control method for an electronic device. The control method for the electronic device includes: obtaining a first temperature of the lens barrel of the electronic device; determining whether the first temperature is greater than a first preset threshold; when it is determined that the first temperature is greater than the first preset threshold, adjusting the working state of a first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

[0006] Another embodiment of the present disclosure provides a control device for an electronic device. The control device for the electronic device includes: a temperature acquisition module configured to obtain a first temperature of the lens barrel of the electronic device; a temperature comparison module configured to determine whether the first temperature is greater than a first preset threshold; a control module configured to, when it is determined that the first temperature is greater than the first preset threshold, adjust the working state of a first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

[0007] In some embodiments, the present disclosure provides a terminal, including: at least one memory and at least one processor; wherein, the memory is used for storing program code, and the processor is used for calling the program code stored in the memory to execute the above-mentioned control method for the electronic device.

[0008] In some embodiments, the present disclosure provides a storage medium, which is used for storing program code, and the program code is used for executing the above-mentioned control method for the electronic device.

[0009] By comparing the first temperature of the lens barrel with the first preset threshold to determine whether to operate the first cooling mechanism of the electronic device, and then being able to reduce the temperature of the lens barrel by adjusting the working state of the first cooling mechanism, so that the temperature of the lens barrel is within a range suitable for the human eye to feel, reducing the experience of roasting the eyes. Description of the Drawings

[0010] In conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the elements and elements are not necessarily drawn to scale.

[0011] Figure 1 is a schematic flowchart of a control method for an electronic device according to some embodiments of the present disclosure.

[0012] Figure 2 is a schematic flowchart of a control method for an electronic device according to some embodiments of the present disclosure.

[0013] Figure 3 is a schematic flowchart of a control method for an electronic device according to some embodiments of the present disclosure.

[0014] Figure 4 is a schematic flowchart of a control method for an electronic device according to some embodiments of the present disclosure.

[0015] Figure 5 is a partial module of a control device for an electronic device according to some embodiments of the present disclosure.

[0016] Figure 6 is a schematic structural diagram of an electronic device according to some embodiments of the present disclosure. Detailed Description of the Embodiments

[0017] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0018] It should be understood that the various steps recited in the method embodiments of the present disclosure can be executed sequentially and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.

[0019] As used herein, the term "including" and its variations are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions executed by these devices, modules or units or their interdependent relationships.

[0021] It should be noted that the modification of "a" mentioned in this disclosure is illustrative rather than restrictive. Those skilled in the art should understand that unless clearly specified otherwise in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of this disclosure are only for illustrative purposes, and are not used to limit the scope of these messages or information.

[0023] Current head-mounted devices (e.g., VR glasses) often use soft materials to closely adhere the product to the human face to provide users with sufficient immersion. For example, during long-term wearing, due to the heating of components such as the chips and screens of the head-mounted device itself, the temperature of the lens barrel will rise, and the heat will be irradiated onto the human eyes through the lens, resulting in problems such as discomfort in the human eyes.

[0024] The purpose of this disclosure is to provide a lens barrel temperature sensing and control solution with low cost, high reliability, and improved comfort in using a head-mounted device, so as to solve problems such as burning eyes caused by the continuous rise of the lens barrel temperature.

[0025] Figure 1 A flowchart of the control method of the electronic device according to the embodiments of this disclosure is provided. The control method of the electronic device of this disclosure may include step S101 of obtaining the first temperature of the lens barrel of the electronic device. In some embodiments, the electronic device includes a head-mounted device. In some embodiments, the head-mounted device is a VR glasses, an augmented reality (AR) glasses, an extended reality (XR) glasses, etc. In some embodiments, the first temperature of the lens barrel of the electronic device may be obtained by a temperature sensor disposed on the lens barrel of the electronic device.

[0026] In some embodiments, the method of this disclosure may further include step S102 of determining whether the first temperature is greater than a first preset threshold. In some embodiments, when the first temperature of the lens barrel is too high, through the refraction of the lens in the lens barrel, etc., a burning or baking feeling appears in the user's eyes. Therefore, first determine whether the first temperature is greater than the first preset threshold. In some embodiments, the first preset threshold may be a suitable value such as 35°C, 40°C, 45°C, 50°C, etc.

[0027] In some embodiments, the method of the present disclosure may further include step S103. When it is determined that the first temperature is greater than the first preset threshold, the working state of the first cooling mechanism of the electronic device is adjusted to reduce the temperature of the lens barrel. In some embodiments, the first cooling mechanism includes a fan, for example, a common heat dissipation fan or a liquid cooling fan, etc. In some embodiments, the first cooling mechanism of the electronic device may be disposed near the lens barrel, such that the first cooling mechanism can easily blow air towards the lens barrel and reduce the temperature of the lens barrel. In some embodiments, adjusting the working state of the first cooling mechanism of the electronic device may include turning on the first cooling mechanism, that is, from off to on, or may also include adjusting (for example, increasing) the power of the first cooling mechanism, etc.

[0028] By comparing the first temperature of the lens barrel with the first preset threshold to determine whether to operate the first cooling mechanism of the electronic device, it is thus possible to reduce the temperature of the lens barrel by adjusting the working state of the first cooling mechanism, so that the temperature of the lens barrel is within a range suitable for the human eye to feel and reduce the experience of eye roasting.

[0029] In some embodiments, when it is determined that the first temperature is greater than the first preset threshold, adjusting the working state of the first cooling mechanism of the electronic device includes: determining a first difference between the first temperature and the first preset threshold; adjusting the power of the first cooling mechanism according to the first difference. In this way, the greater the first difference between the first temperature and the first preset threshold, the greater the power of the first cooling mechanism can be adjusted, so as to be able to more quickly reduce the temperature of the lens barrel and make the temperature of the lens barrel in a state comfortable for the human eye. And when the first difference between the first temperature and the first preset threshold is relatively small, the power of the first cooling can be adjusted to be relatively small, so as to save the power consumption of the electronic device while reducing the temperature of the lens barrel.

[0030] In some embodiments, both the first difference and the power of the first cooling mechanism are directly proportional. That is, the greater the first difference, the correspondingly greater the power of the first cooling mechanism. In some embodiments, the first difference may be divided into multiple different ranges, and each range corresponds to a corresponding power of the first cooling mechanism. Thus, the correspondence between the first difference and the power of the first cooling mechanism is achieved.

[0031] In some embodiments, the lens barrel and the processor of the electronic device may share the first cooling mechanism. In some embodiments, such as Figure 2As shown, the control method further includes: obtaining a second temperature of a processor of the electronic device. In some embodiments, the second temperature of the processor can be obtained by a temperature sensor provided on the processor. In some embodiments, when it is determined that the first temperature is greater than a first preset threshold, adjusting the operating state of a first cooling mechanism of the electronic device to lower the temperature of the lens barrel includes: determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to lower the temperature of the lens barrel. Therefore, when the lens barrel and the processor of the electronic device can share the first cooling mechanism, when it is determined that the second temperature is less than the second preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to lower the temperature of the lens barrel, that is, when the temperature of the processor is not overheated, the operating state of the first cooling mechanism of the electronic device can be adjusted to lower the temperature of the lens barrel. At this time, the first temperature of the lens barrel is mainly considered. When the first temperature is higher, a greater power of the first cooling mechanism can be adopted. On the contrary, when the first temperature is lower, a smaller power of the first cooling mechanism can be adopted. And when the second temperature is greater than or equal to the second preset threshold, that is, when the processor may be overheated, the operating state of the first cooling mechanism of the electronic device can be adjusted to lower the temperature of the processor. At this time, the second temperature of the processor is mainly considered. When the second temperature is higher, a greater power of the first cooling mechanism can be adopted. On the contrary, when the second temperature is lower, a smaller power of the first cooling mechanism can be adopted.

[0032] In some embodiments, as Figure 3 shown, the first cooling mechanism and the second cooling mechanism of the electronic device can work in a decoupled manner. In some embodiments, as Figure 3 shown, when it is determined that the first temperature is greater than a first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device includes: when it is determined that the first temperature is greater than the first preset threshold, determining whether the power of the first cooling mechanism has reached the maximum power; when it is determined that the power of the first cooling mechanism has not reached the maximum power, increasing the power of the first cooling mechanism of the electronic device. In some embodiments, if the power of the first cooling mechanism has not reached the maximum power, the power of the first cooling mechanism of the electronic device can be increased at this time to quickly lower the temperature of the lens barrel.

[0033] In some embodiments, the control method further includes: when it is determined that the power of the first cooling mechanism has reached the maximum power, at this time, it is impossible to increase the power of the first cooling mechanism. At this time, by adjusting the working state of the second cooling mechanism of the electronic device, the temperatures of the processor and the lens barrel are reduced. That is, by means of the second cooling mechanism for cooling the processor, the temperature of the lens barrel can be reduced because generally, the processor and the lens barrel are arranged adjacent to each other, so that the second cooling mechanism can be used to reduce the temperature of the lens barrel. In this way, while satisfying the control of the temperature of the lens barrel first, the heat dissipation requirements of the processor are met.

[0034] In some embodiments, the control method of the present disclosure further includes: obtaining a second temperature of the processor of the electronic device; determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, returning to the step of obtaining a first temperature of the lens barrel of the electronic device. That is, at this time, the temperature of the processor of the electronic device is not overheated, and the step of obtaining the first temperature of the lens barrel of the electronic device is returned to continue monitoring the first temperature of the lens barrel. In some embodiments, the second preset threshold may be 40°C, 45°C, 50°C, 60°C, etc. In some embodiments, when it is determined that the second temperature is greater than or equal to the second preset threshold, the working state of the second cooling mechanism of the electronic device is adjusted to reduce the temperature of the processor. When the second temperature is greater than or equal to the second preset threshold, the processor may be overheated. At this time, by adjusting the working state of the second cooling mechanism of the electronic device (for example, increasing the power of the second cooling mechanism), the temperature of the processor is reduced. In this way, while satisfying the priority control of the temperature of the lens barrel, the heat dissipation requirements of the processor of the electronic device are met.

[0035] In some embodiments, as Figure 4 shown, the first cooling mechanism and the second cooling mechanism of the electronic device can work in a decoupled manner. In some embodiments, as Figure 4As shown, the control method further includes: obtaining a second temperature of a processor of the electronic device; determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, returning to the step of obtaining a first temperature of a lens barrel of the electronic device. That is, at this time, the temperature of the processor of the electronic device is not overheated, and the step of obtaining the first temperature of the lens barrel of the electronic device is returned to continue monitoring the first temperature of the lens barrel. In some embodiments, the second preset threshold may be 40°C, 45°C, 50°C, 60°C, etc. In some embodiments, when it is determined that the second temperature is greater than or equal to the second preset threshold, it is determined whether the power of a second cooling mechanism of the electronic device has reached the maximum power. When the second temperature is greater than or equal to the second preset threshold, the processor of the electronic device may be overheated. In some embodiments, when it is determined that the power of the second cooling mechanism of the electronic device has reached the maximum power, the working state of a first cooling mechanism of the electronic device is adjusted to reduce the temperatures of the processor and the lens barrel. That is, at this time, the temperature of the processor is reduced by means of the first cooling mechanism for cooling the lens barrel, because generally, the processor and the lens barrel are adjacently arranged, so that the temperature of the processor can be reduced by using the first cooling mechanism. Therefore, the requirement for temperature control of the lens barrel is met while giving priority to dissipating heat from the processor.

[0036] In some embodiments, the control method further includes: when it is determined that the power of the second cooling mechanism of the electronic device has not reached the maximum power, adjusting the working state of the second cooling mechanism of the electronic device to reduce the temperature of the processor.

[0037] In some embodiments, the first temperature of the lens barrel can be obtained in real time to determine whether the working state of the first cooling mechanism of the electronic device needs to be adjusted. In some embodiments, switches for adjusting the first cooling mechanism and the second cooling mechanism of the electronic device and buttons for power magnitude can also be provided on the electronic device, and manual adjustment can be performed when the user expects to manually adjust the on / off and power magnitude of the first cooling mechanism and the second cooling mechanism of the electronic device.

[0038] An embodiment of the present disclosure further provides a control device 400 for an electronic device. The control device 400 for the electronic device includes a temperature acquisition module 401, a temperature comparison module 402, and a control module 403. In some embodiments, the temperature acquisition module 401 is configured to acquire a first temperature of a lens barrel of the electronic device. In some embodiments, the temperature comparison module 402 is configured to determine whether the first temperature is greater than a first preset threshold. In some embodiments, the control module 403 is configured to, when it is determined that the first temperature is greater than the first preset threshold, adjust the working state of the first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

[0039] It should be understood that the content described regarding the control method of the electronic device also applies to the control device 400 for the electronic device here, and for the sake of simplicity, it will not be described in detail here.

[0040] In some embodiments, when it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device includes: determining a first difference between the first temperature and the first preset threshold; adjusting the power of the first cooling mechanism according to the first difference. In some embodiments, the first difference is proportional to the power of the first cooling mechanism. In some embodiments, the temperature acquisition module is further configured to acquire a second temperature of the processor of the electronic device; wherein, when it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to reduce the temperature of the lens barrel includes: determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to reduce the temperature of the lens barrel. In some embodiments, when it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device includes: when it is determined that the first temperature is greater than the first preset threshold, determining whether the power of the first cooling mechanism has reached the maximum power; when it is determined that the power of the first cooling mechanism has not reached the maximum power, increasing the power of the first cooling mechanism of the electronic device. In some embodiments, the control module is further configured to, when it is determined that the power of the first cooling mechanism has reached the maximum power, reduce the temperature of the processor and the lens barrel by adjusting the operating state of the second cooling mechanism of the electronic device. In some embodiments, the temperature acquisition module is further configured to acquire a second temperature of the processor of the electronic device; the temperature comparison module is further configured to determine whether the second temperature is less than a second preset threshold; the control module is further configured to, when it is determined that the second temperature is less than the second preset threshold, return to the step of acquiring the first temperature of the lens barrel of the electronic device; when it is determined that the second temperature is greater than or equal to the second preset threshold, adjusting the operating state of the second cooling mechanism of the electronic device to reduce the temperature of the processor. In some embodiments, the temperature acquisition module is further configured to acquire a second temperature of the processor of the electronic device; the temperature comparison module is further configured to determine whether the second temperature is less than a second preset threshold; the control module is further configured to, when it is determined that the second temperature is less than the second preset threshold, return to the step of acquiring the first temperature of the lens barrel of the electronic device; the power comparison module is configured to, when it is determined that the second temperature is greater than or equal to the second preset threshold, determine whether the power of the second cooling mechanism of the electronic device has reached the maximum power; the control module is further configured to, when it is determined that the power of the second cooling mechanism of the electronic device has reached the maximum power, adjust the operating state of the first cooling mechanism of the electronic device to reduce the temperature of the processor and the lens barrel.In some embodiments, the control module is further configured to adjust the operating state of the second cooling mechanism of the electronic device to reduce the temperature of the processor when it is determined that the power of the second cooling mechanism of the electronic device has not reached the maximum power.

[0041] In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein, the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the control method of the above-mentioned electronic device.

[0042] In addition, the present disclosure also provides a computer storage medium, which stores program codes for executing the control method of the above-mentioned electronic device.

[0043] The above describes the control method and device of the electronic device of the present disclosure based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, and the following describes these terminal and storage medium.

[0044] Next, refer to Figure 6 , which shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 500 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The shown electronic device is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0045] As Figure 6 shown, the electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which may perform various appropriate actions and processes according to the programs stored in the read-only memory (ROM) 502 or the programs loaded from the storage device 508 into the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.

[0046] Typically, the following devices can be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and a communication device 509. The communication device 509 can allow the electronic device 500 to communicate with other devices wirelessly or wireline to exchange data. Although Figure 6 the electronic device 500 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices can be implemented or had.

[0047] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the methods of the embodiments of the present disclosure are performed.

[0048] It should be noted that the computer-readable medium described above in the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0049] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0050] The above computer-readable medium can be included in the above electronic device; or it can exist separately without being assembled into the electronic device.

[0051] The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to execute the method of the present disclosure described above.

[0052] Computer program code for performing the operations of this disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partially on the user's computer, execute as a stand-alone software package, execute partially on the user's computer and partially on a remote computer, or execute entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0053] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0054] The units described in the embodiments of this disclosure may be implemented in software or in hardware. Wherein, the name of the unit does not constitute a limitation to the unit itself in some cases.

[0055] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems on a chip (SOC), complex programmable logic devices (CPLD), and so on.

[0056] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0057] According to one or more embodiments of the present disclosure, there is provided a control method for an electronic device, the control method for the electronic device including: obtaining a first temperature of a lens barrel of the electronic device; determining whether the first temperature is greater than a first preset threshold; when it is determined that the first temperature is greater than the first preset threshold, adjusting a working state of a first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

[0058] According to one or more embodiments of the present disclosure, when it is determined that the first temperature is greater than the first preset threshold, adjusting the working state of the first cooling mechanism of the electronic device includes: determining a first difference between the first temperature and the first preset threshold; adjusting the power of the first cooling mechanism according to the first difference.

[0059] According to one or more embodiments of the present disclosure, the first difference is proportional to the power of the first cooling mechanism.

[0060] According to one or more embodiments of the present disclosure, the control method further includes: obtaining a second temperature of a processor of the electronic device; wherein, when it is determined that the first temperature is greater than the first preset threshold, adjusting the working state of the first cooling mechanism of the electronic device to reduce the temperature of the lens barrel includes: determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, adjusting the working state of the first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

[0061] According to one or more embodiments of the present disclosure, when it is determined that the first temperature is greater than the first preset threshold, adjusting the working state of the first cooling mechanism of the electronic device includes: when it is determined that the first temperature is greater than the first preset threshold, determining whether the power of the first cooling mechanism has reached the maximum power; when it is determined that the power of the first cooling mechanism has not reached the maximum power, increasing the power of the first cooling mechanism of the electronic device.

[0062] According to one or more embodiments of the present disclosure, the control method further includes: when it is determined that the power of the first cooling mechanism has reached the maximum power, by adjusting the working state of the second cooling mechanism of the electronic device, to reduce the temperatures of the processor and the lens barrel.

[0063] According to one or more embodiments of the present disclosure, the control method further includes: obtaining a second temperature of the processor of the electronic device; determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, returning to the step of obtaining the first temperature of the lens barrel of the electronic device; when it is determined that the second temperature is greater than or equal to the second preset threshold, adjusting the working state of the second cooling mechanism of the electronic device, to reduce the temperature of the processor.

[0064] According to one or more embodiments of the present disclosure, the control method further includes: obtaining a second temperature of the processor of the electronic device; determining whether the second temperature is less than a second preset threshold; when it is determined that the second temperature is less than the second preset threshold, returning to the step of obtaining the first temperature of the lens barrel of the electronic device; when it is determined that the second temperature is greater than or equal to the second preset threshold, determining whether the power of the second cooling mechanism of the electronic device has reached the maximum power; when it is determined that the power of the second cooling mechanism of the electronic device has reached the maximum power, adjusting the working state of the first cooling mechanism of the electronic device, to reduce the temperatures of the processor and the lens barrel.

[0065] According to one or more embodiments of the present disclosure, the control method further includes: when it is determined that the power of the second cooling mechanism of the electronic device has not reached the maximum power, adjusting the working state of the second cooling mechanism of the electronic device, to reduce the temperature of the processor.

[0066] According to one or more embodiments of the present disclosure, a control device for an electronic device is further provided. The control device for the electronic device includes: a temperature acquisition module configured to acquire a first temperature of a lens barrel of the electronic device; a temperature comparison module configured to determine whether the first temperature is greater than a first preset threshold; and a control module configured to, when it is determined that the first temperature is greater than the first preset threshold, adjust an operating state of a first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

[0067] According to one or more embodiments of the present disclosure, a terminal is provided, including: at least one memory and at least one processor; wherein, the at least one memory is used for storing program codes, and the at least one processor is used for calling the program codes stored in the at least one memory to execute the method described in any one of the above.

[0068] According to one or more embodiments of the present disclosure, a storage medium is provided. The storage medium is used for storing program codes, and the program codes are used for executing the above method.

[0069] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, a technical solution formed by mutually replacing the above features with technical features having similar functions disclosed in the present disclosure (but not limited to).

[0070] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented combinatorially in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.

[0071] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and acts described above are merely example forms for implementing the claims.

Claims

1. A control method for an electronic device, characterized in that, The control method includes: Obtaining a first temperature of the lens barrel of the electronic device; Determining whether the first temperature is greater than a first preset threshold; When it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to lower the temperature of the lens barrel.

2. The control method of the electronic device according to claim 1, characterized in that, When it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device includes: Determining a first difference between the first temperature and the first preset threshold; Adjusting the power of the first cooling mechanism according to the first difference.

3. The control method of the electronic device according to claim 2, characterized in that, The first difference is proportional to the power of the first cooling mechanism.

4. The control method of the electronic device according to claim 1, wherein, The control method further includes: Obtaining a second temperature of the processor of the electronic device; Wherein, when it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to lower the temperature of the lens barrel includes: Determining whether the second temperature is less than a second preset threshold; When it is determined that the second temperature is less than the second preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device to lower the temperature of the lens barrel.

5. The control method of the electronic device according to claim 1, wherein, When it is determined that the first temperature is greater than the first preset threshold, adjusting the operating state of the first cooling mechanism of the electronic device includes: When it is determined that the first temperature is greater than the first preset threshold, determining whether the power of the first cooling mechanism has reached the maximum power; When it is determined that the power of the first cooling mechanism has not reached the maximum power, increasing the power of the first cooling mechanism of the electronic device.

6. The control method of the electronic device according to claim 5, wherein The control method further includes: When it is determined that the power of the first cooling mechanism has reached the maximum power, by adjusting the operating state of the second cooling mechanism of the electronic device, to lower the temperatures of the processor and the lens barrel.

7. The control method of the electronic device according to claim 6, characterized in that, The control method further includes: Obtaining a second temperature of the processor of the electronic device; Determining whether the second temperature is less than a second preset threshold; When it is determined that the second temperature is less than the second preset threshold, returning to the step of obtaining the first temperature of the lens barrel of the electronic device; When it is determined that the second temperature is greater than or equal to the second preset threshold, adjusting the operating state of the second cooling mechanism of the electronic device to lower the temperature of the processor.

8. The control method of the electronic device according to claim 1, characterized in that, The control method further includes: Obtaining a second temperature of the processor of the electronic device; Determining whether the second temperature is less than a second preset threshold; When it is determined that the second temperature is less than the second preset threshold, returning to the step of obtaining the first temperature of the lens barrel of the electronic device; When it is determined that the second temperature is greater than or equal to the second preset threshold, determining whether the power of the second cooling mechanism of the electronic device has reached the maximum power; When it is determined that the power of the second cooling mechanism of the electronic device has reached the maximum power, adjusting the operating state of the first cooling mechanism of the electronic device to lower the temperatures of the processor and the lens barrel.

9. The control method of the electronic device according to claim 8, characterized in that, The control method further includes: When it is determined that the power of the second cooling mechanism of the electronic device has not reached the maximum power, adjust the operating state of the second cooling mechanism of the electronic device to reduce the temperature of the processor.

10. A control device for an electronic device, characterized in that, The control device of the electronic device includes: a temperature acquisition module configured to acquire a first temperature of the lens barrel of the electronic device; a temperature comparison module configured to determine whether the first temperature is greater than a first preset threshold; a control module configured to, when it is determined that the first temperature is greater than the first preset threshold, adjust the operating state of the first cooling mechanism of the electronic device to reduce the temperature of the lens barrel.

11. A terminal, comprising: at least one memory and at least one processor; wherein, the at least one memory is used for storing program code, and the at least one processor is used for calling the program code stored in the at least one memory to execute the control method of the electronic device according to any one of claims 1 to 9.

12. A storage medium, the storage medium is used for storing program code, and the program code is used for executing the control method of the electronic device according to any one of claims 1 to 9.