Display device, image capturing method, and storage medium
By prompting the display device's controller to enter memory-saving mode and lowering the resolution of the image acquisition module, the problem of shooting failures due to insufficient storage space was resolved, achieving more efficient storage space utilization and improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HISENSE VISUAL TECH CO LTD
- Filing Date
- 2023-01-09
- Publication Date
- 2026-07-24
AI Technical Summary
When the storage space of the display device is insufficient, existing technologies cannot effectively solve the problem of shooting failure, resulting in a decline in user experience.
When the controller of the display device determines that the storage space is insufficient, it prompts the user whether to enable the memory-saving mode. After receiving the enable operation, it lowers the resolution of the image acquisition module to the second value and controls the image acquisition module to acquire images at the resolution corresponding to the second value.
It effectively saves available storage space on display devices, avoids shooting failures, and improves user experience, especially suitable for scenarios where high resolution is not required.
Smart Images

Figure CN117812464B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic technology, and in particular to a display device, an image acquisition method, and a storage medium. Background Technology
[0002] With the continuous development of technology, the memory of display devices is getting larger and larger, and the number of applications installed on display devices is also increasing, making the application range of display devices wider and wider, providing convenience for people's lives, production and many other aspects.
[0003] Current display devices may have various applications installed and various media resources stored. When the storage space of the display device is insufficient, if the user wants to take a picture, it will cause the picture to fail, thus affecting the user experience. Summary of the Invention
[0004] To solve the above-mentioned technical problems, or at least partially solve them, this disclosure provides a display device, an image acquisition method, and a storage medium. By reducing the resolution of the image acquisition module, the image acquisition module acquires images at the reduced resolution, thereby reducing the size of the acquired images. This saves available storage space on the display device, allows the image acquisition device to acquire more images, avoids shooting failures, and improves the user experience.
[0005] In a first aspect, this disclosure provides a display device, the display device comprising:
[0006] The image acquisition module is configured to acquire images;
[0007] The controller is configured to: when it determines that the available storage space of the display device is less than a preset threshold, control the display to display a prompt message, wherein the prompt message is used to prompt the user whether to enable the memory-saving mode;
[0008] In response to enabling the memory-saving mode, the resolution of the image acquisition module is reduced from a first value to a second value;
[0009] The image acquisition module is controlled to acquire images at the resolution corresponding to the second value.
[0010] Secondly, this disclosure provides an image acquisition method, including:
[0011] When it is determined that the available storage space of the display device is less than a preset threshold, the display is controlled to show a prompt message, wherein the prompt message is used to prompt the user whether to enable the memory saving mode;
[0012] In response to enabling the memory-saving mode, the resolution of the image acquisition module of the display device is reduced from a first value to a second value;
[0013] The image acquisition module is controlled to acquire images at the resolution corresponding to the second value.
[0014] Thirdly, this disclosure provides a computer-readable storage medium, including: storing a computer program on the computer-readable storage medium, wherein when the computer program is executed by a processor, it implements the image acquisition method as shown in the second aspect.
[0015] Fourthly, this disclosure provides a computer program product, including: when the computer program product is run on a computer, causing the computer to implement the image acquisition method as shown in the second aspect.
[0016] Compared with the prior art, the technical solution provided in this disclosure has the following advantages: When the controller of the display device determines that the available storage space of the display device is less than a preset threshold, it controls the display to display a prompt message. The prompt message is used to prompt the user whether to enable the memory-saving mode. When the operation to enable the memory-saving mode is received, in response to the operation, the resolution of the image acquisition module is reduced from a first value to a second value, and the image acquisition module is controlled to acquire images at the resolution corresponding to the second value. In the above technical solution, by reducing the resolution of the image acquisition module, the image acquisition module acquires images at the reduced resolution, thereby reducing the size of the acquired images, saving the available storage space of the display device, enabling the image acquisition device to acquire more images, avoiding the problem of shooting failure, and improving the user experience. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0019] Figure 1A This is a schematic diagram illustrating an operational scenario between a display device, a control device, and a mobile device according to one or more embodiments of the present disclosure.
[0020] Figure 1B This is a flowchart illustrating the image acquisition method in related technologies;
[0021] Figure 2 This is a hardware configuration block diagram of a control device according to one or more embodiments of the present disclosure;
[0022] Figure 3A This is a hardware configuration block diagram of a display device according to one or more embodiments of the present disclosure;
[0023] Figure 3B This is a schematic diagram of software configuration in a display device according to one or more embodiments of the present disclosure;
[0024] Figure 3C This is a schematic diagram showing the icon control interface of an application in a display device according to one or more embodiments of the present disclosure;
[0025] Figure 4 This is a system framework diagram for image acquisition according to one or more embodiments of the present disclosure;
[0026] Figure 5A A flowchart illustrating an image acquisition method provided in some embodiments of this disclosure;
[0027] Figure 5B A schematic diagram of the interface when a display shows prompt information, provided in some embodiments of this disclosure;
[0028] Figure 6A A flowchart illustrating another image acquisition method provided in some embodiments of this disclosure;
[0029] Figure 6B This is a schematic diagram of the interface when a display shows target information for resource management, as provided in some embodiments of this disclosure.
[0030] Figure 7 This diagram illustrates the interaction process between modules in an image acquisition method provided by some embodiments of this disclosure.
[0031] Figure 8 This diagram illustrates the interaction process between modules of another image acquisition method provided in some embodiments of this disclosure. Detailed Implementation
[0032] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0033] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0034] It should be noted that the brief descriptions of terms in this disclosure are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0035] It should be noted that in this disclosure, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. For example, a product or apparatus that comprises a list of components is not necessarily limited to all components expressly listed, but may include other components not expressly listed or inherent to such product or apparatus.
[0036] In recent years, with the rapid development of the internet and the popularization of artificial intelligence (AI) technology, display devices, such as smart TVs, have gradually become smart terminals in people's homes and the first choice for living room entertainment. Especially during family gatherings, the large screen advantage of smart TVs becomes prominent, making them a mainstream form of entertainment.
[0037] Figure 1A This is a schematic diagram illustrating an operational scenario between a display device, a control device, and a mobile device according to one or more embodiments of this disclosure. Figure 1A As shown, Figure 1A The system includes: a control device 100, a display device 200, a mobile device 300, and a server 400. The display device 200 is equipped with an image acquisition module, which enables image capture and video recording. Simultaneously, the display device 200 can be controlled via the control device 100 or the mobile device 300.
[0038] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device 200 may include infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods, etc., through which the display device 200 can be controlled. Users can control the display device 200 by inputting user commands through buttons on the remote control, voice input, and control panel input.
[0039] In some embodiments, mobile terminals, tablet computers, computers, laptops and other smart devices may also be used to control the display device 200.
[0040] In some embodiments, the display device 200 may receive instructions not through the aforementioned smart device or control device, but through touch or gestures.
[0041] In some embodiments, the display device 200 can also be controlled in ways other than control devices and smart devices. For example, it can be controlled by receiving user voice commands directly through a module configured inside the display device 200 for acquiring voice commands, or it can be controlled by receiving user voice commands through a voice control device set outside the display device 200.
[0042] In some embodiments, the mobile terminal can install software applications with the display device 200 to connect and communicate via network communication protocols, achieving one-to-one control operations and data communication. Audio and video content displayed on the mobile terminal can also be transmitted to the display device 200 for synchronized display. The display device 200 can also communicate with the server 400 via various communication methods, allowing the display device 200 to connect via a local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 can be a cluster or multiple clusters, and may include one or more types of servers. The server 400 can provide various content and interactive features to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, or a projection display device, etc. In addition to providing broadcast television reception functions, the display device 200 can also be equipped with intelligent network television functions that provide computer support.
[0043] With the continuous development of technology, the memory of display devices is getting larger and larger, and the number of applications installed on these devices is also increasing. Various resources and applications consume the available storage space of the display device. Therefore, insufficient storage space on the display device may lead to shooting failures.
[0044] For example, Figure 1B This is a flowchart illustrating image acquisition methods in related technologies. For example... Figure 1B As shown, the process specifically includes the following steps:
[0045] S1001, The display device determines that the available storage space of the display device is less than a preset threshold.
[0046] The preset value can be a pre-set value, such as 200M, or 10% of the total storage space, or it can be determined according to the specific situation. This embodiment does not make specific limitations on this.
[0047] When the display device determines that the available storage space of the display device is less than a preset threshold, it indicates that the available storage space of the display device is insufficient.
[0048] S1002, Display device deletes or exports resources.
[0049] When the display device receives a user-triggered delete or export operation, it performs the delete or export operation on the user-selected resource to increase the available storage space of the display device.
[0050] S1003, determine whether the available storage space of the display device is less than a preset threshold.
[0051] If yes, execute S1002; otherwise, execute S1004.
[0052] S1004, control the image acquisition module to continue acquiring images.
[0053] In the above methods, when the available storage space of the display device is insufficient, the only way to increase the available storage space of the display device is to delete or export resources. If the user does not want to delete or export resources, the problem of shooting failure caused by insufficient storage space of the display device cannot be solved. In addition, the above methods provide users with limited options and cannot meet the user's needs.
[0054] To address the aforementioned issues, this disclosure proposes an image acquisition method. When the controller of the display device determines that the available storage space of the display device is less than a preset threshold, it controls the display to show a prompt message. This prompt message asks the user whether to enable a memory-saving mode. Upon receiving an operation to enable memory-saving mode, in response to this operation, the resolution of the image acquisition module is lowered from a first value to a second value. The image acquisition module is then controlled to acquire images at the resolution corresponding to the second value. In this technical solution, by lowering the resolution of the image acquisition module, the image acquisition module acquires images at the lowered resolution, thereby reducing the size of the acquired images. This saves available storage space on the display device, allowing the image acquisition device to acquire more images, avoiding capture failures, and improving the user experience.
[0055] Figure 2 This is a hardware configuration block diagram of a control device according to one or more embodiments of the present disclosure. Figure 2As shown, the control device includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device can receive user input commands and convert them into commands that the display device 200 can recognize and respond to, acting as an intermediary for interaction between the user and the display device 200. The communication interface 130 is used for external communication and includes at least one of a Wi-Fi chip, a Bluetooth module, NFC, or a replacement module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, buttons, or a replacement module.
[0056] Figure 3A This is a hardware configuration block diagram of a display device according to one or more embodiments of the present disclosure. Figure 3A As shown, the display device 200 includes at least one of a tuner / demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface (i.e., a user input interface) 280. The controller 250 includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to nth interface for input / output. The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen. The tuner / demodulator 210 receives broadcast television signals via wired or wireless means, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals. The communicator 220 is a component used to communicate with the server 400 according to various communication protocol types. For example, the communicator may include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver. Display device 200 can establish the transmission and reception of control signals and data signals with control device 100 or server 400 via communicator 220. Detector 230 is used to collect signals from the external environment or signals interacting with the outside world. Controller 250 and tuner 210 can be located in different separate devices; that is, tuner 210 can also be located in an external device of the main device containing controller 250, such as an external set-top box. User interface 280 can be used to receive control signals from control devices (such as infrared remote controls).
[0057] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200. The user can input user commands through a graphical user interface (GUI) displayed on the monitor 260, and the user input interface receives the user input commands through the GUI. Alternatively, the user can input user commands by inputting specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.
[0058] In some embodiments, a "user interface" is the medium through which an application or operating system interacts and exchanges information with a user, enabling the conversion between the internal form of information and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be interface elements such as icons, windows, and controls displayed on the screen of an electronic device. Controls can include at least one of the visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0059] Figure 3B This is a schematic diagram of software configuration in a display device according to one or more embodiments of the present disclosure. Figure 3B As shown, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Library Layer"), and the kernel layer.
[0060] In some embodiments, at least one application runs in the application layer. These applications may be Windows programs, system settings programs, or clock programs that come with the operating system; they may also be applications developed by third-party developers. In specific implementations, the applications in the application layer include, but are not limited to, the examples above.
[0061] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.
[0062] In some embodiments, the kernel layer is a layer between hardware and software, and includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0063] Figure 3C This is a schematic diagram showing the icon control interface of an application in a display device according to one or more embodiments of the present disclosure. Figure 3C As shown, the application layer contains at least one application whose corresponding icon control can be displayed on the screen, such as: live TV application icon control, video-on-demand application icon control, media center application icon control, application center icon control, game application icon control, etc. Live TV applications can provide live television from different signal sources. Video-on-demand applications can provide video from different storage sources. Unlike live TV applications, video-on-demand provides video display from certain storage sources. Media center applications can provide applications for playing various multimedia content. The application center can provide storage for various applications.
[0064] In some embodiments, the display device described above is a terminal device with display and image acquisition functions, such as a television, mobile phone, or computer. In this display device:
[0065] The output interface (display 260, and / or audio output interface 270) is configured to output user interaction information;
[0066] Communicator 220 is used to communicate with the server;
[0067] The image acquisition module is configured to acquire images.
[0068] Controller 250 is configured as follows:
[0069] When it is determined that the available storage space of the display device is less than a preset threshold, the display is controlled to show a prompt message, wherein the prompt message is used to prompt the user whether to enable the memory saving mode;
[0070] In response to enabling the memory-saving mode, the resolution of the image acquisition module is reduced from a first value to a second value;
[0071] The image acquisition module is controlled to acquire images at the resolution corresponding to the second value.
[0072] In some embodiments, the controller 250 is further configured to:
[0073] In response to the operation of not enabling the memory-saving mode, the display is controlled to show target information for resource management, wherein the target information includes at least one of the following options: delete, export and delete, export, and reduce image quality;
[0074] In response to the operation of determining a target option from the target information and the operation of determining a first resource from the local resources of the display device, the operation of the target option is performed on the first resource to increase the available storage space of the display device;
[0075] Control the image acquisition module to continue acquiring images.
[0076] In some embodiments, the target option includes reducing image quality;
[0077] Controller 250 is specifically configured as follows:
[0078] In response to determining the operation of reducing image quality from the target information and determining the operation of the first resource from the local resources of the display device, the quality value of the first resource is reduced to obtain the second resource;
[0079] The first resource and / or the second resource are stored in the target device, a replacement operation is performed on the first resource based on the second resource, and the first resource is deleted from the local resources, so as to increase the available storage space of the display device.
[0080] In some embodiments, the target options include exporting and deleting;
[0081] Controller 250 is specifically configured as follows:
[0082] In response to determining the export and deletion operation from the target information and determining the first resource from the local resources of the display device, the first resource is stored in the target device, and a deletion operation is performed on the first resource to increase the available storage space of the display device.
[0083] In some embodiments, the controller 250 is further configured to:
[0084] Before determining that the available storage space of the display device is less than the preset threshold, if the image acquisition module is detected to be activated, it is determined whether the memory-saving mode is enabled.
[0085] When the memory-saving mode is enabled, the resolution of the image acquisition module is reduced from a first value to a second value.
[0086] In some embodiments, the controller 250 is specifically configured to:
[0087] The available storage space of the display device is obtained through the storage status manager of the display device;
[0088] Based on the relationship between the available storage space and the preset threshold, it is determined that the available storage space is less than the preset threshold.
[0089] In some embodiments, the aspect ratio of the first value is equal to the aspect ratio of the second value.
[0090] In summary, this disclosure, by executing the above image acquisition method on a display device, allows the display device controller to display a prompt message when the available storage space of the display device is less than a preset threshold. The prompt message prompts the user whether to enable a memory-saving mode. Upon receiving an operation to enable memory-saving mode, the resolution of the image acquisition module is lowered from a first value to a second value in response to this operation. The image acquisition module is then controlled to acquire images at the resolution corresponding to the second value. In this technical solution, by lowering the resolution of the image acquisition module, the image acquisition module acquires images at the lowered resolution, thereby reducing the size of the acquired images. This saves available storage space on the display device, enabling the image acquisition device to acquire more images, avoiding capture failures, and improving the user experience.
[0091] Figure 4 This is a system framework diagram for image acquisition according to one or more embodiments of the present disclosure, such as... Figure 4As shown, in some embodiments, the software implementation of the image acquisition method mainly includes two layers: an application layer and a framework layer. The application layer includes a storage space acquisition module, a resource management module, and an image acquisition module; the framework layer includes a storage state manager and an information storage module. Specifically, the storage space acquisition module is mainly used to record the current available storage space of the display device. This allows the controller to determine when the available storage space is less than a preset threshold, and then control the display device's screen to display a prompt message to remind the user. The resource management module is mainly used for storing and operating local resources. For example, it can perform operations such as deleting, replacing, or exporting resources to a target device, which can be a USB flash drive, server, or cloud, etc. This embodiment does not specifically limit this. The image acquisition module is mainly used for image capture, video recording, and parameter adjustment. The Storage Stats Manager is a storage space query and management function supported by the Android system. Through this logic, the display device can determine the current storage space usage of the entire device. The information storage module is the camera function of the Android system, mainly used for resolution and quality adjustment, and also stores relevant information from the image acquisition module.
[0092] To illustrate the image acquisition scheme in this disclosure in more detail, the following will use exemplary methods in conjunction with... Figure 5A To explain, it is understandable that Figure 5A The steps involved may include more or fewer steps in actual implementation, and the order of these steps may also be different, as long as the image acquisition method provided in the embodiments of this disclosure can be implemented. The embodiments of this disclosure do not limit the steps.
[0093] Figure 5A This is a schematic flowchart illustrating an image acquisition method provided in some embodiments of this disclosure. This embodiment is applicable to describing the image acquisition process when the available storage space of the display device is insufficient. Figure 5A As shown, the image acquisition method specifically includes the following steps:
[0094] S510: When it is determined that the available storage space of the display device is less than a preset threshold, control the display to show a prompt message.
[0095] The prompt message indicates whether the user wants to enable memory-saving mode. Memory-saving mode can be understood as reducing the resolution of the image acquisition module to decrease the size of the captured image, thereby avoiding capture failure due to insufficient available storage space on the display device. A memory-saving mode switch can be configured on the display device for the user to enable.
[0096] Specifically, the controller of the display device can obtain the usage of the display device's storage space. If it determines that the available storage space of the display device is less than a preset threshold, it means that the available storage space of the display device is insufficient, which may lead to shooting failure. At this time, the controller displays a prompt message on the display device's screen to prompt the user so that the user can decide whether to enable the memory-saving mode.
[0097] S520, in response to the operation of enabling memory-saving mode, lowers the resolution of the image acquisition module from the first value to the second value.
[0098] The image acquisition module can be a device with image acquisition capabilities within the display device, such as a camera or webcam. The first value is the resolution supported by the image acquisition module, for example, 1920*1080, but it can be other values; this embodiment does not specifically limit this. The second value is also a resolution supported by the image acquisition module, for example, 864*480, but it can be other values; this embodiment does not specifically limit this. The image acquisition module typically supports at least two resolution values. For example, a webcam might support resolutions such as 800*600, 864*480, 1024*576, 1680*896, and 1920*1080, with 1920*1080 being the highest resolution and 800*600 the lowest.
[0099] When a user activates the memory-saving mode via a mobile device, control device, or voice, the display device's controller, upon receiving this operation, lowers the resolution of the image acquisition module from a first value to a second value. Specifically, the second value can be determined by the controller or set by the user; this embodiment does not limit this.
[0100] In some embodiments, the aspect ratio of the first value is optionally equal to the aspect ratio of the second value.
[0101] In this embodiment, since the resolution is composed of width and height, when the aspect ratio of the first value and the aspect ratio of the second value are equal, it can be ensured that the captured image will not be stretched or distorted after the resolution is reduced, and there will be no black borders on the top and bottom or left and right sides, which helps to improve the user experience and satisfaction.
[0102] In some embodiments, the second value can be optionally set by the user. Therefore, the aspect ratio of the first value and the aspect ratio of the second value may not be equal. This embodiment does not limit this.
[0103] S530 controls the image acquisition module to acquire images at the resolution corresponding to the second value.
[0104] After the controller of the display device lowers the resolution of the image acquisition module from the first value to the second value, it controls the image acquisition module to acquire images at the resolution corresponding to the second value. This reduces the size of the acquired image and thus reduces the storage space occupied by the acquired image, thereby ensuring the normal operation of the image acquisition module.
[0105] In some embodiments, when the first value is 1920*1080, the image size obtained when capturing an image of a scene using this resolution is 511KB. When the second value is 864*480, the image size obtained when capturing an image of the same scene using this resolution is 115KB. This demonstrates that lowering the resolution of the image capture module as described above can reduce the image size by a factor of four. The effect is particularly significant when the resulting file is large when capturing images at the resolution corresponding to the first value.
[0106] The image acquisition method provided in this embodiment involves a display device controller determining that the available storage space of the display device is less than a preset threshold. The controller then controls the display to show a prompt message, which prompts the user whether to enable a memory-saving mode. Upon receiving an operation to enable memory-saving mode, the controller lowers the resolution of the image acquisition module from a first value to a second value, controlling the image acquisition module to acquire images at the resolution corresponding to the second value. This technical solution reduces the size of the acquired images by lowering the resolution of the image acquisition module, thus saving available storage space on the display device. This allows the image acquisition device to acquire more images, avoids capture failures, and improves the user experience. This solution is particularly suitable for scenarios where users do not have high resolution requirements.
[0107] For example, Figure 5B These are schematic diagrams illustrating the interface when a display shows prompt information, as provided in some embodiments of this disclosure. Figure 5BAs shown, when the display device controller determines that the available storage space of the display device is less than a preset threshold, it controls the display to show a prompt message: "Insufficient available storage space. You can choose memory-saving mode or resource management to increase available storage space." Two options are provided: memory-saving mode and resource management. Resource management means that memory-saving mode is not enabled. This can be understood as managing the local resources of the display device to increase the available storage space.
[0108] In some embodiments, optionally, the above method may further include:
[0109] Before determining that the available storage space of the display device is less than a preset threshold, if the image acquisition module is detected to be started, determine whether the memory-saving mode is enabled.
[0110] With memory-saving mode enabled, the resolution of the image acquisition module is lowered from the first value to the second value.
[0111] Specifically, before determining that the available storage space of the display device is less than a preset threshold, if the controller detects that the image acquisition module has been started, it determines whether to enable the memory-saving mode. If the memory-saving mode is enabled, the controller of the display device lowers the resolution of the image acquisition module from a first value to a second value, so that the subsequent image acquisition module can acquire images at the resolution corresponding to the second value.
[0112] In this embodiment, if the memory-saving mode is enabled when the available storage space of the display device is sufficient, the controller of the display device will reduce the resolution of the image acquisition module from the first value to the second value, so that the image acquisition module can acquire images at the resolution corresponding to the second value, thereby reducing the size of the acquired images and saving storage space for the display device so that more resources can be stored in the display device.
[0113] In some embodiments, optionally, when it is determined that the available storage space of the display device is less than a preset threshold, controlling the display to show a prompt message may specifically include:
[0114] Obtain the available storage space of the display device through the display device's storage status manager;
[0115] Based on the relationship between available storage space and a preset threshold, if the available storage space is less than the preset threshold, the display will show a prompt message.
[0116] Specifically, the storage status manager of the display device has storage space query and management functions. Therefore, the controller of the display device can obtain the current available storage space of the display device through the storage status manager, compare the available storage space with the size of a preset threshold, and control the display to show a prompt message when the available storage space is less than the preset threshold.
[0117] In this embodiment, the above process can determine that the available storage space of the display device is less than a preset threshold, and timely prompt information can be provided to facilitate subsequent operations by the user.
[0118] Figure 6A This is a schematic flowchart illustrating another image acquisition method provided in some embodiments of this disclosure. This embodiment is an optimization based on the above embodiments. Optionally, this embodiment can be applied to describe the image acquisition process when the memory-saving mode is not enabled. Figure 6A As shown, the image acquisition method specifically includes the following steps:
[0119] S610: When it is determined that the available storage space of the display device is less than a preset threshold, control the display to show a prompt message.
[0120] The S620, in response to an operation where memory-saving mode is not enabled, controls the display to show target information for resource management.
[0121] The target information includes at least one of the following options: delete, export and delete, export, and reduce image quality.
[0122] Specifically, when the user does not enable memory-saving mode, it means the user has selected the resource management option in the prompt message. In this case, the display device controller responds to the operation of not enabling memory-saving mode by controlling the display to show the target information for resource management. This target information is provided for the user to select, so that the display device controller can perform corresponding operations based on the user's selection.
[0123] S630, in response to the operation of determining a target option from the target information and the operation of determining a first resource from the local resources of the display device, performs the operation of the target option on the first resource to increase the available storage space of the display device.
[0124] Here, the target option can be understood as the option determined by the user from the options included in the target information. Local resources can be understood as resources already stored in the display device, which can be images, videos, etc., and this embodiment does not specifically limit them. The first resource can be understood as the resource to be edited determined by the user from the local resources of the display device.
[0125] Specifically, when a user selects a target option from the options included in the resource management target information displayed on the monitor, and selects a first resource from the local resources of the display device, the controller of the display device can receive the user's operation of selecting the target option from the target information and the user's operation of selecting the first resource from the local resources of the display device. In response to the user's operation of selecting the target option from the target information and the user's operation of selecting the first resource from the local resources of the display device, the controller of the display device executes the operation of selecting the target option on the first resource, thereby increasing the available storage space of the display device, facilitating subsequent image acquisition by the image acquisition module.
[0126] S640 controls the image acquisition module to continue acquiring images.
[0127] Specifically, after the controller of the display device performs the target option operation on the first resource, the available storage space has increased. At this time, the control image acquisition module continues to acquire images, so that the image acquisition module can take pictures normally.
[0128] The image acquisition method provided in this disclosure includes a display device controller that, when determining that the available storage space of the display device is less than a preset threshold, controls the display to display a prompt message. When receiving an operation that the memory-saving mode is not enabled, i.e., receiving an operation from the user to select resource management, the controller controls the display to display target information for resource management in response to the operation. When receiving an operation from the user to determine a target option from the target information and an operation to determine a first resource from the local resources of the display device, the controller executes the target option operation on the first resource in response to the operation of determining the target option from the target information and the operation of determining the first resource from the local resources of the display device, thereby increasing the available storage space of the display device. Finally, the controller controls the image acquisition module to continue acquiring images. In the above technical solution, by executing the target option operation on the first resource selected by the user, the available storage space of the display device can be increased, enabling the image acquisition device to acquire more images, avoiding the problem of shooting failure, and improving the user experience. This solution is particularly suitable for scenarios where users have high resolution requirements, ensuring both the acquisition of high-resolution images and the normal shooting of the image acquisition device.
[0129] For example, Figure 6B These are schematic diagrams illustrating the interface when a display shows target information for resource management, as provided in some embodiments of this disclosure. Figure 6B As shown, the target information mainly includes four options: delete, export and delete, export, and reduce image quality. Resource 1, Resource 2, Resource 3, and Resource 4 are the first identified resources. This display indicates that the target option determined from the target information is to reduce image quality.
[0130] It should be noted that: Figure 6B The options included in the target information, Resources 1, Resources 2, Resources 3 and Resources 4 are only used to illustrate this embodiment and are not intended to limit it.
[0131] In some embodiments, the target option may optionally include reducing image quality;
[0132] In response to the operation of determining a target option from target information and the operation of determining a first resource from the local resources of the display device, performing the operation of the target option on the first resource to increase the available storage space of the display device may specifically include:
[0133] In response to the operation of determining to reduce image quality from target information and the operation of determining a first resource from local resources of the display device, the quality value of the first resource is reduced to obtain a second resource;
[0134] The first resource and / or the second resource are stored in the target device, a replacement operation is performed on the first resource based on the second resource, and the first resource is deleted from the local resources, so as to increase the available storage space of the display device.
[0135] The target device can be understood as a device with storage function, such as a USB flash drive, server, or cloud, but this embodiment does not make a specific limitation.
[0136] Specifically, when the target option is to reduce image quality, the display device controller responds to the user's operation of determining the image quality reduction from the target information and the operation of determining the first resource from the display device's local resources. Since the display device provides an entry point for compressed resources (non-packed compression), the quality (i.e., clarity) of the first resource can be reduced through this entry point to obtain the second resource, thereby reducing the storage space occupied by the resource and freeing up more storage space for the user. After obtaining the second resource, the display device controller can store the first resource in the target device, perform a replacement operation on the first resource based on the second resource, and delete the first resource from the local resources to increase the available storage space of the display device; the display device controller can also store the second resource in the target device, perform a replacement operation on the first resource based on the second resource, and delete the first resource from the local resources to increase the available storage space of the display device; the display device controller can also store both the first and second resources in the target device, perform a replacement operation on the first resource based on the second resource, and delete the first resource from the local resources to increase the available storage space of the display device.
[0137] For example, when reducing image quality, you can use the resource quality reduction scheme provided by the Android system to obtain the bitmap corresponding to the first resource. The bitmap can support adjusting the image quality. Specifically, you can select any quality value from 0 to 100. 100 is the original image quality. The smaller the quality value, the worse the image clarity and the smaller the storage space occupied.
[0138] For example, the original image (quality value 100) is 1.02MB in size. After the quality value of the image is reduced to 25, the size of the resulting image is 341KB.
[0139] In this embodiment, by lowering the quality value of the first resource to obtain the second resource, the second resource is retained in the local resources of the display device while the first resource is deleted. This achieves the effect of retaining resources while saving available storage space on the display device, enabling the image acquisition device to acquire more images and avoiding the problem of shooting failure.
[0140] In some embodiments, the target options may optionally include exporting and deleting;
[0141] In response to the operation of determining a target option from target information and the operation of determining a first resource from the local resources of the display device, performing the operation of the target option on the first resource to increase the available storage space of the display device may specifically include:
[0142] In response to the operations of determining the export and deletion from the target information and the operations of determining the first resource from the local resources of the display device, the first resource is stored in the target device and the deletion operation is performed on the first resource to increase the available storage space of the display device.
[0143] Specifically, when the target option is export and delete, the controller of the display device responds to the user's operation of determining export and delete from the target information and the operation of determining the first resource from the local resources of the display device, stores the first resource in the target device, and performs a deletion operation on the first resource, which can increase the available storage space of the display device.
[0144] In this embodiment, by storing the first resource to the target device and performing a deletion operation on the first resource, the first resource can be backed up, and the available storage space of the display device can be saved, enabling the image acquisition device to acquire more images and avoiding the problem of shooting failure.
[0145] In some embodiments, optionally, when the target option is deletion, the controller of the display device responds to the user's operation of determining deletion from the target information and the operation of determining a first resource from the local resources of the display device, and performs a deletion operation on the first resource. This can increase the available storage space of the display device, enabling the image acquisition device to acquire more images and avoid the problem of shooting failure.
[0146] In some embodiments, optionally, when the target option is export, the controller of the display device responds to the user's operation of determining export from the target information and the operation of determining a first resource from the local resources of the display device, and performs an export operation on the first resource. Specifically, the first resource can be exported to any storage device other than the display device, thereby increasing the available storage space of the display device, enabling the image acquisition device to acquire more images and avoiding the problem of shooting failure.
[0147] For example, Figure 7 This diagram illustrates the interaction process between modules in an image acquisition method according to some embodiments of this disclosure. Specifically, the process includes the following steps:
[0148] S7001, the controller of the display device detected that the image acquisition module was started.
[0149] Specifically, the display device's controller can detect in real time whether the image acquisition module has been activated.
[0150] S7002, the controller of the display device obtains the available storage space of the display device.
[0151] The display device controller can obtain the available storage space of the display device through the storage state manager.
[0152] S7003, when the controller of the display device determines that the available storage space of the display device is less than a preset threshold, it controls the display to display a prompt message.
[0153] See the detailed description in S510; to avoid repetition, it will not be repeated here.
[0154] S7004, in response to the operation of activating the memory-saving mode, the controller of the display device reduces the resolution of the image acquisition module from a first value to a second value.
[0155] See the detailed description in S520; to avoid repetition, it will not be repeated here.
[0156] S7005, the controller of the display device controls the image acquisition module to acquire images at a resolution corresponding to the second value.
[0157] See the detailed description in S530; to avoid repetition, it will not be repeated here.
[0158] S7006, the image acquisition module stores the acquired images to the resource management module.
[0159] After the image acquisition module acquires an image at the resolution corresponding to the second value, it stores the acquired image in the resource management module for later viewing by users.
[0160] In this embodiment, S7001-S7006 mainly describes the situation after the user selects the memory-saving mode option in the prompt message when the available storage space of the display device is insufficient. This process is mainly applicable to scenarios where the user does not have high requirements for resolution. By reducing the size of the captured image, the available storage space of the display device is saved, enabling the image acquisition device to capture more images and avoiding the problem of shooting failure.
[0161] For example, Figure 8 This diagram illustrates the interaction process between modules in another implementation of an image acquisition method provided in some embodiments of this disclosure. Specifically, the process includes the following steps:
[0162] S8001, the controller of the display device detected that the image acquisition module was started.
[0163] See the detailed description in S7001; to avoid repetition, it will not be repeated here.
[0164] S8002, the controller of the display device obtains the available storage space of the display device.
[0165] See the detailed description in S7002; to avoid repetition, it will not be repeated here.
[0166] S8003, when the controller of the display device determines that the available storage space of the display device is less than a preset threshold, it controls the display to show a prompt message.
[0167] See the detailed description in S510; to avoid repetition, it will not be repeated here.
[0168] S8004, the display device controller responds to the operation of not enabling memory-saving mode by controlling the display to show target information for resource management.
[0169] See the detailed description in S620; to avoid repetition, it will not be repeated here.
[0170] S8005, the controller of the display device responds to the operation of determining a target option from the target information and the operation of determining a first resource from the local resources of the display device, and performs the operation of the target option on the first resource to increase the available storage space of the display device.
[0171] See the detailed description in S630; to avoid repetition, it will not be repeated here.
[0172] S8006, the controller of the display device controls the image acquisition module to continue acquiring images.
[0173] See the detailed description in S640; to avoid repetition, it will not be repeated here.
[0174] S8007, the image acquisition module stores the acquired images to the resource management module.
[0175] After the display device controller performs the target option operation on the first resource to increase the available storage space of the display device, the image acquisition module stores the acquired image to the resource management module for subsequent viewing by users.
[0176] In this embodiment, S8001-S8007 mainly describes the situation after the user selects the resource management option in the prompt message when the available storage space of the display device is insufficient. This process is mainly applicable to scenarios where users have high resolution requirements. By performing the target option operation on the first resource selected by the user, the available storage space of the display device can be increased, which can ensure that high-resolution images are captured and that the image acquisition device can capture images normally, so that the image acquisition device can capture more images and avoid the problem of shooting failure.
[0177] This disclosure provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the image acquisition method described above and achieves the same technical effect. To avoid repetition, further details are omitted here.
[0178] The computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0179] This disclosure provides a computer program product, including: when the computer program product is run on a computer, causing the computer to implement the above-described image acquisition method.
[0180] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the discussion in some embodiments above is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various different variations of the embodiments suitable for specific application considerations.
Claims
1. A display device, characterized in that, include: The image acquisition module is configured to acquire images; The controller is configured to: when it determines that the available storage space of the display device is less than a preset threshold, control the display to display a prompt message, wherein the prompt message is used to prompt the user whether to enable the memory-saving mode; In response to enabling the memory-saving mode, the resolution of the image acquisition module is reduced from a first value to a second value; The image acquisition module is controlled to acquire images at the resolution corresponding to the second value; In response to the operation of not enabling the memory-saving mode, the display is controlled to show target information for resource management, wherein the target information includes at least one of the following options: delete, export and delete, export, and reduce image quality; In response to the operation of determining a target option from the target information and the operation of determining a first resource from the local resources of the display device, the operation of the target option is performed on the first resource to increase the available storage space of the display device; Control the image acquisition module to continue acquiring images; The target options include reducing image quality; The controller is specifically configured as follows: In response to determining the operation of reducing image quality from the target information and determining the operation of the first resource from the local resources of the display device, the quality value of the first resource is reduced to obtain the second resource; The first resource and / or the second resource are stored in the target device, a replacement operation is performed on the first resource based on the second resource, and the first resource is deleted from the local resources, so as to increase the available storage space of the display device.
2. The display device according to claim 1, characterized in that, The target options include exporting and deleting; The controller is specifically configured as follows: In response to determining the export and deletion operation from the target information and determining the first resource from the local resources of the display device, the first resource is stored in the target device, and a deletion operation is performed on the first resource to increase the available storage space of the display device.
3. The display device according to claim 1, characterized in that, The controller is also configured to: Before determining that the available storage space of the display device is less than the preset threshold, if the image acquisition module is detected to be activated, it is determined whether the memory-saving mode is enabled. When the memory-saving mode is enabled, the resolution of the image acquisition module is reduced from a first value to a second value.
4. The display device according to claim 1, characterized in that, The controller is specifically configured as follows: The available storage space of the display device is obtained through the storage status manager of the display device; Based on the relationship between the available storage space and the preset threshold, it is determined that the available storage space is less than the preset threshold.
5. The display device according to any one of claims 1-4, characterized in that, The aspect ratio of the first value is equal to that of the second value.
6. An image acquisition method, characterized in that, include: When it is determined that the available storage space of the display device is less than a preset threshold, the display is controlled to show a prompt message, wherein the prompt message is used to prompt the user whether to enable the memory saving mode; In response to enabling the memory-saving mode, the resolution of the image acquisition module of the display device is reduced from a first value to a second value; The image acquisition module is controlled to acquire images at the resolution corresponding to the second value; In response to the operation of not enabling the memory-saving mode, the display is controlled to show target information for resource management, wherein the target information includes at least one of the following options: delete, export and delete, export, and reduce image quality; In response to the operation of determining a target option from the target information and the operation of determining a first resource from the local resources of the display device, the operation of the target option is performed on the first resource to increase the available storage space of the display device; Control the image acquisition module to continue acquiring images; The target options include reducing image quality; In response to determining the operation of reducing image quality from the target information and determining the operation of the first resource from the local resources of the display device, the quality value of the first resource is reduced to obtain the second resource; The first resource and / or the second resource are stored in the target device, a replacement operation is performed on the first resource based on the second resource, and the first resource is deleted from the local resources, so as to increase the available storage space of the display device.
7. The method according to claim 6, characterized in that, The method further includes: In response to the operation of not enabling the memory-saving mode, the display is controlled to show target information for resource management, wherein the target information includes at least one of the following options: delete, export and delete, export, and reduce image quality; In response to the operation of determining a target option from the target information and the operation of determining a first resource from the local resources of the display device, the operation of the target option is performed on the first resource to increase the available storage space of the display device; Control the image acquisition module to continue acquiring images.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in claim 6.