Screen display control method and device, electronic equipment and storage medium

By directly connecting the flash chip and LCD screen in the heating non-burning instrument, real-time detection and transmission of image data, the problem of image display occupying cache space and slow refresh speed is solved, and fast image display is achieved.

CN119296495AActive Publication Date: 2025-01-10SHENZHEN GEEKVAPE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411749472.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-01-10
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

When the existing heating-not-burning appliances are displayed, they occupy a large cache space on the main control chip and cannot be refreshed in time.

Method used

By directly connecting the output pin of the flash chip to the input pin of the LCD screen in the heating non-burning appliance, we can detect the image display requirements in real time, and read the image data from the flash chip and directly transmit it to the LCD screen to avoid data cache to Main control chip.

Benefits of technology

Reduces cache usage of the main control chip and improves the refresh speed of image display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119296495A_ABST
    Figure CN119296495A_ABST
Patent Text Reader

Abstract

The invention discloses a screen display control method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the chip selection of a flash chip and an LCD screen in a heat-not-burn appliance after the heat-not-burn appliance is started; wherein an output pin of the flash chip is connected with an input pin of the LCD screen; when an image display demand is detected, searching a storage initial address and a total data length corresponding to a current target image requested to be displayed by the image display demand; reading data according to the total data length corresponding to the current target image from the storage initial address corresponding to the current target image in the flash chip; and transmitting the read image data of the current target image to the LCD screen from the flash chip to trigger the LCD screen to respond to a screen communication instruction in the image data of the current target image, and displaying the current target image on the LCD screen according to the screen display address of the current target image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image display technology, and in particular to a screen display control method and device, electronic equipment, and storage medium. Background Art

[0002] Currently, many heat-not-burn appliances are equipped with LCD screens. Various desired images can be displayed on the LCD screens on the heat-not-burn appliances, such as images reflecting battery charging.

[0003] Current heat-not-burn appliances generally use flash chips to save images. When there is a need to display an image, the main control chip of the heat-not-burn appliance will first chip-select the flash chip to read the image to be displayed from the flash chip in the chip-selected state and cache it in the main control chip. Then the LCD screen is chip-selected, and the cached image and the display address of the image stored in the main control chip are transmitted to the LCD, so that the LCD screen in the chip-selected state can use the transmitted information to display the image on the LCD screen.

[0004] However, since image data generally occupies a relatively large capacity, caching the image data in the main control chip will occupy a large cache space of the main control chip. In addition, it takes a long time to read the image from the flash chip and cache it, and to transmit the cached image to the LCD screen, which results in the screen display not being able to be refreshed in time. Summary of the invention

[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a screen display control method and device, an electronic device, and a storage medium to solve the problem that the prior art occupies cache space and cannot be refreshed in time.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] The first aspect of the present application provides a method for controlling screen display, comprising:

[0008] After the heating without burning appliance is started, a flash chip and an LCD screen in the heating without burning appliance are chip-selected; wherein an output pin of the flash chip is directly connected to an input pin of the LCD screen;

[0009] Real-time detection of whether there is a need for image display;

[0010] When an image display requirement is detected, finding out the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement;

[0011] Starting from the storage start address corresponding to the current target image in the flash chip, data is read according to the total data length corresponding to the current target image to obtain image data of the current target image; wherein the image data of the current target image includes the pre-stored screen display address of the current target image, the screen communication instruction and the current target image;

[0012] The read image data of the current target image is transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instruction in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image.

[0013] Optionally, in the above-mentioned screen display control method, after the chip selection of the flash chip and the LCD screen in the heating without burning appliance, it also includes:

[0014] Find out the storage start address and total data length of the initialization command;

[0015] Based on the storage start address and total data length of the initialization command, read all the initialization commands from the flash chip;

[0016] The read initialization command is transmitted to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to perform screen initialization using all the initialization commands.

[0017] Optionally, in the above-mentioned screen display control method, the step of finding out the storage start address and the total data length corresponding to the current target image requested to be displayed by the current image display requirement includes:

[0018] Determining, according to the service code triggering the current image display requirement, an image identifier of the current target image requested to be displayed by the image display requirement;

[0019] According to the image identifier of the current target image, the storage start address and the total data length corresponding to the current target image are found from the data of each stored image.

[0020] Optionally, in the above screen display control method, before finding out the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement, the method further includes:

[0021] Determine whether the LCD screen is currently in a display idle state;

[0022] If it is determined that the LCD screen is not currently in a display idle state, the current image display demand is queued;

[0023] If it is determined that the LCD screen is currently in a display idle state, the display idle state of the LCD screen is cleared, and the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement are searched out.

[0024] Optionally, in the above-mentioned screen display control method, the image data of the current target image read is transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen to trigger the LCD screen to respond to the screen communication instruction in the image data of the current target image, and after displaying the current target image on the LCD screen according to the screen display address of the current target image, the method further includes:

[0025] Setting the LCD screen to a display idle state;

[0026] Determine whether there is a queued demand for displaying the image;

[0027] If it is determined that there is a queued image display demand, the first image display demand is used as the current image display demand, and the search for the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display demand is returned.

[0028] A second aspect of the present application provides a screen display control device, comprising:

[0029] A chip selection unit, used for chip selecting a flash chip and an LCD screen in the heat-not-burn device after the heat-not-burn device is started; wherein an output pin of the flash chip is directly connected to an input pin of the LCD screen;

[0030] A detection unit, used for detecting in real time whether there is a demand for image display;

[0031] A first search unit is used to search for a storage start address and a total data length corresponding to a current target image requested to be displayed by the current image display requirement when an image display requirement is detected;

[0032] A data reading unit, configured to read data from the location of the storage start address corresponding to the current target image in the flash chip according to the total data length corresponding to the current target image, to obtain image data of the current target image; wherein the image data of the current target image includes a pre-stored screen display address of the current target image, a screen communication instruction, and the current target image;

[0033] An image display unit is used to transmit the read image data of the current target image from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instruction in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image.

[0034] Optionally, in the above-mentioned screen display control device, it also includes:

[0035] A second search unit, used to search for the storage start address and total data length of the initialization command;

[0036] A command reading unit, configured to read all the initialization commands from the flash chip based on the storage start address and the total data length of the initialization commands;

[0037] The initialization unit is used to transmit the read initialization command to the LCD screen through the pins connected between the flash chip and the LCD screen, so as to trigger the LCD screen to perform screen initialization using all the initialization commands.

[0038] Optionally, in the above-mentioned screen display control device, the first search unit includes:

[0039] An identification determination unit, configured to determine, according to a service code triggering the current image display requirement, an image identification of the current target image requested to be displayed by the image display requirement;

[0040] The address search unit is used to search the storage start address and total data length corresponding to the current target image from the data of each stored image according to the image identifier of the current target image.

[0041] Optionally, in the above-mentioned screen display control device, it also includes:

[0042] A state determination unit, used to determine whether the LCD screen is currently in a display idle state;

[0043] A queuing unit, configured to queue the current image display demand when it is determined that the LCD screen is not currently in a display idle state;

[0044] A clearing unit is used to clear the display idle state of the LCD screen when it is determined that the LCD screen is currently in a display idle state, and trigger the first search unit to execute the search for the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement.

[0045] Optionally, in the above-mentioned screen display control device, it also includes:

[0046] A setting unit, used to set the display idle state of the LCD screen;

[0047] A demand determination unit, used for determining whether there is a queued demand for displaying the image;

[0048] The demand determination unit is used to determine that there is a queued image display demand, then use the image display demand that ranks first as the current image display demand, and return to the first search unit to execute the search to find the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display demand.

[0049] A third aspect of the present application provides an electronic device, including:

[0050] Memory and processor;

[0051] Wherein, the memory is used to store programs;

[0052] The processor is used to execute the program, and when the program is executed, it is specifically used to implement the screen display control method as described in any one of the above.

[0053] A fourth aspect of the present application provides a computer storage medium for storing a computer program, wherein when the computer program is executed by a processor, the computer program is used to implement a screen display control method as described in any one of the above.

[0054] The present application provides a method for controlling screen display. After the heating-without-burning device is started, the flash chip and the LCD screen in the heating-without-burning device are chip-selected so that data can be read from the flash chip at the same time and directly displayed on the LCD screen. The output pin of the flash chip is directly connected to the input pin of the LCD screen, so that the flash chip can communicate directly with the LCD screen. Then, it is detected in real time whether there is an image display demand. When the image display demand is detected, the storage start address and the total data length corresponding to the current target image requested to be displayed by the current image display demand are found. Then, starting from the location of the storage start address corresponding to the current target image in the flash chip, data is read according to the total data length corresponding to the current target image to obtain the image data of the current target image. The image data of the current target image includes the pre-stored screen display address of the current target image, the screen communication instruction and the current target image. Finally, the image data of the current target image read is directly transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instructions in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image, thereby directly transmitting the data read by the flash chip to the LCD screen for display, and there is no need to cache it in the main control chip first, so there is no need to occupy the cache space of the main control chip, and the data can be transmitted quickly for image display, effectively improving the refresh speed of the screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0056] Figure 1 A flowchart of a screen display control method provided in an embodiment of the present application;

[0057] Figure 2 A flowchart of a method for initializing an LCD screen provided in an embodiment of the present application;

[0058] Figure 3 A flowchart of searching the storage start address and total data length corresponding to an image provided by an embodiment of the present application;

[0059] Figure 4 A flowchart of a method for analyzing and processing the display state of an LCD screen provided in an embodiment of the present application;

[0060] Figure 5 A schematic diagram of the architecture of a screen display control device provided in an embodiment of the present application;

[0061] Figure 6 A schematic diagram of the architecture of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0064] The present application embodiment provides a method for controlling screen display, such as Figure 1 As shown, the following steps are included:

[0065] S101, after the heating without burning appliance is started, a flash chip and an LCD screen in the heating without burning appliance are chip-selected.

[0066] Among them, the output pin of the flash chip is directly connected to the input pin of the LCD screen. Because in the screen display control method provided in the embodiment of the present application, it is necessary to directly transmit the data read by the flash chip to the LCD screen without caching through the main control chip. In order to allow the flash chip to directly transmit data to the LCD screen, in the embodiment of the present application, the output pin of the flash chip is directly connected to the input pin of the LCD screen, so that data can be directly output from the flash chip to the LCD screen. In addition, in order to ensure that the flash chip and the LCD screen can transmit data, that is, communicate, it is necessary to ensure that the communication protocol of the output pin of the interconnected flash chip is consistent with the output pin of the LCD screen.

[0067] Since the chip in the heating without burning device needs to be controlled to operate, it needs to be set to a chip select state. In the embodiment of the present application, data needs to be read from the flash chip and directly transmitted to the LCD screen for display, so the main control chip in the heating without burning device needs to simultaneously select the flash chip and the LCD screen, instead of sequentially selecting them.

[0068] Optionally, in another embodiment of the present application, after executing step S101 and before executing step S102, the LCD screen may be initialized. Figure 2 As shown, an LCD screen initialization method provided in an embodiment of the present application includes the following steps:

[0069] S201, finding out the storage start address and total data length of the initialization command.

[0070] In the embodiment of the present application, the initialization command is stored in the flash chip, and only the storage address and data length of the initialization command in the flash chip are stored in the main control chip, thereby avoiding occupying the storage space of the main control chip. Therefore, when the initialization command is needed, it is necessary to first find out the storage start address and total data length of the initialization command, and then execute step S202.

[0071] S202: Read all initialization commands from the flash chip based on the storage start address and total data length of the initialization commands.

[0072] Specifically, the main control chip requests the flash chip to read data of the total data length from the data stored in the flash chip starting from the storage start address of the initialization command found by the main control chip, so that all the initialization commands can be read out.

[0073] S203, transmitting the read initialization command to the LCD screen through the pins connected between the flash chip and the LCD screen, so as to trigger the LCD screen to perform screen initialization using all the initialization commands.

[0074] Specifically, after requesting the flash chip to read the initialization command, the main control chip will let the flash chip transmit the read initialization command directly to the LCD screen through the pins connecting the flash chip and the LCD screen without passing through the main control chip. After receiving the initialization command, the LCD screen uses the initialization command to initialize the screen.

[0075] S102: Detect in real time whether there is a demand for image display.

[0076] Optionally, the user may trigger the image display requirement by pressing a button.

[0077] When an image display requirement is detected, step S103 is executed.

[0078] S103: Find out the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement.

[0079] It should be noted that in order to allow the LCD screen to directly obtain data transmitted by the flash chip to display images, in an embodiment of the present application, the data required for displaying each image is stored in the flash chip in advance, and the storage start address and total length of this data are stored in the main control information chip.

[0080] Therefore, when an image needs to be displayed, the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement are found from the storage start address and total data length corresponding to each image, and then step S104 is executed.

[0081] Optionally, in another embodiment of the present application, a specific implementation of step S103 is as follows: Figure 3 As shown, the following steps are included:

[0082] S301. Determine, according to a service code that triggers a current image display requirement, an image identifier of a current target image requested to be displayed by the image display requirement.

[0083] It should be noted that, in order to identify different images, in the embodiment of the present application, an image identifier of a position is set for each image. Since the images required to be displayed when executing different business codes are usually determined, the image identifier of the current target image requested to be displayed by the image display requirement can be determined based on the business code that triggers the current image display requirement.

[0084] S302: According to the image identifier of the current target image, find out the storage start address and total data length corresponding to the current target image from the data of each stored image.

[0085] Optionally, the image identifier of each image may be associated with the storage start address and total data length corresponding to the image, so that the storage start address and total data length corresponding to the current target image may be found out based on the association relationship.

[0086] Optionally, in another embodiment of the present application, considering high frequency operation and different triggered image display requirements, in order to avoid conflicts among various image display requirements and ensure that various image display requirements can be responded to, before executing step S103, further analysis and processing of the display status of the LCD screen may be performed. Figure 4 As shown, a display state analysis and processing method of an LCD screen provided in an embodiment of the present application includes the following steps:

[0087] S401, determining whether the LCD screen is currently in a display idle state.

[0088] If it is determined that the LCD screen is not currently in the display idle state, step S402 is executed. If it is determined that the LCD screen is currently in the display idle state, step S403 is executed.

[0089] S402: Queue the current image display requirements.

[0090] Since the LCD screen is currently processing the display of other images, the current image display requirement can only be queued. Optionally, the identification of the image requested to be displayed by the current image display requirement can be used to queue.

[0091] S403, clearing the display idle state of the LCD screen.

[0092] Since there is no display processing of other images at this time, the current image display demand can be processed, and in order to avoid the influence of subsequent other image display demands, the display idle state of the LCD screen is cleared, that is, the display state of the LCD screen is no longer an idle state. And, while executing step S403, step S103 can be executed.

[0093] S104 , starting from the storage start address corresponding to the current target image in the flash chip, data is read according to the total data length corresponding to the current target image to obtain image data of the current target image.

[0094] The image data of the current target image includes the pre-stored screen display address of the current target image, the screen communication instruction, and the current target image. Specifically, in the embodiment of the present application, the data of each image is stored in a partition in the flash chip, specifically including the address of its display on the screen, that is, the screen display address, the screen communication instruction, and the image.

[0095] Optionally, the communication instruction, the start address and the end address of the screen display address and the display data can be packaged and stored in the flash chip. For example, 0x2A is to send the x-axis address followed by the high eight bits, low eight bits, and the end address high eight bits and low eight bits of the x-axis start address, and 0x2B is to send the y-axis address followed by the high eight bits, low eight bits, and the end address high eight bits and low eight bits of the y-axis start address, so the specific format can be: {0x2A, 0x00, 0x12, 0x00, 0x82, 0x2B, 0x09, 0x19, 0x0A, 0x0B,......}.

[0096] Specifically, the main control chip controls the flash chip to read data from the location of the storage start address corresponding to the current target image in the flash chip according to the total data length corresponding to the current target image, thereby reading the image data of the current target image.

[0097] S105, the image data of the current target image read is transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instructions in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image.

[0098] Specifically, the image data of the current target image read from the flash chip is directly transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, and no longer passes through the main control chip. After receiving the image data of the current target image, the LCD screen will respond to the screen communication instruction in the image data of the current target image and display the current target image on the LCD screen according to the screen display address of the current target image.

[0099] Optionally, when display control needs to be performed through display status, in another embodiment of the present application, after executing step S105, the following may be further performed:

[0100] Set the LCD screen to an idle state and determine whether there is a queued image display demand.

[0101] If it is determined that there is a queued image display demand, the first-ranked image display demand is used as the current image display demand, and the process returns to step S103 for the current image display demand.

[0102] The embodiment of the present application provides a method for controlling screen display. After the heating-without-burning device is started, the flash chip and the LCD screen in the heating-without-burning device are chip-selected so that data can be read from the flash chip at the same time and directly displayed on the LCD screen. Among them, the output pin of the flash chip is directly connected to the input pin of the LCD screen, so that the flash chip can communicate directly with the LCD screen. Then, it is detected in real time whether there is an image display demand. When the image display demand is detected, the storage start address and the total data length corresponding to the current target image requested to be displayed by the current image display demand are found. Then, starting from the location of the storage start address corresponding to the current target image in the flash chip, data is read according to the total data length corresponding to the current target image to obtain the image data of the current target image. Among them, the image data of the current target image includes the pre-stored screen display address of the current target image, the screen communication instruction and the current target image. Finally, the image data of the current target image read is directly transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instructions in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image, thereby directly transmitting the data read by the flash chip to the LCD screen for display, and there is no need to cache it in the main control chip first, so there is no need to occupy the cache space of the main control chip, and the data can be transmitted quickly for image display, effectively improving the refresh speed of the screen.

[0103] Another embodiment of the present application provides a device for controlling screen display, such as Figure 5 As shown, including:

[0104] The chip selection unit 501 is used to select the flash chip and the LCD screen in the heat without burning appliance after the heat without burning appliance is started.

[0105] Among them, the output pins of the flash chip are directly connected to the input pins of the LCD screen.

[0106] The detection unit 502 is used to detect in real time whether there is a demand for image display.

[0107] The first search unit 503 is used to search for the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement when an image display requirement is detected.

[0108] The data reading unit 504 is used to read data from the storage start address corresponding to the current target image in the flash chip according to the total data length corresponding to the current target image to obtain the image data of the current target image. The image data of the current target image includes the pre-stored screen display address of the current target image, the screen communication instruction and the current target image.

[0109] The image display unit 505 is used to transmit the read image data of the current target image from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instructions in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image.

[0110] Optionally, in another embodiment of the present application, the screen display control device further includes:

[0111] The second search unit is used to search for the storage start address and total data length of the initialization command.

[0112] The command reading unit is used to read all initialization commands from the flash chip based on the storage start address and total data length of the initialization commands.

[0113] The initialization unit is used to transmit the read initialization command to the LCD screen through the pins connected between the flash chip and the LCD screen, so as to trigger the LCD screen to perform screen initialization using all the initialization commands.

[0114] Optionally, in a screen display control device provided in another embodiment of the present application, the first search unit includes:

[0115] The identification determination unit is used to determine the image identification of the current target image requested to be displayed according to the service code that triggers the current image display demand.

[0116] The address search unit is used to search the storage start address and total data length corresponding to the current target image from the data of each stored image according to the image identifier of the current target image.

[0117] Optionally, in another embodiment of the present application, the screen display control device further includes:

[0118] The state judgment unit is used to judge whether the LCD screen is currently in a display idle state.

[0119] The queuing unit is used to queue the current image display demand when it is determined that the LCD screen is not currently in a display idle state.

[0120] The clearing unit is used to clear the display idle state of the LCD screen when it is determined that the LCD screen is currently in a display idle state, and trigger the first search unit to search for the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement.

[0121] Optionally, in another embodiment of the present application, the screen display control device further includes:

[0122] The setting unit is used to set the display idle state of the LCD screen.

[0123] The demand determination unit is used to determine whether there is a queued image display demand.

[0124] The demand determination unit is used to determine that there is a queued image display demand, then use the image display demand that ranks first as the current image display demand, and return to the first search unit to search for the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display demand.

[0125] It should be noted that the device provided in the above embodiments of the present application may specifically be a heating without burning appliance, and the specific working process of each unit may refer to the implementation process of the corresponding steps in the above method embodiments, which will not be repeated here.

[0126] Another embodiment of the present application provides an electronic device, such as Figure 6 As shown, including:

[0127] Memory 601 and processor 602 .

[0128] The memory 601 is used to store programs.

[0129] The processor 602 is used to execute the program stored in the memory 601. When the program is executed, it is specifically used to implement the screen display control method provided by any one of the above embodiments.

[0130] Another embodiment of the present application provides a computer storage medium for storing a computer program. When the computer program is executed by a processor, it is used to implement the screen display control method provided in any of the above embodiments.

[0131] Computer storage media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0132] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0133] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for controlling screen display, characterized in that: include: After the heating without burning appliance is started, a flash chip and an LCD screen in the heating without burning appliance are chip-selected; wherein an output pin of the flash chip is directly connected to an input pin of the LCD screen; Real-time detection of whether there is a need for image display; When an image display requirement is detected, finding out the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement; Starting from the storage start address corresponding to the current target image in the flash chip, data is read according to the total data length corresponding to the current target image to obtain image data of the current target image; wherein the image data of the current target image includes the pre-stored screen display address of the current target image, the screen communication instruction and the current target image; The read image data of the current target image is transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instruction in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image.

2. The method according to claim 1, characterized in that: After the chip selection of the flash chip and the LCD screen in the heating without burning device, the method further includes: Find out the storage start address and total data length of the initialization command; Based on the storage start address and total data length of the initialization command, read all the initialization commands from the flash chip; The read initialization command is transmitted to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to perform screen initialization using all the initialization commands.

3. The method according to claim 1, characterized in that: The step of finding out the storage start address and the total data length corresponding to the current target image requested to be displayed by the current image display requirement includes: Determining, according to the service code triggering the current image display requirement, an image identifier of the current target image requested to be displayed by the image display requirement; According to the image identifier of the current target image, the storage start address and the total data length corresponding to the current target image are found from the data of each stored image.

4. The method according to claim 1, characterized in that: Before finding out the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement, the method further includes: Determine whether the LCD screen is currently in a display idle state; If it is determined that the LCD screen is not currently in a display idle state, the current image display demand is queued; If it is determined that the LCD screen is currently in a display idle state, the display idle state of the LCD screen is cleared, and the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display requirement are searched out.

5. The method according to claim 4, characterized in that The image data of the current target image that is read is transmitted from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instruction in the image data of the current target image, and after displaying the current target image on the LCD screen according to the screen display address of the current target image, the method further includes: Setting the LCD screen to a display idle state; Determine whether there is a queued demand for displaying the image; If it is determined that there is a queued image display demand, the first image display demand is used as the current image display demand, and the search for the storage start address and total data length corresponding to the current target image requested to be displayed by the current image display demand is returned.

6. A screen display control device, characterized in that: include: A chip selection unit, used for chip selecting a flash chip and an LCD screen in the heat-not-burn device after the heat-not-burn device is started; wherein an output pin of the flash chip is directly connected to an input pin of the LCD screen; A detection unit, used for detecting in real time whether there is a demand for image display; A first search unit is used to search for a storage start address and a total data length corresponding to a current target image requested to be displayed by the current image display requirement when an image display requirement is detected; A data reading unit, configured to read data from the location of the storage start address corresponding to the current target image in the flash chip according to the total data length corresponding to the current target image, to obtain image data of the current target image; wherein the image data of the current target image includes a pre-stored screen display address of the current target image, a screen communication instruction, and the current target image; An image display unit is used to transmit the read image data of the current target image from the flash chip to the LCD screen through the pins connecting the flash chip and the LCD screen, so as to trigger the LCD screen to respond to the screen communication instruction in the image data of the current target image, and display the current target image on the LCD screen according to the screen display address of the current target image.

7. The device according to claim 6, characterized in that Also includes: A second search unit, used to search for the storage start address and total data length of the initialization command; A command reading unit, configured to read all the initialization commands from the flash chip based on the storage start address and the total data length of the initialization commands; The initialization unit is used to transmit the read initialization command to the LCD screen through the pins connected between the flash chip and the LCD screen, so as to trigger the LCD screen to perform screen initialization using all the initialization commands.

8. The device according to claim 6, characterized in that The first searching unit comprises: An identification determination unit, configured to determine, according to a service code triggering the current image display requirement, an image identification of the current target image requested to be displayed by the image display requirement; The address search unit is used to search the storage start address and total data length corresponding to the current target image from the data of each stored image according to the image identifier of the current target image.

9. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to execute the program, and when the program is executed, it is specifically used to implement the screen display control method as described in any one of claims 1 to 5.

10. A computer storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, is used to implement the screen display control method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Flash memory storage method and device of information, computer equipment and storage medium

    CN114968841A

  • Data storage method and device and data reading method and device

    CN115857819A

  • Efficient SPI data transmission connection mode for improving frame rate of TFT display screen

    CN117762853A

  • Image display drive unit and image display system

    JP2009063699A