Image switching method and device in display equipment, equipment, medium and product

By judging the image change method and performing reduction operations, cache images with small resolution, solving the problems of high cost and poor user experience for display devices during image switching, and achieving seamless and low-cost image switching effect.

CN119003068APending Publication Date: 2024-11-22SHENZHEN HUIDU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411022104.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When switching images, existing display devices cause short-term black screen or high cost problems due to changes in image size, especially devices that support image infinity scaling need to add DDR chips to cache images, which increases the cost of seamless display.

Method used

By judging the display change of the image, if it is reduced, the reduction coefficient is determined based on the resolution of the image to be displayed and the display device, the image is reduced, and the reduced image is cached to realize image switching, save storage space and reduce storage cost.

Benefits of technology

Seamless image switching is realized, saving the storage space of the display device and reducing the cost of seamless display, avoiding the phenomenon of splashing screen, flicking screen or black screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003068A_ABST
    Figure CN119003068A_ABST
Patent Text Reader

Abstract

The invention discloses an image switching method and device in display equipment, electronic equipment, a storage medium and a program product. The method comprises the following steps: determining a display change mode according to the resolution of a to-be-displayed image and the display resolution of display equipment; if the display change mode is reduction, determining a reduction coefficient matched with the to-be-displayed image according to the resolution of the to-be-displayed image and the display resolution of the display equipment; according to the reduction coefficient, performing reduction operation on the to-be-displayed image, taking the reduced image as a cache target, and caching the reduced image to a target storage space of the display equipment; and taking the cache target as a target display picture matched with the to-be-displayed image, and switching a current display picture of the display equipment into the target display picture. According to the technical scheme, the problem that the seamless display cost of the display equipment is high is solved, image switching is achieved by judging the display change mode of the image and caching the image with the small resolution, the storage space of the display equipment is saved, and the seamless display cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to an image switching method, device, electronic device, storage medium and program product in a display device. Background Art

[0002] At present, when a display device switches images, if the image size changes, the display device usually needs to perform a short black screen before normal display, which results in a poor user experience. For display devices that support image scaling, images of different resolutions can only be unified into a fixed resolution, and infinite image scaling cannot be achieved. For display devices that support infinite image scaling, for example, an ASIC chip is configured in the display device, although the seamless switching display of the image can be completed, the image needs to be cached to a DDR chip (Double Data Rate Synchronous Dynamic Random-Access Memory) during the switching process, and then the image is scaled, and finally the scaled image is displayed. If the image resolution is large, the bandwidth required for caching the image is larger, and the display device needs to add an additional DDR chip to complete the image cache, which increases the display cost of seamless switching. Summary of the invention

[0003] The present invention provides an image switching method, device, electronic device, storage medium and program product in a display device to solve the problem of high cost of seamless display of the display device. By judging the display change mode of the image, caching images with smaller resolution to achieve image switching, the storage space of the display device is saved and the cost of seamless display is reduced.

[0004] According to one aspect of the present invention, there is provided an image switching method in a display device, the method comprising:

[0005] Acquire an image to be displayed, and determine a display change mode according to a resolution of the image to be displayed and a display resolution of a display device; wherein the display change mode is reduction or enlargement;

[0006] If the display change mode is reduction, determining a reduction coefficient matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device;

[0007] Performing a reduction operation on the image to be displayed according to the reduction coefficient, outputting a reduced image, and using the reduced image as a cache target to cache it in a target storage space of a display device;

[0008] The cache target of the target storage space is used as a target display screen that matches the image to be displayed, and the current display screen of the display device is switched to the target display screen.

[0009] According to another aspect of the present invention, there is provided an image switching device in a display device, the device comprising:

[0010] A change mode determination module, used to obtain an image to be displayed, and determine a display change mode according to the resolution of the image to be displayed and the display resolution of the display device; wherein the display change mode is reduction or enlargement;

[0011] A reduction coefficient determination module, used for determining a reduction coefficient matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device if the display change mode is reduction;

[0012] A reduced image cache module, used to perform a reduction operation on the image to be displayed according to the reduction coefficient, output a reduced image, and use the reduced image as a cache target to cache it in a target storage space of a display device;

[0013] The display screen switching module is used to use the cache target of the target storage space as the target display screen that matches the image to be displayed, and switch the current display screen of the display device to the target display screen.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the image switching method in the display device described in any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the image switching method in a display device described in any embodiment of the present invention when executed.

[0017] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the image switching method in a display device according to any embodiment of the present invention is implemented.

[0018] The technical solution of the embodiment of the present invention obtains the image to be displayed, and determines the display change mode according to the resolution of the image to be displayed and the display resolution of the display device; wherein the display change mode is reduction or enlargement; if the display change mode is reduction, then according to the resolution of the image to be displayed and the display resolution of the display device, a reduction coefficient matching the image to be displayed is determined; according to the reduction coefficient, the image to be displayed is reduced, and a reduced image is output, and the reduced image is used as a cache target and cached to the target storage space of the display device; the cache target of the target storage space is used as the target display screen matching the image to be displayed, and the current display screen of the display device is switched to the target display screen. This technical solution solves the problem of high seamless display cost of the display device, and realizes image switching by judging the display change mode of the image and caching images with smaller resolution, thus saving the storage space of the display device and reducing the seamless display cost.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a flowchart of an image switching method in a display device provided according to Embodiment 1 of the present invention;

[0022] Figure 2 is a flowchart of an image switching method in a display device provided according to a second embodiment of the present invention;

[0023] Figure 3 is a structural schematic diagram of an image switching device in a display device provided according to a third embodiment of the present invention;

[0024] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the image switching method in a display device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0027] Embodiment 1

[0028] Figure 1 A flowchart of an image switching method in a display device is provided for the first embodiment of the present invention. This embodiment is applicable to image switching scenarios of display devices such as LED display screens. The method can be executed by an image switching device in a display device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0029] S110, acquiring an image to be displayed, and determining a display change mode according to a resolution of the image to be displayed and a display resolution of a display device; wherein the display change mode is reduction or enlargement.

[0030] This solution can be executed by a display device, which can obtain the image to be displayed from a data source and read the resolution of the image to be displayed. The data source can be media data transmitted over a network or stored in a storage device such as a hard disk or a USB flash drive. The image to be displayed can be static media data such as text or graphics that needs to be displayed at the next moment, or a frame of dynamic media data such as a video or animation that needs to be displayed at the next moment.

[0031] The display device can determine whether the image to be displayed needs to be enlarged or reduced by comparing the resolution of the image to be displayed and the display resolution of the display device. If the resolution of the image to be displayed is the same as the resolution of the display device, no scaling is required. If the resolution of the image to be displayed is different from the resolution of the display device, the display device can determine the display change mode of the image to be displayed, i.e., enlargement or reduction, according to the resolution of the image to be displayed and the resolution of the display device.

[0032] S120: If the display change mode is reduction, determine a reduction coefficient matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device.

[0033] If the display change mode is reduction, it means that the image to be displayed has a larger resolution than the screen resolution that the display device needs to display. The display device can first reduce the image to be displayed, and then cache the reduced image to save memory space. Specifically, the display device can calculate the reduction coefficient of the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device. Among them, the reduction coefficient can be the ratio of the resolution of the image to be displayed to the resolution of the display device. The reduction coefficient can also include change coefficients of two dimensions, such as a width scaling coefficient and a height scaling coefficient. The width scaling coefficient can be the ratio of the width of the image to be displayed to the width of the display screen, and the height scaling coefficient can be the ratio of the height of the image to be displayed to the height of the display screen.

[0034] S130: Perform a reduction operation on the image to be displayed according to the reduction coefficient, output a reduced image, and use the reduced image as a cache target to cache it in a target storage space of a display device.

[0035] The display device can perform a reduction operation on the image to be displayed according to the reduction coefficient, output the image after the reduction transformation, and use the reduced image of the image to be displayed as a cache target and cache it in the target storage space of the display device. The target storage space can be the storage address of the next frame display picture of the current display picture read by the display device, for example, it can be the storage address arranged in the DDR according to the display order of the display pictures.

[0036] S140: Use the cache target in the target storage space as a target display screen that matches the image to be displayed, and switch the current display screen of the display device to the target display screen.

[0037] The display device may use the cache target of the target storage space as the target display screen corresponding to the image to be displayed, that is, the next frame display screen, so as to switch the current display screen to the target display screen when the switching condition is met.

[0038] The technical solution of the embodiment of the present invention obtains the image to be displayed, and determines the display change mode according to the resolution of the image to be displayed and the display resolution of the display device; wherein the display change mode is reduction or enlargement; if the display change mode is reduction, then according to the resolution of the image to be displayed and the display resolution of the display device, a reduction coefficient matching the image to be displayed is determined; according to the reduction coefficient, the image to be displayed is reduced, and a reduced image is output, and the reduced image is used as a cache target and cached to the target storage space of the display device; the cache target of the target storage space is used as the target display screen matching the image to be displayed, and the current display screen of the display device is switched to the target display screen. This technical solution solves the problem of high seamless display cost of the display device, and realizes image switching by judging the display change mode of the image and caching images with smaller resolution, thus saving the storage space of the display device and reducing the seamless display cost.

[0039] Embodiment 2

[0040] Figure 2 This is a flow chart of an image switching method in a display device provided in Embodiment 2 of the present invention. This embodiment refines the above embodiment. Figure 2 As shown, the method includes:

[0041] S210: Acquire an image to be displayed, and determine a display change mode according to a resolution of the image to be displayed and a display resolution of a display device.

[0042] S220: Determine whether the display change mode is zooming out.

[0043] If the display change mode is zooming out, then S230 - S250 are executed. If the display change mode is zooming in, then S260 - S280 are executed.

[0044] S230: Determine a reduction factor matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device.

[0045] S240: Perform a reduction operation on the image to be displayed according to the reduction coefficient, output a reduced image, and use the reduced image as a cache target to cache it in a target storage space of a display device.

[0046] S250: Use the cache target in the target storage space as a target display screen that matches the image to be displayed, and switch the current display screen of the display device to the target display screen.

[0047] S260: Cache the image to be displayed into a target storage space of a display device as a cache target.

[0048] If the display change mode is enlargement, it means that the image to be displayed is smaller than the resolution of the screen required to be displayed by the display device. The display device can first store the image to be displayed and then enlarge it when it is needed. Therefore, the display device can directly use the image to be displayed as a cache target and cache it to the target storage space.

[0049] S270: Determine a magnification factor matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device.

[0050] It is understandable that, according to the resolution of the image to be displayed and the display resolution of the display device, the display device can calculate the magnification factor that matches the image to be displayed. The magnification factor may be the ratio of the resolution of the display device to the resolution of the image to be displayed. The magnification factor may also include two-dimensional variation coefficients, such as a width scaling factor and a height scaling factor, wherein the width scaling factor may be the ratio of the width of the display screen to the width of the image to be displayed, and the height scaling factor may be the ratio of the height of the display screen to the height of the image to be displayed.

[0051] S280: Generate a target display screen that matches the image to be displayed according to the cache target of the target storage space and the magnification factor, and switch the current display screen of the display device to the target display screen.

[0052] When the display switching time is reached, the display device can generate a target display screen corresponding to the image to be displayed, that is, the next frame display screen, according to the cache target and the magnification factor of the target storage space. Switching the current display screen to the target display screen completes the switching between the current frame display screen and the next frame display screen.

[0053] In this scheme, optionally, the display device includes a first selection control switch, a second selection control switch, a third selection control switch, an image zoom control switch and a cache read control switch; wherein the first selection control switch is used to select an image to be written to the storage space, the second selection control switch is used to select an image to be zoomed, and the third selection control switch is used to select an output display screen.

[0054] It is easy to understand that the display device can achieve seamless switching between the next frame display picture and the current frame display picture through the first selection control switch, the second selection control switch, the third selection control switch, the image zoom control switch and the cache reading control switch.

[0055] Among them, the first selection control switch is used to select the image written into the storage space, the second selection control switch is used to select the image for scaling operation, the third selection control switch is used to select the output display screen, the image scaling control switch is used to control whether image scaling is performed, and the cache read control switch is used to control whether to read the cache target.

[0056] The first selection control switch, the second selection control switch and the third selection control switch can be implemented by a two-choice selector, and have two states: zoom-in and zoom-out. The zoom-in state is when the display change mode of the displayed image is zoom-in, and the zoom-out state is when the display change mode of the displayed image is zoom-out.

[0057] The image zoom control switch and the cache read control switch may include two states: on and off. When the image zoom control switch is on, the display device can perform an image zoom operation, and when the cache read control switch is on, the display device can read a cache target. When the image zoom control switch is off, the display device does not perform an image zoom operation, and when the cache read control switch is off, the display device stops reading a new cache target and freezes the current display screen.

[0058] On the basis of the above solution, before switching the current display screen of the display device to the target display screen, the method further includes:

[0059] Using the display image of the current display screen as the first display image and the display image of the target display screen as the second display image;

[0060] A display change mode of the first display image and a display change mode of the second display image are determined.

[0061] Before switching images, the display device can use the display image of the current display screen as the first display image and the display image of the target display screen as the second display image, and obtain the display change mode of the first display image and the display change mode of the second display image to determine whether the display change modes of two adjacent frames of display images are consistent.

[0062] If the display change mode of two adjacent frames of displayed images is consistent, the states of the first selection control switch, the second selection control switch, the third selection control switch, the image zoom control switch, and the cache reading control switch remain unchanged, and seamless switching of the displayed images can be achieved. If the display change mode of two adjacent frames of displayed images is inconsistent, the display device needs to schedule the states of the first selection control switch, the second selection control switch, the third selection control switch, the image zoom control switch, and the cache reading control switch to quickly and stably achieve seamless switching of the displayed images and avoid screen flickering, screen distortion, or black screen phenomena of the display device.

[0063] In a feasible solution, switching the current display screen of the display device to the target display screen includes:

[0064] If the display change mode of the first display image is zooming in, and the display change mode of the second display image is zooming in, the first selection control switch remains on for zooming in, the second selection control switch remains on for zooming in, the third selection control switch remains on for zooming in, and the image zoom control switch remains on. When the output of the current display image is detected, the cache reading control switch is switched from on to off. When the second display image cache starts, the cache reading control switch is switched from off to on, so as to switch the current display image to the target display image.

[0065] If the display change mode of the first display image is to reduce, and the display change mode of the second display image is to reduce, the first selection control switch remains turned on for reducing, the second selection control switch remains turned on for reducing, the third selection control switch remains turned on for reducing, and the image zoom control switch remains turned on. When the current display screen is output, the cache read control switch is switched from on to off. When the reduced image caching of the second display image starts, the cache read control switch is switched from off to on to switch the current display screen to the target display screen.

[0066] It can be understood that the display change mode of the first display image and the display change mode of the second display image are both magnification, the first selection control switch, the second selection control switch and the third selection control switch always keep the magnification on, and the image zoom control switch keeps the on state. The first selection control switch is turned on when the display mode of the display image is magnification, and the display device can write the display image into the storage space. The second selection control switch is turned on when the display mode of the display image is magnification, and the display device can select the cached display image to input into the image zoom unit. When the image zoom control switch is turned on, the display device can magnify the display image. The third selection control switch is turned on when the display change mode of the display image is magnification, and the display device can output the display screen generated based on the display image. When the cache read control switch is turned on, the display device can read the cache target in the target storage space, and when the cache read control switch is not turned on, the display device cannot read the cache target in the target storage space. When the current display screen is output, the cache read control switch is switched from on to off, and when the second display image cache starts, the cache read control switch is switched from off to on. By controlling the state of the cache read control switch, the display device can freeze the current display screen before the target display screen is generated, and switch the current display screen to the target display screen after the target display screen is generated, thereby avoiding screen flickering, screen distortion or black screen phenomena.

[0067] The display change mode of the first display image and the display change mode of the second display image are both reduced, the first selection control switch, the second selection control switch and the third selection control switch are always kept reduced and turned on, and the image zoom control switch is kept in the on state. The second selection control switch is turned on when the display mode of the display image is reduced, and the display device can select the display image to be input to the image zoom unit. When the image zoom control switch is turned on, the display device can perform a reduction process on the display image. The first selection control switch is turned on when the display mode of the display image is reduced, and the display device can write the reduced display image into the storage space. The third selection control switch is turned on when the display change mode of the display image is reduced, and the display device can output a display screen generated based on the display image. When the cache read control switch is turned on, the display device can read the cache target in the target storage space, and when the cache read control switch is not turned on, the display device cannot read the cache target in the target storage space. When the current display screen is output, the cache read control switch is switched from on to off, and when the reduced image cache of the second display image begins, the cache read control switch is switched from off to on. By controlling the state of the cache read control switch, the display device can freeze the current display screen before the target display screen is generated, and switch the current display screen to the target display screen after the target display screen is generated, thereby avoiding screen flickering, screen distortion or black screen phenomena.

[0068] Based on the above solution, the method of switching the current display screen of the display device to the target display screen includes:

[0069] If the display change mode of the first display image is enlargement, and the display change mode of the second display image is reduction, then when the current display image is output, the cache read control switch is switched from on to off, the first selection control switch is switched from on for enlargement to on for reduction, the second selection control switch is switched from on for enlargement to on for reduction, the third selection control switch is switched from on for enlargement to on for reduction, the image zoom control switch remains on, and when the reduced image caching of the second display image begins, the cache read control switch is switched from off to on, so as to switch the current display image to the target display image;

[0070] If the display change mode of the first display image is reduction, and the display change mode of the second display image is enlargement, then when the current display screen is output, the cache read control switch is switched from on to off, the first selection control switch is switched from on for reduction to on for enlargement, and the image zoom control switch is switched from on to off; when the second display image cache starts, the second selection control switch is switched from on for reduction to on for enlargement, the third selection control switch is switched from on for reduction to on for enlargement, the cache read control switch is switched from off to on, and the image zoom control switch is switched from off to on, so as to switch the current display screen to the target display screen.

[0071] In one scenario, the display change mode of the first display image is enlargement, and the display change mode of the second display image is reduction. The processing flow of the first display image and the second display image is different, that is, the first display image is first cached and then scaled, and the second display image is first scaled and then cached. In order to achieve seamless switching between the two, the display device needs to keep the cache read control switch off when the current display screen is output, so as to freeze the current display screen and avoid screen flickering, screen distortion or black screen of the display device. At the same time, the display device needs to switch the first selection control switch from enlargement to reduction, and the second selection control switch to reduction, and keep the image zoom control switch on, so as to write the reduced image into the target storage space after the second display image completes the reduction operation. The display device can also switch the third selection control switch from enlargement to reduction, so as to output after the target display screen is generated.

[0072] When the reduced image caching of the second display image begins, the display device can switch the cache read control switch from off to on to read the cache target in the target storage space, generate the target display screen, and thus achieve seamless switching from the current display screen to the target display screen.

[0073] In another scenario, the display change mode of the first display image is reduction, and the display change mode of the second display image is enlargement. The processing flow of the first display image and the second display image is different, that is, the first display image is first scaled and then cached, and the second display image is first cached and then scaled. In order to achieve seamless switching between the two, when the current display screen is output, the display device cache read control switch is switched from on to off to freeze the current display screen. At the same time, the display device can switch the first selection control switch from on for reduction to on for enlargement to write the second display image into the target storage space. The display device also needs to switch the image zoom control switch from on to off to stop the image zoom processing. When the second display image cache starts, the display device can switch the second selection control switch from on for reduction to on for enlargement, the image zoom control switch from off to on, and the cache read control switch from off to on to read the second display image in the target storage space, and generate the target display screen according to the second display image and the magnification factor. The display device also needs to switch the third selection control switch from zooming in to zooming in, so as to output the target display picture after it is generated, thereby achieving seamless switching from the current display picture to the target display picture.

[0074] The technical solution of the embodiment of the present invention obtains the image to be displayed, and determines the display change mode according to the resolution of the image to be displayed and the display resolution of the display device; wherein the display change mode is reduction or enlargement; if the display change mode is reduction, then according to the resolution of the image to be displayed and the display resolution of the display device, a reduction coefficient matching the image to be displayed is determined; according to the reduction coefficient, the image to be displayed is reduced, and a reduced image is output, and the reduced image is used as a cache target and cached to the target storage space of the display device; the cache target of the target storage space is used as the target display screen matching the image to be displayed, and the current display screen of the display device is switched to the target display screen. This technical solution solves the problem of high seamless display cost of the display device, and realizes image switching by judging the display change mode of the image and caching images with smaller resolution, thus saving the storage space of the display device and reducing the seamless display cost.

[0075] Embodiment 3

[0076] Figure 3 This is a schematic diagram of the structure of an image switching device in a display device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0077] The change mode determination module 310 is used to obtain the image to be displayed, and determine the display change mode according to the resolution of the image to be displayed and the display resolution of the display device; wherein the display change mode is reduction or enlargement;

[0078] A reduction coefficient determination module 320 is used to determine a reduction coefficient matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device if the display change mode is reduction;

[0079] A reduced image cache module 330 is used to perform a reduction operation on the image to be displayed according to the reduction coefficient, output a reduced image, and use the reduced image as a cache target to cache it in a target storage space of a display device;

[0080] The display screen switching module 340 is used to use the cache target of the target storage space as a target display screen that matches the image to be displayed, and switch the current display screen of the display device to the target display screen.

[0081] In this solution, optionally, the device is also used for:

[0082] After determining the display change mode, if the display change mode is enlargement, the image to be displayed is used as a cache target and cached in a target storage space of the display device;

[0083] Determining a magnification factor matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device;

[0084] According to the cache target of the target storage space and the magnification factor, a target display screen matching the image to be displayed is generated, and the current display screen of the display device is switched to the target display screen.

[0085] Based on the above scheme, optionally, the display device includes a first selection control switch, a second selection control switch, a third selection control switch, an image zoom control switch and a cache read control switch; wherein the first selection control switch is used to select an image to be written to the storage space, the second selection control switch is used to select an image to be zoomed, and the third selection control switch is used to select an output display screen.

[0086] In a feasible solution, the device is also used for:

[0087] Before switching the current display screen of the display device to the target display screen, using the display image of the current display screen as the first display image and the display image of the target display screen as the second display image;

[0088] A display change mode of the first display image and a display change mode of the second display image are determined.

[0089] In a preferred solution, the display screen switching module 340 is specifically used to:

[0090] If the display change mode of the first display image is zooming in, and the display change mode of the second display image is zooming in, the first selection control switch remains on for zooming in, the second selection control switch remains on for zooming in, the third selection control switch remains on for zooming in, and the image zoom control switch remains on. When the output of the current display image is detected, the cache reading control switch is switched from on to off. When the second display image cache starts, the cache reading control switch is switched from off to on, so as to switch the current display image to the target display image.

[0091] If the display change mode of the first display image is to reduce, and the display change mode of the second display image is to reduce, the first selection control switch remains turned on for reducing, the second selection control switch remains turned on for reducing, the third selection control switch remains turned on for reducing, and the image zoom control switch remains turned on. When the current display screen is output, the cache read control switch is switched from on to off. When the reduced image caching of the second display image starts, the cache read control switch is switched from off to on to switch the current display screen to the target display screen.

[0092] Based on the above solution, the display screen switching module 340 is further used to:

[0093] If the display change mode of the first display image is enlargement, and the display change mode of the second display image is reduction, then when the current display image is output, the cache read control switch is switched from on to off, the first selection control switch is switched from on for enlargement to on for reduction, the second selection control switch is switched from on for enlargement to on for reduction, the third selection control switch is switched from on for enlargement to on for reduction, the image zoom control switch remains on, and when the reduced image caching of the second display image begins, the cache read control switch is switched from off to on, so as to switch the current display image to the target display image;

[0094] If the display change mode of the first display image is reduction, and the display change mode of the second display image is enlargement, then when the current display screen is output, the cache read control switch is switched from on to off, the first selection control switch is switched from on for reduction to on for enlargement, and the image zoom control switch is switched from on to off; when the second display image cache starts, the second selection control switch is switched from on for reduction to on for enlargement, the third selection control switch is switched from on for reduction to on for enlargement, the cache read control switch is switched from off to on, and the image zoom control switch is switched from off to on, so as to switch the current display screen to the target display screen.

[0095] The image switching device in the display device provided by the embodiment of the present invention can execute the image switching method in the display device provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0096] Embodiment 4

[0097] Figure 4 A schematic diagram of an electronic device 410 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0098] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.

[0099] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0100] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 performs the various methods and processes described above, such as an image switching method in a display device.

[0101] In some embodiments, the image switching method in the display device may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the image switching method in the display device described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to perform the image switching method in the display device by any other appropriate means (e.g., by means of firmware).

[0102] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0103] The computer programs for implementing the method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of an image switching device in a general-purpose computer, a special-purpose computer, or other programmable display device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0104] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.

[0105] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0106] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0107] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0108] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0109] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An image switching method in a display device, characterized in that: The method comprises: Acquire an image to be displayed, and determine a display change mode according to a resolution of the image to be displayed and a display resolution of a display device; wherein the display change mode is reduction or enlargement; If the display change mode is reduction, determining a reduction coefficient matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device; Performing a reduction operation on the image to be displayed according to the reduction coefficient, outputting a reduced image, and using the reduced image as a cache target to cache it in a target storage space of a display device; The cache target of the target storage space is used as a target display screen that matches the image to be displayed, and the current display screen of the display device is switched to the target display screen.

2. The method according to claim 1, characterized in that After determining the display change mode, the method further includes: If the display change mode is enlargement, the image to be displayed is used as a cache target and cached in a target storage space of the display device; Determining a magnification factor matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device; According to the cache target of the target storage space and the magnification factor, a target display screen matching the image to be displayed is generated, and the current display screen of the display device is switched to the target display screen.

3. The method according to claim 2, characterized in that The display device includes a first selection control switch, a second selection control switch, a third selection control switch, an image zoom control switch and a cache read control switch; wherein the first selection control switch is used to select an image to be written into a storage space, the second selection control switch is used to select an image to be zoomed, and the third selection control switch is used to select an image to be output for display.

4. The method according to claim 3, characterized in that Before switching the current display screen of the display device to the target display screen, the method further includes: Using the display image of the current display screen as the first display image and the display image of the target display screen as the second display image; A display change mode of the first display image and a display change mode of the second display image are determined.

5. The method according to claim 4, characterized in that The step of switching the current display screen of the display device to the target display screen includes: If the display change mode of the first display image is zooming in, and the display change mode of the second display image is zooming in, the first selection control switch remains on for zooming in, the second selection control switch remains on for zooming in, the third selection control switch remains on for zooming in, and the image zoom control switch remains on. When the output of the current display image is detected, the cache reading control switch is switched from on to off. When the second display image cache starts, the cache reading control switch is switched from off to on, so as to switch the current display image to the target display image. If the display change mode of the first display image is to reduce, and the display change mode of the second display image is to reduce, the first selection control switch remains turned on for reducing, the second selection control switch remains turned on for reducing, the third selection control switch remains turned on for reducing, and the image zoom control switch remains turned on. When the current display screen is output, the cache read control switch is switched from on to off. When the reduced image caching of the second display image starts, the cache read control switch is switched from off to on to switch the current display screen to the target display screen.

6. The method according to claim 5, characterized in that The step of switching the current display screen of the display device to the target display screen includes: If the display change mode of the first display image is enlargement, and the display change mode of the second display image is reduction, then when the current display image is output, the cache read control switch is switched from on to off, the first selection control switch is switched from on for enlargement to on for reduction, the second selection control switch is switched from on for enlargement to on for reduction, the third selection control switch is switched from on for enlargement to on for reduction, the image zoom control switch remains on, and when the reduced image caching of the second display image begins, the cache read control switch is switched from off to on, so as to switch the current display image to the target display image; If the display change mode of the first display image is reduction, and the display change mode of the second display image is enlargement, then when the current display screen is output, the cache read control switch is switched from on to off, the first selection control switch is switched from on for reduction to on for enlargement, and the image zoom control switch is switched from on to off; when the second display image cache starts, the second selection control switch is switched from on for reduction to on for enlargement, the third selection control switch is switched from on for reduction to on for enlargement, the cache read control switch is switched from off to on, and the image zoom control switch is switched from off to on, so as to switch the current display screen to the target display screen.

7. An image switching device in a display device, characterized in that: The device comprises: A change mode determination module, used to obtain an image to be displayed, and determine a display change mode according to the resolution of the image to be displayed and the display resolution of the display device; wherein the display change mode is reduction or enlargement; A reduction coefficient determination module, used for determining a reduction coefficient matching the image to be displayed according to the resolution of the image to be displayed and the display resolution of the display device if the display change mode is reduction; A reduced image cache module, used to perform a reduction operation on the image to be displayed according to the reduction coefficient, output a reduced image, and use the reduced image as a cache target to cache it in a target storage space of a display device; The display screen switching module is used to use the cache target of the target storage space as the target display screen that matches the image to be displayed, and switch the current display screen of the display device to the target display screen.

8. An electronic device, characterized in that: The electronic device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the image switching method in the display device described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the image switching method in a display device according to any one of claims 1 to 6 when executed.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the image switching method in a display device according to any one of claims 1 to 6.