CN111831152A - Control method and device of touch screen, electronic equipment and storage medium - Google Patents

Control method and device of touch screen, electronic equipment and storage medium Download PDF

Info

Publication number
CN111831152A
CN111831152A CN202010494214.4A CN202010494214A CN111831152A CN 111831152 A CN111831152 A CN 111831152A CN 202010494214 A CN202010494214 A CN 202010494214A CN 111831152 A CN111831152 A CN 111831152A
Authority
CN
China
Prior art keywords
touch screen
state
conversion layer
instruction
popup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010494214.4A
Other languages
Chinese (zh)
Inventor
陈冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010494214.4A priority Critical patent/CN111831152A/en
Publication of CN111831152A publication Critical patent/CN111831152A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a control method and device of a touch screen, electronic equipment and a storage medium, and relates to the technical field of touch screens. The specific scheme is as follows: receiving a pop-up instruction for displaying a message popup on a touch screen; detecting the current state of the touch screen; responding to the current state of the touch screen in a standby state, sending a control instruction for starting a backlight lamp of the touch screen, and converting a state conversion layer displayed on the touch screen from a transparent state to a background state; based on the pop instruction, rendering a message popup on the state translation layer. According to the method, the state conversion layer is arranged below the message popup layer, if a popup instruction for displaying the message popup on the touch screen is received when the touch screen is turned off, the state conversion layer is converted from a transparent state to a background state by turning on a backlight, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen turn-off display is achieved, screen turn-off display can be achieved without using an OLED screen, and cost is low.

Description

Control method and device of touch screen, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to the field of touch screens, and more particularly, to a method and an apparatus for controlling a touch screen, an electronic device, and a storage medium.
Background
In order to improve the cool feeling of the touch screen, the touch screen may be turned off for display. Among them, organic light-Emitting display (OLED for short) is a top-level screen material, each pixel point of the screen can self-emit light, and after the screen is turned off, the screen can be turned off by lighting the corresponding pixel point.
However, most of the currently used Liquid Crystal Displays (LCD) have low cost, and the LCD cannot realize off-screen Display, and the OLED screen has high cost and is difficult to popularize.
Disclosure of Invention
The application provides a control method and device of a touch screen, electronic equipment and a storage medium, and aims to solve the problems that in the related art, an LCD screen cannot be turned off for displaying, and an OLED screen is high in cost and difficult to popularize.
An embodiment of one aspect of the present application provides a control method for a touch screen, including:
receiving a pop-up instruction for displaying a message popup on the touch screen;
detecting the current state of the touch screen;
responding to the current state of the touch screen in a standby state, and sending a control instruction for starting a backlight lamp of the touch screen;
converting a state conversion layer displayed on the touch screen from a transparent state to a background state; and
and rendering the message popup window on the state conversion layer based on the popup instruction.
According to the control method of the touch screen, a pop-up instruction for displaying the message popup on the touch screen is received; detecting the current state of the touch screen; responding to the current state of the touch screen in a standby state, and sending a control instruction for starting a backlight lamp of the touch screen; converting a state conversion layer displayed on the touch screen from a transparent state to a background state; based on the pop instruction, rendering a message popup on the state translation layer. Therefore, by arranging the state conversion layer below the message popup layer, if a popup instruction for displaying the message popup on the touch screen is received when the touch screen is turned off, the state conversion layer is converted from a transparent state to a background state by turning on the backlight, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen turn-off display is realized, screen turn-off display can be realized without using an OLED screen, the cost is low, and the method can be popularized and used.
An embodiment of another aspect of the present application provides a control device for a touch screen, including:
the first receiving module is used for receiving a popup instruction for displaying a message popup on the touch screen;
the first detection module is used for detecting the current state of the touch screen;
the control module is used for responding to the current state of the touch screen in a standby state and sending a control instruction for starting a backlight lamp of the touch screen;
the conversion module is used for converting a state conversion layer displayed on the touch screen from a transparent state to a background state; and
and the display module is used for rendering the message popup window on the state conversion layer based on the popup instruction.
The control device of the touch screen in the embodiment of the application receives a pop-up instruction for displaying the message popup on the touch screen; detecting the current state of the touch screen; responding to the current state of the touch screen in a standby state, and sending a control instruction for starting a backlight lamp of the touch screen; converting a state conversion layer displayed on the touch screen from a transparent state to a background state; based on the pop instruction, rendering a message popup on the state translation layer. Therefore, by arranging the state conversion layer below the message popup layer, if a popup instruction for displaying the message popup on the touch screen is received when the touch screen is turned off, the state conversion layer is converted from a transparent state to a background state by turning on the backlight, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen turn-off display is realized, screen turn-off display can be realized without using an OLED screen, the cost is low, and the method can be popularized and used.
An embodiment of another aspect of the present application provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for controlling the touch screen according to the embodiment of the aspect.
Another embodiment of the present application provides a non-transitory computer-readable storage medium storing thereon a computer program, wherein the computer program is used to cause the computer to execute the method for controlling the touch screen according to the embodiment of the above aspect.
The embodiments in the above application have the following beneficial effects: the state conversion layer is arranged below the message popup layer, a popup instruction of the message popup is received when the screen is turned off, the state conversion layer is converted from a transparent state to a background state by turning on a backlight, and the message popup is rendered on the state conversion layer. Because the backlight lamp is turned on, the state conversion layer is converted into the background state from the transparent state, and the message popup window is rendered on the state conversion layer, the user visible area on the touch screen only has the area where the message popup window is located, and the screen-off display is realized, so that the screen-off display can be realized without using an OLED screen, the cost is low, and the method can be popularized and used.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic flowchart of a control method of a touch screen according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a level of a layer provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of another control method for a touch screen according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another control method for a touch screen according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a control device of a touch screen according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device according to a control method of a touch screen in an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
A control method, an apparatus, an electronic device, and a storage medium of a touch screen according to embodiments of the present application are described below with reference to the accompanying drawings.
The embodiment of the application provides a control method of a touch screen, aiming at the problems that in the related art, the OLED screen is used for screen-off display, the cost is high, and the OLED screen cannot be popularized and used.
According to the control method of the touch screen, the state conversion layer is arranged below the message popup layer, the popup instruction of the message popup is received when the touch screen is turned off, the backlight is turned on, the state conversion layer is converted into the background state from the transparent state, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen turn-off display is achieved, screen turn-off display can be achieved without using an OLED screen, the cost is low, and the method can be popularized and used.
Fig. 1 is a schematic flowchart of a control method of a touch screen according to an embodiment of the present application.
The control method of the touch screen in the embodiment of the present application may be implemented by a device controlled by the touch screen provided in the embodiment of the present application, and the device may be configured in an electronic device, such as a mobile phone, a tablet computer, a car machine, and the like, so as to implement a screen-off display by controlling state transitions of a state conversion layer under a backlight and a message popup.
As shown in fig. 1, the control method of the touch screen includes:
step 101, receiving a pop-up instruction for displaying a message popup on a touch screen.
After the application on the electronic device receives the message, the application may generate a pop-up instruction for the message popup, and then the electronic device may receive the pop-up instruction for displaying the message popup on the touch. The message popup may be a dialog box or a message notification, and the popup instruction is used to indicate that there is a message popup to be displayed on the touch screen, and the popup instruction includes but is not limited to: the content of the message, the size of the message pop, etc.
For example, the vehicle touch screen refers to a touch screen of a car machine, and the car machine may install a plurality of applications, such as an application for playing songs, a navigation application, a chat application, a parking assistance application, and the like. In addition, the car machine can be connected with a mobile phone, a palm computer and the like to synchronously receive messages of the mobile phone, the palm computer and the like. After the application program on the car machine receives the message, the car machine can receive a pop-up instruction for displaying the message popup window on the touch screen.
Step 102, detecting the current state of the touch screen.
In general, the touch screen is in an on state, and then a backlight of the touch screen is in an on state, so that a user can see contents displayed on the touch screen.
In this embodiment, the touch screen may also be turned off. Specifically, the touch screen may be automatically turned off according to the setting, or the user may turn off the touch screen through a key on the vehicle for turning off the touch screen. Here, the key for turning off the touch screen may also be used for turning on the touch screen.
For example, if it is preset that the touch screen is turned off between 9 pm and 12 pm, the backlight of the touch screen may be automatically turned off in this time period, that is, the touch screen is turned off, so that the touch screen is in a standby state. For another example, when the touch screen is in the on state, if the user triggers a key for turning off the touch screen, the backlight of the touch screen is turned off, so that the touch screen is in the standby state.
It can be understood that, after the backlight of the touch screen is turned off, the brightness of the touch screen is zero, and the user cannot see the content displayed on the touch screen.
Therefore, when a message popup is about to pop up, the touch screen may be in a standby state or an open state. Based on this, the current state of the touch may be detected, and specifically, the current state of the touch screen may be determined according to a value of a preset field for identifying the state of the touch screen. For example, if the value is 00, the touch screen is in a standby state, and if the value is 01, the touch screen is currently in an on state.
And 103, responding to the current state of the touch screen in a standby state, and sending a control instruction for starting a backlight lamp of the touch screen.
When the current state of the touch screen is in a standby state, namely the touch screen is in a screen-off state, in order to display a message popup, a backlight of the touch screen needs to be turned on. At this time, a control instruction for turning on the backlight of the touch screen is given, so that the backlight is turned on according to the control instruction. If the backlight is turned on, the content displayed on the touch screen, such as an application logo, is displayed.
And 104, converting the state conversion layer displayed on the touch screen from a transparent state to a background state.
In this embodiment, a state conversion layer may be rendered on the touch screen in advance, and a default state of the state conversion layer is a transparent state. Here the state-change layer can be switched from a transparent state to a background state. Wherein, the background state can be black, that is, the state changing layer changes from transparent to black. Then the state translation layer may block the content of the level rendered below it after transitioning to the background state.
And 105, rendering a message popup window on the state conversion layer based on the popup instruction. And rendering a message popup window on the state conversion layer according to the popup instruction after the backlight lamp of the touch screen is started and the state conversion layer displayed on the touch screen is converted from a transparent state to a background state.
In this embodiment, the message popup corresponds to one layer, the state translation layer corresponds to one layer, and rendering the message popup on the state translation layer means rendering the message popup on a level of the state translation layer so that the level where the message pops up is above the level of the state translation layer.
Because the backlight of the touch screen is turned on, the user can see the content displayed on the touch screen, and because the state conversion layer is in the background state currently and the level of the message popup window is higher than that of the state conversion layer, the message popup window is rendered on the state conversion layer, and the state conversion layer can block the display of other content on the touch screen except the message popup window, such as the display of an application program identifier.
In this embodiment, the rendering of the message popup on the state translation layer is to avoid that the state translation layer blocks the message popup and blocks display contents outside the message popup, so as to achieve the purpose of displaying only the message popup. Therefore, when the message popup is rendered on the state conversion layer, the area visible to the user is only the area where the message popup is located, and screen-off display is achieved.
In the embodiment of the application, the state conversion layer is arranged below the message popup layer, if a popup instruction for displaying the message popup on the touch screen is received when the touch screen is turned off, the state conversion layer is converted into a background state from a transparent state by turning on the backlight lamp, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen turn-off display is realized, and screen turn-off display can be realized without using an OLED screen.
In practical applications, when there is a message popup to be displayed, the touch screen may be in an open state. In order to avoid the state conversion layer from affecting the normal display of the touch screen, in an embodiment of the present application, the method for controlling the touch screen further includes: and responding to the current state of the touch screen in an opening state, sending a control instruction for closing the state conversion layer, closing the state conversion layer according to the control instruction, and displaying a message popup window on the touch screen.
That is, when there is a message popup to be displayed, if the touch screen is in an open state, the state conversion layer is removed, and the message popup is displayed on the touch screen.
In the embodiment of the application, a control instruction for closing the state conversion layer is sent in response to the current state of the touch screen being in the open state, and the message popup window is displayed on the touch screen.
In practical applications, when the touch screen is normally displayed, application identifiers, such as icons and names of the applications, are displayed. To enhance the effectiveness of the screen-out display, in one embodiment of the present application, the level of the state translation layer is lower than the level of the message popup, and the level of the state translation layer is higher than the level of the application logo display layer.
The application program identifier display layer is a layer for displaying application program identifiers such as icons and names.
Specifically, a level mark is assigned to each layer, and a priority policy is stored in advance for the level marks. When a plurality of hierarchies are simultaneously present, the priority of each hierarchy is compared, and the higher the priority of the hierarchy is, the lower the priority of the hierarchy is.
In this embodiment, the level of the message popup is higher than that of the state translation layer, and the level of the state translation layer is higher than that of the application identifier display layer, as shown in fig. 2, fig. 2 is a schematic diagram of a level lower than that provided in this embodiment. Then, when displayed, the message popup is above the state translation layer, which is above the application identification.
In the embodiment of the application, the level of the state conversion layer is lower than that of the message popup window, and the level of the state conversion layer is higher than that of the application program identification display layer. Therefore, the message popup is displayed when the current state of the touch screen is in a standby state, and the level of the state conversion layer is higher than that of the application program identification display layer and lower than that of the message popup, so that the display of the message popup is not influenced, the display of the application program identification is shielded, and the screen-off display effect is improved.
In order to further improve the effect of the screen-off display, in an embodiment of the present application, when the screen-off display is performed, the brightness of the touch screen may also be adjusted according to the brightness information of the environment. Fig. 3 is a schematic flowchart of another control method for a touch screen according to an embodiment of the present disclosure.
As shown in fig. 3, the method further comprises:
step 301, brightness information of the environment is detected.
In this embodiment, an optical sensor may be disposed near the touch screen, and the brightness of the current environment is collected in real time through the optical sensor, so as to obtain the brightness information of the environment.
And step 302, adjusting the brightness of the touch screen according to the brightness information of the environment.
In this embodiment, when the ambient brightness is low, the brightness of the backlight is reduced to reduce the brightness of the touch panel in order to reduce light leakage. When the brightness of the environment is higher, the brightness of the backlight lamp can be increased to increase the brightness of the touch screen, so that the interface is clearer, and a better screen-off display effect is achieved.
In the embodiment of the application, the brightness of the touch screen can be adjusted according to the brightness information of the environment by detecting the brightness information of the environment. Therefore, the brightness of the touch screen is dynamically adjusted according to the brightness of the environment, and the screen-off display effect can be further improved.
In order to improve the accuracy of adjusting the brightness of the touch screen, when the brightness of the touch screen is adjusted according to the brightness information of the environment, in an embodiment of the present application, the brightness of the touch screen may be adjusted according to the size relationship between the brightness of the environment and a preset threshold.
In this embodiment, a first preset threshold and a second preset threshold are preset, where the second preset threshold is greater than the first preset threshold, and the first preset threshold and the second preset threshold may be set according to actual needs and experience.
After the brightness information of the environment is obtained, the brightness information of the environment is compared with a first preset threshold and a second preset threshold. If the brightness information of the environment is smaller than the first preset threshold, it is indicated that the brightness of the environment is relatively low, and in order to reduce light leakage, the brightness of the backlight may be reduced to reduce the brightness of the touch screen.
If the brightness information of the environment is greater than the second preset threshold, which indicates that the brightness of the environment is relatively high, the brightness of the touch screen may be increased, specifically, an adjustment amount of the brightness of the touch screen may be determined according to a difference between the brightness information of the environment and the second preset threshold, where the larger the difference is, the larger the adjustment amount of the brightness of the touch screen is.
If the brightness information of the environment is greater than or equal to the first preset threshold and less than or equal to the second preset threshold, the brightness of the touch screen can be kept unchanged.
In the embodiment of the application, when the brightness of the touch screen is adjusted according to the brightness information of the environment, if the brightness information of the environment is smaller than a first preset threshold, the brightness of the touch screen is reduced, and if the brightness information of the environment is larger than a second preset threshold, the brightness of the touch screen is improved, wherein the second preset threshold is larger than the first preset threshold. Therefore, the brightness of the touch screen can be accurately adjusted by setting the first preset threshold and the second preset threshold according to the comparison result of the brightness information of the environment and the first preset threshold and the second preset threshold, and the accuracy of the brightness adjustment of the touch screen is improved.
In order to avoid that a user mistakenly triggers an application program when the touch screen is closed, in one embodiment of the application, when the current state of the touch screen is in a standby state, the backlight is closed, the touch screen is kept in a touch detection state, and meanwhile, the state conversion layer is opened, so that the state conversion layer shields an application program identifier displayed in the touch screen.
The touch screen is in a touch detection state, which means that the touch operation can be monitored when the touch screen is in a standby state.
In this embodiment, when the current state of the touch screen is in the standby state, the backlight is turned off to make the brightness of the touch screen be 0, so that a user cannot see contents displayed on the touch screen, and the touch screen keeps monitoring of touch operations, and simultaneously the state conversion layer is turned on to shield an application program identifier displayed in the touch screen, thereby preventing the user from mistakenly triggering the application program.
That is to say, when the touch screen is in a standby state, the state conversion layer is opened to shield the application program identifier in the touch screen and prevent the application program from being triggered.
Therefore, in the embodiment of the application, the state conversion layer can be combined with the backlight to realize screen-off display, and can shield the application program identifier when the touch screen is closed, so that the application program in the touch screen is prevented from being triggered.
In the embodiment of the application, when the current state of the touch screen is in a standby state, the backlight lamp is turned off, the touch screen is kept in a touch detection state, and the state conversion layer is turned on at the same time, so that the state conversion layer shields the application program identifier displayed in the touch screen. Therefore, when the touch screen is closed, the touch screen can monitor the trigger operation and can prevent the application program from being triggered.
In order to improve the use experience of the touch screen, in an embodiment of the application, when the message popup command is received, if the touch screen is closed, the touch screen can be awakened, so that the touch screen can display normally. Fig. 4 is a schematic flowchart of another control method for a touch screen according to an embodiment of the present application.
As shown in fig. 4, in response to the current state of the touch screen being in the standby state, the method may further include:
step 401, a wake-up instruction is received.
In this embodiment, the automatic wake-up touch screen may be preset, or may be woken up according to the operation of the user on the relevant key.
For example, if the touch screen is preset to be turned off between 9 pm and 12 pm, a wake-up command may be received to wake up the touch screen when the time exceeds 12 pm. For another example, the user triggers a key on the vehicle for closing the touch screen, and then a wake-up instruction is generated according to the operation of the user, so that the wake-up instruction can be obtained to wake up the touch screen.
And step 402, controlling the backlight lamp to be turned on according to the awakening instruction, and turning off the state conversion layer.
After the wake-up instruction is acquired, the backlight lamp can be controlled to be turned on according to the wake-up instruction, so that the brightness of the touch screen is larger than 0. Because the application program identifier is arranged above the display layer and the state conversion layer is arranged below the message popup window, in order to normally display the application program, the state conversion layer can be closed, namely the state conversion layer is removed, so that the application program identifier is prevented from being shielded.
And then, the message popup and the application program identification can be displayed on the touch screen according to the corresponding level. In this embodiment, if the level of the message popup is higher than the level of the application identifier, the message popup is displayed above the application identifier.
In the embodiment of the application, when the current state of the touch screen is in a standby state, a wake-up instruction can be received, the backlight lamp is controlled to be turned on according to the wake-up instruction, and the state conversion layer is turned off. Therefore, when the touch screen is awakened, the state conversion layer is closed, and the layer below the state conversion layer is prevented from being shielded.
In order to implement the above embodiments, the embodiments of the present application further provide a control device for a touch screen. Fig. 5 is a schematic structural diagram of a control device of a touch screen according to an embodiment of the present application.
As shown in fig. 5, the control device 500 of the touch screen includes: a first receiving module 510, a first detecting module 520, a control module 530, a converting module 540, and a display module 550.
A first receiving module 510, configured to receive a pop-up instruction for displaying a message popup on a touch screen;
a first detection module 520, configured to detect a current state of the touch screen;
a control module 530, configured to issue a control instruction for turning on a backlight of the touch screen when the current state of the touch screen is in a standby state;
a conversion module 540, configured to convert a state conversion layer displayed on the touch screen from a transparent state to a background state; and
and a display module 550, configured to render a message popup on the state translation layer based on the popup instruction.
In a possible implementation manner of the embodiment of the present application, the control module 530 is further configured to:
and responding to the current state of the touch screen in the opening state, sending a control instruction for closing the state conversion layer, and displaying a message popup window on the touch screen.
In one possible implementation manner of the embodiment of the application, the level of the state translation layer is lower than that of the message popup window, and the level of the state translation layer is higher than that of the application program identification display layer.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
the second detection module is used for detecting the brightness information of the environment;
and the adjusting module is used for adjusting the brightness of the touch screen according to the brightness information of the environment.
In a possible implementation manner of the embodiment of the present application, the adjusting module is specifically configured to:
if the brightness information of the environment is smaller than a first preset threshold value, reducing the brightness of the touch screen;
and if the brightness information of the environment is greater than a second preset threshold value, the brightness of the touch screen is improved, wherein the second preset threshold value is greater than the first preset threshold value.
In a possible implementation manner of the embodiment of the present application, the control module 530 is further configured to:
and when the current state of the touch screen is in a standby state, turning off the backlight lamp, keeping the touch screen in a touch detection state, and turning on the state conversion layer at the same time so that the state conversion layer shields the application program identifier displayed in the touch screen.
In one possible implementation manner of the embodiment of the present application, in response to that the current state of the touch screen is in a standby state, the apparatus may further include:
the second receiving module is used for receiving the awakening instruction;
the control module 530 is further configured to control the backlight to be turned on and turn off the state conversion layer according to the wake-up instruction.
It should be noted that the explanation of the foregoing embodiment of the control method of the touch screen is also applicable to the control device of the touch screen of the embodiment, and therefore, the explanation is not repeated here.
The control device of the touch screen in the embodiment of the application receives a pop-up instruction for displaying the message popup on the touch screen; detecting the current state of the touch screen; responding to the current state of the touch screen in a standby state, and sending a control instruction for starting a backlight lamp of the touch screen; converting a state conversion layer displayed on the touch screen from a transparent state to a background state; based on the pop instruction, rendering a message popup on the state translation layer. Therefore, by arranging the state conversion layer below the message popup layer, if a popup instruction for displaying the message popup on the touch screen is received when the touch screen is turned off, the state conversion layer is converted from a transparent state to a background state by turning on the backlight, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen turn-off display is realized, screen turn-off display can be realized without using an OLED screen, the cost is low, and the method can be popularized and used.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 6, the electronic device is a block diagram of an electronic device according to a control method of a touch screen in an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the control method of the touch screen provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the control method of a touch screen provided by the present application.
The memory 602, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the control method of the touch screen in the embodiment of the present application (for example, the first receiving module 510, the first detecting module 520, the control module 530, the converting module 540, and the display module 550 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 602, that is, implements the control method of the touch screen in the above method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the control electronics of the touch screen, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory remotely located from the processor 601, and these remote memories may be connected to the electronics of the control method of the touch screen through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the control method of the touch screen may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus of the control method of the touch screen, such as an input device of the touch screen, keypad, mouse, track pad, touch pad, pointing stick, one or more mouse buttons, track ball, joystick, etc. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the state conversion layer is arranged below the message popup layer, if a popup instruction for displaying the message popup on the touch screen is received when the touch screen is turned off, the backlight is turned on to convert the state conversion layer from a transparent state to a background state, and the message popup is rendered on the state conversion layer, so that only the region where the message popup is located is left in a user visible region on the touch screen, screen-off display is achieved, and accordingly, screen-off display can be achieved without using an OLED screen, the cost is low, and the method and the device can be popularized and used.
In the description of the present specification, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (16)

1. A control method of a touch screen is characterized by comprising the following steps:
receiving a pop-up instruction for displaying a message popup on the touch screen;
detecting a current state of the touch screen;
responding to the current state of the touch screen in a standby state, and sending a control instruction for starting a backlight lamp of the touch screen;
converting a state conversion layer displayed on the touch screen from a transparent state to a background state;
rendering the message popup on the state translation layer based on the popup instruction.
2. The method of controlling a touch screen according to claim 1, further comprising:
and responding to the current state of the touch screen in an opening state, sending a control instruction for closing the state conversion layer, and displaying the message popup on the touch screen.
3. The control method of the touch screen as claimed in claim 1, wherein the level of the state conversion layer is lower than the level of the message popup and the level of the state conversion layer is higher than the level of an application identification display layer.
4. The method of controlling a touch screen according to claim 1, further comprising:
detecting brightness information of an environment;
and adjusting the brightness of the touch screen according to the brightness information of the environment.
5. The method for controlling the touch screen according to claim 4, wherein the adjusting the brightness of the touch screen according to the brightness information of the environment comprises:
if the brightness information of the environment is smaller than a first preset threshold value, reducing the brightness of the touch screen;
and if the brightness information of the environment is greater than a second preset threshold value, the brightness of the touch screen is improved, wherein the second preset threshold value is greater than the first preset threshold value.
6. The method as claimed in claim 1, wherein when the current state of the touch screen is in a standby state, the backlight is turned off, the touch screen is kept in a touch detection state, and the state conversion layer is turned on, so that the state conversion layer blocks an application identifier displayed in the touch screen.
7. The method of controlling a touch screen according to claim 1, wherein in response to a current state of the touch screen being in a standby state, the method further comprises:
receiving a wake-up instruction;
and controlling the backlight lamp to be turned on according to the awakening instruction, and turning off the state conversion layer.
8. A control device for a touch screen, comprising:
the first receiving module is used for receiving a popup instruction for displaying a message popup on the touch screen;
the first detection module is used for detecting the current state of the touch screen;
the control module is used for responding to the current state of the touch screen in a standby state and sending a control instruction for starting a backlight lamp of the touch screen;
the conversion module is used for converting a state conversion layer displayed on the touch screen from a transparent state to a background state; and
and the display module is used for rendering the message popup window on the state conversion layer based on the popup instruction.
9. The control device of the touch screen of claim 8, wherein the control module is further configured to:
and responding to the current state of the touch screen in an opening state, sending a control instruction for closing the state conversion layer, and displaying the message popup on the touch screen.
10. The control apparatus of a touch screen as claimed in claim 8, wherein the level of the state translation layer is lower than the level of the message popup and the level of the state translation layer is higher than the level of an application identification display layer.
11. The control device of the touch screen as claimed in claim 8, further comprising:
the second detection module is used for detecting the brightness information of the environment;
and the adjusting module is used for adjusting the brightness of the touch screen according to the brightness information of the environment.
12. The control device of the touch screen according to claim 11, wherein the adjusting module is specifically configured to:
if the brightness information of the environment is smaller than a first preset threshold value, reducing the brightness of the touch screen;
and if the brightness information of the environment is greater than a second preset threshold value, the brightness of the touch screen is improved, wherein the second preset threshold value is greater than the first preset threshold value.
13. The control device of the touch screen of claim 8, wherein the control module is further configured to:
and when the current state of the touch screen is in a standby state, turning off the backlight lamp, keeping the touch screen in a touch detection state, and simultaneously turning on the state conversion layer so that the state conversion layer shields the application program identifier displayed in the touch screen.
14. The apparatus for controlling a touch screen according to claim 8, wherein in response to a current state of the touch screen being in a standby state, the apparatus further comprises:
the second receiving module is used for receiving the awakening instruction;
the control module is further used for controlling the backlight lamp to be turned on according to the awakening instruction and turning off the state conversion layer.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of controlling a touch screen according to any one of claims 1-7.
16. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method of controlling a touch screen according to any one of claims 1 to 7.
CN202010494214.4A 2020-06-03 2020-06-03 Control method and device of touch screen, electronic equipment and storage medium Pending CN111831152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010494214.4A CN111831152A (en) 2020-06-03 2020-06-03 Control method and device of touch screen, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010494214.4A CN111831152A (en) 2020-06-03 2020-06-03 Control method and device of touch screen, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111831152A true CN111831152A (en) 2020-10-27

Family

ID=72899078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010494214.4A Pending CN111831152A (en) 2020-06-03 2020-06-03 Control method and device of touch screen, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363787A (en) * 2020-10-30 2021-02-12 维沃软件技术有限公司 Image processing method and device and electronic equipment
WO2023024559A1 (en) * 2021-08-25 2023-03-02 荣耀终端有限公司 Method for controlling always-on display and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110256848A1 (en) * 2010-04-14 2011-10-20 Samsung Electronics Co., Ltd. Touch-based mobile device and method for performing touch lock function of the mobile device
CN102945133A (en) * 2012-10-18 2013-02-27 天津三星通信技术研究有限公司 Screen local display system and screen local display method
US20140035942A1 (en) * 2012-08-01 2014-02-06 Samsung Electronics Co. Ltd. Transparent display apparatus and display method thereof
US20140325435A1 (en) * 2013-04-26 2014-10-30 Samsung Electronics Co., Ltd. User terminal device and display method thereof
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
WO2018032756A1 (en) * 2016-08-16 2018-02-22 华为技术有限公司 Display method, display device, and graphical user interface
CN109459902A (en) * 2018-11-20 2019-03-12 Oppo(重庆)智能科技有限公司 The control method of the display screen cover board of electronic equipment, electronic equipment and electronic equipment
CN208737128U (en) * 2018-10-19 2019-04-12 信利光电股份有限公司 A kind of display module
CN110149442A (en) * 2019-04-10 2019-08-20 华为技术有限公司 A kind of control method and terminal device for putting out screen display

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110256848A1 (en) * 2010-04-14 2011-10-20 Samsung Electronics Co., Ltd. Touch-based mobile device and method for performing touch lock function of the mobile device
US20140035942A1 (en) * 2012-08-01 2014-02-06 Samsung Electronics Co. Ltd. Transparent display apparatus and display method thereof
CN102945133A (en) * 2012-10-18 2013-02-27 天津三星通信技术研究有限公司 Screen local display system and screen local display method
US20140325435A1 (en) * 2013-04-26 2014-10-30 Samsung Electronics Co., Ltd. User terminal device and display method thereof
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
WO2018032756A1 (en) * 2016-08-16 2018-02-22 华为技术有限公司 Display method, display device, and graphical user interface
CN208737128U (en) * 2018-10-19 2019-04-12 信利光电股份有限公司 A kind of display module
CN109459902A (en) * 2018-11-20 2019-03-12 Oppo(重庆)智能科技有限公司 The control method of the display screen cover board of electronic equipment, electronic equipment and electronic equipment
CN110149442A (en) * 2019-04-10 2019-08-20 华为技术有限公司 A kind of control method and terminal device for putting out screen display

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363787A (en) * 2020-10-30 2021-02-12 维沃软件技术有限公司 Image processing method and device and electronic equipment
WO2023024559A1 (en) * 2021-08-25 2023-03-02 荣耀终端有限公司 Method for controlling always-on display and electronic device

Similar Documents

Publication Publication Date Title
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
WO2018126971A1 (en) Homepage interface adjustment method, apparatus and smart television
WO2020010911A1 (en) Split-screen display processing method and apparatus, storage medium, and electronic device
CN111831152A (en) Control method and device of touch screen, electronic equipment and storage medium
WO2019019835A1 (en) Method and device for responding to blank screen gesture, and storage medium and mobile terminal
EP3913473A1 (en) Human-machine interaction control method, apparatus and system, and electronic device
US20160011731A1 (en) System and Method for Revealing Content on an Electronic Device Display
US20210149558A1 (en) Method and apparatus for controlling terminal device, and non-transitory computer-readle storage medium
US11455075B2 (en) Display method when application is exited and terminal
EP3796308A1 (en) Speech recognition control method and apparatus, electronic device and readable storage medium
US20210097993A1 (en) Speech recognition control method and apparatus, electronic device and readable storage medium
WO2023025121A1 (en) Display method and apparatus, electronic device, and readable storage medium
CN113130607A (en) Display device, electronic apparatus, control method, device, and readable storage medium
CN110764858A (en) Display method, display device and electronic equipment
CN112732368B (en) Program running method and device and electronic equipment
US11126260B2 (en) Control method and apparatus of intelligent device, and storage medium
CN110517684B (en) Control method and device for intelligent equipment, intelligent equipment and storage medium
CN112148169A (en) Identification display control method and device and electronic equipment
CN113495621A (en) Interactive mode switching method and device, electronic equipment and storage medium
CN114222355B (en) Terminal power-saving display method and device and electronic equipment
CN113495620A (en) Interactive mode switching method and device, electronic equipment and storage medium
CN111857488B (en) Method and device for popping up menu in applet, electronic equipment and storage medium
CN111352685A (en) Input method keyboard display method, device, equipment and storage medium
CN111611476A (en) Method and device for displaying special topic page
CN113891497B (en) Network repair method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211011

Address after: 100176 101, floor 1, building 1, yard 7, Ruihe West 2nd Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd.

Address before: 2 / F, baidu building, No. 10, Shangdi 10th Street, Haidian District, Beijing 100085

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.