Screen display control method, medium and electronic equipment
By using a chip that shares a reset interface between the display module and the touch module in electronic equipment, the problem of independent chips occupying space is solved, and the effect of using screen-informing technology and reducing power consumption in devices with high volume requirements is achieved.
Patent Information
- Application Number
- CN202310446288.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
In existing electronic equipment, display chips and touch chips exist independently and occupy a large space, making it difficult to be suitable for equipment with high volume requirements. Especially when implementing the information screen technology, they cannot be shared, resulting in the inability to meet the dual requirements of volume and power consumption. Require.
Using a chip that shares a reset interface between the display module and the touch module, a reset signal is sent through the processor to make them enter the working state at the same time, ensuring that user operation events can be analyzed when the screen is black or the screen is idle, saving space and reducing power consumption.
It realizes the use of screen-informing technology in devices with high volume requirements, which can detect user operations and respond quickly in a low-power state, while saving the overall power consumption of electronic devices.
Smart Images

Figure CN118796018A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a screen display control method, medium and electronic device. Background Art
[0002] Currently, electronic devices can use screen-off technology. For example, Figure 1 As shown, the electronic device is taken as a mobile phone 10 as an example. When the electronic device is in a black screen state, the screen does not display content. When the mobile phone 10 obtains the user's screen-off operation, such as the user single-clicking the screen, the mobile phone 10 will use part of the screen area to display the screen-off information, such as displaying the time through the display frame 11, and the screen refresh frequency is low at this time, and the frequency can be 30 Hz. In the black screen state or the screen-off state, after the mobile phone 10 obtains the user's wake-up operation, such as the user double-clicking the screen, the screen of the electronic device will be fully lit, and the screen can display the lock screen interface or the main interface, and the screen refresh frequency is high at this time, and the frequency can be 60 Hz or 120 Hz.
[0003] For example, when the mobile phone 10 displays the main interface, it may include a display frame 11, a display bar 12, and multiple application icons (including a camera icon 13, a contact icon 14, and a phone icon 15). When the mobile phone 10 displays the lock screen interface, the lock screen interface may include a display frame 11, a display bar 12, and a control 16. The control 16 can be used by the user to unlock the lock screen state and enter the main interface.
[0004] Currently, electronic devices usually use a central processing unit (CPU) to control a display chip and a touch chip to realize a black screen state, a bright screen state, and a screen off state. Among them, the display chip and the touch chip are independent of each other and need to be connected to the CPU respectively.
[0005] However, as two independent chips, the display chip and the touch chip will occupy a large space in the electronic device. At present, in order to make electronic devices thinner and lighter, the chip size requirements are getting higher and higher. For example, wearable devices such as smart watches require chips with a small size. As a result, the display chip and touch chip that realize the screen-off technology cannot be used in current electronic devices. Summary of the invention
[0006] In view of this, the present application provides a screen display control method, medium and electronic device.
[0007] In a first aspect, a screen display control method is provided, which is applied to an electronic device, wherein the electronic device includes a first chip and a processor, the first chip includes a display module, a touch control module and a reset interface, and the display module and the touch control module are both connected to the processor through the reset interface; wherein the method includes: the screen of the electronic device is in a black screen state, the processor and the display module are in a sleep state, and the touch control module is in a first touch control state; the touch control module detects a first operation event of the user, and sends the first operation event to the processor, wherein the first operation event includes a screen-off operation event or a screen-on operation event; the processor sends a reset signal to the display module and the touch control module through the reset interface, wherein the reset signal is used to control the display module to enter a working state, and to control the touch control module to enter a second touch control state; the processor receives touch data from the touch control module, and processes the touch data.
[0008] In the above scheme, the first chip is a chip that uses a common reset interface for the display module and the touch module. In the black screen state, the processor will not parse the touch data, but the touch module will parse the touch data. When a screen-off operation event or a screen-on operation event is obtained, the display module and the touch module will be reset at the same time, so that the touch module directly sends touch data to the processor. Therefore, when the screen is off or on, the processor will be awakened, so that the processor can parse the user's operation event when the screen is off, and the electronic device can respond to the user's operation.
[0009] Furthermore, the chip that uses a common reset interface for the display module and the touch module can use the screen-off technology, and the chip also saves space and can be applied to devices with higher volume requirements.
[0010] In combination with the first aspect, in some implementations, the processor switches to a sleep state based on detecting a black screen operation event of the user, and the processor sends a black screen instruction to the display module, and the black screen instruction instructs the display module to turn off the screen; after sending the black screen instruction for a first preset time, the processor sends a detection gesture instruction to the touch control module, and the detection gesture instruction instructs the touch control module to switch from the second touch control state to the first touch control state.
[0011] In the above scheme, when the screen is black, the black screen command and the gesture detection command are issued at different times, and the gesture detection command is only issued under the black screen command, which can ensure that the touch module is switched to a state where it can parse the touch data, so that the electronic device can detect user operations in the black screen state.
[0012] In combination with the first aspect, in some implementations, the touch module acquires touch data at a first frequency when it is in a first touch state, and acquires touch data at a second frequency when it is in a second touch state, and the first frequency is less than or equal to the second frequency; wherein the touch data includes one or more of capacitance value, inductance value, and resistance value.
[0013] In the above scheme, the first touch state can also be called a low power state, and the second touch state can also be called a high power state. When the screen is a capacitive screen, the touch data is the capacitance data of the screen. When the screen is a resistive screen, the touch data is the resistance data of the screen. When the screen is an inductive screen, the touch data is the inductance data of the screen. In this way, in the black screen state, the touch module works at low power, which can save power consumption.
[0014] In combination with the first aspect, in some implementations, the first chip also includes a control interface, and the display module and the touch module are also connected to the processor through the control interface; based on the touch module detecting that the first operation event is a screen-off operation event, the processor sends a screen-off instruction to the display module through the control interface, and the screen-off instruction is used to control the display module to enter a first display state, and the first display state includes driving the screen to display information at a third frequency.
[0015] In the above scheme, the screen off operation event can be specifically an operation such as a user clicking the screen, and based on the received user operation, the screen is controlled to display the screen off information, and the screen refresh frequency is low. In addition, only part of the screen area can be used for display, which can save power consumption.
[0016] In combination with the first aspect, in some implementations, based on the touch module detecting that the first operation event is a screen-on operation event, the processor sends a screen-on instruction to the display module through the control interface, and the screen-on instruction is used to control the display module to enter a second display state, and the second display state includes driving the screen to display information at a fourth frequency, and the third frequency is less than or equal to the fourth frequency.
[0017] In the above scheme, the screen lighting operation event may specifically be an operation such as the user double-clicking the screen. Based on receiving the user operation, the screen display is controlled, and the screen refresh frequency is high at this time, and the entire area of the screen can be used for display, which can save power consumption.
[0018] In combination with the first aspect, in some implementations, the processor includes an event detection module, and the event detection module is used to process received touch data; based on the processor being in a sleep state, the event detection module is in a sleep state.
[0019] In the above solution, the processor enters a dormant state, including the event detection module entering a dormant state, thereby saving power consumption of the device in a black screen state.
[0020] In combination with the first aspect, in some implementations, the black screen operation event includes the user pressing the power button; the screen off operation event and the screen on operation event include one or more of the user single-clicking the screen, double-clicking the screen, or sliding the screen, and the screen off operation event and the screen on operation event are different operation events.
[0021] In the above solution, the user can control the screen to display different contents through different operations. For example, the user can use touch operation to make the electronic device display the screen off information, so that the user can check the time and other information when the device is low power consumption, saving the power consumption of the device. The user can also use another operation to wake up the device and display the main interface, lock screen or application interface.
[0022] In the second aspect, the present application provides an electronic device, comprising a processor and a first chip; the first chip comprises a display module, a touch control module and a reset interface, and the display module and the touch control module are both connected to the processor through the reset interface; and when the screen of the electronic device is in a black screen state, the processor and the display module are in a sleep state, and the touch control module is in a first touch state; the processor is used to send a reset signal to the display module and the touch control module through the reset interface when the touch control module detects a first operation event of the user, wherein the first operation event includes a screen-off operation event or a screen-on operation event, and the reset signal is used to control the display module to enter a working state, and control the touch control module to enter a second touch state; the processor is also used to receive touch data from the touch control module and process the touch data.
[0023] In combination with the second aspect, in some implementations, the processor is also used to switch to a sleep state when a user black screen operation event is detected, and send a black screen instruction to the display module, the black screen instruction instructing the display module to turn off the screen; the processor is also used to send a detection gesture instruction to the touch control module after a first preset time of sending the black screen instruction, the detection gesture instruction instructing the touch control module to switch from the second touch control state to the first touch control state.
[0024] In combination with the second aspect, in some implementations, the touch module acquires touch data at a first frequency when it is in a first touch state, and acquires touch data at a second frequency when it is in a second touch state, and the first frequency is less than or equal to the second frequency; wherein the touch data includes one or more of capacitance value, inductance value, and resistance value.
[0025] In combination with the second aspect, in some implementations, the first chip also includes a control interface, and the display module and the touch module are also connected to the processor through the control interface; the processor is also used to send a screen-off instruction to the display module through the control interface when the touch module detects that the first operation event is a screen-off operation event, and the screen-off instruction is used to control the display module to enter a first display state, and the first display state includes driving the screen to display information at a third frequency.
[0026] In combination with the second aspect, in some implementations, the processor is also used to send a screen-lighting instruction to the display module through the control interface when the touch module detects that the first operation event is a screen-lighting operation event. The screen-lighting instruction is used to control the display module to enter a second display state. The second display state includes driving the screen to display information at a fourth frequency, and the third frequency is less than or equal to the fourth frequency.
[0027] In combination with the second aspect, in some implementations, the black screen operation event includes the user pressing the power button; the screen off operation event and the screen on operation event include one or more of the user single-clicking the screen, double-clicking the screen, or sliding the screen, and the screen off operation event and the screen on operation event are different operation events.
[0028] In a third aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the method described in the first aspect is executed.
[0029] In a fourth aspect, the present application provides a computer program product, which includes computer instructions. When the computer program product is executed by a computing device, the computing device performs the method described in the first aspect.
[0030] In summary, through the screen display control method, medium and electronic device provided by the present application, the screen-off technology can be applied to electronic devices using the TDDI chip 300. In the black screen state, by issuing black screen instructions and gesture detection instructions at different times, it can ensure that the touch module 320 switches to a low-power state, so that the electronic device can detect user operations in the black screen state. In this way, electronic devices using the TDDI chip 300 can also use the screen-off technology, thereby saving power consumption of electronic devices while facilitating users to view screen-off information such as time. The event detection module 240 can be awakened in the screen-off state, so that the electronic device 100 can parse the user's operation events when the screen is off. Moreover, at this time, the TDDI chip 300 is still detecting the touch data of the screen in a high-power state, so that the user's operation can be captured faster, and the electronic device can respond to the user's operation faster. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.
[0032] Figure 1 It is a schematic diagram of an interface of various states of an electronic device provided in an embodiment of the present application;
[0033] Figure 2A This is a schematic diagram of the interaction between a CPU, a display chip, and a touch chip in a black screen state provided by an embodiment of the present application;
[0034] Figure 2B This is a schematic diagram of the interaction between a CPU, a display chip, and a touch chip in a bright screen state provided by an embodiment of the present application;
[0035] Figure 2C This is a schematic diagram of the interaction between a CPU, a display chip, and a touch chip in a screen-off state provided by an embodiment of the present application;
[0036] Figure 3 It is a structural schematic diagram of a CPU and TDDI chip provided in an embodiment of the present application;
[0037] Figure 4 It is a flowchart of a screen display control method provided in an embodiment of the present application;
[0038] Figure 5 It is an interactive schematic diagram of a screen display control system in a black screen state provided by an embodiment of the present application;
[0039] Figure 6 This is an interactive schematic diagram of a screen display control system in a screen-off state provided by an embodiment of the present application;
[0040] Figure 7 It is a flowchart of another screen display control method provided by an embodiment of the present application;
[0041] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The illustrative embodiments of the present application include, but are not limited to, a screen display control method, a medium, and an electronic device.
[0043] For ease of understanding, the always on display (AOD) technology involved in the present application is introduced below with reference to the accompanying drawings.
[0044] As mentioned above, in order to realize the above-mentioned screen-off technology, the display chip and the touch chip in the electronic device are jointly implemented. FIG. 2A to FIG. 2CThe screen display control process disclosed in some embodiments of the present application is introduced.
[0045] like FIG. 2A to FIG. 2C As shown, the electronic device is taken as a mobile phone 10 for example. The mobile phone 10 includes a central processing unit (CPU) 20, a display chip 30 and a touch chip 40. The CPU 20 is used to control the display chip 30 and the touch chip 40, the display chip 30 is used to control the screen to turn on and off, and the touch chip 40 is used to obtain touch data of the screen, so that the mobile phone 10 can detect the user's operation.
[0046] When the mobile phone 10 enters the black screen state, the CPU 20 and the display chip 30 are in a dormant state, and the touch chip 40 works in a low power state. Figure 2A As shown, specifically, the CPU 20 sends a black screen instruction to the display chip 30, so that the display chip 30 controls the screen of the mobile phone 10 to turn off and enter a dormant state. In addition, the CPU 20 of the mobile phone 10 also sends a gesture detection instruction to the touch chip 40, so that the touch chip 40 detects the capacitance data of the capacitor of the screen in a low-power state. Moreover, at this time, the CPU 20 is in a dormant state, and the touch chip 40 completes the analysis of the capacitance data of the screen by itself, obtains the user operation type, and directly sends the analyzed operation event to the CPU 20.
[0047] When the mobile phone 10 enters the screen-on state, the CPU 20 and the display chip 30 are in working state, and the touch chip 40 is working in a high-power state. Figure 2B As shown, specifically, the CPU 20 sends a screen light instruction and a reset signal to the display chip 30, so that after the display chip 30 is reset, the entire screen is controlled to display relevant content, and the screen refresh frequency is high. At the same time, the CPU 20 will also send a reset signal to the touch chip 40, so that the touch chip 40 returns to a high-power state. At this time, the touch chip 40 will detect the capacitance data of the screen at a higher frequency, and directly send the capacitance data of the screen to the CPU 20. The CPU 20 will parse the capacitance data to obtain the user operation event, and then the CPU 20 can issue corresponding instructions according to the obtained user operation.
[0048] When the mobile phone 10 enters the screen-off state, the display chip 30 is in working state, the touch chip 40 is in low power state, and the CPU 20 is in sleep state. Figure 2CAs shown, it specifically includes: CPU20 sends a screen-off instruction and a reset signal to the display chip 30, so that the display chip 30 resets and drives the screen to display the screen-off information in a low-power state, for example, using a partial area of the screen to display the screen-off information, and the screen refresh frequency is low. At this time, if the mobile phone 10 switches from a black screen state to a screen-off state, the touch chip 40 maintains the original low-power state to work, and directly sends the parsed operation event to the CPU20. If the mobile phone 10 switches from a bright screen state to a screen-off state, the CPU20 also needs to send a gesture detection instruction to the touch chip 40, so that the touch chip 40 works in a low-power state, and the touch chip 40 parses the touch data and sends the parsed operation event to the CPU20.
[0049] As mentioned above, the display chip 30 and the touch chip 40 are independent of each other, and their total occupied area will be large, which is not suitable for electronic devices with high volume requirements. Therefore, efforts are currently being made to combine the display chip and the touch chip into one chip, and the combined chip controls the screen display. For example, a touch and display driver integration (TDDI) chip 300 can be used in the electronic device 100 to control the screen display.
[0050] like Figure 3 As shown, the TDDI chip 300 integrates the display module 310 and the touch module 320 on a circuit chip, and the TDDI chip 300 has a reset interface 330 and one or more control interfaces 340. The CPU 200 sends a reset signal to the TDDI chip 300 through the reset interface 330, and sends a control signal for changing the display state and the touch state to the TDDI chip 300 through the control interface 340, such as a black screen command, a screen off command, a screen bright command, a gesture detection command, etc.
[0051] Since the display module 310 and the touch module 320 can share the reset interface 330, the number of pin interfaces between chips in the electronic device 100 can be reduced, thereby saving the space occupied by the chip in the electronic device 100, so that electronic devices 100 with higher volume requirements can also use the chip.
[0052] However, after the electronic device 100 enters the screen-off state from the black screen state, the display module 310 changes from the sleep state to the working state, and the CPU 200 needs to send a reset signal to the display module 310. Since the display module 310 and the touch module 320 in the above-mentioned TDDI chip use the same reset interface 330, the reset signal will reset the display module 310 and the touch module 320 at the same time. Furthermore, the touch module 320 is reset to directly send capacitance data to the CPU 200, while the CPU 200 is still in the sleep state in the screen-off state, resulting in the CPU 200 being unable to parse the capacitance data, making the CPU 200 unable to respond to user operations. For example, if the user clicks the screen in the screen-off state, the electronic device 100 cannot perform the screen-off delay. Alternatively, if the user double-clicks the screen in the screen-off state, the electronic device 100 cannot enter the bright screen state.
[0053] In order to solve the problem that the screen cannot obtain user operations when the display module and the touch module are combined into one chip, the present application provides a screen display control method, which is applied to an electronic device 100. The electronic device 100 uses an integrated chip that uses a reset interface shared by the display module and the touch module, such as a TDDI chip 300.
[0054] When the electronic device 100 enters the screen-off state from the black screen state, when the CPU 200 sends a reset signal to the TDDI chip 300 through the reset interface 330, the CPU 200 will also enter the working state, so that the CPU 200 can parse the touch data (such as capacitance data) acquired by the touch module 320. In this way, after the TDDI chip 300 acquires the reset signal, the display module 310 can drive the screen to display the screen-off information after being reset, and the touch module 320 is reset to a high-power state. The touch module 320 directly sends the acquired touch data of the screen to the CPU 200, and then the CPU 200 in the working state parses the touch data to obtain the operation event performed by the user.
[0055] In this way, by waking up the CPU 200 to enter the working state in the screen-off state, the electronic device 100 can obtain the user's operation events when the screen is off. In addition, at this time, the touch module 320 is in a high-power state to obtain the touch data of the screen, so that the user's operation can be captured faster, and then the terminal device can respond to the user's operation faster.
[0056] The electronic device 100 may be any electronic device with a touch screen, such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) or a dedicated camera (such as a SLR camera, a card camera), etc. The present application does not impose any restrictions on the specific type of the electronic device 100.
[0057] The electronic device 100 includes a TDDI chip 300, and may also be an integrated chip including a reset interface shared by other display modules and touch modules. The integrated chip (e.g., TDDI chip 300) may be controlled by the CPU 200, or may be controlled by other processor chips, which is not specifically limited in this application. The following examples are all given with the integrated chip being the TDDI chip and the control chip being the CPU 200.
[0058] The following describes a step flow of a screen display control method provided by the present application. The flow is applied to an electronic device 100. The electronic device 100 includes a CPU 200 and a TDDI chip 300. The structure and connection method of the CPU 200 and the TDDI chip 300 can refer to the aforementioned Figure 3 .like Figure 4 As shown, the method specifically includes:
[0059] S401: The user triggers a black screen operation.
[0060] When the electronic device 100 is in the screen-on state or the screen-off state, the user can press the power button to make the electronic device enter the black screen state. Alternatively, the user can not operate the electronic device 100 within the preset time T1, and the electronic device 100 will also enter the black screen state. Alternatively, the black screen operation can also be the user clicking the control on the screen that allows the user to enter the black screen state. In this case, the black screen operation is obtained by the TDDI chip 300 and then sent to the CPU 200.
[0061] It should be understood that the present application does not specifically limit the specific operation type by which a user causes an electronic device to enter a black screen state.
[0062] S402: CPU 200 generates a black screen instruction and a gesture detection instruction and enters a sleep state.
[0063] In order to save power consumption in the black screen state, the CPU 200 will drive the display module 310 in the TDDI chip 300 to turn off the screen and the touch module 320 to operate in a low power state according to the black screen operation, and the CPU 200 will also enter a sleep state. In the sleep state, the CPU 200 will put the module used to detect touch data into sleep mode, so that the CPU 200 does not parse the touch data of the screen.
[0064] Therefore, the CPU 200 will generate a black screen instruction to turn off the screen, and generate a gesture detection instruction to allow the touch module 320 to operate in a low power state. For example, the black screen instruction can be a command prompt (CMD) No. 28 or a CMD No. 11. Among them, CMD No. 28 instructs the electronic device 100 to stop displaying (display off), and CMD No. 10 instructs the electronic device 100 to enter sleep (sleep in).
[0065] In addition, in order to save power consumption in the black screen state, the CPU 200 may also control other modules in the CPU 200 to sleep, such as shutting down the communication module, or reducing the power state of the communication module, etc. This application does not make specific limitations on this.
[0066] S403: The CPU 200 sends a black screen instruction to the display module 310 .
[0067] When the electronic device 100 obtains that the user has executed a black screen operation, the CPU 200 will send a black screen instruction to the TDDI chip 300 through the control interface 340 .
[0068] It should be understood that the CPU may first cause the module for detecting touch data to enter a sleep state, and then generate a black screen instruction and a gesture detection instruction. This application does not specifically limit the above execution order.
[0069] S404: The display module 310 drives the screen to go black and then enters a sleep state.
[0070] The display module 310 will turn off the entire screen according to the black screen instruction. And after driving the screen to black screen, it will also enter a dormant state, that is, it will not drive the screen to display any information.
[0071] S405: the display module 310 sends a feedback instruction to the CPU 200.
[0072] The feedback instruction is used to indicate that the display module 310 has completed the operation in the above S404, including driving the screen to black and entering a sleep state, so that the CPU 200 determines that the display module 310 has completed the corresponding operation.
[0073] S406 : After the preset time T2 , the CPU 200 sends a gesture detection instruction to the touch control module 320 .
[0074] In order to ensure that the electronic device 100 can detect the user's touch operation in the black screen state, the CPU 200 will send a gesture detection instruction to the touch module 320 of the TDDI chip 300 after receiving the preset time T2 (i.e., the first preset time) of the feedback instruction, so that the touch module 320 can switch from the touch detection state of the high-power state to the working state of the low-power state. Furthermore, in the black screen state, the touch module 320 can complete the analysis of the touch data and directly send the operation event to the CPU 200.
[0075] Since the CPU 200 sends the gesture detection instruction after the preset time T2 of sending the black screen instruction, the CPU 200 and the TDDI chip 300 can process the gesture detection instruction after completing the related processing of the black screen instruction, thereby ensuring that the gesture detection instruction can be successfully received.
[0076] S407: The touch control module 320 enters a low power state.
[0077] The touch module 320 switches to a low power state according to the received gesture detection command, specifically acquiring touch data of the screen at a low frequency, and the touch module 320 also completes the analysis of the touch data and directly sends the analyzed operation events to the CPU 200 .
[0078] For example, when the screen is a capacitive screen, the touch data is the capacitance data of the screen. When the screen is a resistive screen, the touch data is the resistance data of the screen. When the screen is an inductive screen, the touch data is the inductance data of the screen. It should be understood that the type of touch data will be different depending on the type of screen. The present application does not specifically limit the type of touch data.
[0079] Optionally, after the touch control module 320 enters the low power mode, it will also feed back to the CPU 200 and / or the display module 310 that it has entered the low power mode, so that the CPU 200 and / or the display module 310 can determine that the touch control module 320 has completed the operation. At this point, the electronic device 100 has entered the black screen state.
[0080] In some embodiments, when the electronic device 100 is in black screen state, the user can make the electronic device 100 enter the screen off mode or the screen on mode by clicking the screen or other methods, for example, the user single-clicks the screen or double-clicks the screen.
[0081] The following takes the example of a user performing a screen-off operation in a black screen state of the electronic device 100 as an example to introduce other steps of a screen display control method provided by the present application. Specifically, it includes:
[0082] S408: The user triggers the screen off operation.
[0083] The screen-off operation may be any touch operation. For example, when the screen of the electronic device 100 is in a black state, the user may request the electronic device 100 to display screen-off information by clicking the screen.
[0084] S409: The touch module 320 detects the touch data and determines that the operation event type corresponding to the touch data is A1.
[0085] Since the touch module 320 is in a low-power working state in the black screen state, the touch module 320 can obtain the touch data of the screen when the user triggers the screen-off operation, and parse the touch data to obtain the user's operation event type A1. The touch data can be one or more of capacitance data, resistance data, and inductance data. The operation event types include single click, double click, slide, long press, etc.
[0086] S410: The touch control module 320 reports the operation event type A1 to the CPU 200 .
[0087] When the TDDI chip 300 analyzes the touch data and finds that there is a user operation, it reports the operation event type A1 to the CPU 200 so that the CPU 200 can determine the instruction that needs to be issued corresponding to the operation event.
[0088] S411: CPU 200 determines that the operation event type A1 corresponds to a screen-off operation, generates a screen-off instruction and enters a working state.
[0089] CPU200 determines that the user has performed a screen-off operation according to operation event type A1, for example, A1 is a single click on the screen. CPU200 will generate a screen-off instruction to display the screen-off information. In addition, CPU200 will wake up the module for detecting touch data and enter the working state, so that CPU200 can parse the touch data in the screen-off state.
[0090] In some embodiments, the CPU 200 may also wake up other modules, such as a communication module or a module for acquiring time, and the like.
[0091] Among them, CPU200 can also enter the working state after generating the screen-off command, or generate the screen-off command after entering the working state, and this application does not make specific limitations.
[0092] S412: CPU 200 sends a reset signal and a screen-off instruction to the display module 310.
[0093] The CPU 200 can send a reset signal to the display module 310 through the reset interface 330, so that the display module 310 can be reset and enter the working state. The CPU 200 can also send a screen-off instruction to the display module 310 through the control interface 340, so that the display module 310 drives part or all of the screen area to display the screen-off information.
[0094] In some embodiments, the control interface 340 may be a communication interface used only for sending status instructions, such as a serial peripheral interface (SPI). The CPU 200 and the display module 310 may also have an interface used for sending display information, such as a mobile industry processor interface (MIPI).
[0095] S413 : the CPU 200 sends a reset signal to the touch control module 320 .
[0096] Since the touch control module 320 and the display module 310 share the reset interface 330, when the CPU 200 sends a reset signal to the display module 310, the touch control module 320 will also receive the reset signal synchronously. That is, the above steps S412 and S413 can be executed synchronously.
[0097] S414: The display module 310 is reset and enters the screen-off state.
[0098] The display module 310 resets the initial state of the internal circuit module according to the received reset signal, and then drives part or all of the area in the screen to power on according to the screen-off instruction.
[0099] S415: The touch module 320 is reset and enters a high power state.
[0100] After being reset, the touch module 320 will return to the high power mode, including that the touch module 320 will detect the capacitance data of the screen at a higher frequency and directly send the capacitance data of the screen to the CPU 20, specifically, the touch data may be reported to the CPU 20 every 8 milliseconds to 12 milliseconds.
[0101] Optionally, after the display module 310 enters the screen-off state and the touch module 320 enters the high-power state, the display module 310 and the touch module 320 will also send feedback instructions to the CPU 200 so that the CPU 200 can know the status of the display module 310 and the touch module 320, and then the CPU 200 can also complete other operations before entering the screen-off state, such as adjusting the working mode of the communication module, etc.
[0102] It should be understood that if the user performs a screen-on operation on the electronic device 100 after step S407, the process can refer to the above steps S408 to S415. Specifically, when the touch module 320 detects the screen-on operation, the CPU 200 will issue a screen-on instruction, such as 11 and 29 CMD. Among them, CMD No. 11 instructs the electronic device 100 to start display (display on), and CMD No. 29 instructs the electronic device 100 to end sleep (sleep out). The TDDI chip 300 will reset the display module 310 and the touch module 320 according to the screen-on instruction, so that the display module 310 drives the entire screen display page, and the touch module 320 works in a high-power state.
[0103] In some embodiments, after the electronic device 100 obtains the user's black screen operation, such as the user pressing the power button, the electronic device 100 will automatically enter the screen-off state after entering the black screen state, that is, the screen of the electronic device 100 will first be black and then immediately display the screen-off information. In other words, the electronic device 100 will automatically execute steps S409 to S415 when executing steps S401 to S407. After step S415, if the user does not operate the electronic device 100 within the preset time T1, the electronic device 100 will execute steps S401 to S407 again, and then wait for the user's next operation.
[0104] In some embodiments, when the electronic device 100 is in the screen-off state, the user can also make the electronic device 100 enter the screen-off delay mode or the screen-on mode by clicking the screen or other methods. Specifically, it includes:
[0105] S416: Within the preset time T3, the user performs a trigger operation.
[0106] The preset time T3 is the display time of the screen-off information, for example, T3 is 10 seconds. Within the preset time T3 of the screen displaying the screen-off information, if the user performs a trigger operation, the electronic device 100 will perform a corresponding display. For example, the user's trigger operation can specifically be an operation to trigger the screen-off delay, that is, to display the screen-off information again at the preset time T3, or to display the screen-off information for a longer time than the preset time T3. The user's trigger operation can also be a screen-on operation, such as the user double-clicking the interface of the screen-off information.
[0107] In some embodiments, the user may not perform any operation within the preset time T3, or the user may perform a black screen operation, in which case the electronic device 100 will execute the above steps S401 to S407.
[0108] S417 : The touch control module 320 uploads the touch control data to the CPU 200 .
[0109] Since the electronic device 100 is in the screen-off state, the touch module 320 is reset, so that the touch module 320 works in a high-power state. Further, the touch module 320 will obtain the touch data of the screen at a high frequency and directly upload the touch data to the CPU 200.
[0110] S418: CPU 200 analyzes the touch data and determines that the operation event type is A2.
[0111] After CPU200 enters the working state, it can parse the touch data. The module for parsing touch data in CPU200 has a firmware that triggers an interrupt. When the parsed touch data indicates that there is a user operation, the firmware will trigger an interrupt. CPU200 will obtain the user operation parsed at this time, and determine that the user operation type corresponding to the operation is A2.
[0112] S419: The CPU 200 sends a corresponding instruction to the display module 310 .
[0113] CPU200 will determine the corresponding instruction according to the type A2 of the operation event. For example, if the operation event is a single-click operation, CPU200 will determine that the user is performing a screen-off delay operation, and will issue a corresponding screen-off delay instruction. If the operation event is a double-click operation, CPU200 will determine that the user is performing a screen-on operation, and will issue a screen-on instruction.
[0114] S420: The display module 310 drives the screen to perform corresponding operations.
[0115] If the display module 310 obtains the screen off delay instruction, it will drive the screen to display the screen off information again at time T3. If the display module 310 obtains the screen on instruction, it will drive the entire screen to be fully on and display the interface information sent by the CPU 200.
[0116] Optionally, after the display module 310 drives the screen to perform a corresponding operation, it will also feedback to the CPU 200 that the corresponding operation has been completed, so that the CPU 200 can perform other operations before entering the screen-off state or the screen-on state.
[0117] It should be understood that after the above steps S408 and S415, if the electronic device 100 obtains the user's black screen operation, it will also execute steps S401 to S404. And, after step S415, the electronic device 100 can also obtain the screen off delay operation or screen bright operation again, then the electronic device 100 will also instruct steps S417 to S419.
[0118] That is to say, the execution order of the above steps S401 to S407, steps S408 to S415, and steps S416 to S419 can be arbitrarily changed, and each part can be executed in a loop, and this application does not make any specific limitations.
[0119] In summary, the screen display control method provided by the present application can be applied to electronic devices using the TDDI chip 300. In the black screen state, by issuing black screen instructions and gesture detection instructions at different times, it can ensure that the touch module 320 switches to a low power state, so that the electronic device can detect user operations in the black screen state. In this way, electronic devices using the TDDI chip 300 can also use the screen-off technology, thereby saving power consumption of electronic devices while facilitating users to view screen-off information such as time. The event detection module 240 can be awakened in the screen-off state, so that the electronic device 100 can parse the user's operation events when the screen is off. Moreover, at this time, the TDDI chip 300 is still detecting the touch data of the screen in a high power state, so that the user's operation can be captured faster, and the electronic device can respond to the user's operation faster.
[0120] The following describes the screen display control system provided by the embodiment of the present application. Figure 5 as well as Figure 6 As shown, the screen display control system includes an AOD application 210, an event detection module 240, a power management module 250, an input event distribution module 260, a drive logic module 270, and a TDDI chip 300. Among them, the drive logic module 270 includes a display driver 220 and a touch driver 230. The AOD application 210, the event detection module 240, the power management module 250, the input event distribution module 260, and the drive logic module 270 belong to the CPU 200.
[0121] In some embodiments, the AOD application 210 belongs to the application program layer in the operating system of the electronic device 100 and is used to issue corresponding instructions according to the acquired user operation events.
[0122] The event detection module 240, the power management module 250, and the input event distribution module 260 belong to the application framework layer, and provide an application programming interface (API) and a programming framework, specifically some predefined functions, for the applications in the application layer. The event detection module 240 is used to parse the acquired touch data and determine the user operation type. The power management module 250 is used to forward the instructions issued by the AOD application 210 and drive other modules to sleep or work. The input event distribution module 260 is used to forward the acquired operation events to the application.
[0123] The driving logic module 270 belongs to the kernel layer, which is a layer between hardware and software, and is used to receive instructions from the event detection module 240, the power management module 250 and the input event distribution module 260, and drive the TDDI chip 300 to perform corresponding functions. It is also used to receive data reported by the TDDI chip 300 and forward the above data to the input event distribution module 260 or the event detection module 240.
[0124] It is to be understood that the structure illustrated in the present application does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0125] Figure 5 The interactive process between various modules when the screen display control system enters the black screen state and switches from the black screen state to the off screen state is shown. Specifically, it includes:
[0126] S510 : The power management module 250 sends a sleep instruction to the event detection module 240 .
[0127] When the electronic device 100 detects that the user has performed a black screen operation, such as pressing the power button, or the user has not operated the electronic device 100 within a preset time T1, the power management module 250 will control the event detection module 240 to enter a sleep state to save power consumption.
[0128] S520: The power management module 250 sends a screen-off notification to the driving logic module 270 .
[0129] After the electronic device 100 detects that the user has performed a black screen operation, the power management module 250 will also send a screen off notification to the drive logic module 270. The screen off notification is used to instruct the TDDI chip to control the screen to be completely black and control the touch module 320 to enter a low power state.
[0130] In some embodiments, the power management module 250 may specifically send a black screen instruction to the display driver 220 , and then the display driver 220 notifies the touch driver 230 , so that the touch driver 230 controls the touch module 320 to enter a low power state.
[0131] It should be understood that the power management module 250 may also perform step S520 first and then perform step S510. Alternatively, step S510 and step S520 may be performed simultaneously.
[0132] S530: The driving logic module 270 sends a black screen instruction and a gesture detection instruction to the TDDI chip 300 .
[0133] After the driving logic module 270 receives the screen off notification sent by the power management module 250, the display driver 220 in the driving logic module 270 sends a black screen instruction to the display module 310 in the TDDI chip 300, instructing the display module 310 in the TDDI chip 300 to control the screen to be black, such as Figure 1 The screen of the mobile phone 10 is in a black state, and the display module 310 enters a sleep state.
[0134] After the preset time T2 of the drive logic module 270 sending the black screen instruction, the touch driver 230 will send a gesture detection instruction to the TDDI chip 300, so that the touch module 320 in the TDDI chip 300 switches from a high power state to a low power state. In the low power state, the touch module 320 will obtain the touch data of the screen at a low frequency, and will complete the analysis of the screen touch data to obtain the touch operation performed by the user.
[0135] After sending the black screen instruction, the display driver 220 will first notify the touch driver 230 to suspend, and after the preset time T2, the touch driver 230 will send the gesture detection instruction. For example, the preset time T2 can be 120 milliseconds.
[0136] S540 : After detecting the operation event A1 , the TDDI chip 300 reports the operation event A1 to the driving logic module 270 .
[0137] After the touch control module 320 in the TDDI chip enters the black screen state, if the touch control module 320 parses the touch control data to find that there is a user operation, it will report the operation event A1 to the touch control driver 230 in the driving logic module 270 .
[0138] S550 : The driving logic module 270 reports the operation event A1 to the input event distribution module 260 .
[0139] The driving logic module 270 continues to report the operation event A1 to the input event distribution module 260. The input event distribution module 260 is used to distribute the acquired input event to the corresponding application program, and the application program consumes the corresponding input event.
[0140] S560 : The input event distribution module 260 reports the operation event A1 to the AOD application 210 .
[0141] Since the electronic device 100 is in a black screen state at this time, the application corresponding to the input event is the AOD application 210 , and then the input event distribution module reports the operation event A1 to the AOD application 210 .
[0142] S570 : The AOD application 210 sends a notification to the power management module 250 .
[0143] The AOD application 210 will determine the corresponding notification instruction based on the acquired operation event A1. For example, if the operation event A1 is a single-click operation, the AOD application 210 will determine that the user is performing a screen-off operation, and will issue a corresponding screen-off notification. If the operation event A1 is a double-click operation, the AOD application 210 will determine that the user is performing a screen-on operation, and will issue a corresponding screen-on notification. It should be understood that the present application does not specifically limit the correspondence between user operations and notification instructions.
[0144] It should be understood that the AOD application 210 may first issue a command to the power management module 250, and then the power management module 250 issues a corresponding instruction to the drive logic module 270, so that the drive logic module 270 issues an instruction to the TDDI chip 300. The detailed process is described in Figure 5 Not shown.
[0145] For example, if the AOD application 210 issues a screen-off instruction, the power management module 250 will also issue a screen-off instruction to the driving logic module 270. Then the display driver 220 in the driving logic module 270 will drive the display module 310 to display the screen-off interface. Before the display module 310 enters the working state, it will be reset. At this time, the display driver 220 will also notify the touch driver 230 to reset the touch module, so that the touch driver 230 works in a high-power state.
[0146] To sum up, when the electronic device 100 enters the black screen state, by sending the black screen command first and then sending the gesture detection command after the preset time T1, it can ensure that the touch module 320 switches to a low power state, so that the electronic device 100 can also detect user operations in the black screen state.
[0147] Figure 6 The interactive process between various modules of the screen display control system after a touch operation is detected in the screen off state is shown. Specifically, it includes:
[0148] S601: The AOD application 210 notifies the driving logic module 270 of entering the screen-off state.
[0149] The AOD application 210 may specifically send a screen-off state entry instruction to the touch driver 230 so that the touch driver 230 can notify the event detection module 240 to enter the working state. For details, please refer to the following step S602.
[0150] In some embodiments, the AOD application 210 notifies the driving logic module 270 that the screen is in the off state, which may be before the above step S510, that is, when the electronic device 100 enters the black screen state, the driving logic module 270 is notified to enter the off screen state. Alternatively, at step S570, that is, when the electronic device 100 enters the off screen state, the AOD application 210 notifies the driving logic module 270 to enter the off screen state. This application is not specifically limited by comparison.
[0151] S602 : the driving logic module 270 sends a wake-up instruction to the event detection module 240 .
[0152] The driving logic module 270 wakes up the event detection module 240 so that the event detection module 240 can analyze the touch data.
[0153] S603 : The TDDI chip 300 reports the touch data to the driving logic module 270 .
[0154] Since the display module 310 in the TDDI chip 300 is reset before the screen is off, the touch module 320 is also reset, so that the touch module 320 obtains the touch data of the screen at a high frequency and reports the touch data to the driving logic module 270 .
[0155] In some embodiments, the touch control module 320 may report touch control data to the driving logic module 270 every 8 milliseconds to 12 milliseconds in a high power state.
[0156] S604 : The driving logic module 270 reports the touch data to the event detection module 240 .
[0157] After the driving logic module 270 wakes up the event detection module 240 , the event detection module 240 may parse the touch data.
[0158] S605 : The event detection module 240 returns the operation event A2 to the driving logic module 270 .
[0159] When the event detection module 240 parses the touch data to indicate that there is a user operation, the firmware in the event detection module 240 will trigger an interrupt and return the identified operation event A2 to the driving logic module 270 .
[0160] S606 : the driving logic module 270 reports the operation event A2 to the input event distribution module 260 .
[0161] S607 : The input event distribution module 260 reports the operation event A2 to the AOD application 210 .
[0162] Since the electronic device 100 is in the screen-off state at this time, the application corresponding to the input event is the AOD application 210 , and then the input event distribution module reports the operation event A2 to the AOD application 210 .
[0163] S608 : The AOD application 210 sends a notification to the power management module 250 .
[0164] The AOD application 210 will determine the corresponding notification instruction according to the operation event A2. For example, if the operation event A1 is a single-click operation, the AOD application 210 will determine that the user is performing a screen-off delay operation, and will issue a corresponding screen-off delay notification. If the operation event A1 is a double-click operation, the AOD application 210 will determine that the user is performing a screen-on operation, and will issue a corresponding screen-on notification. It should be understood that the application does not specifically limit the correspondence between user operations and instructions.
[0165] S609: The power management module 250 sends a notification to the driving logic module 270.
[0166] The power management module 250 sends a corresponding notification to the driving logic module 270 according to the notification sent by the AOD application 210 .
[0167] S610 : The driving logic module 270 sends instructions to the TDDI chip 300 .
[0168] The driving logic module 270 executes relevant instructions to the corresponding driving TDDI chip according to the instructions sent by the power management module 250. For example, the driving screen continues to display the screen-off information or drives the screen to light up.
[0169] In summary, through the screen display control method provided in the present application, by waking up the event detection module 240 in the screen-off state, the electronic device 100 can parse the user's operation events when the screen is off, and then the electronic device 100 can respond to the user's operation.
[0170] Next, combine Figure 7 For the above Figure 4 The process shown in FIG. 2 is further described in detail. Specifically, the display driver 220, the touch driver 230, the event detection module 240 and the power management module 250 in the CPU 200 are described. It should be understood that the CPU 200 also includes the following Figure 3 as well as Figure 4 The ADO application 210 and the input event distribution module 260 are shown. Figure 7 Not shown.
[0171] S701: The power management module 250 obtains a black screen notification.
[0172] When the electronic device 100 obtains that the user has performed a black screen operation, such as pressing the power button, or the user has not operated the electronic device 100 within the preset time T1, the power management module 250 will obtain the black screen notification corresponding to the operation event. Figure 4 Step S401 in will not be repeated here.
[0173] S702: The power management module 250 sends a sleep instruction to the event detection module 240.
[0174] In order to save power consumption in the black screen state of the electronic device 100, the power management module 250 also sends a sleep instruction to the event detection module 240, so that the event detection module 240 stops working in the black screen state. Figure 4 Step S402 in will not be repeated here.
[0175] It should be understood that in order to save power consumption in the black screen state, the power management module 250 can also control other modules in the electronic device 100 to sleep, such as shutting down the communication module, or reducing the power state of the communication module, etc.
[0176] S703: The event detection module 240 enters a dormant state.
[0177] The event detection module 240 is used to analyze and detect touch data. After the event detection module 240 goes into sleep mode, the CPU 200 will not analyze the touch data of the screen.
[0178] S704: The power management module 250 sends a screen-off notification to the display driver 220 .
[0179] The power management module 250 also controls the screen to be black, specifically by sending a screen-off notification to the display driver 220 so that the display driver 220 drives the screen to be black.
[0180] In some embodiments, the power management module 250 may first execute step S704 and then execute step S702. Alternatively, step S702 and step S704 may be performed simultaneously. The present application does not specifically limit the execution order of step S702 and step S704.
[0181] S705: The display driver 220 sends a black screen instruction to the display module 310.
[0182] After receiving the screen-off notification, the display driver 220 forwards the instruction to the display module 310 , thereby causing the display module 310 in the TDDI chip 300 to drive the screen to turn off.
[0183] S706: The display driver 220 drives the screen to go black and then enters a sleep state.
[0184] The display module 310 will turn off the entire screen according to the black screen instruction. And after driving the screen to black screen, it will also enter a dormant state, that is, it will not drive the screen to display any information.
[0185] S707 : the display module 310 sends a feedback instruction to the display driver 220 .
[0186] The feedback instruction is used to indicate that the display module 310 has completed the operation in the above S706, including driving the screen to black and entering a sleep state, so that the display driver 220 determines that the display module 310 has completed the corresponding operation.
[0187] S708 : The display driver 220 sends a suspend instruction to the touch driver 230 .
[0188] In order to ensure that the electronic device 100 can detect the user's touch operation in the black screen state, the CPU 200 also needs to make the touch module 320 in the TDDI chip 300 work in a low power state.
[0189] Therefore, the display driver 220 first sends a suspend instruction to the touch driver 230, so that the touch driver 230 is suspended within the preset time T2, ensuring that the TDDI chip 300 and the CPU 200 can successfully process and complete the black screen instruction related operations, such as driving the screen black and related modules including the event detection module 240 to enter sleep mode.
[0190] S709 : After a preset time T2 , the touch driver 230 sends a gesture detection instruction to the TDDI chip 300 .
[0191] The gesture detection instruction is used to instruct the touch control module 320 in the TDDI chip 300 to switch from a high power state to a low power state to obtain user operations.
[0192] S710: The touch module 320 enters a low power state.
[0193] The touch module 320 switches to a low power state according to the received gesture detection command, specifically acquiring touch data of the screen at a low frequency, and the touch module 320 also completes the analysis of the touch data and directly sends the analyzed operation events to the CPU 200 .
[0194] Optionally, after the touch module 320 enters the low power mode, it will also feedback to the touch driver 230 and / or the display module 310 that it has entered the low power mode, so that the touch driver 230 and / or the display module 310 can determine that the touch module 320 has completed the operation. At this point, the electronic device 100 has entered the black screen state.
[0195] In some embodiments, the user can enter the screen-off mode by clicking the screen when the electronic device 100 is in a black screen state, for example, the user clicks the screen or double-clicks the screen. Specifically, it includes:
[0196] S711: The power management module 250 obtains a screen-off notification.
[0197] When the screen of the electronic device 100 is black, the user can request the electronic device 100 to display the screen off information by clicking the screen. At this time, the TDDI chip 300 obtains the touch data of the screen and parses the touch data to obtain the user's operation event. Then the AOD application 210 determines the screen off operation performed by the user according to the operation event, and then sends the screen off notification to the power management module 250. For details, please refer to the aforementioned Figure 4 Steps S408 to S411 in the above are not described in detail here.
[0198] S712: The power management module 250 sends a screen-off notification to the display driver 220.
[0199] The power management module 250 sends a screen-off notification to the display driver 220, so that the display driver 220 drives the TDDI chip to enter a working state and drives the screen to display screen-off information.
[0200] S713: The display driver 220 sends a screen-off instruction to the TDDI chip 300 .
[0201] The display driver 220 drives the display module 310 in the TDDI chip 300 to reset and enter the working state, and then the display module 310 drives a part of the screen area to display the screen-off information and makes the screen refresh frequency lower.
[0202] S714: After resetting, the screen enters the off state.
[0203] The display module 310 resets the initial state of the internal circuit module according to the received reset signal, and then drives part or all of the area in the screen to power on according to the screen-off instruction.
[0204] It should be understood that when the display module 310 is reset, the touch module 320 is also reset, so that the touch module 320 enters a high power state. Figure 4 Steps S412 to S415 in the above are not described in detail here.
[0205] Optionally, after the display module 310 enters the screen-off state, it will also send feedback instructions to the display driver 220. After the touch module 320 enters the high-power state, it will also send feedback instructions to the touch driver 230, so that the CPU 200 can know the status of the display module 310 and the touch module 320. Then, the CPU 200 can also complete other operations before entering the screen-off state, such as adjusting the working mode of the communication module, etc.
[0206] S715 : The display driver 220 sends a touch module 320 reset notification to the touch driver 230 .
[0207] After notifying the display module 310 to enter the working state, the display driver 220 will also notify the touch driver 230 that the electronic device 100 enters the screen-off state, so that the touch driver 230 can wake up the event detection module 240 .
[0208] S716: The touch driver 230 generates a wake-up instruction.
[0209] The touch driver 230 is a wake-up event detection module 240 and generates a corresponding wake-up instruction.
[0210] S717 : The touch driver 230 sends a wake-up instruction to the event detection module 240 .
[0211] After the touch driver 230 determines that the electronic device 100 enters the screen-off state, it wakes up the event detection module 240 .
[0212] S718: The event detection module 240 enters the working state.
[0213] The event detection module 240 can analyze the touch data in the working state. Figure 4 Step S411 in will not be repeated here.
[0214] It should be understood that if the user performs a screen-lighting operation on the electronic device 100 after step S706, the process may refer to the above steps S711 to S718.
[0215] In some embodiments, after the electronic device 100 obtains the user's black screen operation, such as the user pressing the power button, the electronic device 100 will automatically enter the screen-off state after entering the black screen state, that is, the screen of the electronic device 100 will first be black and then immediately display the screen-off information. In other words, in addition to executing steps S701 to S710, the electronic device 100 will automatically execute steps S711 to S718. After executing step S718, if the user does not operate the electronic device 100 within the preset time T1, the electronic device 100 will execute steps S701 to S710 again and wait for the user's next operation.
[0216] In other embodiments, the user can also make the electronic device 100 enter the screen-off delay mode or the screen-on mode by clicking the screen or other methods when the electronic device 100 is in the screen-off state. The following is an example of the user performing the screen-off delay operation. Specifically, it includes:
[0217] S719: The power management module 250 obtains the screen off delay notification.
[0218] Within the preset time T2 from when the screen displays the screen-off information, if the user performs an operation to trigger the screen-off delay, the power management module 250 will obtain the screen-off delay notification sent by the AOD application 210. For details, please refer to the aforementioned Figure 4 Steps S416 to S418 in the above are not described in detail here.
[0219] S720: The power management module 250 sends a screen off delay notification to the display driver 220.
[0220] The power management module 250 sends a screen-off delay notification to the display driver 220, so that the display driver 220 drives the TDDI chip to display the screen-off information again at a preset time T2. Alternatively, the screen-off information can be displayed at a preset time T4. The preset time T4 can also be determined according to the number of times the user performs the screen-off delay operation.
[0221] S721: The display driver 220 sends a screen-off delay instruction to the TDDI chip 300.
[0222] The display module 310 in the TDDI chip 300 can drive the screen to continue to display the screen-off information, and the time for displaying the screen-off information will be recalculated, which can be the preset time T2 or the preset time T4.
[0223] S722: The display module 310 drives the screen to display screen off information.
[0224] If the display module 310 obtains the screen off delay instruction, it will drive the screen to display the screen off information again at time T3. It should be understood that if the user's screen light up operation is obtained in step S719, the display module 310 drives the entire screen to be fully lighted and displays the interface information sent by the CPU 200.
[0225] Optionally, after the display module 310 drives the screen to perform a corresponding operation, it will also feedback to the display driver 220 that the corresponding operation has been completed, so that the CPU 200 can perform other operations.
[0226] It should be understood that the execution order of the above-mentioned steps S701 to S710, steps S711 to S718, and steps S719 to S722 can be arbitrarily changed, and each part can be executed in a loop, and the present application does not make any specific limitations.
[0227] In summary, the screen display control method provided by the present application can be applied to electronic devices using the TDDI chip 300. In the black screen state, by issuing black screen instructions and gesture detection instructions at different times, it can ensure that the touch module 320 switches to a low power state, so that the electronic device can detect user operations in the black screen state. In this way, electronic devices using the TDDI chip 300 can also use the screen-off technology, thereby saving power consumption of electronic devices while facilitating users to view screen-off information such as time. The event detection module 240 can be awakened in the screen-off state, so that the electronic device 100 can parse the user's operation events when the screen is off. Moreover, at this time, the TDDI chip 300 is still detecting the touch data of the screen in a high power state, so that the user's operation can be captured faster, and the electronic device can respond to the user's operation faster.
[0228] The method of the embodiment of the present application is described in detail above. In order to facilitate better implementation of the above scheme of the embodiment of the present application, correspondingly, related equipment for cooperating in implementing the above scheme is also provided below.
[0229] Figure 8 1 is a schematic diagram of the structure of an electronic device 100 provided in the present application, and the electronic device 100 may include the screen-off display device 700 in the above content. Figure 8 As shown, the electronic device 100 includes: a CPU 200 , a TDDI chip 300 , a button 810 , a memory 820 , a communication interface 830 , display screens 1 to N 840 , and a sensor module 850 .
[0230] The CPU 200 is the nerve center and command center of the electronic device 100. The CPU 200 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0231] In some embodiments of the present application, the CPU 200 can be specifically used to control the TDDI chip 300, so that the TDDI chip 300 can drive the display screen 840 to turn off or display corresponding content, and enable the TDDI chip 300 to obtain the user's touch operation based on the display screen, such as a single-click operation, a double-click operation, etc.
[0232] It should be understood that the electronic device 100 may also include other hardware chips, for example, the above hardware chips may be application-specific integrated circuits (ASIC), programmable logic devices (PLD) or a combination thereof. The above PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The combination of CPU 200 and other hardware chips may execute various types of digital storage instructions, such as software or firmware programs stored in the memory 820, which enables the electronic device 100 to provide a variety of services.
[0233] In some embodiments, CPU 200 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a MIPI interface, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0234] In some embodiments of the present application, the CPU 200 and the TDDI 300 chip may use an SPI interface to send instructions, and use a MIPI interface to send instructions to the display module.
[0235] The button 810 includes a power button, a volume button, etc. In some embodiments of the present application, the user can control the screen to turn off or turn on the screen by pressing the power button.
[0236] The memory 820 may include a volatile memory, such as a random access memory (RAM); the memory 820 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 820 may also include a combination of the above types. The memory 820 may store program codes, specifically executing Figure 4 Steps S401 to S420 and their optional steps in the embodiment, or executing Figure 7 Steps S701 to S722 and their optional steps in the embodiment are not described in detail here.
[0237] The communication interface 830 can be a wired interface (such as an Ethernet interface), an internal interface (such as a high-speed serial computer expansion bus (peripheral component interconnect express, PCIe) bus interface), a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface) for communicating with other devices or modules.
[0238] The communication interface 830 can be a wired interface (such as an Ethernet interface), an internal interface (such as a high-speed serial computer expansion bus (Peripheral Component Interconnect express, PCIe) bus interface), a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface) for communicating with other devices or modules.
[0239] The display screen 840 is used to display images, videos, etc. The display screen 840 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0240] In some embodiments of the present application, the interface content currently output by the system is displayed on the display screen 840. For example, a partial area of the interface is used to display screen-off information, such as time information.
[0241] The sensor module 850 includes a pressure sensor 850A and a touch sensor 850B. In some embodiments, the sensor module 850 may also include a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc. Figure 8 Not shown in FIG.
[0242] The pressure sensor 850A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 850A can be set on the display screen 840. In some optional embodiments of the present application, the pressure sensor 850A can be used to capture the pressure value generated when the user's finger part contacts the display screen, and transmit the pressure value to the processor so that the processor can identify which finger part the user inputs the user operation. There are many types of pressure sensors 850A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
[0243] The touch sensor 850B is also called a "touch panel". The touch sensor 180K can be arranged on the display screen 840, and the touch sensor 850B and the display screen 840 form a touch screen, also called a "screen". The touch sensor 850B is used to detect touch operations acting on or near it. The touch operation refers to the operation of the user's hand, elbow, stylus, etc. contacting the display screen 840. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 840. In other embodiments, the touch sensor 850B can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 840.
[0244] It should be noted that this embodiment can be implemented by a general physical server, for example, an ARM server or an X86 server, or it can be implemented by a virtual machine based on a general physical server combined with NFV technology. A virtual machine refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment. This application does not make any specific limitations.
[0245] Need to explain, Figure 8 This is only a possible implementation of the embodiment of the present application. In practical applications, the electronic device 100 may also include more or fewer components, which is not limited here. For contents not shown or described in the embodiment of the present application, please refer to the aforementioned Figure 4 or Figure 7 The relevant explanations in the embodiments will not be repeated here.
[0246] It should be understood that Figure 8 The computing device shown may also be a computer cluster consisting of at least one server, which is not specifically limited in this application.
[0247] The present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a processor, Figure 4 or Figure 7 The method flow shown is realized.
[0248] The present application also provides a computer program product. When the computer program product is run on a processor, Figure 4 or Figure 7 The method flow shown is realized.
[0249] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a high-density digital video disc (DVD), or a semiconductor medium. The semiconductor medium may be an SSD.
[0250] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A screen display control method, characterized in that: Applied to an electronic device, the electronic device comprises a first chip and a processor, the first chip comprises a display module, a touch control module and a reset interface, and the display module and the touch control module are both connected to the processor via the reset interface; The method comprises: The screen of the electronic device is in a black screen state, the processor and the display module are in a dormant state, and the touch module is in a first touch state; The touch control module detects a first operation event of the user, and sends the first operation event to the processor, wherein the first operation event includes a screen-off operation event or a screen-on operation event; The processor sends a reset signal to the display module and the touch control module through the reset interface, wherein the reset signal is used to control the display module to enter a working state and control the touch control module to enter a second touch control state; The processor receives touch data from the touch module and processes the touch data.
2. The method according to claim 1, characterized in that: Also includes: The processor switches to a sleep state based on detecting a black screen operation event of a user, and The processor sends a black screen instruction to the display module, wherein the black screen instruction instructs the display module to turn off the screen; The processor sends a gesture detection instruction to the touch control module after a first preset time has passed since the black screen instruction was sent, where the gesture detection instruction instructs the touch control module to switch from the second touch control state to the first touch control state.
3. The method according to claim 1 or 2, characterized in that: When the touch control module is in the first touch control state, it acquires touch control data at a first frequency; when the touch control module is in the second touch control state, it acquires touch control data at a second frequency, and the first frequency is less than or equal to the second frequency; The touch data includes one or more of a capacitance value, an inductance value, and a resistance value.
4. The method according to claim 1, characterized in that: The first chip further includes a control interface, and the display module and the touch control module are also connected to the processor via the control interface; The method further comprises: Based on the touch module detecting that the first operation event is a screen-off operation event, the processor sends a screen-off instruction to the display module through the control interface, and the screen-off instruction is used to control the display module to enter a first display state, and the first display state includes driving the screen to display information at a third frequency.
5. The method according to claim 4, characterized in that: The method further comprises: Based on the touch module detecting that the first operation event is a screen-on operation event, the processor sends a screen-on instruction to the display module through the control interface, and the screen-on instruction is used to control the display module to enter a second display state, and the second display state includes driving the screen to display information at a fourth frequency, and the third frequency is less than or equal to the fourth frequency.
6. The method according to claim 1, characterized in that: The processor includes an event detection module, and the event detection module is used to process received touch data; Based on the processor being in a sleep state, the event detection module is in a sleep state.
7. The method according to claim 5 or 6, characterized in that: The black screen operation event includes a user pressing a power button; The screen-off operation event and the screen-on operation event include one or more of a user single-clicking the screen, double-clicking the screen, or sliding the screen, and the screen-off operation event and the screen-on operation event are different operation events.
8. An electronic device, characterized in that: comprising a processor and a first chip; The first chip includes a display module, a touch control module and a reset interface, and the display module and the touch control module are both connected to the processor through the reset interface; and When the screen of the electronic device is in a black screen state, the processor and the display module are in a dormant state, and the touch module is in a first touch state; The processor is used for sending a reset signal to the display module and the touch control module through the reset interface when the touch control module detects a first operation event of the user, wherein the first operation event includes a screen-off operation event or a screen-on operation event, and the reset signal is used for controlling the display module to enter a working state and controlling the touch control module to enter a second touch control state; The processor is further configured to receive touch data from the touch module and process the touch data.
9. The electronic device according to claim 8, characterized in that: The processor is further configured to switch to a dormant state when a black screen operation event is detected, and send a black screen instruction to the display module, wherein the black screen instruction instructs the display module to turn off the screen; The processor is further configured to send a gesture detection instruction to the touch control module after a first preset time has passed since the black screen instruction was sent, wherein the gesture detection instruction instructs the touch control module to switch from the second touch control state to the first touch control state.
10. The electronic device according to claim 8 or 9, characterized in that: When the touch control module is in the first touch control state, it acquires touch control data at a first frequency; when the touch control module is in the second touch control state, it acquires touch control data at a second frequency, and the first frequency is less than or equal to the second frequency; The touch data includes one or more of a capacitance value, an inductance value, and a resistance value.
11. The electronic device according to claim 8, characterized in that: The first chip further includes a control interface, and the display module and the touch control module are also connected to the processor via the control interface; The processor is also used to send a screen-off instruction to the display module through the control interface when the touch module detects that the first operation event is a screen-off operation event. The screen-off instruction is used to control the display module to enter a first display state. The first display state includes driving the screen to display information at a third frequency.
12. The electronic device according to claim 11, characterized in that: The processor is also used to send a screen-lighting instruction to the display module through the control interface when the touch module detects that the first operation event is a screen-lighting operation event. The screen-lighting instruction is used to control the display module to enter a second display state. The second display state includes driving the screen to display information at a fourth frequency, and the third frequency is less than or equal to the fourth frequency.
13. The electronic device according to claim 11 or 12, characterized in that: The black screen operation event includes a user pressing a power button; The screen-off operation event and the screen-on operation event include one or more of a user single-clicking the screen, double-clicking the screen, or sliding the screen, and the screen-off operation event and the screen-on operation event are different operation events.
14. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Tablet computer screen energy-saving display method and system
CN122018663A
Device control method and electronic device
WO2026130070A1
