CN110958350B - Notification message processing method and electronic equipment - Google Patents
Notification message processing method and electronic equipment Download PDFInfo
- Publication number
- CN110958350B CN110958350B CN201911102753.2A CN201911102753A CN110958350B CN 110958350 B CN110958350 B CN 110958350B CN 201911102753 A CN201911102753 A CN 201911102753A CN 110958350 B CN110958350 B CN 110958350B
- Authority
- CN
- China
- Prior art keywords
- notification message
- electronic device
- message
- input
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 59
- 230000004044 response Effects 0.000 claims abstract description 15
- 238000012545 processing Methods 0.000 claims description 20
- 230000033001 locomotion Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 10
- 230000003993 interaction Effects 0.000 abstract description 10
- 238000004891 communication Methods 0.000 abstract description 7
- 230000000875 corresponding effect Effects 0.000 description 48
- 238000010586 diagram Methods 0.000 description 18
- 230000001276 controlling effect Effects 0.000 description 13
- 230000000694 effects Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 238000007667 floating Methods 0.000 description 4
- 230000005484 gravity Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
- H04M1/72472—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a processing method of a notification message and electronic equipment, relates to the technical field of communication, and aims to solve the problems that the notification message cannot be conveniently checked and the man-machine interaction performance is poor in the prior art. The method comprises the following steps: receiving a first message; displaying a first notification message according to the first message, and controlling the first notification message to move along a first direction, wherein the first notification message is a notification message of the first message, and the first direction comprises at least one of the following: presetting a direction and a rotation direction of the electronic equipment; in response to a first input of the first notification message by the user, a first operation corresponding to the first input is performed on the first notification message.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method for processing a notification message and electronic equipment.
Background
With the development of mobile communication technology, electronic devices are more and more widely used. For example, the electronic device may receive messages, such as push messages, buddy messages, and the like, related to an application in the electronic device through the application.
Generally, after receiving a message, an electronic device may notify a user of the receipt of a new message through a notification message corresponding to the message. And the electronic device can store the notification message in a storage space corresponding to the status bar of the electronic device. After a user operates on the status bar (e.g., performs a pull-down operation on the status bar), the electronic device may display a notification message in the memory space.
However, since the status bar of the electronic device is usually located in the top area of the screen of the electronic device, as the screen of the electronic device is larger, when the user holds the electronic device with one hand, if the user needs to view the notification message in the status bar of the electronic device, the user may not touch the status bar with his finger, so that the user may not view the notification message conveniently, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a processing method of a notification message and electronic equipment, and aims to solve the problems that the notification message cannot be conveniently checked and the man-machine interaction performance is poor in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for processing a notification message, where the method is applied to an electronic device, and the method may include:
receiving a first message; the method includes displaying a first notification message according to a first message, controlling the first notification message to move in a first direction, and performing a first operation corresponding to a first input on the first notification message in response to the first input of the first notification message by a user. Wherein the first notification message is a notification message of the first message, and the first direction includes at least one of: the preset direction and the rotation direction of the electronic equipment.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a receiving unit, a display unit, a control unit, and an execution unit. The receiving unit is used for receiving a first message; the display unit is used for displaying a first notification message according to the first message received by the receiving unit, wherein the first notification message is a notification message of the first message; a control unit for controlling the first notification message displayed by the display unit to move along a first direction, the first direction including at least one of: presetting a direction and a rotation direction of the electronic equipment; and the execution unit is used for responding to a first input of the first notification message displayed by the display unit by a user and executing a first operation corresponding to the first input on the first notification message.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the electronic device implements the steps of the method for processing a notification message as in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for processing a notification message as in the first aspect.
In an embodiment of the present invention, after receiving a first message, the electronic device may display a first notification message corresponding to the first message according to the first message, and control the first notification message to move in a first direction (a preset direction or a rotation direction of the electronic device), and after a user performs a first input on the first notification message, the electronic device may perform a first operation corresponding to the first input on the first notification message in response to the first input. With this arrangement, since the electronic device can control the first notification message to move in the first direction, the display position of the first notification message on the screen of the electronic device is variable. Therefore, under the condition that the user holds the electronic equipment by one hand, when the first notification message moves to the single-hand operation area on the screen of the electronic equipment, the user can operate the first notification message by one hand, so that the convenience of operating the first notification message when the user holds the electronic equipment by one hand can be improved, and the man-machine interaction performance is improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a notification message processing method according to an embodiment of the present invention;
fig. 3 is one of schematic interface diagrams of an application of a notification message processing method according to an embodiment of the present invention;
fig. 4 is a second schematic interface diagram of an application of a notification message processing method according to an embodiment of the present invention;
fig. 5 is a third schematic interface diagram of an application of a notification message processing method according to an embodiment of the present invention;
fig. 6 is a second schematic diagram illustrating a notification message processing method according to an embodiment of the present invention;
fig. 7 is a fourth schematic interface diagram of an application of a notification message processing method according to an embodiment of the present invention;
fig. 8 is a third schematic diagram illustrating a method for processing a notification message according to an embodiment of the present invention;
fig. 9 is a fourth schematic diagram illustrating a notification message processing method according to an embodiment of the present invention;
fig. 10 is a fifth schematic interface diagram of an application of a notification message processing method according to an embodiment of the present invention;
fig. 11 is a sixth schematic interface diagram of an application of a notification message processing method according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 13 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 14 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," etc. herein are used to distinguish between different objects and are not used to describe a particular order of objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of notification messages means two or more notification messages, and the like.
The top area, the bottom area, the upper area, the lower area, the left area, the right area and the like in the embodiment of the present invention are exemplified by the user's input on the screen of the electronic device when the screen of the electronic device faces the user, that is, the top area, the bottom area, the upper area, the lower area, the left area, the right area and the like are all relative to the screen of the electronic device by the user's input on the screen of the electronic device.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the notification message processing method provided by the embodiment of the present invention, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system. For example, an application program that receives a message in an embodiment of the present invention. It will be appreciated that the electronic device may specifically receive messages via some application. For example, the electronic device may receive, through the communication application program, a chat message triggered and sent by a friend of the user, or the electronic device may receive, through the shopping application program, a merchandise push message triggered and sent by a merchant, or the like.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
Generally, an application may include two parts, one part refers to a service (service) running in a background of an electronic device, and is configured to detect an input of a user for the application, and perform a corresponding action in response to the input, for example, if an input of a notification message corresponding to the application by the user is detected, message content corresponding to the notification message may be displayed; the other part refers to content displayed on a screen of the electronic device, such as a notification message displayed by the electronic device or message content corresponding to the notification message.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for processing the notification message provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the method for processing the notification message may run based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the notification message processing method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the notification message processing method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the notification message processing method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe a processing method of a notification message provided by the embodiment of the present invention.
Generally, when an electronic device receives a message through an application, the electronic device may generate a notification message corresponding to the message according to the message and display the notification message to prompt a user that the application receives a new message. Specifically, in one scenario, the electronic device may prompt the user to receive a friend message and a dynamic friend message in an interactive application such as a communication application and a game application when receiving the message. In another scenario, the electronic device may prompt the user for push messages in other applications, such as a news application, a shopping application, etc., when the messages are received. In yet another scenario, the electronic device may prompt the user for receipt of system update messages upon receipt of such messages.
In the embodiment of the present invention, after the electronic device receives a new message, the electronic device may generate a notification message corresponding to the message according to the message, and display the notification message on a screen of the electronic device (specifically, a preset position on the screen). Then, the electronic device may control the notification message to move on the screen in a first direction (specifically, a preset direction or a rotation direction of the electronic device), and during the movement of the notification message, the user may perform an input on the notification message to trigger the electronic device to perform a corresponding operation on the notification message. For example, the electronic device may display the content of the message corresponding to the notification message, or the electronic device may delete the notification message, or the electronic device may store the notification message in a status bar of the electronic device (it is understood that the status bar may be used to store the notification message of the unread message in the electronic device). With this arrangement, since the electronic device can control the first notification message to move in the first direction, the display position of the first notification message on the screen of the electronic device is variable. Therefore, under the condition that the user holds the electronic equipment by one hand, when the first notification message moves to the single-hand operation area on the screen of the electronic equipment, the user can operate the first notification message by one hand, so that the convenience of operating the first notification message when the user holds the electronic equipment by one hand can be improved, and the man-machine interaction performance is improved.
Further, since the electronic device can control the notification message to move along the rotation direction of the electronic device, that is, when the user triggers the electronic device to rotate in a certain direction, the electronic device can control the notification message to move along the direction. Therefore, the user can trigger the electronic equipment to change the moving direction of the notification message on the screen by triggering the electronic equipment to rotate, so that the notification message is controlled to move to any position required by the user, and the flexibility of displaying the notification message can be improved. Moreover, the user can trigger the electronic equipment to move the notification message to any area required by the user by triggering the electronic equipment to rotate, so that when the user holds the electronic equipment by one hand, the user can trigger the electronic equipment to move the notification message to the one-hand operation area by triggering the electronic equipment to rotate, and the convenience of operating the notification message when the user holds the electronic equipment by one hand can be further improved.
The following describes an exemplary method for processing a notification message according to an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a method for processing a notification message, which may include S201 to S204 described below.
S201, the electronic equipment receives a first message.
Optionally, in the embodiment of the present invention, the first message may be a social message, for example, a mail, a short message, a friend instant message, a friend dynamic message, or the like; the information can also be push information, for example, push information of goods, current affairs news, video music and other contents can be used; the message may also be a system message, for example, a system update message, a memory clear message, etc.
In the embodiment of the present invention, the electronic device receives the first message, which may specifically be that the electronic device receives the first message through an application program in the electronic device. The application program may be a system application program or a non-system application program. The system application is an application provided as part of implementation of the electronic device, and may specifically be an application provided as a function of implementing the electronic device, such as a setup application, a browser application, and the like; the non-system application is an application that can provide an Internet Protocol Multimedia Subsystem (IMS) connection of its own, and may be an application that is pre-installed in the electronic device or an application that is triggered by a user to be downloaded and installed in the electronic device, such as a communication application, a payment application, and the like.
S202, the electronic equipment displays the first notification message according to the first message.
The first notification message is a notification message of the first message, and the first notification message may be used to prompt the user that the electronic device receives the first message, and specifically may be that the electronic device receives the first message through an application program.
In the embodiment of the present invention, after the electronic device receives the first message, the electronic device may generate a first notification message according to the first message. The electronic device may then display the first notification message in a preset display form at a preset location on a screen of the electronic device.
Optionally, in this embodiment of the present invention, the preset position may be a bottom area or a top area of a screen of the electronic device. Specifically, when the status bar of the electronic device is located in the top area of the screen of the electronic device, the preset position may be the bottom area of the screen of the electronic device, and when the status bar of the electronic device is located in the bottom area of the screen of the electronic device, the preset position may be the top area of the screen of the electronic device, that is, the preset position and the status bar may be located at two ends of the screen of the electronic device, respectively.
Alternatively, the preset display form may be the same as the conventional display form of the notification message (e.g., the display form shown in (a) of fig. 3), or may be different from the conventional display form of the notification message (e.g., the display form shown in (b) of fig. 3). The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, the first notification message is an indication message for indicating that the electronic device receives the first message, the preset position is a bottom area of a screen of the electronic device, and the preset display form is the same as the conventional display form of the notification message. As shown in fig. 3 (a), after the electronic device generates the first notification message according to the first message, the electronic device may display a message prompt box in a bottom area of a screen of the electronic device, where the message prompt box may include the first notification message, for example, "you have a new message" as shown in fig. 3 (a) may be displayed in the message prompt box, and then the user may determine that the electronic device receives a new message, that is, the first message, according to the first notification message in the message prompt box.
Further, in order to facilitate the user to determine the category of the first message and further perform corresponding processing on the first notification message, the message prompt box may further include source information of the first message. The source information may be an application icon of an application program corresponding to or affiliated with the first message, for example, an application icon of a messaging application program as shown in 31 of fig. 3 (a).
Optionally, the content of the first notification message may be a prompt message (such as the content in the message prompt box shown in (a) in fig. 3 or the content in the control shown in (b) in fig. 3) for prompting the user that the electronic device receives the first message, or may be all or part of the content of the first message. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the step S202 may be specifically implemented by step S202 a.
S202a, the electronic device displays a first control according to the first message, wherein the first control comprises a first notification message.
It can be understood that, in the embodiment of the present invention, when the electronic device displays the first notification message, the first notification message is displayed in a form of a control.
Optionally, in the embodiment of the present invention, the first control may be an air bubble-shaped control, a cloud-shaped control, or a long-strip-shaped control.
Specifically, in the embodiment of the present invention, when the display form of the first notification message on the electronic device is the same as the conventional display form of the notification message, the first manipulation control may be a long bar-shaped manipulation control (as shown in 32 in fig. 3 (a)); when the display form of the first notification message on the electronic device is different from the conventional display form of the notification message, the first manipulation control may be an air bubble-like manipulation control (the display form shown as 33 in (b) of fig. 3).
Optionally, in this embodiment of the present invention, when the first manipulation control is a bubble-shaped manipulation control, the content of the first notification message may be an application icon of an application program corresponding to or belonging to the first message, or may also be a name of the application program corresponding to or belonging to the first message, which may be specifically determined according to an actual use requirement, which is not limited in this embodiment of the present invention.
S203, the electronic equipment controls the first notification message to move along the first direction.
The first direction may be at least one of: a preset direction, a rotation direction of the electronic device (after the electronic device rotates, a visual effect that the first notification message is displayed on the screen of the electronic device may be that the first notification message is subjected to "gravity" in the rotation direction, i.e., the first notification message may move under the action of "gravity"). That is, the first direction may be a preset direction, may also be a rotation direction, and may also be a direction determined by both the preset direction and the rotation direction.
In one possible implementation, the electronic device may control the first notification message to move in a preset direction. The preset direction may be any possible direction with the preset position as a starting point. For example, the preset direction may be a direction from the preset position toward the status bar.
Further, a moving track of the electronic device for controlling the first notification message to move along the preset direction may be a straight line, or may also be any possible track such as a curve (specifically, an "S" type curve), and may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
It should be noted that, when the moving track of the electronic device that controls the first notification message to move along the preset direction is a straight line, the position of the moving track on the screen of the electronic device may be any position on the left side of the center line of the screen of the electronic device, may also be the position of the center line of the screen of the electronic device, and may also be any position on the right side of the center line of the screen of the electronic device. When the movement track of the electronic device for controlling the first notification message to move along the preset direction is a curve, the center line of the screen of the electronic device may be the center line of the movement track, that is, the electronic device may move along the curve movement track with the center line as an axis. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In another possible implementation, the electronic device may control the first notification message to move in a rotational direction of the electronic device. The rotation direction may be a rotation direction in which the electronic device rotates in any direction. For example, the rotation direction may be left or right. Specifically, when the electronic device is rotated to the left on the plane of the screen of the electronic device, the electronic device may control the first notification message to move to the left of the screen of the electronic device, and when the electronic device is rotated to the right on the plane of the screen of the electronic device, the electronic device may control the first notification message to move to the right of the screen of the electronic device.
Specifically, the electronic device may monitor x, y, and z coordinates of the electronic device in a preset coordinate system (which may be a geographic coordinate system or a coordinate system established by a center of gravity of the electronic device) through a sensor (e.g., a gyroscope sensor) inside the electronic device, and then calculate a rotation angle of the electronic device through a trigonometric function according to the x, y, and z coordinates of the electronic device before rotation and the x, y, and z coordinates after rotation.
Optionally, in the embodiment of the present invention, the electronic device may rotate on a plane where a screen of the electronic device is located; alternatively, the electronic device may rotate on a different plane, that is, the plane of the screen of the electronic device before rotation is different from the plane of the screen of the electronic device after rotation.
It should be noted that the rotation angle of the electronic device may be an included angle between the direction of the screen of the electronic device before rotation and the direction of the screen of the electronic device after rotation. The direction of the screen of the electronic device can be represented by any line on the screen of the electronic device, such as the direction of the central axis of the screen.
Optionally, in the embodiment of the present invention, after the electronic device obtains the rotation angle of the electronic device, the electronic device may determine, according to the rotation angle of the electronic device, a movement distance for controlling the first notification message to move on the screen of the electronic device.
For example, in one implementation, the electronic device may pre-store a corresponding relationship between a plurality of angle ranges and a plurality of moving distances, so that the electronic device may determine, according to a rotation angle of actual rotation of the electronic device, an angle range in which the rotation angle is located from the plurality of angle ranges, and determine a moving distance corresponding to the angle range as a moving distance for controlling movement of the first notification message. In another implementation manner, a proportional relationship between the rotation angle and the movement distance may be preset in the electronic device (for example, a ratio between the rotation angle and the movement distance is K, and K is a constant), so that the electronic device may calculate the movement distance for controlling the movement of the first notification message according to the rotation angle and K of the actual rotation of the electronic device. In another implementation manner, the electronic device may preset a moving distance corresponding to the unit rotation angle, so that the electronic device may calculate the moving distance for controlling the first notification message to move according to the rotation angle of the actual rotation of the electronic device and the moving distance.
Optionally, in this embodiment of the present invention, the electronic device may further determine, according to the rotation angle of the electronic device, a moving speed for controlling the first notification message to move on the screen of the electronic device. Wherein, the larger the rotation angle of the electronic device is, the larger the moving speed for controlling the first notification message to move is. Specifically, the determination method of the moving speed is similar to the determination method of the moving distance, and for the determination method of the moving speed, reference may be made to the related description of the determination method of the moving distance, which is not described herein again.
In yet another possible implementation manner, the electronic device may control the first notification message to move in a direction determined by both the preset direction and the rotation direction. Optionally, the electronic device may control the first notification message to move along a direction in which the preset direction and the rotation direction are combined, or may control the first notification message to move along the preset direction first and then control the first notification message to move along the rotation direction, or may control the first notification message to move along the rotation direction first and then control the first notification message to move along the preset direction. For the description of the preset direction, reference may be made to the related description of the preset direction in the above one possible implementation manner, and for the description of the rotation direction, reference may be made to the related description of the rotation direction in the above another possible implementation manner, which is not described herein again.
For example, referring to fig. 4, after the electronic device displays the first notification message at a preset position of the screen, the electronic device may first control the first notification message to move from the preset position in a direction toward the status bar (a direction shown as 41 in (a) of fig. 4), and when it is detected that the electronic device is turned to the right, the electronic device may control the first notification message to move to the right side (a direction shown as 42 in (b) of fig. 4) while controlling the first notification message to move from the preset position in the direction toward the status bar.
Optionally, in the embodiment of the present invention, the end point (i.e., the end position of the movement track) at which the electronic device controls the movement of the first notification message may be a status bar of the electronic device, or may be in a one-handed operation area 43 preset on a screen of the electronic device. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the electronic device may control the first notification message to move in the first direction when the electronic device is in the one-handed operation state. Therefore, the first notification message can be moved to a one-hand operation area convenient for the user to operate with one hand, so that the user can conveniently and quickly perform operation on the first notification message under the condition that the user holds the electronic equipment with one hand.
Illustratively, S203 may be specifically realized by S203a described below.
S203a, when the electronic device is in the one-handed operation state, the electronic device controls the first notification message to move in the first direction.
The one-handed operation state is one of the operation modes of the electronic device and is generated to accommodate inconvenience in performing input on the entire area of the screen of the electronic device when a user holds the electronic device with one hand. In the embodiment of the invention, a control switch in a one-hand operation state can be set in the setting application program, when the control switch is turned on, the electronic equipment can be in the one-hand operation state, and when the control switch is turned off, the electronic equipment can be in a non-one-hand operation state. Therefore, a user can operate the control switch in the setting application program according to actual use requirements so as to trigger the electronic equipment to be in a single-hand operation state.
Optionally, in this embodiment of the present invention, after the electronic device displays the first notification message, the electronic device may control the first notification message to move along the first direction, or may not control the first notification message to move. Specifically, after the electronic device displays the first notification message, it may be determined whether the electronic device is currently in the one-handed operation state, if the electronic device is in the one-handed operation state, the electronic device may control the first notification message to move along the first direction, and if the electronic device is not in the one-handed operation state, the electronic device may not need to control the first notification message to move.
In the embodiment of the invention, the electronic equipment can switch the working mode of the electronic equipment according to the input selection of the user, so that the electronic equipment is suitable for different use requirements of the user in different scenes, and the notification message can be controlled more flexibly.
Optionally, in the embodiment of the present invention, after the electronic device generates the first notification message, the first notification message may be displayed in a conventional display form of the notification message, or the first notification message may be displayed in the display form provided in the embodiment of the present invention. Specifically, before displaying the first notification message, the electronic device may first determine whether the electronic device is currently in a one-handed operation state, and if the electronic device is in the one-handed operation state, the first notification message may be displayed in a display form provided by an embodiment of the present invention, for example, the display form shown in 33 in (b) in fig. 3, and if the electronic device is not in the one-handed operation state, the first notification message may be displayed in a conventional display form of the notification message, for example, the display form shown in 32 in (a) in fig. 3.
With continued reference to fig. 4, the movement track of the first notification message and the one-handed operation area of the user are exemplarily illustrated by taking the electronic device held by a single hand of the user, for example, a right hand. After the electronic device displays the first notification message at a preset position, such as a bottom area of a screen of the electronic device, since the first notification message at the preset position is not located in a one-hand operation area of the user, the user may not be able to operate the first notification message without changing a holding position of the electronic device. Therefore, under the condition that the user holds the electronic equipment by one hand, when the first notification message moves to the single-hand operation area on the screen of the electronic equipment, the user can operate the first notification message by one hand, so that the convenience of operating the first notification message when the user holds the electronic equipment by one hand can be improved, and the man-machine interaction performance is improved.
S204, the electronic equipment responds to a first input of the user to the first notification message, and executes a first operation corresponding to the first input to the first notification message.
In the embodiment of the invention, after the electronic device displays the first notification message, the user can execute the first input on the first notification message to trigger the electronic device to execute the first operation corresponding to the first input on the first notification message. Or, in the process that the electronic device controls the movement of the first notification message, the user may perform a first input on the first notification message to trigger the electronic device to perform a first operation corresponding to the first input on the first notification message.
Optionally, in this embodiment of the present invention, the first input may be any possible input manner, such as a click input, an upward slide input, a downward slide input, a leftward slide input, a rightward slide input, a long press input, and a heavy press input.
The click input refers to the input of clicking preset times on a screen of the electronic equipment; a slide input to a certain direction refers to an input that slides on the screen of the electronic device along the direction; the long press input refers to the input of pressing a preset time length on a screen of the electronic equipment; the press input is input by pressing at a preset pressure value on the screen of the electronic equipment. The preset times, the preset duration and the preset pressure value can be preset when the electronic equipment leaves a factory.
Optionally, in this embodiment of the present invention, the first operation may be operation 1, operation 2, or operation 3. Wherein, the operation 1 may be: the display of the first notification message is cancelled, and the content of the first message (i.e., the content of the message corresponding to the display notification message described above) is displayed. Operation 2 may be to cancel the display of the first notification message (i.e., the deletion notification message described above). Operation 3 may be canceling the display of the first notification message and storing the first notification message in a storage space corresponding to the status bar of the electronic device (i.e., storing the notification message in the status bar of the electronic device as described above).
Optionally, in the embodiment of the present invention, the electronic device may be a single-screen electronic device, a double-screen electronic device, a multi-screen electronic device, or a folding-screen electronic device. Specifically, when the electronic device is a single-screen electronic device, the electronic device may display the content of the first message on a screen where the first notification message is located, and when the electronic device is a double-screen electronic device, a multi-screen electronic device, or a folding-screen electronic device, the electronic device may display the content of the first message on the screen (or a screen area) where the first notification message is located, or may display the content of the first message on another screen (or a screen area) different from the screen (or the screen area) where the first notification message is located. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, a specific display form of the content of the first message displayed by the electronic device may be: the electronic equipment jumps to a message interface of an application program corresponding to the first message and displays the content of the first message on the message interface; alternatively, the electronic device may display the content of the first message directly on the current interface of the screen of the electronic device, for example, the content of the first message may be displayed in a floating manner on the current interface. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
The storage space refers to a storage space in the electronic device for storing the notification message generated by the electronic device. When the storage space stores a plurality of notification messages, if the electronic device is triggered by a user to display a status bar, the notification messages may be sequentially arranged and displayed in the status bar according to a generated time sequence, the display content of each notification message in the status bar may be all or part of the content of the corresponding message, when at least two notification messages in the notification messages correspond to the same application program, the at least two notification messages may be displayed in an overlapping manner, and when the user performs an input (for example, may be a click) on the at least two notification messages displayed in the overlapping manner, the at least two notification messages are displayed in an expanding manner.
Referring to fig. 5, an exemplary description is given of a notification message processing method according to an embodiment of the present invention, by taking a first input as a click input, a first operation as canceling display of a first notification message, and displaying content of the first message, where a preset position is a bottom area of a screen of an electronic device, and a first direction is a direction from the preset position toward a status bar. After receiving the first message, the electronic device may generate a first notification message according to the first message, and then the electronic device may display the first notification message in a bottom area of a screen of the electronic device and control the first notification message to move in a direction from the bottom area toward the status bar, when the first notification message moves into a one-handed operation area of the user, the user may click the first notification message (as shown in (a) in fig. 5), that is, the electronic device receives a click input of the user, and in response to the click input, the electronic device may cancel displaying the first notification message and display the content of the first message on an interface of an application program corresponding to the first message (as shown in (b) in fig. 5).
The embodiment of the invention provides a method for processing a notification message, wherein an electronic device can control a first notification message to move along a preset direction or a rotating direction of the electronic device, so that the display position of the first notification message on a screen of the electronic device is variable. Therefore, under the condition that the user holds the electronic equipment by one hand, when the first notification message moves to the single-hand operation area on the screen of the electronic equipment, the user can operate the first notification message by one hand, so that the convenience of operating the first notification message when the user holds the electronic equipment by one hand can be improved, and the man-machine interaction performance is improved.
Further, in an embodiment of the present invention, in a case, the preset direction may be set to a direction passing through a one-handed operation area on a screen of the electronic device, so that when the electronic device controls the first notification message to move along the preset direction, the first notification message passes through the one-handed operation area, and thus, convenience of a user in operating the notification message when the user holds the electronic device with one hand may be further improved. In another case, when the electronic device controls the first notification message to move along the rotation direction of the electronic device, since the user can trigger the electronic device to rotate in any direction, the user can trigger the electronic device to rotate so that the first notification message moves to the one-handed operation area on the screen of the electronic device, and thus, the convenience of the user in operating the notification message can be further improved when the user holds the electronic device with one hand.
Optionally, in the embodiment of the present invention, a second control may be further displayed on the screen of the electronic device, and the user may trigger the electronic device to generate, according to at least one notification message in the status bar, one control corresponding to each notification message through input of the second control, so as to obtain the at least one control. The electronic device may then display the at least one manipulation control. Wherein, each control comprises a notification message.
Exemplarily, in combination with the above fig. 2, as shown in fig. 6, the method for processing a notification message according to the embodiment of the present invention may further include the following S205.
And S205, the electronic equipment responds to a second input of the user to a second control displayed by the electronic equipment, and displays at least one control.
Each control of the at least one control comprises a notification message, and different control controls comprise different notification messages.
The control switch of the second control can be set in the setting application program, when the control switch is turned on, the second control can be displayed on the screen of the electronic device, and when the control switch is turned off, the second control cannot be displayed on the screen of the electronic device. Therefore, the user can operate the control switch in the setting application program according to the actual use requirement so as to trigger the electronic equipment to display or not display the second control. And when the second control is displayed on the screen of the electronic device, the user can trigger the electronic device to display at least one notification message in the status bar on the screen in the form of a control (e.g. a bubble control) through an input (e.g. the second input) to the second control.
Optionally, in an embodiment of the present invention, the second control may be displayed on a screen of the electronic device in a floating manner. For example, the second control may be a floating virtual button.
Optionally, in the embodiment of the present invention, a display form of each of the at least one control may be the same as or different from a display form of the first control, and may be determined specifically according to an actual use requirement, which is not limited in the embodiment of the present invention.
Optionally, the at least one control may be sequentially arranged and displayed in the bottom area of the screen of the electronic device, and in order to avoid that the display effect of the screen is affected due to an excessive number of the at least one control displayed on the screen, a display number threshold may be preset in the electronic device, so that the electronic device may determine the number of the control controls arranged and displayed in the bottom area of the screen of the electronic device according to the display number threshold.
For example, when the preset display number threshold is n and the number of notification messages in the status bar of the electronic device is m, if n is greater than or equal to m, the electronic device may determine that the number of the control controls arranged and displayed in the bottom area of the screen of the electronic device is m. If n is smaller than m, the electronic device may determine that the number of the control controls arranged and displayed in the bottom area of the screen of the electronic device is n. Wherein n and m are positive integers.
Optionally, in the embodiment of the present invention, the electronic device may determine, according to the generation time of the notification message, n notification messages whose generation times are arranged in the top n rows from the notification messages in the status bar, generate n control controls according to the n notification messages, and then arrange and display the control controls in the bottom area of the screen of the electronic device.
For example, referring to fig. 7, the above S205 is exemplarily described below by taking an example that the second manipulation control is a floating virtual button, and a display form of the at least one manipulation control is the same as that of the above first manipulation control (for example, may be a bubble manipulation control). After the user performs a second input (for example, a click input) on the second control, at least one notification message in the status bar of the electronic device is displayed in the bottom area of the screen of the electronic device in the form of a bubble (i.e., the at least one control), and the user can perform the first input on any one of the at least one control. After the user performs the first input on a certain control, the operation performed by the electronic device may be the first operation, which may specifically refer to the related description of the first operation in the foregoing embodiment, and details are not described here.
It should be noted that the embodiment of the present invention may not limit the execution sequence of S205, that is, when there is at least one notification message in the status bar, the electronic device may execute S205. Fig. 6 illustrates an example in which S205 is executed after S204, and in an actual implementation, the execution order of S205 and S201-S204 may not be limited.
In the embodiment of the invention, the user can trigger the electronic equipment to display at least one notification message in the status bar on the screen of the electronic equipment in the form of a control through the second input, so that on one hand, the user can conveniently operate the notification message in the status bar in a one-hand operation state; on the other hand, the centralized processing of the notification messages in the status bar can be facilitated for the user.
Optionally, in this embodiment of the present invention, after the electronic device controls the first notification message to move in the first direction, the electronic device may detect an input of the first notification message by the user, and if the electronic device does not detect any input of the first notification message by the user in a process that the first notification message moves in the first direction, when the first notification message moves to an area where a status bar of the electronic device is located, the electronic device may cancel displaying the first notification message, and store the first notification message in a storage space corresponding to the status bar of the electronic device.
Exemplarily, with reference to fig. 2, as shown in fig. 8, after S203 described above, the method for processing a notification message according to the embodiment of the present invention may further include S206 described below.
S206, if the first notification message moves to the area where the status bar of the electronic device is located, the electronic device cancels the display of the first notification message and stores the first notification message in the storage space corresponding to the status bar of the electronic device.
The operation 3 is to cancel displaying the first notification message and store the first notification message in the storage space corresponding to the status bar of the electronic device. For the description that the electronic device cancels displaying of the first notification message and stores the first notification message in the storage space corresponding to the status bar of the electronic device, reference may be specifically made to the description of operation 3 in the foregoing embodiment, and details are not described here again.
In the embodiment of the invention, if the user does not perform any input on the first notification message in the process of controlling the movement of the first notification message by the electronic device, after the first notification message moves to the area where the status bar of the electronic device is located, the electronic device may cancel displaying the first notification message and store the first notification message in the storage space corresponding to the status bar of the electronic device.
Optionally, in this embodiment of the present invention, after the user performs the first input on the first notification message, in response to the first input, the electronic device may display an Augmented Reality (AR) image on the first notification message, so as to indicate the first input performed on the first notification message by the user, so that the user may see a dynamic effect of performing the first input through the AR image, thereby increasing the interest of the user input.
Exemplarily, as shown in fig. 9 in conjunction with fig. 2, before the electronic device performs the first operation corresponding to the first input on the first notification message in S204 described above, the method for processing the notification message according to the embodiment of the present invention may further include S207 described below. Specifically, S204 may be implemented as S204a described below.
S207, the electronic equipment responds to a first input of the first notification message by the user, and displays the AR image on the first notification message.
Wherein the AR image may be used to indicate a first input performed by a user. In particular, the AR image may be used to indicate a dynamic effect of the first input performed by the user. For example, when the first input is a click input, the AR image may be a moire special effect image, when the first input is a slide input in an arbitrary direction, the AR image may be a one-scratch special effect image, and when the first input is a heavy-click input, the AR image may be a deep-cut special effect image.
Illustratively, referring to fig. 10, taking the first input performed by the user as an upper right corner sliding input as an example, after the user performs an upper right corner sliding input on the first notification message, that is, the electronic device receives the first input of the user, the electronic device may display a scratch special effect image (a special effect image shown as 51 in fig. 10) toward the upper right corner, that is, an AR image of the first input, on the screen of the electronic device in response to the first input.
S204a, the electronic device performs a first operation corresponding to the first input on the first notification message.
For the description of S204a, refer to the description of S204 in the foregoing embodiment, which is not repeated herein.
In this embodiment of the present invention, the electronic device in S207 displays the AR image on the first notification message, and both S204a may be a result of the electronic device responding to the first input of the user. That is, in response to the first input of the user, the electronic device may first display the AR image on the first notification message, and then perform the first operation on the first notification message.
In the embodiment of the invention, when the user executes the first input on the first notification message, the electronic device can display the AR image to indicate the dynamic effect of the first input executed on the first notification message by the user, so that the user can see the dynamic effect of the first input executed by the user through the AR image, the interest of the user input can be increased, and the man-machine interaction performance can be improved.
The embodiment of the invention also provides a processing method of the notification message, which is applied to the curved-screen electronic equipment and can comprise the following steps S301-S303.
S301, the electronic equipment receives a first message.
S302, the electronic equipment displays a first notification message on the side edge of the screen of the curved screen electronic equipment according to the first message.
The side of the screen of the electronic device may be a curved portion of the screen of the electronic device. For example, the region shown as 61 in fig. 11.
In the embodiment of the invention, each time the electronic equipment receives one message, the electronic equipment can generate the notification message firstly and then display the notification message on the side of the screen of the electronic equipment, namely, the side of the screen of the electronic equipment can display a plurality of notification messages.
Optionally, in the embodiment of the present invention, the side of the screen of the electronic device may be a left side of the screen of the electronic device, and may also be a right side of the screen of the electronic device. Specifically, when the electronic device displays the first notification message, the first notification message may be displayed on a left side of a screen of the electronic device, or the first notification message may be displayed on a right side of the screen of the electronic device, which may be determined according to actual usage requirements.
Optionally, in this embodiment of the present invention, a specific display form of the first notification message may be the same as or different from a display form of the first control. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Taking the display form of the first notification message as the bubble-shaped control as an example, as shown in fig. 11, the first notification message may be displayed in a preset area on the side of the screen of the electronic device in the display form of the bubble-shaped control, where the preset area may be a middle area (shown as 62 in fig. 11) on the side of the screen of the electronic device.
Optionally, when there are multiple notification messages on the side of the screen of the electronic device, the multiple notification messages may be sequentially arranged and displayed on the side of the screen of the electronic device, if the number of the multiple notification messages exceeds the number of notification messages that can be displayed on the side (or in a preset area) of the screen of the electronic device, the notification messages with the exceeded number may be displayed in a folded manner according to the generation time of the notification messages, and a folded identifier is displayed, and after a user performs an input on the folded identifier, the electronic device may display the notification messages displayed in the folded manner on the screen of the electronic device in response to the input.
And S303, the electronic equipment responds to a third input of the user to the first notification message, and executes a second operation corresponding to the third input to the first notification message.
For the description of the third input, reference may be specifically made to the description related to the first input in the foregoing embodiment, and details are not described here again.
For the description of the second operation, reference may be specifically made to the description related to the first operation in the foregoing embodiment, and details are not described here again.
In the embodiment of the invention, for the curved-screen electronic equipment, the electronic equipment can directly display the notification message at the side edge of the screen of the electronic equipment, so that a user can directly operate the notification message displayed at the side edge of the screen of the electronic equipment, the flexibility of displaying the notification message and the convenience of operating the notification message by the user can be improved under the condition of not influencing other contents displayed on the screen of the electronic equipment, and the man-machine interaction performance is improved.
It should be noted that, in the embodiment of the present invention, all the processing methods of the notification message shown in the above method drawings are exemplarily described by referring to one drawing in the embodiment of the present invention. In specific implementation, the processing method of the notification message shown in each method drawing may also be implemented by combining any other drawing which may be combined and is illustrated in the foregoing embodiments, and details are not described here again.
As shown in fig. 12, an embodiment of the present invention provides an electronic device 130, and the electronic device 130 may include a receiving unit 131, a display unit 132, a control unit 133, and an execution unit 134. The receiving unit 131 may be configured to receive a first message; a display unit 132, configured to display a first notification message according to the first message received by the receiving unit 131, where the first notification message is a notification message of the first message; the control unit 133 may be configured to control the first notification message displayed by the display unit 132 to move along a first direction, where the first direction includes at least one of: a preset direction, a rotation direction of the electronic device 130; the execution unit 134 may be configured to, in response to a first input of the first notification message displayed by the display unit 132 by the user, perform a first operation corresponding to the first input on the first notification message.
Optionally, in this embodiment of the present invention, the first operation may include: canceling the display of the first notification message; or canceling the display of the first notification message and displaying the content of the first message; or canceling the display of the first notification message and storing the first notification message in a storage space corresponding to the status bar of the electronic device 130.
Optionally, in an embodiment of the present invention, the display unit 132 may be specifically configured to display a first control, where the first control includes a first notification message.
Optionally, in this embodiment of the present invention, the display unit 132 may be further configured to display at least one control in response to a second input of the second control displayed by the electronic device 130, where each control includes a notification message. Wherein, the notification message in at least one of the control controls is a notification message in a status bar of the electronic device 130.
Optionally, in this embodiment of the present invention, the display unit 132 may be further configured to cancel displaying the first notification message if the first notification message moves to the area where the status bar of the electronic device 130 is located after the control unit 133 controls the first notification message to move along the first direction.
Optionally, in conjunction with fig. 12, as shown in fig. 13, the electronic device 130 may further include a storage unit 135. The storage unit 135 may be configured to store the first notification message that is canceled from being displayed by the display unit 132 in a storage space corresponding to the status bar of the electronic device 130.
Optionally, in this embodiment of the present invention, the display unit 132 may be further configured to display an AR image on the first notification message before the execution unit 134 performs the first operation corresponding to the first input on the first notification message, where the AR image may be used to indicate the first input performed by the user, and specifically may be used to indicate a dynamic effect of the first input.
Optionally, in this embodiment of the present invention, the control unit 133 may be specifically configured to control the first notification message to move along the first direction when the electronic device is in the one-handed operation state.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
An embodiment of the present invention provides an electronic device, where after receiving a first message, the electronic device may display a first notification message corresponding to the first message according to the first message, and control the first notification message to move in a first direction (a preset direction or a rotation direction of the electronic device), and after a user performs a first input on the first notification message, the electronic device may perform a first operation corresponding to the first input on the first notification message in response to the first input. With this arrangement, since the electronic device can control the first notification message to move in the first direction, the display position of the first notification message on the screen of the electronic device is variable. Therefore, under the condition that the user holds the electronic equipment by one hand, when the first notification message moves to the single-hand operation area on the screen of the electronic equipment, the user can operate the first notification message by one hand, so that the convenience of operating the first notification message when the user holds the electronic equipment by one hand can be improved, and the man-machine interaction performance is improved.
Fig. 14 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 14, the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 14 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A radio frequency unit 101, configured to receive a first message; a display unit 106, configured to display a first notification message according to the first message received by the radio frequency unit 101, where the first notification message is a notification message of the first message; a processor 110 for controlling the first notification message displayed by the display unit 106 to move in a first direction; and in response to a first input of the first notification message by the user, performing a first operation corresponding to the first input on the first notification message controlled by the processor 110, the first direction including at least one of: the preset direction and the rotation direction of the electronic equipment.
It is to be understood that, in the embodiment of the present invention, the control unit 133 and the execution unit 134 in the structural schematic diagrams (for example, fig. 12 and 13) of the electronic device may be implemented by the processor 110, and the display unit 132 may be implemented by the display unit 106. The storage unit 135 in the structural schematic diagram of the electronic device (for example, fig. 13) may be implemented by the memory 109.
An embodiment of the present invention provides an electronic device, where after receiving a first message, the electronic device may display a first notification message corresponding to the first message according to the first message, and control the first notification message to move in a first direction (a preset direction or a rotation direction of the electronic device), and after a user performs a first input on the first notification message, the electronic device may perform a first operation corresponding to the first input on the first notification message in response to the first input. With this arrangement, since the electronic device can control the first notification message to move in the first direction, the display position of the first notification message on the screen of the electronic device is variable. Therefore, under the condition that the user holds the electronic equipment by one hand, when the first notification message moves to the single-hand operation area on the screen of the electronic equipment, the user can operate the first notification message by one hand, so that the convenience of operating the first notification message when the user holds the electronic equipment by one hand can be improved, and the man-machine interaction performance is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 14, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, the first user interface, the application program, and the like, and the modem processor mainly handles the wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 14, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above-mentioned notification message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the above-mentioned notification message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (14)
1. A processing method of a notification message is applied to an electronic device, and is characterized in that the method comprises the following steps:
receiving a first message;
displaying a first notification message according to the first message, and controlling the first notification message to move along a first direction, wherein the first notification message is a notification message of the first message, and the first direction comprises a rotation direction of the electronic device;
responding to a first input of the first notification message by a user, and executing a first operation corresponding to the first input on the first notification message;
the method further comprises the following steps:
determining a moving distance for controlling the first notification message to move on the screen of the electronic equipment according to the rotation angle of the electronic equipment;
after controlling the first notification message to move in a first direction, the method further comprises:
and if the first notification message is moved to the area where the status bar of the electronic equipment is located, canceling to display the first notification message and storing the first notification message to a storage space corresponding to the status bar of the electronic equipment.
2. The method of claim 1, wherein the first operation comprises:
canceling the display of the first notification message; or,
canceling the display of the first notification message and displaying the content of the first message; or,
and canceling the display of the first notification message, and storing the first notification message to a storage space corresponding to a status bar of the electronic equipment.
3. The method of claim 1, wherein displaying the first notification message comprises:
displaying a first control including the first notification message.
4. The method according to any one of claims 1 to 3, further comprising:
responding to a second input of a user to a second control displayed by the electronic equipment, and displaying at least one control, wherein each control comprises a notification message;
and the notification messages in the at least one control are all notification messages in a status bar of the electronic equipment.
5. The method of claim 1, wherein prior to performing the first operation corresponding to the first input on the first notification message, the method further comprises:
displaying a virtual reality (AR) image on the first notification message, the AR image indicating the first input performed by a user.
6. The method of claim 1, wherein the controlling the first notification message to move in a first direction comprises:
controlling the first notification message to move in the first direction when the electronic device is in a one-handed operation state.
7. An electronic apparatus, characterized in that the electronic apparatus includes a receiving unit, a display unit, a control unit, a storage unit, and an execution unit:
the receiving unit is used for receiving a first message;
the display unit is configured to display a first notification message according to the first message received by the receiving unit, where the first notification message is a notification message of the first message;
the control unit is used for controlling the first notification message displayed by the display unit to move along a first direction, and the first direction comprises the rotation direction of the electronic equipment;
the execution unit is used for responding to a first input of the first notification message displayed by the display unit by a user, and executing a first operation corresponding to the first input on the first notification message;
the control unit is further configured to determine a movement distance for controlling the first notification message to move on the screen of the electronic device according to the rotation angle of the electronic device;
the display unit is further configured to cancel displaying the first notification message if the first notification message moves to an area where a status bar of the electronic device is located after the control unit controls the first notification message to move in the first direction;
the storage unit is used for storing the first notification message which is canceled to be displayed by the display unit to a storage space corresponding to a status bar of the electronic equipment.
8. The electronic device of claim 7, wherein the first operation comprises:
canceling the display of the first notification message; or,
canceling the display of the first notification message and displaying the content of the first message; or,
and canceling the display of the first notification message, and storing the first notification message to a storage space corresponding to a status bar of the electronic equipment.
9. The electronic device according to claim 7, wherein the display unit is specifically configured to display a first control, and the first control includes the first notification message.
10. The electronic device according to any one of claims 7 to 9, wherein the display unit is further configured to display at least one control in response to a second input from the user to a second control displayed on the electronic device, and each control includes a notification message therein;
and the notification messages in the at least one control are all notification messages in a status bar of the electronic equipment.
11. The electronic device of claim 7, wherein the display unit is further configured to display a virtual reality (AR) image on the first notification message before the execution unit performs a first operation corresponding to the first input on the first notification message, the AR image indicating the first input performed by a user.
12. The electronic device according to claim 7, wherein the control unit is configured to control the first notification message to move in the first direction, in particular when the electronic device is in a one-handed operation state.
13. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of processing a notification message according to any of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of processing a notification message according to any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911102753.2A CN110958350B (en) | 2019-11-12 | 2019-11-12 | Notification message processing method and electronic equipment |
PCT/CN2020/128124 WO2021093772A1 (en) | 2019-11-12 | 2020-11-11 | Notification message processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911102753.2A CN110958350B (en) | 2019-11-12 | 2019-11-12 | Notification message processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110958350A CN110958350A (en) | 2020-04-03 |
CN110958350B true CN110958350B (en) | 2022-02-11 |
Family
ID=69977528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911102753.2A Active CN110958350B (en) | 2019-11-12 | 2019-11-12 | Notification message processing method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110958350B (en) |
WO (1) | WO2021093772A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110958350B (en) * | 2019-11-12 | 2022-02-11 | 维沃移动通信有限公司 | Notification message processing method and electronic equipment |
CN114764299A (en) * | 2021-01-15 | 2022-07-19 | 华为技术有限公司 | Display method and electronic equipment |
CN112764625A (en) * | 2021-01-26 | 2021-05-07 | 维沃移动通信有限公司 | Notification message display method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566607A (en) * | 2017-07-31 | 2018-01-09 | 努比亚技术有限公司 | One kind notice display methods, mobile terminal and computer-readable recording medium |
CN107734138A (en) * | 2017-09-05 | 2018-02-23 | 珠海市魅族科技有限公司 | The display methods and device of notification message, computer installation and storage medium |
CN109814975A (en) * | 2019-01-31 | 2019-05-28 | 维沃移动通信有限公司 | A kind of notification message display methods and mobile terminal |
CN110275750A (en) * | 2019-06-19 | 2019-09-24 | 维沃移动通信有限公司 | A kind of notification message inspection method and terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9971500B2 (en) * | 2014-06-01 | 2018-05-15 | Apple Inc. | Displaying options, assigning notification, ignoring messages, and simultaneous user interface displays in a messaging application |
JP6147830B2 (en) * | 2015-10-28 | 2017-06-14 | 京セラ株式会社 | Portable electronic device and display method of portable electronic device |
KR20170088691A (en) * | 2016-01-25 | 2017-08-02 | 엘지전자 주식회사 | Mobile terminal for one-hand operation mode of controlling paired device, notification and application |
CN107728883A (en) * | 2017-10-19 | 2018-02-23 | 惠州Tcl移动通信有限公司 | A kind of adjust automatically desk-top picture calibration method, mobile terminal and storage medium |
CN110958350B (en) * | 2019-11-12 | 2022-02-11 | 维沃移动通信有限公司 | Notification message processing method and electronic equipment |
-
2019
- 2019-11-12 CN CN201911102753.2A patent/CN110958350B/en active Active
-
2020
- 2020-11-11 WO PCT/CN2020/128124 patent/WO2021093772A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566607A (en) * | 2017-07-31 | 2018-01-09 | 努比亚技术有限公司 | One kind notice display methods, mobile terminal and computer-readable recording medium |
CN107734138A (en) * | 2017-09-05 | 2018-02-23 | 珠海市魅族科技有限公司 | The display methods and device of notification message, computer installation and storage medium |
CN109814975A (en) * | 2019-01-31 | 2019-05-28 | 维沃移动通信有限公司 | A kind of notification message display methods and mobile terminal |
CN110275750A (en) * | 2019-06-19 | 2019-09-24 | 维沃移动通信有限公司 | A kind of notification message inspection method and terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2021093772A1 (en) | 2021-05-20 |
CN110958350A (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110995923B (en) | Screen projection control method and electronic equipment | |
CN110062105B (en) | Interface display method and terminal equipment | |
CN109828850B (en) | Information display method and terminal equipment | |
CN110489029B (en) | Icon display method and terminal equipment | |
CN108762705B (en) | Information display method, mobile terminal and computer readable storage medium | |
CN108762634B (en) | Control method and terminal | |
CN110769155B (en) | Camera control method and electronic equipment | |
CN110888707A (en) | Message sending method and electronic equipment | |
CN109857289B (en) | Display control method and terminal equipment | |
CN109032486B (en) | Display control method and terminal equipment | |
CN111163224B (en) | Voice message playing method and electronic equipment | |
CN110489045B (en) | Object display method and terminal equipment | |
CN110752981B (en) | Information control method and electronic equipment | |
CN109240783B (en) | Interface display method and terminal equipment | |
CN111026299A (en) | Information sharing method and electronic equipment | |
CN110908557B (en) | Information display method and terminal equipment | |
CN111030917B (en) | Message display method and electronic equipment | |
CN110958350B (en) | Notification message processing method and electronic equipment | |
CN109358931B (en) | Interface display method and terminal | |
CN108681427B (en) | Access right control method and terminal equipment | |
CN109857495A (en) | A kind of display control method and terminal device | |
CN110166586B (en) | Content display method and terminal equipment | |
CN111273993A (en) | Icon sorting method and electronic equipment | |
CN111190517B (en) | Split screen display method and electronic equipment | |
CN109829707B (en) | Interface display method and terminal equipment |
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 |