CN107122117B - Notification expansion method and device, computer device and computer readable storage medium - Google Patents

Notification expansion method and device, computer device and computer readable storage medium Download PDF

Info

Publication number
CN107122117B
CN107122117B CN201710339872.4A CN201710339872A CN107122117B CN 107122117 B CN107122117 B CN 107122117B CN 201710339872 A CN201710339872 A CN 201710339872A CN 107122117 B CN107122117 B CN 107122117B
Authority
CN
China
Prior art keywords
touch operation
notification
terminal
notification message
display
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
CN201710339872.4A
Other languages
Chinese (zh)
Other versions
CN107122117A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710339872.4A priority Critical patent/CN107122117B/en
Publication of CN107122117A publication Critical patent/CN107122117A/en
Application granted granted Critical
Publication of CN107122117B publication Critical patent/CN107122117B/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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a notification unfolding method, which comprises the following steps: receiving touch operation of a pressure sensor in an area outside a terminal screen; judging whether the touch operation meets a preset condition or not; and if the touch operation meets the preset condition, expanding a notification message corresponding to the touch operation on a notification bar of the display terminal. According to the notification expansion method provided by the embodiment of the invention, the user can complete the expansion of the notification by one hand through the touch operation of the pressure sensor in the area outside the terminal screen, so that the experience of the user is improved. The embodiment of the invention also discloses a notification expansion device, a computer device and a computer readable storage medium.

Description

Notification expansion method and device, computer device and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a notification expansion method and device, a computer device and a computer readable storage medium.
Background
When a user views a notification message by using a terminal, because the notification message is folded by default, if the user needs to view the complete notification message or display an application operation button corresponding to the notification message, the notification message needs to be unfolded.
In the prior art, a user can adopt two fingers to perform pull-down operation at the display position of the notification message so as to expand the notification message, if the user holds the mobile phone with one hand and needs the other hand to be matched with the mobile phone, the operation of expanding the notification message is completed, and if the user operates with one hand, the notification message cannot be expanded.
Disclosure of Invention
The embodiment of the invention provides a notification expansion method and device, a computer device and a computer readable storage medium, which are used for solving the problem that a user cannot expand a notification message through one-hand operation in the prior art.
In order to solve the above problem, a first aspect of embodiments of the present invention provides a notification expansion method, including:
receiving touch operation of a pressure sensor in an area outside a terminal screen;
judging whether the touch operation meets a preset condition or not;
and if the touch operation meets the preset condition, expanding a notification message corresponding to the touch operation on a notification bar of the display terminal.
Further, in the notification spreading method, the receiving a touch operation for a pressure sensor located in an area outside a terminal screen includes:
and receiving touch operation aiming at a pressure sensor arranged on the side surface of the terminal.
Further, in the notification expansion method, if the touch operation satisfies a preset condition, expanding a notification message corresponding to the touch operation on a notification bar of a display terminal includes:
if the touch operation is a sliding operation, expanding a notification message corresponding to a first sliding range defined by the initial position and the end position of the touch operation on a notification bar of a display terminal; or
And if the pressure value corresponding to the touch operation is larger than or equal to a first preset pressure threshold value, expanding a notification message corresponding to the position of the touch operation on a notification bar of the display terminal.
Further, in the above notification expansion method, after expanding the notification message corresponding to the first sliding range defined by the start position and the end position of the touch operation on the notification bar of the display terminal, the notification expansion method further includes:
and if the pressure value corresponding to the touch operation is larger than or equal to a second preset pressure threshold value, entering an interface of an application program corresponding to the notification message.
Further, in the above notification expansion method, after the notification message corresponding to the first sliding range defined by the start position and the end position of the touch operation on the notification bar of the expansion display terminal, the method includes:
and unfolding a notification message corresponding to a second sliding range after a first sliding range defined by the starting position and the ending position of the touch operation on a notification bar of the display terminal, and folding and displaying the notification message corresponding to the first sliding range.
An embodiment of the present invention provides a computer apparatus, which includes a processor, and the processor is configured to implement the steps of any one of the above notification expansion methods when executing a computer program stored in a memory.
Embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program or computer instructions, which when executed by a processor, implement the steps of any of the above-described notification expansion methods.
The embodiment of the invention provides a notification unfolding device which is applied to a terminal and comprises:
the receiving module is used for receiving touch operation of a pressure sensor in an area outside a terminal screen;
the judging module is used for judging whether the touch operation meets a preset condition;
and the display module is used for expanding a notification message corresponding to the touch operation on a notification bar of the display terminal if the touch operation meets a preset condition.
Further, in the notification spreading apparatus, the receiving module is specifically configured to receive a touch operation directed to a pressure sensor mounted on a side surface of the terminal.
Further, in the notification expansion apparatus, the display module is specifically configured to expand, if the touch operation is a sliding operation, a notification message corresponding to a first sliding range defined by a start position and an end position of the touch operation on a notification bar of a display terminal; or if the pressure value corresponding to the touch operation is larger than or equal to a first preset pressure threshold, expanding a notification message corresponding to the position of the touch operation on a notification bar of the display terminal.
Further, in the notification expansion apparatus, the display module is further configured to, after expanding a notification message corresponding to a first sliding range defined by a start position and an end position of the touch operation on a notification bar of the display terminal, enter an interface of an application program corresponding to the notification message if a pressure value corresponding to the touch operation is greater than or equal to a second preset pressure threshold value.
Further, in the notification expansion apparatus, the display module is further configured to expand a notification message on a notification bar of a display terminal, the notification message corresponding to a second sliding range after a first sliding range defined by a start position and an end position of the touch operation, and fold and display the notification message corresponding to the first sliding range.
The embodiment of the invention provides a notification expansion method and device, a computer device and a computer readable storage medium, wherein the notification expansion method comprises the following steps: receiving touch operation of a pressure sensor in an area outside a terminal screen; judging whether the touch operation meets a preset condition or not; and if the touch operation meets the preset condition, expanding a notification message corresponding to the touch operation on a notification bar of the display terminal. According to the notification expansion method provided by the embodiment of the invention, the user can finish the expansion of the notification message by one hand through the operation of the pressure sensor in the area outside the terminal screen, so that the experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a notification expansion method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal display interface provided in an embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal display interface provided in an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal display interface provided in an embodiment of the present invention;
FIG. 5 is a functional block diagram of a notification deploying device according to an embodiment of the present invention.
Detailed Description
In order to enable a user to expand a notification message through one-hand operation and improve the experience of the user, the embodiment of the invention provides a notification expansion method and device, a computer device and a computer readable storage medium.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments, not all embodiments, of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without any creative efforts shall fall within the protection scope of the embodiments of the present invention.
Example 1:
fig. 1 is a flowchart of a notification expansion method according to an embodiment of the present invention, where the notification expansion method includes the following steps:
s101: and receiving touch operation aiming at a pressure sensor positioned in an area outside a terminal screen.
The notification expansion method provided by the embodiment of the invention is applied to a terminal, the terminal can be a mobile phone, a PC, a tablet computer, a Personal Communication System (PCS), a Personal Digital Assistant (PDA) and the like, for the core concept of the embodiment of the invention, the mobile phone can fully exert the advantages of the embodiment of the invention, but the mobile phone is not the only expression form of the terminal of the embodiment of the invention, and is only mobile equipment with a notification display function.
The area outside the terminal screen is provided with a pressure sensor, and the terminal can receive the operation of a user through the pressure sensor, wherein the pressure sensor can be arranged on the left side or the right side of the terminal shell, the pressure sensors can be arranged on two sides of the terminal shell, can be arranged on the left side frame or/and the right side frame of the terminal screen, and can also be arranged below the terminal screen and positioned on one side of the terminal shell, which does not face the user, and the like.
For example, a pressure sensor is installed at the right side of the terminal housing, and when a user has an operation at the right side of the terminal housing, the terminal can receive the user operation through the pressure sensor. The touch operation may be a slide operation, or a click operation, or a double click operation or a press operation.
S102: and judging whether the touch operation meets a preset condition.
The terminal is pre-expanded and stored with a preset condition aiming at the notification, after the terminal receives the touch operation, whether the touch operation meets the preset condition or not can be judged, and corresponding operation is carried out according to a judgment result.
For example, when the touch operation corresponding to the unfolding notification is the sliding operation, the preset condition saved in advance by the terminal may be one or more of a time threshold of the sliding operation, an effective area of the sliding operation, a pressure threshold of the sliding operation, and the like, and when the touch operation corresponding to the unfolding notification is the pressing operation, the preset condition saved in advance may be one or more of a time threshold of the pressing, a pressure threshold of the pressing, and the like. Specifically, after the terminal identifies the touch operation and determines that the touch operation is a target touch operation for notifying expansion, whether the touch operation meets the preset condition or not can be judged according to a preset condition corresponding to the target touch operation which is locally pre-stored.
S103: and if the touch operation meets the preset condition, expanding a notification message corresponding to the touch operation on a notification bar of the display terminal.
The terminal can judge whether the touch operation meets a preset condition according to the touch operation, and execute corresponding operation according to a judgment result.
And if the terminal judges that the touch operation meets the preset condition, expanding and displaying a notification message corresponding to the touch operation on a notification bar of the terminal, namely expanding and displaying the corresponding notification message hidden in the notification bar by default. And if the notification messages corresponding to the sliding operation on the notification bar of the terminal are determined to be at least two. The terminal can expand the content of the at least two notification messages, or the terminal can display prompt information to prompt the user to reselect, or display prompt information for the user to select, the user can select one or more notification messages, and the terminal expands and displays the corresponding notification messages according to the selection of the user.
The determining of the notification message corresponding to the touch operation on the notification bar of the terminal may be that the terminal determines a projection area of the touch operation on a display screen of the terminal, identifies the notification message of which the display area is located in the projection area, and determines the notification message as the notification message corresponding to the touch operation on the notification bar of the terminal.
The notification message includes: news notification messages, incoming call notification messages, short message reception notification messages, alarm clock notification messages, calendar reminder notification messages, and the like. The notification message may also be a notification message pushed by application software of the terminal.
S104: and if the touch operation does not meet the preset condition, not expanding and displaying the notification message corresponding to the touch operation on the notification bar.
And if the terminal judges that the touch operation does not meet the preset condition, not expanding and displaying a notification message corresponding to the touch operation on the notification bar.
The notification expansion method provided by the embodiment of the invention can be only applied to the screen locking interface of the terminal and also can be only applied to the non-screen locking interface of the terminal, but in order to improve the experience of a user, the method can be applied to the screen locking interface of the terminal and the non-screen locking interface of the terminal.
According to the notification spreading method provided by the embodiment of the invention, a user can finish spreading the notification by one hand through the operation of the pressure sensor positioned in the area outside the terminal screen, so that the experience of the user is improved.
Example 2:
to further improve the experience of the user, on the basis of the notification expansion method described in embodiment 1, in embodiment 2 of the present invention, the receiving a touch operation for a pressure sensor located in an area outside a terminal screen includes:
and receiving touch operation aiming at a pressure sensor arranged on the side surface of the terminal.
Install pressure sensors in the terminal side, can avoid the maloperation effectively, further improve user's experience and feel.
Specifically, the pressure sensor may be installed on the left side or the right side of the terminal housing, and the pressure sensor may be installed on both sides of the terminal housing.
To be described with a specific example, fig. 2 is a schematic diagram of a terminal display interface provided in an embodiment of the present invention, and as shown in fig. 2, a notification message displayed on a terminal display screen includes: the method comprises a notification message of 'entering port and throwing …', a notification message of 'ten says today', a notification message of 'assistant science … …', a notification message of 'basket cooperation penalty … …' and a notification message of 'direct broadcasting … …', wherein a pressure sensor is installed on the side surface of a terminal shell, when the terminal receives that a touch operation on the side surface of the terminal shell is a sliding operation, the sliding range corresponding to the sliding operation is determined as shown in fig. 2, the notification message of 'entering port and throwing …' and the notification message of 'ten says today' on a notification bar of the terminal are determined, and the sliding operation is judged to meet preset conditions, and then the content of the notification message of 'entering port and throwing …' and the content of the notification message of 'ten says today' are expanded and displayed.
Because the notification messages corresponding to the sliding operation are the "port entry …" notification message and the "this day of ten" notification message, the terminal may display the contents of the two notification messages, the terminal may also display the prompt message to prompt the user to reselect, or display the prompt message for the user to select the two notification messages, the user may select one or two notification messages, and the terminal performs the display of the notification messages according to the selection of the user.
In the embodiment of the invention, the pressure sensor is arranged on the side surface of the terminal, so that misoperation is effectively avoided, and the experience of a user is further improved.
Example 3:
to further reduce the user operations, on the basis of the notification expansion method in each of the above embodiments, in embodiment 3 of the present invention, if the touch operation satisfies a preset condition, expanding a notification message corresponding to the touch operation on a notification bar of a display terminal includes:
if the touch operation is a sliding operation, expanding a notification message corresponding to a first sliding range defined by the initial position and the end position of the touch operation on a notification bar of a display terminal; or
And if the pressure value corresponding to the touch operation is larger than or equal to a first preset pressure threshold value, expanding a notification message corresponding to the position of the touch operation on a notification bar of the display terminal.
In the embodiment of the invention, if the touch operation received by the terminal is a sliding operation, the sliding range defined by the starting position and the ending position of the touch operation is determined, and the notification message for expanding and displaying can be determined according to the sliding range. Specifically, a first projection area of the sliding range on the display screen of the terminal is determined, and the notification message with the display area located in the first projection area is identified, so that the notification message is determined and expanded.
The selecting operation includes: click operation, press operation, and double click operation.
The touch operation of expanding the notification message may be any one of a click operation, a press operation, and a double-click operation. When the terminal receives the touch operation of the expansion notification message, the pressure value of the touch operation can be determined through the pressure sensor, when the pressure value corresponding to the touch operation is greater than or equal to a first preset pressure threshold value, a second projection area of the position of the touch operation on the display screen of the terminal is determined, the notification message of which the display area is located in the second projection area is identified, and therefore the notification message is determined and expanded to be displayed.
In the embodiment of the invention, the notification message can be expanded and displayed by sliding operation or selection operation for the user, so that the operation of the user is further reduced.
Example 4:
in order to further reduce touch operations, on the basis of the notification expansion method in each of the above embodiments, in an embodiment of the present invention, after expanding a notification message corresponding to a first sliding range defined by a start position and an end position of a touch operation on a notification bar of a display terminal, the notification expansion method further includes:
and if the pressure value corresponding to the touch operation is larger than or equal to a second preset pressure threshold value, entering an interface of an application program corresponding to the notification message. The application program is an application program installed on the terminal.
The terminal can complete different operations on the notification message by utilizing different pressure values corresponding to the touch operations, so that when the touch operations are sliding operations, the terminal can also identify the pressure value generated in the sliding process, if the pressure value generated in the sliding operations is greater than or equal to a second preset pressure threshold value, an application program interface corresponding to the notification message can be entered, and the touch operations can be completed by one hand in the process, so that the operations of a user are further reduced.
The first preset pressure threshold and the second preset pressure threshold may be the same or different, but because different operations of expanding and displaying the notification message and entering the interface of the application program corresponding to the notification message are performed according to the pressure value, the first preset pressure threshold and the second preset pressure threshold are different in a normal situation, and the second preset pressure threshold is greater than the first preset pressure threshold, so that it is ensured that the interface of the application program corresponding to the notification message is performed after the notification message is expanded and displayed.
The pressure value generated during the sliding operation may be an average value of the pressure values generated during the sliding operation, a maximum pressure value generated during the sliding operation, a minimum pressure value, or the like.
The process of entering the interface of the application program corresponding to the notification message belongs to the prior art, and is not described in detail in the embodiments of the present invention.
To explain by a specific example, fig. 3 is a schematic diagram of a terminal display interface provided in an embodiment of the present invention, as shown in fig. 3, and as shown in fig. 3, a notification message displayed on a terminal display screen includes: a "port entry …" notification message, a "ten today" notification message, a "vice leader … …" notification message, a "basket conjunction penalty … …" notification message, and a "direct broadcast … …" notification message. The terminal receives a touch operation of a user on a pressure sensor installed on the side surface of the terminal, the selection operation is a sliding operation as shown in fig. 3, a sliding range defined by a starting position and an ending position of the sliding operation is determined as shown in fig. 3, if a first notification message corresponding to the sliding range is a "port-in …" notification message, and a pressure value corresponding to the sliding operation is greater than a second preset pressure threshold value in the sliding process of the sliding range, an interface of an application program corresponding to the "port-in …" notification message is entered. And if the sliding range has no corresponding first notification message, not doing any operation.
As shown in fig. 3, if the notification message corresponding to the sliding range includes a "port entry …" notification message and a "this day of ten" notification message, the determination may be performed according to an overlapping area between a display area of the notification message and a projection area corresponding to the sliding range on the display screen, identify an overlapping area between the projection area corresponding to the sliding range and the display area of each notification message, and use the notification message corresponding to the display area with the largest overlapping area as the first notification message; or, identifying an overlapping area between the projection area corresponding to the position and the display area of each notification message, identifying whether each overlapping area is larger than a preset threshold, taking the notification message corresponding to the display area with the overlapping area larger than the preset threshold as a first notification message, if there are two or more first notification messages, displaying a prompt message to prompt the user to reselect, or displaying a prompt message for the user to select from the two or more notification messages, the user can select one first notification message, and the terminal enters an interface of an application program corresponding to the first notification message according to the first notification message selected by the user.
According to the notification expansion method provided by the embodiment of the invention, the user can enter the application program interface corresponding to the notification message by one hand through the touch operation of which the pressure value of the pressure sensor in the area outside the terminal screen is greater than or equal to the second preset pressure threshold value, so that the operation of the user is further reduced, and the experience of the user is improved.
Example 5:
in order to further improve the user experience and reduce the touch operations, on the basis of the foregoing embodiments, in an embodiment of the present invention, after a notification message corresponding to a first sliding range defined by a start position and an end position of the touch operation on a notification bar of the expanded display terminal, the method includes:
and unfolding a notification message corresponding to a second sliding range after a first sliding range defined by the starting position and the ending position of the touch operation on a notification bar of the display terminal, and folding and displaying the notification message corresponding to the first sliding range.
After the terminal displays and displays the notification message on the notification bar according to the first sliding range defined by the starting position and the ending position of the touch operation, in order to further reduce the operation of the user, a second sliding range located behind the first sliding range can be determined according to the first sliding range, so that the notification message corresponding to the second sliding range is displayed, and in order to display too much information and influence the view of the user, the notification message corresponding to the first sliding range can be displayed in a folding mode.
Specifically, the terminal may determine the second sliding range according to the current termination position of the sliding operation of the user, where the second sliding range may be a fixed value, for example, a width of a display message, or a value that is the same as the first sliding range. In addition, the second sliding range is adjacent to the first sliding range and is located behind the first sliding range, and specifically, the second sliding range behind the first sliding range may be determined according to the direction of the sliding operation by the user. The second sliding range is located below the first sliding range if the sliding operation is sliding from top to bottom on the terminal side, and the second sliding range is located above the first sliding range if the sliding operation is sliding from bottom to top on the terminal side.
To explain with a specific example, fig. 4 is a schematic diagram of a terminal display interface provided in an embodiment of the present invention, and as shown in fig. 4, a notification message displayed on a terminal display screen includes: the method comprises the steps that a mail notification message, a mobile phone guard notification message, a channel news notification message, a Taobao recommendation notification message and the like are received by a terminal, the sliding operation of a pressure sensor of a region outside a terminal screen of the user is shown in fig. 4, a projection region of a first sliding range defined by a starting position and an ending position of the sliding operation on a display screen is determined, the notification message of which the display region is located in the projection region is identified to have the mail notification message and the mobile phone guard notification message, the notification message corresponding to a second sliding range located behind the first sliding range is determined to be the mobile phone guard notification message as shown in fig. 4, and the mail notification message is located in the first sliding range and is not located in the second sliding range, and then the content of the mail notification message is displayed in a folding mode. The terminal can fold and display the contents of the two notification messages, can display prompt information to prompt the user to reselect, or display prompt information for the user to select from the two or more notification messages, the user can select one or two notification messages, and the terminal can fold and display the notification messages according to the selection of the user
According to the notification expansion method provided by the embodiment of the invention, the user can expand the notification message corresponding to the second sliding range through the touch operation of the pressure sensor in the area outside the terminal screen, and can fold the notification message corresponding to the first sliding range, so that the experience of the user is improved.
Fig. 5 is a functional block diagram of a notification spreading device according to an embodiment of the present invention, and as shown in fig. 5, the notification spreading device includes:
the receiving module 51 is configured to receive a touch operation of a pressure sensor located in an area outside a terminal screen.
The determining module 52 is configured to determine whether the touch operation meets a preset condition.
And the display module 53 is configured to expand a notification message corresponding to the touch operation on a notification bar of the display terminal if the touch operation meets a preset condition.
The display module 53 is further configured to not expand and display the notification message corresponding to the touch operation on the notification bar if the touch operation does not meet the preset condition.
The receiving module 51 is specifically configured to receive a touch operation for a pressure sensor installed on a side surface of the terminal.
The display module 53 is specifically configured to, if the touch operation is a sliding operation, expand a notification message corresponding to a first sliding range defined by a start position and an end position of the touch operation on a notification bar of a display terminal; or if the pressure value corresponding to the touch operation is larger than or equal to a first preset pressure threshold, expanding a notification message corresponding to the position of the touch operation on a notification bar of the display terminal.
The display module 53 is further configured to, after expanding a notification message corresponding to a first sliding range defined by a starting position and an ending position of the touch operation on a notification bar of the display terminal, enter an interface of an application program corresponding to the notification message if a pressure value corresponding to the touch operation is greater than or equal to a second preset pressure threshold.
The display module 53 is further configured to expand a notification message corresponding to a second sliding range after a first sliding range defined by a start position and an end position of the touch operation on a notification bar of the display terminal, and fold and display the notification message corresponding to the first sliding range.
The embodiment of the present invention further provides a computer device, where the computer device includes a processor, and the processor is configured to implement the steps of the notification expansion method in any one of the above embodiments when executing the computer program stored in the memory.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program or computer instructions are stored, where the computer program or computer instructions, when executed by a processor, implement the steps of the notification expansion method in any one of the above embodiments.
The embodiment of the invention provides a notification expansion method and device, a computer device and a computer readable storage medium, wherein the method comprises the following steps: receiving touch operation of a pressure sensor in an area outside a terminal screen; judging whether the touch operation meets a preset condition or not; and if the touch operation meets the preset condition, expanding a notification message corresponding to the touch operation on a notification bar of the display terminal. According to the method for unfolding the notification, the user can finish unfolding the notification by one hand through touch operation of the pressure sensor in the area outside the terminal screen, and the experience of the user is improved.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the embodiments of the present invention and their equivalents, the embodiments of the present invention are also intended to encompass such modifications and variations.

Claims (5)

1. A notification expansion method is applied to a terminal, and is characterized by comprising the following steps:
receiving touch operation of a pressure sensor in an area outside a terminal screen when the terminal displays a notification bar comprising a notification message;
judging whether the touch operation meets a preset condition or not;
if the touch operation meets a preset condition, expanding a notification message corresponding to the touch operation on a notification bar of a display terminal;
the receiving touch operation of a pressure sensor in an area outside a terminal screen comprises:
receiving touch operation aiming at a pressure sensor arranged on the side surface of a terminal;
the method for determining the notification message corresponding to the touch operation on the notification bar of the terminal comprises the following steps: the terminal determines a projection area of the touch operation on a display screen of the terminal, identifies a notification message of which the display area is located in the projection area, and determines the notification message as a notification message corresponding to the touch operation on a notification bar of the terminal;
if the touch operation meets a preset condition, expanding a notification message corresponding to the touch operation on a notification bar of a display terminal comprises:
if the touch operation is a sliding operation, expanding a notification message corresponding to a first sliding range defined by the initial position and the end position of the touch operation on a notification bar of a display terminal;
after the notification message corresponding to the first sliding range defined by the starting position and the ending position of the touch operation on the notification bar of the display terminal is expanded, the notification expansion method further comprises the following steps:
and if the pressure value corresponding to the touch operation is larger than or equal to a second preset pressure threshold value, entering an interface of an application program corresponding to the notification message.
2. The notification expansion method according to claim 1, wherein after the notification message corresponding to the first sliding range defined by the start position and the end position of the touch operation on the notification bar of the expansion display terminal, comprising:
and unfolding a notification message corresponding to a second sliding range after a first sliding range defined by the starting position and the ending position of the touch operation on a notification bar of the display terminal, and folding and displaying the notification message corresponding to the first sliding range.
3. A computer device, characterized by: the computer arrangement comprises a processor for implementing the steps of the notification expansion method according to any of claims 1-2 when executing a computer program stored in a memory.
4. A computer-readable storage medium having stored thereon a computer program or computer instructions, characterized in that: the computer program or computer instructions, when being executed by a processor, carry out the steps of the notification expansion method according to any of the claims 1-2.
5. A notification expansion device, comprising:
the terminal comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving touch operation of a pressure sensor positioned in an area outside a terminal screen when the terminal displays a notification bar comprising a notification message;
the judging module is used for judging whether the touch operation meets a preset condition;
the display module is used for expanding a notification message corresponding to the touch operation on a notification bar of the display terminal if the touch operation meets a preset condition;
the receiving module is specifically used for receiving touch operation aiming at a pressure sensor arranged on the side face of the terminal;
the method for determining the notification message corresponding to the touch operation on the notification bar of the terminal comprises the following steps: the terminal determines a projection area of the touch operation on a display screen of the terminal, identifies a notification message of which the display area is located in the projection area, and determines the notification message as a notification message corresponding to the touch operation on a notification bar of the terminal;
the display module is specifically configured to, if the touch operation is a sliding operation, expand a notification message corresponding to a first sliding range defined by a starting position and an ending position of the touch operation on a notification bar of a display terminal; the display module is further configured to enter an interface of an application program corresponding to the notification message if a pressure value corresponding to the touch operation is greater than or equal to a second preset pressure threshold after the notification message corresponding to the first sliding range defined by the start position and the end position of the touch operation on the notification bar of the display terminal is expanded.
CN201710339872.4A 2017-05-15 2017-05-15 Notification expansion method and device, computer device and computer readable storage medium Active CN107122117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710339872.4A CN107122117B (en) 2017-05-15 2017-05-15 Notification expansion method and device, computer device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710339872.4A CN107122117B (en) 2017-05-15 2017-05-15 Notification expansion method and device, computer device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107122117A CN107122117A (en) 2017-09-01
CN107122117B true CN107122117B (en) 2021-04-20

Family

ID=59727528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710339872.4A Active CN107122117B (en) 2017-05-15 2017-05-15 Notification expansion method and device, computer device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107122117B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038362B (en) * 2017-11-30 2021-08-06 努比亚技术有限公司 Unread information display method and device and computer readable storage medium
CN107885991A (en) * 2017-11-30 2018-04-06 努比亚技术有限公司 A kind of locking screen interface control method, mobile terminal and computer-readable recording medium
CN109032444A (en) * 2018-07-13 2018-12-18 维沃移动通信有限公司 A kind of notification message display methods and terminal device
CN110351422B (en) * 2019-05-27 2021-03-23 华为技术有限公司 Notification message preview method, electronic equipment and related products
CN114610194A (en) * 2020-11-23 2022-06-10 北京小米移动软件有限公司 Touch control method, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423875A (en) * 2013-09-11 2015-03-18 华为技术有限公司 Information display method and device
CN105706428A (en) * 2013-07-19 2016-06-22 三星电子株式会社 Method of providing message and user device supporting the same
CN106412339A (en) * 2016-11-29 2017-02-15 努比亚技术有限公司 Notification message processing method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150215245A1 (en) * 2014-01-24 2015-07-30 Matthew Christian Carlson User interface for graphical representation of and interaction with electronic messages
CN105335090B (en) * 2015-10-30 2017-03-29 维沃移动通信有限公司 A kind of display packing and electronic equipment
CN105511667A (en) * 2015-11-26 2016-04-20 努比亚技术有限公司 Back touch control mobile terminal and method based on back pressure transducer
CN105607853B (en) * 2015-12-21 2019-10-29 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105706428A (en) * 2013-07-19 2016-06-22 三星电子株式会社 Method of providing message and user device supporting the same
CN104423875A (en) * 2013-09-11 2015-03-18 华为技术有限公司 Information display method and device
CN106412339A (en) * 2016-11-29 2017-02-15 努比亚技术有限公司 Notification message processing method and apparatus

Also Published As

Publication number Publication date
CN107122117A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN107122117B (en) Notification expansion method and device, computer device and computer readable storage medium
EP3316105B1 (en) Instant message processing method and device
CN106951163B (en) Display control method and device
EP3337146B1 (en) Method and apparatus for displaying notification message
EP3046016A1 (en) Method and apparatus for switching display mode
CN108829542B (en) Mobile terminal, control method thereof and storage medium
EP3252584B1 (en) Method, apparatus and device for activating task management interface
EP2690547A1 (en) Terminal and method of sharing a handwriting therein
US11669195B2 (en) Method and apparatus for displaying operation interface and touchscreen terminal
CN108536370B (en) Input interface switching method and device and electronic equipment
US20200076485A1 (en) Wireless communication device and method for switching antenna
CN107506246A (en) Information displaying method, device and computer-readable recording medium
CN111917628B (en) Message processing method and device and electronic equipment
CN111767012A (en) Screen projection method and device
CN106790581A (en) Application data processing method, device and terminal
CN107656677B (en) Method for adjusting position of application icon, storage medium and mobile terminal
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal
CN113709306A (en) Session processing method and device and electronic equipment
CN112929254A (en) Message processing method and device and electronic equipment
CN111194435A (en) Interface switching method, device, terminal and computer readable medium
CN108769376B (en) Status bar display method, device, terminal and computer-readable storage medium
CN107273173B (en) Fingerprint sensor control method and device and storage medium
CN115567901A (en) Method, device, equipment and storage medium for operating user identity identification card
CN113485632A (en) Touch control method for folding screen, terminal device and computer readable storage medium
CN109298910B (en) Window calling method, mobile terminal and computer readable storage medium

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