CN108646970B - Display control method and related product - Google Patents

Display control method and related product Download PDF

Info

Publication number
CN108646970B
CN108646970B CN201810444368.5A CN201810444368A CN108646970B CN 108646970 B CN108646970 B CN 108646970B CN 201810444368 A CN201810444368 A CN 201810444368A CN 108646970 B CN108646970 B CN 108646970B
Authority
CN
China
Prior art keywords
information
display
electronic equipment
screen
touch
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.)
Active
Application number
CN201810444368.5A
Other languages
Chinese (zh)
Other versions
CN108646970A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810444368.5A priority Critical patent/CN108646970B/en
Publication of CN108646970A publication Critical patent/CN108646970A/en
Application granted granted Critical
Publication of CN108646970B publication Critical patent/CN108646970B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

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)

Abstract

The embodiment of the application discloses a display control method and a related product, wherein the method comprises the following steps: when the electronic equipment is in a screen extinguishing state, first information is received, induction parameters of the electronic equipment are obtained, if the induction parameters meet preset conditions, a screen extinguishing display AOD mode is entered, the first information is displayed on a screen locking interface of the electronic equipment, and if the electronic equipment does not enter a specified page within a preset time period, the first information is hidden, so that the screen extinguishing display is intelligently controlled, and unnecessary electric quantity consumption is reduced.

Description

Display control method and related product
Technical Field
The present application relates to the field of display control, and in particular, to a display control method and related products.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, etc.), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of users.
An off-screen display AOD (always on display) mode refers to a function of displaying information on an electronic device through a display screen in an off-screen state, in the AOD mode, an area of the display screen of the electronic device may be used to display time and date, notification messages, short message chat messages, missed call messages, and the like, and a user may quickly obtain the above information without unlocking the electronic device, but the electronic device displays the information for a long time, which may cause unnecessary waste of electric quantity.
Disclosure of Invention
The embodiment of the application provides a display control method and a related product, which can realize intelligent control of screen-off display and reduce unnecessary power consumption.
In a first aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device, and the method includes:
receiving first information when the electronic equipment is in a screen-off state;
acquiring induction parameters of the electronic equipment;
if the sensing parameters meet preset conditions, entering a screen-off display AOD mode, displaying the first information on a screen-locking interface of the electronic equipment, and if the electronic equipment does not enter a specified page within a preset time period, hiding the first information.
In a second aspect, an embodiment of the present application provides a display control apparatus, which is applied to an electronic device, and the display control apparatus includes:
the receiving unit is used for receiving first information when the electronic equipment is in a screen-off state;
the acquisition unit is used for acquiring the induction parameters of the electronic equipment;
the display unit is used for entering a screen-off display AOD mode when the induction parameters meet preset conditions, displaying the first information on a screen locking interface of the electronic equipment, and hiding the first information when the electronic equipment does not enter a specified page within a preset time period.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for some or all of the steps as described in the first aspect of an embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is used to make a computer execute some or all of the steps described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that, according to the display control method and the related product described in the embodiments of the present application, when the electronic device is in the screen-off state, the first information is received, the sensing parameter of the electronic device is obtained, if the sensing parameter meets the preset condition, the screen-off display AOD mode is entered, the first information is displayed on the screen-locking interface of the electronic device, and if the electronic device does not enter the designated page within the preset time period, the first information is hidden, so that the screen-off display is intelligently controlled, and unnecessary power consumption is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic flowchart of a display control method according to an embodiment of the present application;
fig. 1C is a schematic illustration showing a demonstration that an included angle between a touch display screen and a gravity direction is determined according to an embodiment of the present application;
fig. 2A is a schematic flowchart of another display control method provided in the embodiment of the present application;
FIG. 2B is a schematic illustration of an example of a presentation for displaying different information via different display formats;
fig. 3 is a schematic flowchart of another display control method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 5A is a schematic structural diagram of a display control apparatus according to an embodiment of the present application;
FIG. 5B is a schematic structural diagram of a modified structure of the display control apparatus depicted in FIG. 5A, according to an embodiment of the present invention;
FIG. 5C is a schematic structural diagram of a modified structure of the display control apparatus depicted in FIG. 5A, according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes: the electronic device comprises a shell 110, a circuit board 120 arranged in the shell 110, a motion sensor 130 and a touch display screen 140 arranged on the shell 110, wherein a processor 121 is arranged on the circuit board 120, and the motion sensor 130 and the touch display screen 140 are respectively connected with the processor 121.
Among other things, the motion sensor 130 may include at least one of: for example, the gravity sensor may detect a gravity acceleration value of the electronic device, the acceleration sensor may detect an acceleration value of the electronic device, and the touch display screen 140 may detect a touch parameter of the user for the touch display screen.
The following describes embodiments of the present application in detail.
Referring to fig. 1B, fig. 1B is a schematic flowchart of a display control method according to an embodiment of the present disclosure, where the display control method described in the embodiment is applied to the electronic device shown in fig. 1A, and the display control method includes:
101. when the electronic equipment is in a screen-off state, first information is received.
In an embodiment of the present application, the electronic device is in a screen-off state, which is a state where the touch display screen is turned off when the electronic device is in a locked state, where the first information may include at least one of the following information: time and date, notification messages, such as advertising messages pushed by a shopping application, chat messages, such as chat messages received by a chat application, missed call information, and the like.
102. And acquiring induction parameters of the electronic equipment.
In an embodiment of the application, after receiving the first information, sensing parameters of the electronic device may be obtained, where the sensing parameters may include a touch parameter and a motion parameter, and the sensing parameters may include at least one of the following: the touch control method includes the steps of touch control frequency, a touch control area, touch control pressure, touch control duration and the like, wherein the touch control frequency refers to the frequency of a user contacting a touch control display screen within preset duration, the touch control area refers to the area where the position of the user contacting the touch control display screen is located, the touch control area can comprise a middle area and an edge area, the touch control pressure refers to the maximum pressure value sensed by the touch control display screen when the user contacts the touch control display screen, the touch control duration refers to the duration from the time when the user starts to contact the touch control display screen to the time when the user leaves the touch control display screen, and the motion parameters can comprise at least one of the following parameters: the motion range may be a range of the electronic device that is turned over when the electronic device is turned over, the gravity acceleration value may be a gravity acceleration value at a moment when the motion range of the electronic device is smaller than a preset threshold, and the motion speed may be a speed of the electronic device in a moving process, for example, an average speed in a specified time period, or a speed corresponding to a preset time point.
Optionally, when the sensing parameter is a touch parameter, acquiring the sensing parameter of the electronic device may include acquiring a touch frequency at which a user touches a touch display screen of the electronic device.
The electronic device may detect the number of times of touch of the touch display screen contacting the user within a preset time period after receiving the first information, and then obtain the touch frequency, where the preset time period may be set by the user or default by the system, and the preset time period may be, for example, 1 min.
Optionally, when the sensing parameter is a motion parameter, acquiring the sensing parameter of the electronic device may include acquiring, by a motion sensor of the electronic device, sensor data of the electronic device at a moment when the motion amplitude is smaller than a preset threshold, where the sensor data includes three components on three axes X, Y, Z in a preset coordinate system.
In this embodiment, the sensor data may include a gravitational acceleration value detected by a gravitational sensor, and may further include three components of the gravitational acceleration value detected by an acceleration sensor on three axes X, Y, Z, where the motion amplitude of the electronic device may be detected first, and then it is determined whether the motion amplitude is smaller than a preset threshold, and a size of the preset threshold may be set according to an orientation of the touch display screen of the electronic device before the motion, for example, when the orientation of the touch display screen is downward, the preset threshold may be set to 180 degrees, and for example, when the orientation of the touch display screen is leftward or rightward, the preset threshold may be set to 90 degrees.
Optionally, when the sensor data is a gravity sensor, when the motion amplitude is smaller than a preset threshold, a gravitational acceleration value at a time when the motion amplitude is smaller than the preset threshold may be detected by the gravity sensor, where a three-dimensional coordinate system may be pre-established, where an X-axis is a direction to the right on a plane where the touch display screen is located, a Y-axis is a direction to the upper on the plane where the touch display screen is located, and a Z-axis is a direction perpendicular to the front of the touch display screen, when an orientation of the touch display screen of the electronic device changes, three components of the gravitational acceleration on three axes X, Y, Z may change, and therefore, three components of the gravitational acceleration on three axes X, Y, Z may be determined when the motion amplitude of the electronic device is smaller than the preset threshold.
103. If the sensing parameters meet preset conditions, entering a screen-off display AOD mode, displaying the first information on a screen-locking interface of the electronic equipment, and if the electronic equipment does not enter a specified page within a preset time period, hiding the first information.
In this embodiment of the application, after the sensing parameter is obtained in step 102, it may be determined whether the sensing parameter meets a preset condition, where the preset condition may be set by a user, or a default of a system, for example, the preset condition may be at least one of the following conditions: the touch frequency is in a preset touch range, the touch area is in a preset area, the touch pressure is greater than a preset pressure threshold, the touch duration is in a preset duration range, and an included angle between the touch display screen and the gravity direction is in a preset angle range.
For example, when the touch parameter includes a touch area, the touch display screen may be divided into an edge area and a middle area in advance, so that a distance between a touch point of the edge area and a frame of the touch display screen does not exceed a preset distance threshold, and a distance between a touch point of the middle area and a frame of the touch display screen exceeds a preset distance threshold.
Optionally, if the touch frequency is in a first preset range, it is determined that the sensing parameter meets a preset condition.
In the embodiment of the application, after the touch frequency of the electronic device is obtained, it may be determined whether the touch frequency is within a first preset range, where the first preset range may be (1 time/second, 3 times/second), and if the touch frequency is within the range, it is determined that the sensing parameter meets a preset condition, which indicates that the user may want to view the content of the first information.
Optionally, determining an included angle between the touch display screen and the gravity direction according to the three components;
and if the included angle is within a second preset range, confirming that the induction parameters meet preset conditions.
In the embodiment of the present application, after obtaining the sensor data, when the sensor data includes X, Y, Z three gravitational acceleration components on three axes, an included angle α between the Z axis and the gravitational direction may be calculated according to the following formula:
cosα=Gz/G,
alternatively, the first and second electrodes may be,
Figure BDA0001656823940000061
as shown in fig. 1C, fig. 1C is a schematic illustration of a demonstration that an included angle between a touch display screen and a gravity direction is determined according to an embodiment of the present application, and GxComponent of gravitational acceleration in the direction of the X axis, GyComponent of gravitational acceleration in the Y-axis direction, GzThe component of the gravity acceleration in the Z-axis direction is, G is the gravity acceleration value detected by the gravity sensor, and the Z-axis direction is perpendicular to the plane where the touch display screen is located, so that the included angle between the touch display screen and the gravity direction can be determined.
Further, when the sensing parameter meets a preset condition, it is indicated that the user may pay attention to the display content of the touch display screen, so that the AOD mode may be entered, where the AOD mode in this embodiment of the application is that when the electronic device is in a locked state, the touch display screen keeps displaying the first information within a preset time period, when the user triggers a display area of the first information through the touch display screen, the user enters a designated page corresponding to the first information, and when the user does not enter the designated page within the preset time period, the first information is hidden, until it is determined that the sensing parameter meets the preset condition next time, the screen is triggered to turn off to display the first information, so that the first information can be prevented from being displayed for a long time, and unnecessary power consumption is reduced.
Alternatively, the designated page may include any one of: when a user touches a display area of first information, an application page corresponding to the first information and the electronic device receive an unlocking instruction, the unlocked application page, an application page of a screen locking application operable in a screen locking state of the electronic device and the like are unlocked, and when the electronic device does not enter any instruction page within a preset time period, the first information can be hidden.
Optionally, the turning off the screen within the preset time period displays the first information, including:
acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information currently displayed on the touch display screen in an off state;
determining the display sequence of the first information and the second information according to the first associated information and the second associated information;
and displaying the first information according to the display sequence in the preset time period.
In this embodiment of the application, the second information is information already displayed on the touch display screen in the AOD mode, and the first related information or the second related information at least includes one of the following information: the method comprises the steps of associating application corresponding to the first information, associating users corresponding to the first information, historical interaction records corresponding to the first information and the like.
Optionally, when the associated information includes the associated application, the user may preset an order of the plurality of applications in the electronic device, and further determine a display order of the first information and the second information according to the order corresponding to the plurality of applications, for example, the user may set an order of the payment application to be prior to an order of the chat application, and when the first information is a notification message of the payment application and the second information is a chat message of the chat application, the display order of the first information is before the second information, so that when the display area is limited, the information corresponding to the more important application may be preferentially displayed.
Optionally, when the associated application includes an associated user, the user may preset priorities of a plurality of friends in the contact list, and further determine the display order of the first information and the second information according to the priorities among the friends, for example, the user may set a priority for a user in the contact list in the chat application, and when the priority of the user a corresponding to the first information is higher than the priority of the user B corresponding to the second information, it may be determined that the display order of the first information is in front of the second information, and thus, when the received information is more, the more important information may be preferentially displayed.
Optionally, when the associated information is a history interaction record, a first interaction time between the user and the associated application or the associated user corresponding to the first information most recently and a second interaction time between the user and the associated application or the associated user corresponding to the second information may be obtained, and if the first interaction time is later than the second interaction time, the display order of the first information may be determined to be in front of the second information, so that information corresponding to an application used by the user most recently may be preferentially displayed, or information corresponding to a user with which the user has recently contacted may be preferentially displayed.
Alternatively, when the electronic device receives a plurality of pieces of information, in the AOD mode, a display order of the plurality of pieces of information may be determined, and the plurality of pieces of information may be displayed according to the display order.
It can be seen that, in the display control method described in this embodiment of the application, when the electronic device is in the screen-off state, the first information is received, the sensing parameter of the electronic device is obtained, if the sensing parameter meets the preset condition, the AOD mode is entered, the first information is displayed on the screen-locking interface of the electronic device, and if the electronic device does not enter the designated page within the preset time period, the first information is hidden, so that the screen-off display is intelligently controlled, and unnecessary power consumption is reduced.
Referring to fig. 2A, fig. 2A is a schematic flow chart of another display control method according to an embodiment of the present disclosure, where the display control method described in the embodiment is applied to the electronic device shown in fig. 1A, and the method includes the following steps:
201. when the electronic equipment is in a screen-off state, first information is received.
202. And acquiring induction parameters of the electronic equipment.
203. And if the sensing parameters meet preset conditions, entering a screen-off display AOD mode, acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information displayed on the touch display screen in a screen-off state currently.
204. And determining the display sequence of the first information and the second information according to the first associated information and the second associated information.
The specific implementation process of the steps 201-204 can refer to the description of the method, and will not be described herein again.
205. And displaying the first information according to the display sequence, and if the electronic equipment does not enter a designated page within a preset time period, hiding the first information.
Optionally, after the determining the display order of the first information and the second information according to the first associated information and the second associated information, the method further includes:
determining a target display format of the first information according to a corresponding relation between a preset display sequence and the display format;
the displaying the first information according to the display sequence within the preset time period includes:
and displaying the first information according to the target display format and the display sequence within a preset time period.
In an embodiment of the application, the display format is a form in which the first information is presented on the touch display screen, and the display format may include at least one of: displaying a mark, displaying a title, displaying partial content, displaying the whole content, and the like, wherein the displaying mark is used for displaying a mark representing the source of the first information, so that a user can only see one mark and can not see the information content, thereby saving the display area, for example, the first information is a chat message of a chat application, an icon of the chat application can be displayed, the displaying title is used for displaying a title representing the content and the source of the first information, key information can be extracted from the content of the first information, the corresponding associated application name, the corresponding associated user name and the like to generate the title, and even some electronic devices display the first information in partial areas of the touch display screen due to the limited display area of the touch display screen, therefore, the corresponding target display format can be determined according to the display sequence of the first information, wherein the corresponding relationship between the display sequence and the display format can be preset, thereby determining the target display format corresponding to the display order according to the corresponding relation.
Optionally, when the electronic device needs to display a plurality of information, the display order of the plurality of information and the display format corresponding to each display order may be determined, and then the plurality of information may be displayed according to different display formats, for example, for the information in the first order, all contents of the information may be displayed, so that a user may view all contents of the information without further operation, for the information in the second order, a part of contents of the information may be displayed, which may be contents including a key field in the information, such as a password, a phone number, and the like, so that the user may quickly view the contents of the key field without occupying a large area to display all contents of the information, for the information in the third order, a title of the information may be displayed, so that the user may know the contents of the information through the title and may save the display area, and displaying a mark corresponding to the information according to the information in the fourth sequence and the subsequent information, and if a user needs to check specific content, touching an area corresponding to the mark to enter an application page corresponding to the information for checking.
For example, as shown in fig. 2B, fig. 2B is a schematic diagram illustrating displaying different information in different display formats according to an embodiment of the present application, where the display order of the information is determined according to the information received by the electronic device, and the display format of each information in the information is determined according to the corresponding relationship between the display order and the display format, as shown in fig. 2B, the information formats in different formats are used to display the information comprehensively and reasonably when the information to be displayed is large.
It can be seen that, in the display control method described in this embodiment of the application, when the electronic device is in the screen-off state, the first information is received, the sensing parameter of the electronic device is obtained, if the sensing parameter meets a preset condition, the electronic device enters the AOD mode, the first associated information corresponding to the first information is obtained, the second associated information corresponding to the second information currently displayed on the touch display screen in the screen-off state is obtained, the display order of the first information and the second information is determined according to the first associated information and the second associated information, the first information is displayed according to the display order, and if the electronic device does not enter a designated page within a preset time period, the first information is hidden.
In accordance with the above, please refer to fig. 3, which is a flowchart illustrating another display control method according to an embodiment of the present disclosure, where the display control method described in the embodiment is applied to the electronic device shown in fig. 1A, and the method may include the following steps:
301. when the electronic equipment is in a screen-off state, first information is received.
302. And acquiring induction parameters of the electronic equipment.
303. And if the sensing parameters meet preset conditions, entering a screen-off display AOD mode, acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information displayed on the touch display screen in a screen-off state currently.
304. And determining the display sequence of the first information and the second information according to the first associated information and the second associated information.
305. And determining a target display format of the first information according to a corresponding relation between a preset display sequence and the display format.
306. And displaying the first information according to the target display format and the display sequence.
307. And if the electronic equipment does not enter the appointed page within the preset time period, hiding the first information.
The specific implementation process of steps 301-307 of the method shown in fig. 3 can refer to the specific implementation process of the method described above, and is not described herein again.
The display control method described in the embodiment of the application, when the electronic device is in the screen-off state, receives first information, obtains a sensing parameter of the electronic device, if the sensing parameter meets a preset condition, enters the AOD mode, obtains first associated information corresponding to the first information, obtains second associated information corresponding to second information currently displayed on the touch display screen in a screen-off state, determines a display order of the first information and the second information according to the first associated information and the second associated information, determines a target display format of the first information according to a corresponding relationship between the preset display order and the display format, displays the first information according to the target display format and the display order, and hides the first information if the electronic device does not enter a designated page within a preset time period, so that screen-off display can be intelligently controlled, unnecessary power consumption is reduced, and when a plurality of information needs to be displayed, and displaying the plurality of information in order.
The following is a device for implementing the display control method, specifically as follows:
in accordance with the above, please refer to fig. 4, where fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, the electronic device includes: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of:
receiving first information when the electronic equipment is in a screen-off state;
acquiring induction parameters of the electronic equipment;
if the sensing parameters meet preset conditions, entering a screen-off display AOD mode, displaying the first information on a screen-locking interface of the electronic equipment, and if the electronic equipment does not enter a specified page within a preset time period, hiding the first information.
In one possible example, the sensing parameter is a touch parameter, and in the aspect of acquiring the sensing parameter of the electronic device, the program includes instructions for performing the following steps:
acquiring touch frequency of a user touching a touch display screen of the electronic equipment;
the program further includes instructions for performing the steps of:
and if the touch frequency is in a first preset range, confirming that the induction parameters meet preset conditions.
In one possible example, the sensing parameter is a motion parameter, and in the acquiring the sensing parameter of the electronic device, the program further includes instructions for:
acquiring sensor data of the electronic equipment at the moment when the motion amplitude of the electronic equipment is smaller than a preset threshold value through a motion sensor of the electronic equipment, wherein the sensor data comprises three components on X, Y, Z three axes in a preset coordinate system;
the program further includes instructions for performing the steps of:
determining an included angle between the touch display screen and the gravity direction according to the three components;
and if the included angle is within a second preset range, confirming that the induction parameters meet preset conditions.
In one possible example, in displaying the first information at a lock screen interface of the electronic device, the program includes instructions for:
acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information currently displayed on the touch display screen in an off state;
determining the display sequence of the first information and the second information according to the first associated information and the second associated information;
and displaying the first information according to the display sequence.
In one possible example, after the determining the display order of the first information and the second information according to the first associated information and the second associated information, the program includes instructions for performing the steps of:
determining a target display format of the first information according to a corresponding relation between a preset display sequence and the display format;
in the aspect of displaying the first information according to the display order, the program includes instructions for:
and displaying the first information according to the target display format and the display sequence.
Referring to fig. 5A, fig. 5A is a schematic structural diagram of a display control apparatus applied to an electronic device according to the present embodiment, the display control apparatus includes a receiving unit 501, an obtaining unit 502, and a display unit 503, wherein,
the receiving unit 501 is configured to receive first information when the electronic device is in a screen-off state;
the obtaining unit 502 is configured to obtain sensing parameters of the electronic device;
the display unit 503 is configured to enter a screen-off display aod mode when the sensing parameter meets a preset condition, display the first information on a screen-locking interface of the electronic device, and hide the first information when the electronic device does not enter a specified page within a preset time period.
Alternatively, as shown in fig. 5B, fig. 5B is a modified structure of the display control apparatus described in fig. 5A, which may further include a first determination unit 504, compared to fig. 5A, wherein,
when the sensing parameter is a touch parameter, the obtaining unit 502 is specifically configured to:
acquiring touch frequency of a user touching a touch display screen of the electronic equipment;
the first determining unit 504 is configured to determine that the sensing parameter meets a preset condition when the touch frequency is within a first preset range.
Alternatively, as shown in fig. 5C, fig. 5C is a modified structure of the display control apparatus described in fig. 5A, which may further include a second determination unit 505, compared with fig. 5A, wherein,
when the sensing parameter is a motion parameter, the obtaining unit 502 is specifically configured to:
acquiring sensor data of the electronic equipment at the moment when the motion amplitude of the electronic equipment is smaller than a preset threshold value through a motion sensor of the electronic equipment, wherein the sensor data comprises three components on X, Y, Z three axes in a preset coordinate system;
the second determining unit 505 is specifically configured to:
determining an included angle between the touch display screen and the gravity direction according to the three components;
and if the included angle is within a second preset range, confirming that the induction parameters meet preset conditions.
Optionally, in an aspect that the first information is displayed on a screen locking interface of the electronic device, the display unit 503 is specifically configured to:
acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information currently displayed on the touch display screen in an off state;
determining the display sequence of the first information and the second information according to the first associated information and the second associated information;
and displaying the first information according to the display sequence.
Optionally, after determining the display order of the first information and the second information according to the first associated information and the second associated information, the display unit 503 is further configured to:
determining a target display format of the first information according to a corresponding relation between a preset display sequence and the display format;
in the aspect of displaying the first information according to the display order, the display unit 503 is specifically configured to:
and displaying the first information according to the target display format and the display sequence.
It can be seen that, the display control apparatus described in this embodiment of the application, when the electronic device is in the screen-off state, receives the first information, obtains the sensing parameter of the electronic device, if the sensing parameter meets the preset condition, enters the AOD mode, obtains the first associated information corresponding to the first information, obtains the second associated information corresponding to the second information currently displayed on the touch display screen, determines the display order of the first information and the second information according to the first associated information and the second associated information, determines the target display format of the first information according to the corresponding relationship between the preset display order and the display format, displays the first information according to the target display format and the display order, and hides the first information if the electronic device does not enter the designated page within the preset time period, so that the screen-off display can be intelligently controlled, and unnecessary power consumption is reduced, and when a plurality of information is required to be displayed, the plurality of information is orderly displayed.
It can be understood that the functions of each program module of the display control apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
As shown in fig. 6, for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), a vehicle-mounted computer, etc., taking the electronic device as the mobile phone as an example:
fig. 6 is a block diagram illustrating a partial structure of a cellular phone related to an electronic device provided by an embodiment of the present invention. The cellular phone 6000 shown in fig. 6 includes: at least one processor 6011, a memory 6012, communication interfaces (including SIM interface 6014, audio input interface 6015, serial port 6016, and other communication interfaces 6017), a signal processing module 6013 (including receiver 6018, transmitter 6019, LOs6020, and signal processor 6021), and input-output modules (including touch screen display 6022, speakers 6023, microphone 6024, sensors 6025, etc.). Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the mobile phone with reference to fig. 6:
the processor 6011 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 6012 and calling data stored in the memory, thereby integrally monitoring the mobile phone. Alternatively, the processor may integrate an application processor (e.g., CPU, or GPU) that primarily handles operating systems, user interfaces, application programs, and the like, and a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The processor 6011 is configured to perform the following steps:
receiving first information when the electronic equipment is in a screen-off state;
acquiring induction parameters of the electronic equipment;
if the sensing parameters meet preset conditions, entering a screen-off display AOD mode, displaying the first information on a screen-locking interface of the electronic equipment, and if the electronic equipment does not enter a specified page within a preset time period, hiding the first information.
The memory 6012 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The communication interface is used for performing communication connection with an external device, and includes a SIM interface 6014, an audio input interface 6015, a serial interface 6016, and another communication interface 6017.
The input-output module 6010 may include a touch display screen 6022, a speaker 6023, a microphone 6024, a sensor 6025, etc., and the sensor 6025 may include a light sensor, a motion sensor, a camera, and other sensors. Specifically, the light sensor may include an environment sensor and a proximity sensor, wherein the environment sensor may detect an ambient light brightness value of an environment where the electronic device is located, and the proximity sensor may turn off the touch screen and/or the backlight when the mobile phone moves to the ear. The motion sensor may include, for example, an acceleration sensor that can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, be used for applications that recognize the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like, and a gravity sensor that can detect the acceleration value of gravity.
The signal processing module 6013 is configured to process a signal received by the mobile phone from an external device and send the signal to the external device, where the external device may be a base station, for example, the receiver 6018 is configured to receive the signal sent by the external device and transmit the signal to the signal processor 6021, and the transmitter 6019 is configured to transmit the signal output by the signal processor 6021.
In the embodiments shown in fig. 1B, fig. 2A, or fig. 3, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiments shown in fig. 4 and fig. 5A to fig. 5C, the functions of the units may be implemented based on the structure of the mobile phone.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute part or all of the steps of any one of the display control methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the display control methods as set forth in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A display control method is applied to an electronic device, and the method comprises the following steps:
receiving first information when the electronic equipment is in a screen-off state;
acquiring induction parameters of the electronic equipment;
if the induction parameters meet preset conditions, entering a screen-off display AOD mode, displaying second information and the first information on a screen-locking interface of the electronic equipment, and if the electronic equipment does not enter a designated page within a preset time period, hiding the first information; wherein the designated page comprises any one of the following: when a user touches a display area of first information, an application page corresponding to the first information and the electronic equipment receive an unlocking instruction, and an unlocked page and an application page of screen locking application operable in a screen locking state of the electronic equipment are unlocked;
wherein, the displaying the second information and the first information on the screen locking interface of the electronic device includes:
acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information displayed by a touch display screen in a current off state;
determining the display sequence of the first information and the second information according to the first associated information and the second associated information; the display sequence is the sequence of displaying the first information and the second information; wherein the first associated information and the second associated information include at least one of an associated application, an associated user, and a historical interaction record, and when the first associated information and the second associated information include the historical interaction record, the determining the display order of the first information and the second information according to the first associated information and the second associated information includes: acquiring first interaction time between a user and a related application or a related user corresponding to first information recently and second interaction time between the user and a related application or a related user corresponding to second information, and determining a display sequence of the first information and the second information according to the morning and evening of the first interaction time and the second interaction time;
determining target display formats of the first information and the second information according to a corresponding relation between a preset display sequence and the display formats;
and displaying the first information and the second information according to the target display format and the display sequence, wherein the first information and the second information are displayed according to different display formats, the display format of the first information comprises one of all contents of the display information, part of contents containing key fields in the display information, titles of the display information and marks corresponding to the display information, and the display format of the second information comprises the other one of all contents of the display information, part of contents containing key fields in the display information, titles of the display information and marks corresponding to the display information.
2. The method of claim 1, wherein the sensing parameter is a touch parameter, and the obtaining the sensing parameter of the electronic device comprises:
acquiring touch frequency of a user touching a touch display screen of the electronic equipment;
the method further comprises the following steps:
and if the touch frequency is in a first preset range, confirming that the induction parameters meet preset conditions.
3. The method of claim 1, wherein the sensing parameter is a motion parameter, and the obtaining the sensing parameter of the electronic device comprises:
acquiring sensor data of the electronic equipment at the moment when the motion amplitude of the electronic equipment is smaller than a preset threshold value through a motion sensor of the electronic equipment, wherein the sensor data comprises three components on X, Y, Z three axes in a preset coordinate system;
the method further comprises the following steps:
determining an included angle between the touch display screen and the gravity direction according to the three components;
and if the included angle is within a second preset range, confirming that the induction parameters meet preset conditions.
4. A display control apparatus applied to an electronic device, comprising:
the receiving unit is used for receiving first information when the electronic equipment is in a screen-off state;
the acquisition unit is used for acquiring the induction parameters of the electronic equipment;
the display unit is used for entering a screen-off display AOD mode when the induction parameters meet preset conditions, displaying second information and the first information on a screen locking interface of the electronic equipment, and hiding the first information when the electronic equipment does not enter a specified page within a preset time period; wherein the designated page comprises any one of the following: when a user touches a display area of first information, an application page corresponding to the first information and the electronic equipment receive an unlocking instruction, and an unlocked page and an application page of screen locking application operable in a screen locking state of the electronic equipment are unlocked;
the display unit displays second information and the first information on a screen locking interface of the electronic device, and the method includes: acquiring first associated information corresponding to the first information, and acquiring second associated information corresponding to second information displayed by a touch display screen in a current off state; determining a display sequence of the first information and the second information according to the first associated information and the second associated information, wherein the display sequence is the sequence of displaying the first information and the second information; determining target display formats of the first information and the second information according to a corresponding relation between a preset display sequence and the display formats; displaying the first information and the second information according to the target display format and the display sequence, wherein the first information and the second information are displayed according to different display formats, the display format of the first information comprises one of all contents of the display information, part of contents containing key fields in the display information, titles of the display information and marks corresponding to the display information, and the display format of the second information comprises the other one of all contents of the display information, part of contents containing key fields in the display information, titles of the display information and marks corresponding to the display information; wherein the first associated information and the second associated information include at least one of an associated application, an associated user, and a historical interaction record, and when the first associated information and the second associated information include the historical interaction record, the determining the display order of the first information and the second information according to the first associated information and the second associated information includes: acquiring first interaction time between a user and a related application or a related user corresponding to first information recently and second interaction time between the user and a related application or a related user corresponding to second information, and determining a display sequence of the first information and the second information according to the morning and the evening of the first interaction time and the second interaction time.
5. The display control device according to claim 4, wherein the sensing parameter is a touch parameter, and the obtaining unit is specifically configured to:
acquiring touch frequency of a user touching a touch display screen of the electronic equipment;
the display control apparatus further includes a first determination unit configured to:
and when the touch frequency is in a first preset range, confirming that the induction parameters meet preset conditions.
6. The display control device according to claim 4, wherein the sensing parameter is a motion parameter, and the obtaining unit is specifically configured to:
acquiring sensor data of the electronic equipment at the moment when the motion amplitude of the electronic equipment is smaller than a preset threshold value through a motion sensor of the electronic equipment, wherein the sensor data comprises three components on X, Y, Z three axes in a preset coordinate system;
the display control apparatus further includes a second determination unit configured to:
determining an included angle between the touch display screen and the gravity direction according to the three components;
and if the included angle is within a second preset range, confirming that the induction parameters meet preset conditions.
7. An electronic device, comprising: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for the method of any of claims 1-3.
8. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-3.
CN201810444368.5A 2018-05-10 2018-05-10 Display control method and related product Active CN108646970B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810444368.5A CN108646970B (en) 2018-05-10 2018-05-10 Display control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810444368.5A CN108646970B (en) 2018-05-10 2018-05-10 Display control method and related product

Publications (2)

Publication Number Publication Date
CN108646970A CN108646970A (en) 2018-10-12
CN108646970B true CN108646970B (en) 2022-01-04

Family

ID=63754199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810444368.5A Active CN108646970B (en) 2018-05-10 2018-05-10 Display control method and related product

Country Status (1)

Country Link
CN (1) CN108646970B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012153A (en) * 2019-02-22 2019-07-12 华为技术有限公司 It goes out and shields the method and electronic equipment of display
CN112445140A (en) * 2019-09-02 2021-03-05 佛山市顺德区美的电热电器制造有限公司 Control method, control device, household appliance, server and storage medium
CN111124537B (en) * 2019-12-19 2022-11-08 维沃移动通信有限公司 Application starting method and electronic equipment
CN113645329A (en) * 2020-05-11 2021-11-12 Oppo广东移动通信有限公司 Electronic device control method and device, storage medium and electronic device
CN115079804B (en) * 2021-12-09 2023-11-07 荣耀终端有限公司 Control processing method of electronic equipment
CN116055627B (en) * 2022-08-19 2023-11-10 荣耀终端有限公司 Screen-off control method, electronic equipment and storage medium
CN117290047B (en) * 2023-11-27 2024-04-30 深圳市微克科技股份有限公司 GUI display acceleration control method, system and storage medium on wearable product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
CN106951142A (en) * 2017-03-20 2017-07-14 上海与德科技有限公司 Breath screen shows method and device
CN107748640A (en) * 2017-10-31 2018-03-02 维沃移动通信有限公司 One kind puts out screen display methods and mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104322040B (en) * 2012-06-29 2016-04-06 宇龙计算机通信科技(深圳)有限公司 The management method of terminal and notification message
US8774770B2 (en) * 2012-10-18 2014-07-08 Google Inc. Methods and devices for prioritizing message threads
CN103853433B (en) * 2014-04-01 2018-06-01 联想(北京)有限公司 Notification message reminding method and notification message suggestion device
CN104954545A (en) * 2014-06-18 2015-09-30 腾讯科技(深圳)有限公司 Information display method and terminal
US9953017B2 (en) * 2015-05-05 2018-04-24 International Business Machines Corporation Displaying at least one categorized message
CN106527896B (en) * 2016-10-31 2020-01-07 维沃移动通信有限公司 Information display method in screen-off state and mobile terminal
CN106933441A (en) * 2017-01-24 2017-07-07 珠海市魅族科技有限公司 A kind of notification message display methods and system
CN107577394A (en) * 2017-08-29 2018-01-12 努比亚技术有限公司 A kind of message treatment method, equipment and computer-readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
CN106951142A (en) * 2017-03-20 2017-07-14 上海与德科技有限公司 Breath screen shows method and device
CN107748640A (en) * 2017-10-31 2018-03-02 维沃移动通信有限公司 One kind puts out screen display methods and mobile terminal

Also Published As

Publication number Publication date
CN108646970A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN108646970B (en) Display control method and related product
CN108182043B (en) Information display method and mobile terminal
CN107967129B (en) Display control method and related product
CN108920059B (en) Message processing method and mobile terminal
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN111597008A (en) Popup management method, popup management device, terminal and storage medium
US10191645B2 (en) Controlling a touch panel display during scrolling operations
CN106921791B (en) Multimedia file storage and viewing method and device and mobile terminal
CN109085968B (en) Screen capturing method and terminal equipment
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN108833779B (en) Shooting control method and related product
CN112764608B (en) Message processing method, device, equipment and storage medium
CN112163406B (en) Interactive message display method and device, computer equipment and storage medium
WO2021083091A1 (en) Screenshot capturing method and terminal device
CN109857297B (en) Information processing method and terminal equipment
EP4057137A1 (en) Display control method and terminal device
CN111083039B (en) Message unread mark processing method and device, storage medium and terminal
CN108762613B (en) State icon display method and mobile terminal
CN110806826A (en) Information display method and device and electronic equipment
CN105653165A (en) Method and device for regulating character display
CN111324268A (en) Information reminding method and electronic equipment
EP3731505A1 (en) Dialing method and mobile terminal
CN110309003B (en) Information prompting method and mobile terminal
CN109067975B (en) Contact person information management method and terminal equipment
CN109194810B (en) Display control method and related product

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
GR01 Patent grant
GR01 Patent grant