CN110888707A - Message sending method and electronic equipment - Google Patents

Message sending method and electronic equipment Download PDF

Info

Publication number
CN110888707A
CN110888707A CN201911136959.7A CN201911136959A CN110888707A CN 110888707 A CN110888707 A CN 110888707A CN 201911136959 A CN201911136959 A CN 201911136959A CN 110888707 A CN110888707 A CN 110888707A
Authority
CN
China
Prior art keywords
input
display
identifier
notification message
status bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911136959.7A
Other languages
Chinese (zh)
Inventor
林迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911136959.7A priority Critical patent/CN110888707A/en
Publication of CN110888707A publication Critical patent/CN110888707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a message sending method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that a method for forwarding a notification message in a status bar is complex in the prior art. The method comprises the following steps: receiving a first input of a user for a notification message in a status bar; in response to the first input, displaying a hover control, the hover control indicating the notification message; receiving a second input to the hover control and the target identification; and responding to the second input, and sending the notification message according to the target object indicated by the target identification. The method can be applied to the scene of the notification message in the forwarding status bar.

Description

Message sending method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a message sending method and electronic equipment.
Background
As the technology of the electronic device has been developed, the electronic device may receive a plurality of notification messages from different applications and display the notification messages in a status bar. If the user needs to forward a certain notification message in the notification messages, the user can click the notification message and send the message through a series of operations in the interface of the application program corresponding to the notification message.
Currently, a user has a deficiency in the message sending method in the status bar. For example, if the user wants to forward a notification message in the status bar, the user may click the notification message first to trigger the electronic device to display a chat interface from a certain contact corresponding to the notification message; then, the user can copy the notification message in the chat interface and trigger the electronic equipment to switch the chat interface into a contact interface; then, the user can select another contact person in the contact person interface to trigger the electronic equipment to display a chat interface corresponding to the other contact person; the user may then paste the notification message in the edit box of the chat interface and click the send control to send the notification message to the contact.
Thus, in the prior art, the method for forwarding the notification message in the status bar is complicated.
Disclosure of Invention
The embodiment of the invention provides a message sending method and electronic equipment, and solves the problem that in the prior art, a method for forwarding a notification message in a status bar is complicated.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a message sending method. The method comprises the following steps: receiving a first input of a notification message in a status bar; in response to the first input, displaying a hover control, the hover control indicating the notification message; receiving a second input to the hover control and the target identification; and responding to the second input, and sending the notification message according to the target object indicated by the target identification.
In a second aspect, an embodiment of the present invention provides an electronic device. The electronic equipment comprises a receiving module, a display module and a sending module. The receiving module is used for receiving a first input of the notification message in the status bar. A display module, configured to display a hover control in response to the first input received by the receiving module, the hover control indicating the notification message. And the receiving module is also used for receiving a second input of the floating control and the target identification. And the sending module is used for responding to the second input received by the receiving module and sending the notification message according to the target object indicated by the target identification.
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 executable on the processor, where the computer program, when executed by the processor, implements the steps of the message sending method provided 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, where the computer program, when executed by a processor, implements the steps of the message sending method provided in the first aspect.
In an embodiment of the present invention, a first input to a notification message in a status bar may be received; in response to the first input, displaying a hover control, the hover control indicating the notification message; receiving a second input to the hover control and the target identification; and responding to the second input, and sending the notification message according to the target object indicated by the target identification. According to the scheme, when a user needs to forward a certain notification message in the status bar, the user can firstly trigger the electronic equipment to display the suspension control through the first input of the notification message, and then trigger the electronic equipment to send the notification message indicated by the suspension control to the target object indicated by the target identifier through the second input of the suspension control and the target identifier, so that the user can send the message in the status bar through two inputs without entering a chat interface, copying the message in the chat interface, pasting the message in other interfaces and other series of operations. Therefore, the message sending method provided by the embodiment of the invention is faster.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a message sending method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an operation of a status bar according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram illustrating operations on a status bar according to an embodiment of the present invention;
FIG. 5 is a third exemplary diagram illustrating operation of a status bar according to the embodiment of the present invention;
FIG. 6 is a fourth exemplary operational diagram of the status bar according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 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 invention.
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," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the 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 should not be construed as 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 elements means two or more elements, and the like.
Some terms/nouns referred to in the embodiments of the present invention are explained below.
Notification Service (Notification Service): a service function is provided for an electronic device that enables notification messages to be displayed in a status bar.
Notification (Notification): also called Notification message, in the embodiment of the present invention, the Notification message may be received by the electronic device through the application and displayed in the status bar through the Notification Service.
Drag Action: an operation of moving the notification message from one location to another location in the screen may be instructed. In the embodiment of the present invention, the first input and the second input may be both a drag operation based on the notification message by the user.
Notification injection (Notification injection): may be used to instruct the injection of notification messages into the application, and the action of notification injection may be performed by a message injection module in embodiments of the present invention.
The embodiment of the invention provides a message sending method and electronic equipment, which can receive a first input of a notification message in a status bar; in response to the first input, displaying a hover control, the hover control indicating the notification message; receiving a second input to the hover control and the target identification; and responding to the second input, and sending the notification message according to the target object indicated by the target identification. According to the scheme, when a user needs to forward a certain notification message in the status bar, the user can firstly trigger the electronic equipment to display the suspension control through the first input of the notification message, and then trigger the electronic equipment to send the notification message indicated by the suspension control to the target object indicated by the target identifier through the second input of the suspension control and the target identifier, so that the user can send the message in the status bar through two inputs without entering a chat interface, copying the message in the chat interface, pasting the message in other interfaces and other series of operations. Therefore, the message sending method provided by the embodiment of the invention is faster.
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 message sending method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of an 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.
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.
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 message sending method 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 message sending method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the message sending 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 terminal device. The terminal device may 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 electronic device, 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, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution subject of the message sending 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 message sending 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 message sending method provided by the embodiment of the present invention.
It should be noted that the message sending method provided by the embodiment of the present invention may be applied to an electronic device. Based on the Notification object of the system of the electronic device, Notification displayed in the status bar by the Notification Service may be injected into the application to implement message transmission.
As shown in fig. 2, an embodiment of the present invention provides a message sending method, which may be applied to an electronic device. The method may include S101 to S104 described below.
S101, the electronic equipment receives a first input of a notification message in a status bar.
In addition, the status bar may be referred to as a notification bar in the embodiment of the present invention.
Optionally, the status bar may include M notification messages. When M is an integer greater than or equal to 2, the M notification messages may come from the same application of the electronic device or from different applications of the electronic device.
Optionally, the notification message may be a message generated spontaneously by a system program of the electronic device, such as a birthday reminder, a screen time reminder, and the like; alternatively, the notification message may be a message received by the electronic device through an application from another device, such as a buddy-sent message, or a server-pushed hotspot message.
In the embodiment of the present invention, the first input may be used to trigger the electronic device to display the floating control.
Optionally, the first input may be a touch input or a gesture input. For example, the touch input may be a user's Drag Action Drag input of a notification message, or the like.
Optionally, before S101, the message sending method provided in the embodiment of the present invention further includes: the electronic device receives user input and displays a status bar that includes M notification messages.
And S102, responding to the first input, and displaying the floating control by the electronic equipment.
Wherein the hover control may indicate a notification message for which the first input is directed.
It should be noted that, in the embodiment of the present invention, a display form of the floating control is not specifically limited, and may be specifically determined according to an actual use requirement. For example, the display form may include a shape and a size.
Optionally, the display area of the floating control may include a part of content or all content of the notification message; alternatively, no content of the notification message may be displayed in the display area of the hover control.
Optionally, when the first input is a drag input to the notification message, the "displaying the hover control" in S102 may include: the electronic device displays the hover control at the termination location of the drag input.
It is understood that when the user holds and drags the Notification message, the first input may trigger a Notification object function of a message injection module of a system of the electronic device, so that the message injection module may perform the following steps to complete the action of displaying the floating control:
(1) the message injection module obtains a notification message, such as text, image, audio, video, etc., from the notification message, and creates a hover control for the notification message, i.e., a hover control may be used to indicate the notification message.
(2) And the message injection module triggers the application program from which the notification message comes to run and displays the interface of the application program specified in advance by the notification message.
Alternatively, S102 may be any of the following (a), (b), (c), and (d).
(a) In response to the first input, the electronic device displays a hover control and at least one identifier that includes an object identifier in superimposition on the status bar.
(b) In response to the first input, the electronic device displays the status bar update as a desktop interface and overlays and displays the hover control on the desktop interface.
(c) In response to the first input, the electronic device displays the status bar update as a desktop interface, and superimposes and displays the hover control and at least one identifier including the target identifier on the desktop interface.
(d) In response to the first input, the electronic device displays the status bar update as a contact interface of an application to which the notification message belongs, and overlays and displays a hover control on the contact interface.
It will be appreciated that in response to the first input, the electronic device runs the application from which the notification message came and displays an interface of the application that was pre-specified by the notification message, such as: a contact interface. This interface needs to have two functions: a function of receiving and processing a sliding event of a user's finger in a screen; and receiving and processing the notification message indicated by the floating control to complete the function of forwarding action.
It should be noted that, in the embodiment of the present invention, for specific exemplary descriptions of the above four cases, reference may be made to the following first scheme, second scheme, third scheme, and fourth scheme, which are not described herein again.
S103, the electronic equipment receives a second input of the floating control and the target identification.
It should be noted that, when receiving the second input, the electronic device may display at least one identifier including the target identifier, where the target identifier may be one identifier or a plurality of identifiers in the at least one identifier.
Optionally, each of the at least one identity may indicate any one of: an application, a contact.
Alternatively, the target identifier may be an icon of the target application or an avatar of the target contact. In the case where the target identifier is an icon of the target application, the target identifier may refer to the target application; in the case where the target identification is the avatar of the target contact, the target identification may refer to the target contact.
Optionally, in an optional implementation manner, the at least one identification and levitation control are displayed in the same interface in response to the first input; another possible implementation manner is that at least one identifier is displayed in the interface where the floating control is located in response to other input of the user after the electronic device displays the floating control in response to the first input; yet another possible implementation is that the at least one identifier is an original identifier in the interface displaying the floating control.
Optionally, if the target identifier is an icon of an application program, the object indicated by the target identifier may be the application program or a contact in the application program; if the target identifier is the head portrait and/or name of the contact, the object indicated by the target identifier may be the contact.
Optionally, if the target identifier is displayed in the current interface when the electronic device receives the second input, the second input may be an input of dragging the floating control to the position of the target identifier; or, if the target identifier is not displayed in the current interface when the electronic device receives the second input, the second input is an input in which the floating control is dragged in a preset area to trigger the display of the target identifier and the floating control is dragged to a position corresponding to the target identifier.
Optionally, the preset area may be used to update the display identifier, and display the target identifier in the current interface when the electronic device receives the second input.
Optionally, the "dragging the floating control to the position corresponding to the target identifier" may include: and moving the suspension control out of the index area, and dragging the suspension control to the input of the position of the target identification.
For example, if the target contact icon is not displayed in the contact interface, that is, the current interface, when the terminal receives the second input, the user may drag the floating control to the contact index area, that is, the preset area, and slide the floating control to trigger updating of the identifier in the contact interface until the target contact icon is displayed in the contact interface. Then, the user's finger can move the hover control out of the index area and drag the hover control to the position of the target contact icon.
It is understood that, if the target identifier is not displayed in the current interface when the electronic device receives the second input, the operation of determining the target identifier may be completed by the Notification object. Specifically, the electronic device receives a current interface in the second input, receives and processes an event that the user drags the floating control by using the finger, namely the user drags the floating control to move in a preset area; the Notification object injects the touch coordinates (x and y) and the touch direction down or up of the user's finger at the screen position of the current interface into the current interface, so that a preset area of the current interface can receive and process a touch event including the touch coordinates and the touch direction to determine the target identifier. For example, assuming that the preset area is an index area, and the index area of the contact interface processes the touch event through the index, the list switching may be triggered until the target contact name is displayed, that is, the target contact is located, according to the initial letter of the contact name.
Optionally, the second input may be a touch input or the like. For example, the second input may be an input that the user drags the hover control to the position where the target identifier is located; alternatively, the second input may be a user click input to the target identification.
Optionally, the first input and the second input may be a drag input, and the input parameters of the drag input may include at least one of: dragging object, dragging time length, dragging distance and dragging direction. For example, the dragged object may be a hover control.
Optionally, in a case where both the first input and the second input are the drag input, the termination time of the first input and the start time of the second input may be the same time, that is, the first input and the second input may be consecutive inputs. For example: the user's hand may not leave the hover control after the first input and continue the second input.
Optionally, in a case where both the first input and the second input are the drag input, the termination time of the first input and the start time of the second input may be two different times, that is, the first input and the second input are two discontinuous inputs. For example: the user's hand may leave the hover control after the first input, before continuing with the second input.
And S104, responding to the second input, and sending the notification message by the electronic equipment according to the target object indicated by the target identification.
Alternatively, the target object indicated by the target identifier may be a target application or a target contact. In the case where the target identifier is an icon of the target application, the target identifier may refer to the target application; in the case where the target identification is the avatar of the target contact, the target identification may refer to the target contact.
Alternatively, S104 may be specifically realized by the following (1) to (3).
(1) In response to the second input, the electronic device acquires the notification message indicated by the hovering control and the touch coordinate corresponding to the second input.
(2) And the electronic equipment determines the identifier at the touch coordinate as a target identifier according to the touch coordinate.
(3) The electronic equipment sends the notification message to the target object indicated by the target identification.
It can be understood that, the receiving, by the electronic device, an input of the user dragging the hover control to the position of the target identifier, and in response to the input, injecting, by the Notification object of the system of the electronic device, the input event into the application indicated by the target identifier may specifically include: the Notification object can acquire a touch direction and touch coordinates corresponding to the input and a Notification message indicated by the floating control; the electronic equipment determines the identifier at the touch coordinate as a target identifier according to the touch coordinate, namely determines a target contact; and the electronic equipment sends the notification message indicated by the floating control to the application program indicated by the target identification. That is, the application completes information processing for the input event initiated by the Notification object. For example: and finishing sending the notification message to the target contact person on the contact person interface, and opening a chat window of the target contact person.
Optionally, if the target identifier is an icon of a system application of the electronic device, in response to the second input, the electronic device may send a notification message to the system application, for example, the system application may be a memo, a gallery, or the like; if the target object is an icon of a non-system application program of the electronic device, in response to a second input, the electronic device may first send a notification message to the non-system application program, and then the non-system application program sends the notification message to a contact of the non-system application program, for example, one or more contacts preset in an address book; if the target is identified as the contact icon, the electronic device may send a notification message to the target object indicated by the contact icon.
Optionally, the foregoing S104 is a method for forwarding the notification message to the target object indicated by the target identifier according to the embodiment of the present invention. In addition, another operation method for notification messages is provided in the embodiments of the present invention: after S103, in response to the second input, the electronic device displays an interface of the target application corresponding to the target identifier. Wherein, the target application program and the application program from which the notification message comes are two different application programs.
For example, in the case that the content of the notification message is an address link, the target identifier may be used to indicate a certain shopping application program corresponding to the address link. If the electronic device receives a second input of the icon of the shopping application from the user, the electronic device may respond to the second input, foreground-run the shopping application, and display an interface specified by the address link, for example, an interface of a certain commodity.
For example, in the case where the content of the notification message is a telephone number, the target identifier may be used to indicate a certain conversational class application. If the electronic device receives a second input of the icon of the call application from the user, the electronic device may, in response to the second input, operate the call application in the foreground and display an interface of the call application specified by the phone number, for example, a call interface with a certain contact.
The embodiment of the invention provides a message sending method, when a user needs to forward a certain notification message in a status bar, the user can firstly trigger electronic equipment to display a suspension control through first input of the notification message, and then trigger the electronic equipment to send the notification message indicated by the suspension control to a target object indicated by a target identifier through second input of the suspension control and the target identifier, so that the user can send the message in the status bar through two inputs without entering a chat interface, copying the message in the chat interface, pasting the message in other interfaces and other series of operations. Therefore, the message sending method provided by the embodiment of the invention is faster.
Optionally, the message sending method provided in the embodiment of the present invention may be specifically implemented by the following scheme one, scheme two, scheme three, or scheme four.
Scheme I,
Alternatively, S102 may be implemented by S102A described below. After S101, the message sending method provided in the embodiment of the present invention may further include S105 described below. Accordingly, S104 can be specifically realized by S104A described below.
S102, 102A, responding to the first input, the electronic equipment displays the floating control on the status bar in an overlapping mode.
And S105, responding to the first input, and the electronic equipment superposes and displays at least one mark including the target mark on the status bar.
Wherein a flag may indicate an application or a contact. The target object indicated by the target identification is a target application program or a target contact person.
S104A, in response to the second input, sending a notification message to the target application or the target contact.
Optionally, in a case that the at least one identifier is a plurality of identifiers, the plurality of identifiers may indicate a plurality of applications; alternatively, the plurality of identifications may indicate a plurality of contacts; alternatively, the plurality of identifications may indicate at least one application and at least one contact.
Optionally, for a case that the multiple identifiers may indicate multiple application programs, if the application program indicated by the target identifier and the application program that sends the notification message to the status bar are the same application program, the target object is a target contact in the application program, and the target contact is different from the contact that receives the notification message; if the application program indicated by the target identifier and the application program sending the notification message to the status bar are different application programs, the target object is a contact in the application program indicated by the target identifier, for example, all contacts or part of contacts.
Optionally, for the case that the plurality of identifiers indicate a plurality of applications, if at least one identifier indicates a plurality of applications, the plurality of applications may include an application that sends a notification message to the status bar, or may not include an application that sends a notification message to the status bar.
Optionally, for the case that multiple identifiers may indicate multiple contacts, if the multiple contacts are from the same application, the application may be the same as or different from the application that sent the notification message to the status bar; if the plurality of contacts are from a plurality of applications, the plurality of applications may include an application that sends notification messages to the status bar or may not include an application that sends notification messages to the status bar.
For example, as shown in fig. 3 (a), the electronic device may display a notification bar, which may include: a notification message 01 from a certain communication type application program and a notification message from a music type application program. If the user wants to forward the notification message 01, the user may drag the notification message 01. In a case where the electronic device receives a drag input of the notification message 01 by the user, as shown in (b) of fig. 3, the electronic device may display a hover control 02, a user image 03, and a user image 04 on the status bar in an overlapping manner in response to the first input. Then, as shown in (b) in fig. 3, the user may move the hover control 02 from the dotted line position to the position where the user image 03 is located, so that the electronic device may receive a second input that the user drags the hover control 02 to the position where the user image 03 is located, and in response to the second input, send a notification message 01 to the target user indicated by the user image 03. After the electronic device successfully sends the notification message 01 to the target user, as shown in (c) of fig. 3, the electronic device may display a prompt message 05 in the current interface so that the user can know that the message has been successfully sent.
According to the message sending method provided by the embodiment of the invention, when a user needs to forward a certain notification message in the status bar displayed by the electronic equipment, the electronic equipment can respond to the first input and display the suspension control and at least one identifier for indicating the notification message in the status bar, so that the user can directly realize the quick forwarding of the notification message through the second input of the target identifier in the suspension control and the at least one identifier in the status bar.
Optionally, after S104 or S104A, the message sending method provided in the embodiment of the present invention may further include S106 or S107 described below. I.e., S106 and S107 are alternatively performed.
S106, the electronic equipment cancels the display of the floating control and the at least one mark and keeps displaying the status bar.
Before the electronic device receives the first input and before the electronic device receives the second input, the status bar is always displayed in the interface of the electronic device; after the electronic device sends the notification message to the target object indicated by the target identifier, the status bar may still be displayed in the interface of the electronic device, i.e., the electronic device may keep displaying the status bar.
Optionally, the "the electronic device cancels displaying the floating control and the at least one identifier" means: the electronic device cancels displaying the floating control and cancels one or more of the at least one identification.
Optionally, the "keep display status bar" may include the following two schemes: the status bar can display the notification message indicated by the floating control and other notification messages; or canceling the notification message indicated by the floating control and keeping displaying other notification messages.
S107, the electronic equipment cancels the display of the floating control and the at least one mark, and updates and displays the status bar as a desktop interface.
Optionally, the "the electronic device cancels displaying the floating control and the at least one identifier" means: the electronic device cancels displaying the floating control and cancels one or more of the at least one identification.
Note that the "update display of the status bar as the desktop interface" means: the electronic device closes the notification panel of the status bar and displays the desktop interface.
For example, after the electronic device sends the notification message to the target object indicated by the target identifier, the electronic device may cancel the floating control 02, the user image 03, and the user image 04 shown in (b) of fig. 3 from being displayed, and keep displaying the notification bar shown in (a) of fig. 3.
According to the message sending method provided by the embodiment of the invention, after the electronic equipment sends the notification message to the target object indicated by the target identifier, on one hand, the electronic equipment can automatically cancel the display of the floating control and the at least one identifier, and keep displaying the status bar, or update and display the status bar as a desktop interface, and does not need a user to manually cancel the floating control and the at least one identifier, so that the user operation can be simplified; on the other hand, the floating control and the at least one mark are automatically canceled from being displayed, and the display status bar is kept, so that the user can conveniently forward other notification messages in the status bar.
Scheme II,
Alternatively, S102 may be implemented by S102B described below. Accordingly, S104 can be specifically realized by S104B described below.
S102B, responding to the first input, the electronic equipment updates and displays the status bar as a desktop interface, and superposes and displays the floating control on the desktop interface.
The desktop interface may include at least one identifier including a target identifier, and one identifier may indicate one application program. The target object indicated by the target identification is the target application program.
S104B, in response to the second input, sending a notification message to the target application.
Illustratively, the identifier may be an icon of the application program.
Optionally, it is assumed that the desktop interface is provided with a plurality of identifiers. When the electronic device updates and displays the status bar as a desktop interface, the desktop interface may display the plurality of identifiers, or display a part of the plurality of identifiers according to a certain preset rule. For example: the preset rule may be an application program with a high frequency of use by a user or a default application program of the electronic device.
Optionally, the step S102B in which the "electronic device updates and displays the status bar as the desktop interface" may specifically include: the electronic equipment cancels the display status bar and displays the status bar as a desktop interface; or, the electronic equipment superposes and displays a desktop interface on the status bar.
It should be noted that, in the case that one identifier indicates one application program, if the desktop interface includes N identifiers, the N identifiers may indicate the N application programs. The N applications may be any one of: n system applications; n third party applications; at least one system application and at least one third party application. Wherein N is an integer of 2 or more.
For example, as shown in fig. 4 (a), the electronic device may display a notification bar, which may include: a notification message 06 from a certain communication type application, a notification message from a music type application. If the user wants to forward the notification message 06, the user can drag the notification message 06. In a case where the electronic device receives a drag input of the notification message 06 by the user, as shown in (b) of fig. 4, the electronic device may update and display the notification bar as a desktop interface including three application icons in response to the drag input, and superimpose and display the hover control 07 on the desktop interface. Then, as shown in (b) of fig. 4, the user may move the hover control 07 from the dotted line position to the position where the memo application icon 08 is located, so that the electronic device may receive a second input that the user drags the hover control 07 to the position where the memo application icon 08 is located, and in response to the second input, send the notification message 06 to the memo indicated by the memo application icon 08. After the electronic device successfully sends the notification message 06 to the memo, as shown in (c) of fig. 4, the electronic device may display a prompt message 09 in the current interface so that the user can know that the message has been successfully sent.
According to the message sending method provided by the embodiment of the invention, when a user needs to forward a certain notification message in the status bar displayed by the electronic equipment, the electronic equipment can respond to the first input, update and display the status bar into the desktop interface comprising at least one identifier, and display the floating control for indicating the notification message on the desktop interface, so that the user can directly realize the rapid forwarding of the notification message through the second input of the floating control on the desktop interface and the target identifier in the at least one identifier.
Optionally, after S104 or S104B, the message sending method provided in the embodiment of the present invention may further include S108 or S109 described below. I.e., S108 and S109 are alternatively performed.
And S108, the electronic equipment cancels the display of the floating control and keeps displaying the desktop interface.
It should be noted that after the electronic device receives the first input, the electronic device always displays the desktop interface before receiving the second input; after the electronic device sends the notification message to the target object indicated by the target identifier, the electronic device may continue to display the desktop interface, i.e., the electronic device may keep displaying the desktop interface.
Optionally, the "keep displaying the desktop interface" may include the following two schemes: the desktop interface can display a target identifier and other identifiers for which the second input is directed; alternatively, the desktop interface may not display the target identifier for which the second input is intended and keep displaying the other identifiers.
And S109, the electronic equipment cancels the display of the floating control and updates and displays the desktop interface as a status bar.
The above "update and display of the desktop interface as the status bar" means that the electronic device automatically opens the status bar notification panel and displays the status bar on the desktop interface in a superimposed manner.
Optionally, the "displaying the desktop interface update as the status bar" may include the following two schemes: the status bar can display the notification message indicated by the floating control and other notification messages; or canceling the notification message indicated by the floating control and keeping displaying other notification messages.
Optionally, the status bar in S109 may display at least one identifier or not display at least one identifier.
For example, after the electronic device sends a notification message to the target object indicated by the target identifier, the electronic device may cancel the floating control 07 shown in (b) of fig. 4 from being displayed, and keep displaying the desktop interface including three application icons shown in (c) of fig. 4, or update and display the desktop interface as a status bar shown in (a) of fig. 4.
According to the message sending method provided by the embodiment of the invention, after the electronic equipment sends the notification message to the target object indicated by the target identifier, on one hand, the electronic equipment can automatically cancel the display suspension control and keep displaying the desktop interface or update and display the desktop interface as the status bar without manually canceling the suspension control by a user, so that the user operation can be simplified; on the other hand, the floating control is automatically cancelled and the desktop interface is updated and displayed as the status bar, so that the user can conveniently forward other notification messages in the status bar.
Scheme III,
Alternatively, S102 may be implemented by S102C described below. Accordingly, S104 can be specifically realized by S104C described below.
S102C, responding to the first input, the electronic equipment updates and displays the status bar as a desktop interface, and superposes and displays the floating control and at least one mark including the target mark on the desktop interface.
Wherein one identification may indicate one contact. The target object indicated by the target identification is a target contact.
It should be noted that, before receiving the first input, the electronic device displays a status bar, where the status bar includes at least one notification message.
It is understood that the above S102C specifically includes: the electronic equipment cancels the display of the status bar after receiving the first input; and displaying a desktop interface, and overlaying and displaying the floating control and at least one identifier including the target identifier on the desktop interface.
S104C, in response to the second input, the electronic device sends a notification message to the target contact.
For example, as shown in fig. 5 (a), the electronic device may display a status bar, which may include: a notification message 10 from a certain communication type application, a notification message from a music type application. If the user wants to forward the notification message 10, the user may drag the notification message 10. In a case where the electronic device receives a drag input of the notification message 10 by the user, as shown in (b) of fig. 5, the electronic device may update and display the status bar as a desktop interface in response to the drag input, and superimpose and display the hover control 11 and the three user avatars on the desktop interface. Then, as shown in (b) of fig. 4, the user may move the hover control 11 from the dashed line position to the position where the user avatar 12 is located, so that the electronic device may receive a second input that the user drags the hover control 11 to the position where the user avatar 12 is located, and in response to the second input, send the notification message 11 to the target contact indicated by the user avatar 12. After the electronic device successfully sends the notification message 11 to the target contact, as shown in (c) of fig. 5, the electronic device may display a prompt message 13 in the current interface so that the user can know that the message has been successfully sent.
According to the message sending method provided by the embodiment of the invention, when a user needs to forward a certain notification message in the status bar displayed by the electronic equipment, the electronic equipment can respond to the first input, update and display the status bar as the desktop interface, and display the suspension control and at least one identifier for indicating the notification message on the desktop interface, so that the user can directly realize the rapid forwarding of the notification message through the second input of the target identifier in the suspension control and the at least one identifier on the desktop interface.
Optionally, after S104 or S104C, the message sending method provided in the embodiment of the present invention may further include S110 or S111 described below. I.e., S110 and S111 are alternatively performed.
S110, the electronic equipment cancels display of the floating control and the at least one mark and keeps displaying of the desktop interface.
It should be noted that, in the above S110, the specific implementation method of the "electronic device cancels displaying the floating control and the at least one identifier" and the "keep displaying the desktop interface" may refer to the specific description in the first scheme and the second scheme, and is not described herein again.
And S111, the electronic equipment cancels the display of the floating control and updates and displays the desktop interface as a status bar.
It should be noted that, the specific implementation method of "update and display the desktop interface as the status bar" in S111 may refer to the specific description in scheme two, and is not described herein again.
For example, after the electronic device sends a notification message to the target object indicated by the target identifier, the electronic device may cancel the display of the hover control 11 as shown in (b) of fig. 5 and display the desktop interface update as a status bar as shown in (a) of fig. 5.
According to the message sending method provided by the embodiment of the invention, after the electronic equipment sends the notification message to the target object indicated by the target identifier, on one hand, the electronic equipment can automatically cancel the display of the floating control or the at least one identifier and keep displaying the desktop interface without manually canceling the floating control and the at least one identifier by a user, so that the user operation can be simplified; on the other hand, the floating control is automatically cancelled and the desktop interface is updated and displayed as the status bar, so that the user can conveniently forward other notification messages in the status bar.
Scheme IV,
Alternatively, S102 may be implemented by S102D described below. Accordingly, S104 can be specifically realized by S104D described below.
S102D, responding to the first input, the electronic equipment updates and displays the status bar as a contact interface of the application program where the notification message is located, and superposes and displays the floating control on the contact interface.
The contact interface may include at least one identifier including a target identifier, where one identifier indicates one contact. The target object indicated by the target identification is a target contact.
For example, the identification may be a user avatar or a user name.
S104D, in response to the second input, the electronic device sends a notification message to the target contact.
Optionally, the "the electronic device updates and displays the status bar as the contact interface of the application to which the notification message belongs" may specifically include: the electronic device can display a contact interface (the current interface of the electronic device) of the application program to which the notification message belongs on the status bar in an overlapping manner; alternatively, the electronic device can cancel displaying the notification bar and overlay a contact interface of the application to which the notification message belongs on the desktop interface. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It should be noted that, compared with the contact interface of the related art that the forwarding function cannot be realized, and only after the contact interface selects the target contact, the contact interface is switched to the chat interface of the target contact, and the forwarding function is realized on the chat interface of the target contact, the contact interface provided by the embodiment of the present invention can receive and process the user operation to determine the target contact, and further, the forwarding operation can be completed without switching the contact interface.
For example, as shown in (a) of fig. 6, the electronic device may display a status bar, which may include: notification messages 14 from certain communication type applications, notification messages from music type applications. If the user wants to forward the notification message 14, the user may drag the notification message 14. In a case where the electronic device receives a drag input of the notification message 14 by the user, as shown in (b) of fig. 6, the electronic device may update and display the status bar as a contact interface including 5 user avatars of an application to which the notification message 14 belongs in response to the drag input, and superimpose and display a hover control 15 on the contact interface. Then, as shown in (b) in fig. 6, the user may move the hovering control 15 from the dotted line position to a position corresponding to the user avatar 16, so that the electronic device may receive a second input that the user drags the hovering control 15 to the position of the user avatar 16, and in response to the second input, send the notification message 14 to the target contact James indicated by the user avatar 16. After the electronic device successfully sends the notification message 14 to the target contact, as shown in (c) of fig. 6, the electronic device may display a prompt message 17 in the current interface so that the user can know that the message was successfully sent.
According to the message sending method provided by the embodiment of the invention, when a user needs to forward a certain notification message in the status bar displayed by the electronic equipment, the electronic equipment can respond to the first input, update and display the status bar as the contact interface of the application program to which the notification message belongs, wherein the contact interface comprises at least one identifier, and display the floating control for indicating the notification message on the contact interface, so that the user can directly realize the quick forwarding of the notification message through the second input of the floating control on the contact interface and the target identifier in the at least one identifier.
Optionally, after S104 or S104D, the message sending method provided in the embodiment of the present invention may further include S112 described below.
And S112, the electronic equipment cancels the display of the floating control, and updates and displays the contact interface as a status bar or a desktop interface.
It should be noted that, the specific manner of "displaying the contact interface update as the status bar or the desktop interface" may include: the electronic equipment cancels the display of the contact interface and keeps displaying the status bar; or the electronic equipment cancels the display of the contact interface and the status bar and keeps displaying the desktop interface.
For example, after the electronic device sends a notification message to the target object indicated by the target identifier, the electronic device may cancel the display of the hover control 15 as shown in (b) of fig. 6 and update the contact interface to be displayed as a status bar as shown in (a) of fig. 6 or update the contact interface to be displayed as a desktop interface.
According to the message sending method provided by the embodiment of the invention, after the electronic equipment sends the notification message to the target object indicated by the target identifier, on one hand, the electronic equipment can automatically cancel the display suspension control, and update and display the contact interface as the desktop interface without manually canceling the suspension control by a user, so that the user operation can be simplified; on the other hand, the electronic device can automatically cancel the display suspension control, update and display the contact interface as the status bar, and can facilitate the user to forward other notification messages in the status bar.
As shown in fig. 7, an embodiment of the invention provides an electronic device 700. The electronic device may include a receiving module 701, a display module 702, and a transmitting module 703. A receiving module 701, configured to receive a first input of a notification message in a status bar. A display module 702, configured to display a hover control indicating the notification message in response to the first input received by the receiving module 701. The receiving module 701 is further configured to receive a second input for the hovering control and the target identifier. A sending module 703, configured to send, in response to the second input received by the receiving module 701, the notification message according to the target object indicated by the target identifier.
Optionally, the display module 702 is specifically configured to display the floating control on the status bar in an overlapping manner. The display module 702 is further configured to, after receiving the first input of the notification message in the status bar received by the module 701, display at least one identifier including an object identifier on the status bar in an overlapping manner, where one identifier indicates an application or a contact.
Optionally, the display module 702 is specifically configured to update and display the status bar as a desktop interface, and superimpose and display a floating control on the desktop interface, where the desktop interface includes at least one identifier including the target identifier, and one identifier indicates one application program.
Optionally, the display module 702 is specifically configured to update and display the status bar as a contact interface of an application program where the notification message is located, and superimpose and display a floating control on the contact interface, where the contact interface includes at least one identifier including the target identifier, and one identifier indicates one contact.
Optionally, the display module 702 is further configured to cancel displaying the floating control and the at least one identifier and keep displaying the status bar after the sending module 703 sends the notification message according to the target object indicated by the target identifier; or canceling the display of the floating control and the at least one identifier, and updating and displaying the status bar as a desktop interface.
Optionally, the display module 702 is further configured to cancel displaying the floating control and keep displaying the desktop interface after the sending module 703 sends the notification message according to the target object indicated by the target identifier; or canceling the display suspension control, and updating and displaying the desktop interface as a status bar.
Optionally, the display module 702 is further configured to cancel displaying the floating control and update and display the contact interface as a status bar or a desktop interface after the sending module 703 sends the notification message according to the target object indicated by the target identifier.
Optionally, the first input is a drag input to the notification message. The display module 702 is specifically configured to display the floating control at the termination position of the drag input.
Optionally, if the target identifier is displayed in the current interface when the second input is received, the second input is an input of dragging the floating control to the position of the target identifier. And if the target identifier is not displayed in the current interface when the second input is received, dragging the floating control in a preset area to trigger the display of the target identifier, and dragging the floating control to the position corresponding to the target identifier.
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.
The embodiment of the invention provides electronic equipment, when a user needs to forward a certain notification message in a status bar, the user can firstly trigger the electronic equipment to display a suspension control through a first input of the notification message and then trigger the electronic equipment to send the notification message indicated by the suspension control to a target object indicated by a target identifier through a second input of the suspension control and the target identifier, so that the user can send the message in the status bar through two inputs without entering a chat interface, copying the message in the chat interface, pasting the message in other interfaces and other series of operations. Therefore, the electronic equipment provided by the embodiment of the invention can forward the notification message more conveniently.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention. As shown in fig. 8, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 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 electronic device, a wearable device, a pedometer, and the like.
Wherein, the processor 210 is configured to control the user input unit 207 to receive a first input of the notification message in the status bar; in response to the first input, and control the display unit 206 to display a hover control, the hover control indicating the notification message; and controlling the user input unit 207 to receive a second input of the hover control and the target identifier from the user; and responding to the second input, and sending the notification message according to the target object indicated by the target identification.
The embodiment of the invention provides electronic equipment, when a user needs to forward a certain notification message in a status bar, the user can firstly trigger the electronic equipment to display a suspension control through a first input of the notification message, and then trigger the electronic equipment to send the notification message indicated by the suspension control to a target object indicated by a target identifier through a second input of the suspension control and the target identifier, so that the user can send the message in the status bar through two inputs without entering a chat interface, copying the message in the chat interface, pasting the message in other interfaces and other series of operations. Therefore, the electronic equipment provided by the embodiment of the invention can forward the notification message more conveniently.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 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 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device 200 provides the user with wireless broadband internet access via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 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 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 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 201 in case of a phone call mode.
The electronic device 200 also includes at least one sensor 205, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 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 205 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 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 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 207 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 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 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 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 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 further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 8, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. 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 208 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 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 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 for 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 209 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 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to each component, and optionally, the power source 211 may be logically connected to the processor 210 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 200 includes some functional modules that are not shown, and thus are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 210 shown in fig. 8, the memory 209, and a computer program stored in the memory 209 and capable of running on the processor 210, and when the computer program is executed by the processor 210, the processes of the method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
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 the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
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 invention 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 described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. A message sending method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first input of a notification message in a status bar;
in response to the first input, displaying a hover control that indicates the notification message;
receiving a second input to the hover control and a target identification;
and responding to the second input, and sending the notification message according to the target object indicated by the target identification.
2. The method of claim 1, wherein the displaying the hover control comprises:
the suspension control is displayed on the status bar in an overlapping mode;
after receiving the first input of the notification message in the status bar, the method further comprises:
in response to the first input, at least one indicator including the target indicator is displayed superimposed on the status bar, one indicator indicating an application or a contact.
3. The method of claim 1, wherein the displaying the hover control comprises:
and updating and displaying the status bar as a desktop interface, and overlaying and displaying the floating control on the desktop interface, wherein the desktop interface comprises at least one identifier including the target identifier, and one identifier indicates one application program.
4. The method of claim 1, wherein the displaying the hover control comprises:
and updating and displaying the status bar as a contact person interface of an application program where the notification message is located, and overlaying and displaying the floating control on the contact person interface, wherein the contact person interface comprises at least one identifier including the target identifier, and one identifier indicates one contact person.
5. The method according to claim 2, wherein after the sending the notification message according to the target object indicated by the target identifier, the method further comprises:
canceling the display of the floating control and the at least one mark, and keeping displaying the status bar; or,
and canceling the display of the floating control and the at least one identifier, and updating and displaying the status bar as a desktop interface.
6. The method of claim 3, wherein after sending the notification message according to the target object indicated by the target identifier, the method further comprises:
canceling the display of the suspension control, and keeping displaying the desktop interface; or,
and canceling the display of the floating control, and updating and displaying the desktop interface as the status bar.
7. The method of claim 4, wherein after sending the notification message according to the target object indicated by the target identifier, the method further comprises:
and canceling the display of the floating control, and updating and displaying the contact interface as the status bar or the desktop interface.
8. The method according to claim 1, wherein if the target identifier is displayed in a current interface when the second input is received, the second input is an input of dragging the floating control to a position where the target identifier is located;
or,
and if the target identifier is not displayed in the current interface when the second input is received, dragging the suspension control in a preset area to trigger the display of the target identifier, and dragging the suspension control to a position corresponding to the target identifier.
9. An electronic device, comprising a receiving module, a display module, and a transmitting module;
the receiving module is used for receiving a first input aiming at the notification message in the status bar;
the display module is configured to display a hover control in response to the first input received by the receiving module, where the hover control indicates the notification message;
the receiving module is further configured to receive a second input to the levitation control and the target identifier;
the sending module is configured to send the notification message according to the target object indicated by the target identifier in response to the second input received by the receiving module.
10. The electronic device of claim 9, wherein the display module is specifically configured to display the hover control over the status bar in an overlaid manner;
the display module is further configured to, after the receiving module receives the first input of the notification message in the status bar, display at least one identifier including the target identifier on the status bar in an overlapping manner in response to the first input, one identifier indicating an application or a contact.
11. The electronic device of claim 9, wherein the display module is specifically configured to update and display the status bar as a desktop interface, and overlay and display the floating control on the desktop interface, where the desktop interface includes at least one identifier including the target identifier, and one identifier indicates one application program.
12. The electronic device according to claim 9, wherein the display module is specifically configured to update and display the status bar as a contact interface of an application program where the notification message is located, and to superimpose and display the hover control on the contact interface, where the contact interface includes at least one identifier including the target identifier, and one identifier indicates one contact.
13. The electronic device of claim 10, wherein the display module is further configured to cancel displaying the hover control and the at least one identifier and keep displaying the status bar after the sending module sends the notification message according to the target object indicated by the target identifier; or canceling to display the floating control and the at least one identifier, and updating and displaying the status bar as a desktop interface.
14. The electronic device of claim 11, wherein the display module is further configured to cancel displaying the floating control and keep displaying the desktop interface after the sending module sends the notification message according to the target object indicated by the target identifier; or canceling the display of the floating control, and updating and displaying the desktop interface as the status bar.
15. The electronic device of claim 12, wherein the display module is further configured to cancel displaying the floating control and update and display the contact interface as the status bar or desktop interface after the sending module sends the notification message according to the target object indicated by the target identifier.
16. The electronic device according to claim 9, wherein if the target identifier is displayed in a current interface when the second input is received, the second input is an input of dragging the floating control to a position where the target identifier is located; or, if the target identifier is not displayed in the current interface when the second input is received, the second input is an input of dragging the floating control in a preset area to trigger the display of the target identifier and dragging the floating control to a position corresponding to the target identifier.
17. 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 message sending method according to any one of claims 1 to 8.
18. 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 message sending method according to any one of claims 1 to 8.
CN201911136959.7A 2019-11-19 2019-11-19 Message sending method and electronic equipment Pending CN110888707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911136959.7A CN110888707A (en) 2019-11-19 2019-11-19 Message sending method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911136959.7A CN110888707A (en) 2019-11-19 2019-11-19 Message sending method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110888707A true CN110888707A (en) 2020-03-17

Family

ID=69748031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911136959.7A Pending CN110888707A (en) 2019-11-19 2019-11-19 Message sending method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110888707A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506236A (en) * 2020-04-13 2020-08-07 维沃移动通信有限公司 Message sending method and electronic equipment
CN111857498A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Data interaction method and device and electronic equipment
CN112162802A (en) * 2020-09-17 2021-01-01 维沃移动通信有限公司 Message reply method and device and electronic equipment
CN112242947A (en) * 2020-10-13 2021-01-19 北京字节跳动网络技术有限公司 Information processing method, device, equipment and medium
CN112269510A (en) * 2020-10-29 2021-01-26 维沃移动通信(杭州)有限公司 Information processing method and device and electronic equipment
CN112286611A (en) * 2020-10-29 2021-01-29 维沃移动通信(杭州)有限公司 Icon display method and device and electronic equipment
CN112737927A (en) * 2021-01-05 2021-04-30 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN113918055A (en) * 2021-09-14 2022-01-11 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN114124874A (en) * 2021-11-02 2022-03-01 维沃移动通信有限公司 Chat information sending method and device
CN114500721A (en) * 2022-01-25 2022-05-13 维沃移动通信有限公司 Notification display method and device
CN115291995A (en) * 2022-10-08 2022-11-04 荣耀终端有限公司 Message display method, related electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888317A (en) * 2017-01-03 2017-06-23 努比亚技术有限公司 A kind of interaction processing method, device and terminal
CN108803964A (en) * 2018-06-08 2018-11-13 Oppo广东移动通信有限公司 Buoy display methods, device, terminal and storage medium
CN109471742A (en) * 2018-11-07 2019-03-15 Oppo广东移动通信有限公司 Information processing method, device, electronic equipment and readable storage medium storing program for executing
CN110174994A (en) * 2019-05-27 2019-08-27 网易(杭州)网络有限公司 The method and device of chat messages forwarding, electronic equipment, storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888317A (en) * 2017-01-03 2017-06-23 努比亚技术有限公司 A kind of interaction processing method, device and terminal
CN108803964A (en) * 2018-06-08 2018-11-13 Oppo广东移动通信有限公司 Buoy display methods, device, terminal and storage medium
CN109471742A (en) * 2018-11-07 2019-03-15 Oppo广东移动通信有限公司 Information processing method, device, electronic equipment and readable storage medium storing program for executing
CN110174994A (en) * 2019-05-27 2019-08-27 网易(杭州)网络有限公司 The method and device of chat messages forwarding, electronic equipment, storage medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506236B (en) * 2020-04-13 2022-03-22 维沃移动通信有限公司 Message sending method and electronic equipment
CN111506236A (en) * 2020-04-13 2020-08-07 维沃移动通信有限公司 Message sending method and electronic equipment
CN111857498A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Data interaction method and device and electronic equipment
CN111857498B (en) * 2020-06-30 2022-05-20 维沃移动通信有限公司 Data interaction method and device and electronic equipment
CN112162802A (en) * 2020-09-17 2021-01-01 维沃移动通信有限公司 Message reply method and device and electronic equipment
CN112242947A (en) * 2020-10-13 2021-01-19 北京字节跳动网络技术有限公司 Information processing method, device, equipment and medium
US12003468B2 (en) 2020-10-13 2024-06-04 Beijing Bytedance Network Technology Co., Ltd. Information processing method, apparatus and medium
WO2022089480A1 (en) * 2020-10-29 2022-05-05 维沃移动通信(杭州)有限公司 Information processing method and apparatus, and electronic device
CN112269510A (en) * 2020-10-29 2021-01-26 维沃移动通信(杭州)有限公司 Information processing method and device and electronic equipment
CN112286611A (en) * 2020-10-29 2021-01-29 维沃移动通信(杭州)有限公司 Icon display method and device and electronic equipment
JP7546165B2 (en) 2020-10-29 2024-09-05 維沃移動通信有限公司 Information processing method, device and electronic device
US12079444B2 (en) 2020-10-29 2024-09-03 Vivo Mobile Communication Co., Ltd. Information processing method and apparatus, and electronic device
CN112286611B (en) * 2020-10-29 2023-12-12 维沃移动通信(杭州)有限公司 Icon display method and device and electronic equipment
CN112737927A (en) * 2021-01-05 2021-04-30 北京字跳网络技术有限公司 Information display method and device and electronic equipment
WO2022148315A1 (en) * 2021-01-05 2022-07-14 北京字跳网络技术有限公司 Information display method and apparatus, and electronic device
CN113918055A (en) * 2021-09-14 2022-01-11 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN114124874A (en) * 2021-11-02 2022-03-01 维沃移动通信有限公司 Chat information sending method and device
WO2023078301A1 (en) * 2021-11-02 2023-05-11 维沃移动通信有限公司 Chat information sending method and apparatus
CN114500721A (en) * 2022-01-25 2022-05-13 维沃移动通信有限公司 Notification display method and device
CN115291995B (en) * 2022-10-08 2023-03-31 荣耀终端有限公司 Message display method, related electronic equipment and readable storage medium
CN115291995A (en) * 2022-10-08 2022-11-04 荣耀终端有限公司 Message display method, related electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN110851051B (en) Object sharing method and electronic equipment
CN111049663B (en) Method, electronic device and medium for creating topic group
CN111061574B (en) Object sharing method and electronic device
CN110888707A (en) Message sending method and electronic equipment
EP3786771B1 (en) Message management method and terminal
CN108958865B (en) Corner mark management method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
CN109614061B (en) Display method and terminal
CN110502163B (en) Terminal device control method and terminal device
CN110913066A (en) Display method and electronic equipment
CN109828705B (en) Icon display method and terminal equipment
CN109871164B (en) Message sending method and terminal equipment
CN111078076A (en) Application program switching method and electronic equipment
CN109597558A (en) A kind of display control method and terminal device
CN111026299A (en) Information sharing method and electronic equipment
CN111273993B (en) Icon arrangement method and electronic equipment
CN108681427B (en) Access right control method and terminal equipment
CN110196668B (en) Information processing method and terminal equipment
CN109828731B (en) Searching method and terminal equipment
CN111443844A (en) Information processing method and electronic equipment
CN110989950A (en) Sharing control method and electronic equipment
CN111026350A (en) Display control method and electronic equipment
CN111142723A (en) Icon moving method and electronic equipment
CN111104236A (en) Paste control method and electronic 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200317

RJ01 Rejection of invention patent application after publication