CN108153457B - Message reply method and device - Google Patents

Message reply method and device Download PDF

Info

Publication number
CN108153457B
CN108153457B CN201611103074.3A CN201611103074A CN108153457B CN 108153457 B CN108153457 B CN 108153457B CN 201611103074 A CN201611103074 A CN 201611103074A CN 108153457 B CN108153457 B CN 108153457B
Authority
CN
China
Prior art keywords
instant messaging
sending
message
page
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611103074.3A
Other languages
Chinese (zh)
Other versions
CN108153457A (en
Inventor
唐志鹏
孔令坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611103074.3A priority Critical patent/CN108153457B/en
Publication of CN108153457A publication Critical patent/CN108153457A/en
Application granted granted Critical
Publication of CN108153457B publication Critical patent/CN108153457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a message reply method and a device, wherein the message reply method comprises the following steps: when a terminal displays a first interface, acquiring a first instant messaging message sent by a first friend, wherein the first interface is any one of interfaces of instant messaging applications; when a reply instruction is detected, a floating window is established on the terminal screen, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message; sending the second instant messaging message to the first friend, wherein the floating window is always displayed at the forefront of the terminal screen in the sending process; and when the sending process is monitored to be finished, removing the floating window and displaying the first interface. By adopting the invention, the instant messaging message of the first friend can be automatically and quickly replied, and the terminal is kept to display the first interface, so that the operation is convenient and the efficiency is high.

Description

Message reply method and device
Technical Field
The invention relates to the technical field of internet, in particular to a message reply method and a message reply device.
Background
The use of instant messaging applications is becoming more and more widespread, and users can chat through the instant messaging applications, or share various audios, videos, news and the like through the own circle of friends of the instant messaging applications. As internet technology develops and other applications also develop faster, users usually install a plurality of applications on a terminal, such as a news application or a shopping application.
When a user uses a plurality of applications or uses a friend circle carried by an instant messaging application on the same terminal, a series of problems are often caused, for example, when the user watches news or looks over the friend circle, a friend sends a message suddenly, and the user needs to reply immediately.
Disclosure of Invention
The embodiment of the invention provides a message reply method and a message reply device, which can automatically and quickly reply an instant messaging message of a first friend, keep a terminal to display a first interface, and have the advantages of convenience in operation and high efficiency.
A first aspect of the present invention provides a message reply method, including:
when a terminal displays a first interface, acquiring a first instant messaging message sent by a first friend, wherein the first interface is any one of interfaces of instant messaging applications;
when a reply instruction is detected, a floating window is established on the terminal screen, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message;
sending the second instant messaging message to the first friend, wherein the floating window is always displayed at the forefront of the terminal screen in the sending process;
and when the sending process is monitored to be finished, removing the floating window and displaying the first interface.
A second aspect of the present invention provides a message reply device, including:
the terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first instant messaging message sent by a first friend when the terminal displays a first interface, and the first interface is any one of instant messaging applications;
the creating module is used for creating a floating window on the terminal screen when a reply instruction is detected, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message;
the sending module is used for sending the second instant messaging message to the first friend, and the floating window is always displayed in the front of the terminal screen in the sending process;
and the display module is used for removing the floating window and displaying the first interface when the sending process is monitored to be finished.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is obtained, when the reply instruction is detected, the floating window is established on the screen of the terminal, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the screen of the terminal in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a message reply method according to an embodiment of the present invention;
fig. 2 is a flowchart of another message reply method according to an embodiment of the present invention;
fig. 3 is a flowchart of another message reply method according to an embodiment of the present invention;
FIG. 4 is a diagram of a screen display according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating another example of a screen display according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another screen display according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another screen display according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another embodiment of a screen display;
FIG. 9 is a schematic diagram of another exemplary screen display provided by the embodiments of the present invention;
FIG. 10 is a schematic diagram of another exemplary screen display provided by the embodiments of the present invention;
FIG. 11 is a schematic diagram of another exemplary screen display provided by the embodiments of the present invention;
FIG. 12 is a schematic diagram of another embodiment of a screen display;
FIG. 13 is a schematic diagram of another exemplary screen display provided by the embodiments of the present invention;
fig. 14 is a flowchart of a WeChat reply message according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a message reply apparatus according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a sending module according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an operation unit according to an embodiment of the present invention;
fig. 18 is a schematic structural diagram of another message reply apparatus 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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes in detail a message reply method provided by an embodiment of the present invention with reference to fig. 1 to 14.
Fig. 1 is a flowchart of a message reply method according to an embodiment of the present invention; the method may comprise the following steps S100-S103.
S100, when a terminal displays a first interface, acquiring a first instant messaging message sent by a first friend, wherein the first interface is any one of interfaces of instant messaging applications;
in the embodiment of the present invention, the first interface may be any page of the instant messaging application, and the any interface may be any interface of the instant messaging application except for a chat interface, for example, a social circle interface of the instant messaging application, that is, when a user can view a social circle of the instant messaging application, a first instant messaging message sent by a first friend is received, and further optionally, the first interface may be a news interface corresponding to a certain link in the social circle, and the like.
The user logs in the account number of the user at the instant messaging application of the terminal, when the user looks up the first interface except the chat interface of the instant messaging application, the instant messaging application runs in the background, the instant messaging application is still able to receive instant messaging messages sent by buddies, such as, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, usually, the terminal displays the first instant messaging message on the notification bar, the user can immediately see the first instant messaging message, if the user needs to immediately reply to the first friend, the prior art needs to return to the chat interface for replying, and then manually operating to return to the first interface, which is extremely complex and inconvenient, the embodiment of the invention can provide a method for quickly replying the first instant messaging message of the first friend, and the terminal screen still stays in the first interface after replying.
As shown in fig. 5, when the user receives the first instant messaging message and wants to reply, the user can pop up the reply interface by pulling down the message card, as shown in fig. 6, the user can reply to the first instant messaging message by clicking the right virtual sending button after inputting the text in the reply box, and the message replied by the user for the first instant messaging message is called as a second instant messaging message in the embodiment of the present invention.
S101, when a reply instruction is detected, a floating window is established on the terminal screen, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message;
in the embodiment of the present invention, the reply instruction may be that the user clicks the send virtual button after inputting the second instant messaging message, and when the terminal detects the reply instruction, a floating window is created on the terminal screen, optionally, the floating window may be opaque, and an animation for sending the second instant messaging message may be played.
As shown in fig. 7, which is a schematic view of a floating window interface provided in an embodiment of the present invention, as shown in the figure, the floating window is opaque, and covers the entire terminal screen, and the floating window can play an animation of sending a second instant messaging message, so that a user can perceive that the second instant messaging message is being sent, further, as shown in fig. 8, when sending is about to end, the animation of fig. 7 can be switched to the animation of fig. 8, and the floating window is always displayed on the terminal screen.
S102, sending the second instant messaging message to the first friend, wherein the floating window is always displayed at the forefront of the terminal screen in the sending process;
in the embodiment of the present invention, the manner of sending the second instant messaging message to the first friend may be to call an Application Programming Interface (API) of the instant messaging Application, and share the second instant messaging message to the first friend, where the API is a predefined function, and is intended to provide an ability for an Application and a developer to access a set of routines based on certain software or hardware, without accessing a source code or understanding details of an internal working mechanism. It should be noted that, in the whole sharing process, the floating window is always displayed at the forefront of the terminal screen, which can shield the perception of the user side, thereby improving the use experience.
In the whole process of sending the second instant messaging message, a floating window is always displayed at the forefront of a terminal screen, the background actual operation is the operation process of sharing the second instant messaging message, the auxiliary function of the system and the sharing function of the instant messaging application are specifically utilized, and the background combines the two functions to realize quick reply to the first instant messaging message.
The auxiliary function of the system is a function used by people with certain obstacles, such as inconvenient movement, poor eyesight or hearing, and the like, and a user can send an operation instruction to the system without touching a screen and keys through the auxiliary function and can monitor events such as window change and the like.
Specifically, optionally, as shown in fig. 4, when a quick reply is required, the auxiliary function of the terminal needs to be started, for example, when the terminal receives a first instant messaging message sent by a first friend, the terminal pops up a prompt message for prompting a user to start the auxiliary function, and when the user starts the auxiliary function, the instant messaging application obtains the use permission of the auxiliary function.
Specifically, after a reply instruction of a user is received, a floating window is created, a covering animation is played, monitoring of an auxiliary function is started, as shown in fig. 10, a background uses a sharing API of an instant messaging application to open a sharing page, the sharing page includes identifiers of a plurality of friends, when the sharing page is monitored to be opened through the auxiliary function, a sending object, namely the identifier of the first friend, needs to be selected, and the control terminal operates a corresponding control to open the sending page. As shown in fig. 11, when it is monitored that the transmission page is opened by the auxiliary function, the control terminal operates the sharing virtual button to wait for the opening of the transmission feedback page. As shown in fig. 12, when it is monitored through the auxiliary function that the transmission feedback page is opened, the control terminal operates the return application button to return to sting. And finally clicking a BACK key to return to the first interface of the application before replying.
It should be noted that, in the sharing process, the background auxiliary function monitors and operates the window change completely, and the user only sees the floating window displayed on the terminal screen without performing any operation. As shown in fig. 9, when the user opens the chat interface of the instant messaging application, the schematic interface display diagram is shown in the figure, and it can be seen that there is a ring icon and a character "from ring-Priori Messages" in the lower right corner of the second instant messaging message, which is the sharing function using the instant messaging application.
S103, when the sending process is monitored to be finished, the floating window is removed, and the first interface is displayed.
In the embodiment of the invention, when the sharing process is monitored to be finished, the floating window is removed, and the first interface is displayed, so that a user does not feel the sharing operation of the background at all.
In the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, when a reply instruction is detected, a floating window is created on a terminal screen, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the terminal screen in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
It should be noted that, the embodiment of fig. 1 mainly illustrates that when the terminal displays the first interface, when receiving the first instant messaging message sent by the first friend, the terminal replies the second instant messaging message, and during the process of sending the second instant messaging message by the terminal, the terminal screen always displays the floating window, and when it is monitored that the sending of the second instant messaging message is finished, the terminal displays the first interface again;
in the following, a scenario in which a user needs to send a message when the terminal displays the first interface is taken as an example for description, where the step of sending the message mainly includes the following steps:
step one, when a terminal displays a first interface, judging whether the terminal receives a new message, and if the terminal does not receive the new message, detecting whether a message sending requirement exists;
specifically, the operation step of presetting the message sending requirement may be, for example, that when the terminal displays the first interface, the user slides to the left on the screen of the terminal, as shown in fig. 13, when the terminal displays the circle of friends interface of the instant messaging application, the user may slide to the left, and when the terminal detects that the terminal screen has a sliding track sliding to the left, it is determined that the message sending requirement exists. Alternatively, a virtual button may be set on the first interface when the first interface is displayed on the terminal screen, and when the user clicks the virtual button, that is, there is a message sending requirement, and the like. The present invention does not limit the detection mode of the message sending requirement.
Step two, if a message sending requirement exists, a message sending interface is displayed;
specifically, when it is detected that there is a message sending demand, a message sending interface is displayed, as shown in fig. 13, the message sending interface may be a short message sending interface, or may also be a message sending interface of an instant messaging application, and when the terminal displays the message sending interface, the user may type a third instant messaging message that needs to be sent to the second friend, for example, send the third instant messaging message "wedding present" to "zhangsan" of the second friend.
Step three, when a message sending instruction is detected, a floating window is established on the terminal screen, wherein the message sending instruction is an instruction aiming at a third instant messaging message which is pre-sent to a second friend;
specifically, when the user clicks the send virtual button, the terminal detects the message sending instruction, creates a floating window on the terminal screen, and sends the third instant messaging message to the second friend by calling the sharing API, as shown in fig. 13, the floating window is displayed in the whole process of sending the third instant messaging message by the terminal, and the floating window may be opaque.
Step four, the third instant messaging message is sent to the second friend, and the floating window is always displayed in the front of the terminal screen in the sending process;
specifically, in the process that the terminal sends the third instant messaging message, the floating window is always displayed at the forefront of the terminal screen, and the terminal can actually monitor the change of the sending page through the auxiliary function and return to the first interface according to the preset operation flow, for example, if the first interface is an application interface, the terminal can click the return application virtual button through the auxiliary function to return to the first interface.
And fifthly, removing the floating window and displaying the first interface when the sending process is monitored to be finished.
Specifically, when it is monitored that the whole sending process is finished and the display interface of the terminal returns to the first interface, the floating window is removed and the first interface is displayed. The user thus feels that the terminal stays in the first interface all the time during the transmission.
Referring to fig. 2, a schematic flow chart of another message reply method according to an embodiment of the present invention is shown, where the message reply method according to the embodiment of the present invention includes steps S200 to S205;
s200, when a terminal displays a first interface, acquiring a first instant messaging message sent by a first friend, wherein the first interface is any one of interfaces of instant messaging applications;
s201, when a reply instruction is detected, a floating window is established on the terminal screen, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message;
referring to steps S100 to S101 of fig. 1, steps S200 to S201 of the embodiment of the present invention are not described herein again.
S202, opening a sharing page of the instant messaging application, wherein the sharing page comprises the identifications of a plurality of friends;
s203, selecting the identification of the first friend from the identifications of the friends;
in the embodiment of the present invention, under the situation that the floating window is displayed at the frontmost side of the terminal screen, the terminal background calls the sharing API of the instant messaging application, and opens the sharing page of the instant messaging application, as shown in fig. 10, which is a schematic diagram of the sharing page, the sharing page includes the identifiers of a plurality of friends, the identifiers of the plurality of friends include the identifier of the first friend, and the identifier matching with the identifier of the first friend is automatically searched from the identifiers of the plurality of friends through a system assistance function, and is selected.
And S204, monitoring the page switching change of the instant messaging application, and operating the switched page according to a preset operation flow to realize that the second instant messaging message is sent to the first friend.
In the embodiment of the present invention, monitoring the page switching change of the instant messaging application may be monitoring through an auxiliary function, or monitoring through a certain application program. After the identifier of the first friend is selected from the identifiers of the multiple friends sharing the page, the page of the instant messaging application is switched and changed, as shown in fig. 11, after the identifier of the first friend is selected, the page of the instant messaging application is switched to a sending page, the sending page is operated according to a preset operation flow through an auxiliary function, a sharing virtual button is clicked, the sending page is switched to a sending feedback page shown in fig. 12, a return application virtual button in the sending feedback page is further controlled and operated through the auxiliary function, and the page of the instant messaging application is further switched.
Specifically, optionally, the monitoring the page switching change of the instant messaging application, and operating the switched page according to a preset operation flow includes:
monitoring page switching change of the instant messaging application, and if the time of the page switching change is less than a preset threshold value, operating the switched page according to a preset operation flow;
in the embodiment of the invention, after the page is operated each time, the page is switched to another page, if the time for monitoring the page switching change is less than the preset threshold value through the system auxiliary function, the sharing process is normally performed, that is, the switched page is further operated according to the preset operation flow, so that the second instant messaging message is sent to the first friend. It should be noted that the time when the page is changed is the time when the two pages are switched.
And if the time of the page switching change is greater than the preset threshold value, canceling sending the second instant messaging message, removing the floating window and displaying the first interface.
Specifically, optionally, for example, due to a network reason, or terminal blocking, etc., when the time for changing the page switching is greater than a preset threshold, the sending of the second instant messaging message is cancelled, and the floating window is removed, and the first interface is displayed.
S205, when the sending process is monitored to be finished, removing the floating window, and displaying the first interface.
Step S205 in the embodiment of the present invention please refer to step S103 in the embodiment of fig. 1, which is not described herein again.
In the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, when a reply instruction is detected, a floating window is created on a terminal screen, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the terminal screen in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
Referring to fig. 3, a schematic flow chart of another message reply method according to an embodiment of the present invention is shown, where the message reply method according to the embodiment of the present invention includes steps S300 to S307;
s300, when the terminal displays a first interface, acquiring a first instant messaging message sent by a first friend;
s301, when a reply instruction is detected, a floating window is created on the terminal screen, wherein the reply instruction is an instruction for replying a second instant messaging message to the first instant messaging message;
s302, opening a sharing page of the instant messaging application, wherein the sharing page comprises the identifications of a plurality of friends;
s303, selecting the identification of the first friend from the identifications of the friends;
referring to steps S200 to S203 of fig. 2, steps S300 to S303 of the embodiment of the present invention are not described herein again.
S304, when monitoring that the sending page is switched to the instant messaging application from the sharing page, controlling the terminal to operate a sharing virtual button of the sending page;
in the embodiment of the present invention, the auxiliary function may monitor a change of a terminal page, and the auxiliary function may operate with respect to the changed page, as shown in fig. 10, after the identifier of the first friend is selected, the display page of fig. 10 may be switched to the sending page of fig. 11, and the terminal may be further controlled by the auxiliary function to operate the sharing virtual button of the sending page.
S305, when a feedback sending page switched from the sending page to the instant messaging application is monitored, controlling the terminal to operate a return application virtual button of the feedback sending page;
s306, controlling the terminal to switch to the first interface from the feedback sending page.
In the embodiment of the present invention, after the sharing virtual button in fig. 11 is operated, the page is switched from the sending page in fig. 11 to the sending feedback page in fig. 12, the terminal can be further controlled to operate the return application virtual button in fig. 12 through the system auxiliary function, and the page is further switched to return to the first interface.
S307, when it is monitored that the terminal is switched to the first interface from the feedback sending page, the sending process is finished, the floating window is removed, and the first interface is displayed.
In the embodiment of the invention, when the condition that the terminal is switched to the first interface from the transmission feedback page is monitored, the transmission process is ended, the terminal is controlled to remove the floating window displayed at the forefront of the terminal screen, so that the first interface is displayed, and a user can continuously check the content of the first interface.
In the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, when a reply instruction is detected, a floating window is created on a terminal screen, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the terminal screen in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
Fig. 14 is a flowchart of a WeChat reply message according to an embodiment of the present invention, which is only an example of an instant messaging application of WeChat, and is not to be construed as limiting the present invention.
As shown in the figure, when the user views the first interface and receives the WeChat message sent by the first friend, the user can pull down the message frame and reply;
meanwhile, the terminal creates a floating window covering animation, and the background opens a WeChat sharing page;
when the auxiliary function monitors the WeChat sharing page, selecting an object to be sent from the WeChat sharing page, namely an identifier of a first friend;
the auxiliary function further monitors that when the WeChat sharing page is switched to the sending page, the sharing virtual button is clicked;
the auxiliary function further monitors that when the page is switched from the sending page to the sending feedback page, a return application button is clicked, a BACK key is clicked, and the page is switched to the first interface from the sending feedback page;
and after the auxiliary function monitoring is finished, removing the cover of the suspension window and displaying a first interface.
Referring to fig. 15, which is a schematic structural diagram of a message reply device according to an embodiment of the present invention, as shown in the drawing, the message reply device according to the embodiment of the present invention includes an obtaining module 100, a creating module 101, a sending module 102, and a display module 103;
the obtaining module 100 is configured to obtain a first instant messaging message sent by a first friend when a terminal displays a first interface, where the first interface is any interface of an instant messaging application;
in the embodiment of the present invention, the first interface may be any page of the instant messaging application, and the any interface may be any interface of the instant messaging application except for a chat interface, for example, a social circle interface of the instant messaging application, that is, when a user can view a social circle of the instant messaging application, a first instant messaging message sent by a first friend is received, and further optionally, the first interface may be a news interface corresponding to a certain link in the social circle, and the like.
The user logs in the account number of the user at the instant messaging application of the terminal, when the user looks up the first interface except the chat interface of the instant messaging application, the instant messaging application runs in the background, the instant messaging application is still able to receive instant messaging messages sent by buddies, such as, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, usually, the terminal displays the first instant messaging message on the notification bar, the user can immediately see the first instant messaging message, if the user needs to immediately reply to the first friend, the prior art needs to return to the chat interface for replying, and then manually operating to return to the first interface, which is extremely complex and inconvenient, the embodiment of the invention can provide a method for quickly replying the first instant messaging message of the first friend, and the terminal screen still stays in the first interface after replying.
As shown in fig. 5, when the user receives the first instant messaging message and wants to reply, the user can pop up the reply interface by pulling down the message card, as shown in fig. 6, the user can reply to the first instant messaging message by clicking the right virtual sending button after inputting the text in the reply box, and the message replied by the user for the first instant messaging message is called as a second instant messaging message in the embodiment of the present invention.
A creating module 101, configured to create a floating window on the terminal screen when a reply instruction is detected, where the reply instruction is an instruction for replying a second instant messaging message to the first instant messaging message;
in the embodiment of the present invention, the reply instruction may be that the user clicks the send virtual button after inputting the second instant messaging message, and when the terminal detects the reply instruction, a floating window is created on the terminal screen, optionally, the floating window may be opaque, and an animation for sending the second instant messaging message may be played.
As shown in fig. 7, which is a schematic view of a floating window interface provided in an embodiment of the present invention, as shown in the figure, the floating window is opaque, and covers the entire terminal screen, and the floating window can play an animation of sending a second instant messaging message, so that a user can perceive that the second instant messaging message is being sent, further, as shown in fig. 8, when sending is about to end, the animation of fig. 7 can be switched to the animation of fig. 8, and the floating window is always displayed on the terminal screen.
A sending module 102, configured to send the second instant messaging message to the first friend, where the floating window is always displayed in front of the terminal screen in the sending process;
in the embodiment of the present invention, the manner of sending the second instant messaging message to the first friend is to call an Application Programming Interface (API) of the instant messaging Application, and share the second instant messaging message to the first friend, where the API is a predefined function, so as to provide the capability of the Application and the developer to access a set of routines based on certain software or hardware, without accessing a source code or understanding details of an internal working mechanism. It should be noted that, in the whole sharing process, the floating window is always displayed at the forefront of the terminal screen, which can shield the perception of the user side, thereby improving the use experience.
In the whole process of sending the second instant messaging message, a floating window is always displayed at the forefront of a terminal screen, the background actual operation is the operation process of sharing the second instant messaging message, the auxiliary function of the system and the sharing function of the instant messaging application are specifically utilized, and the background combines the two functions to realize quick reply to the first instant messaging message.
The auxiliary function of the system is a function used by people with certain obstacles, such as inconvenient movement, poor eyesight or hearing, and the like, and a user can send an operation instruction to the system without touching a screen and keys through the auxiliary function and can monitor events such as window change and the like.
Specifically, optionally, as shown in fig. 4, when a quick reply is required, the auxiliary function of the terminal needs to be started, for example, when the terminal receives a first instant messaging message sent by a first friend, the terminal pops up a prompt message for prompting a user to start the auxiliary function, and when the user starts the auxiliary function, the instant messaging application obtains the use permission of the auxiliary function.
Specifically, after a reply instruction of a user is received, a floating window is created, a covering animation is played, monitoring of an auxiliary function is started, as shown in fig. 10, a background uses a sharing API of an instant messaging application to open a sharing page, the sharing page includes identifiers of a plurality of friends, when the sharing page is monitored to be opened through the auxiliary function, a sending object, namely the identifier of the first friend, needs to be selected, and the control terminal operates a corresponding control to open the sending page. As shown in fig. 11, when it is monitored that the transmission page is opened by the auxiliary function, the control terminal operates the sharing virtual button to wait for the opening of the transmission feedback page. As shown in fig. 12, when it is monitored through the auxiliary function that the transmission feedback page is opened, the control terminal operates the return application button to return to sting. And finally clicking a BACK key to return to the first interface of the application before replying.
It should be noted that, in the sharing process, the background auxiliary function monitors and operates the window change completely, and the user only sees the floating window displayed on the terminal screen without performing any operation. As shown in fig. 9, when the user opens the chat interface of the instant messaging application, the schematic interface display diagram is shown in the figure, and it can be seen that there is a ring icon and a character "from ring-Priori Messages" in the lower right corner of the second instant messaging message, which is the sharing function using the instant messaging application.
And the display module 103 is configured to remove the floating window and display the first interface when it is monitored that the sending process is ended.
In the embodiment of the invention, when the sharing process is monitored to be finished, the floating window is removed, and the first interface is displayed, so that a user does not feel the sharing operation of the background at all.
In the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, when a reply instruction is detected, a floating window is created on a terminal screen, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the terminal screen in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
Referring to fig. 16, which is a schematic structural diagram of a sending module according to an embodiment of the present invention, as shown in the drawing, the sending module 102 according to the embodiment of the present invention includes an opening unit 1020, a selecting unit 1021, and an operating unit 1022;
an opening unit 1020, configured to open a sharing page of the instant messaging application, where the sharing page includes identifiers of multiple friends;
a selecting unit 1021, configured to select an identifier of the first friend from identifiers of the multiple friends;
in the embodiment of the present invention, under the situation that the floating window is displayed at the frontmost side of the terminal screen, the terminal background calls the sharing API of the instant messaging application, and opens the sharing page of the instant messaging application, as shown in fig. 10, which is a schematic diagram of the sharing page, the sharing page includes the identifiers of a plurality of friends, the identifiers of the plurality of friends include the identifier of the first friend, and the identifier matching with the identifier of the first friend is automatically searched from the identifiers of the plurality of friends through a system assistance function, and is selected.
An operation unit 1022, configured to monitor a page switching change of the instant messaging application, and operate the switched page according to a preset operation flow, so as to send the second instant messaging message to the first friend.
In the embodiment of the present invention, after the identifier of the first friend is selected from the identifiers of the multiple friends in the shared page through the auxiliary function control terminal, the page of the instant messaging application is switched and changed, as shown in fig. 11, after the identifier of the first friend is selected, the page of the instant messaging application is switched to a sending page, an operation is performed on the sending page according to a preset operation flow, the sharing virtual button is clicked, the sending page is switched to the sending feedback page in fig. 12, the return application virtual button in the sending feedback page is further controlled and operated through the auxiliary function, and the page of the instant messaging application is further switched.
Specifically, optionally, the operation unit 1022 is specifically configured to monitor a page switching change of the instant messaging application, and if the time for the page switching change is less than a preset threshold, operate the switched page according to a preset operation flow;
in the embodiment of the invention, after the page is operated each time, the page is switched to another page, if the time for monitoring the page switching change is less than the preset threshold value through the system auxiliary function, the sharing process is normally performed, that is, the switched page is further operated according to the preset operation flow, so that the second instant messaging message is sent to the first friend. It should be noted that the time when the page is changed is the time when the two pages are switched.
Further optionally, referring to fig. 18, the message reply apparatus according to the embodiment of the present invention further includes a cancellation module 104;
a canceling module 104, configured to cancel sending the second instant messaging message, remove the floating window, and display the first interface if the time for the page switching change is greater than the preset threshold.
Specifically, optionally, for example, due to a network reason, or terminal blocking, etc., when the time for changing the page switching is greater than a preset threshold, the sending of the second instant messaging message is cancelled, and the floating window is removed, and the first interface is displayed.
In the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, when a reply instruction is detected, a floating window is created on a terminal screen, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the terminal screen in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
Referring to fig. 17, a schematic structural diagram of an operation unit according to an embodiment of the present invention is shown, in which the operation unit 1022 according to the embodiment of the present invention includes a first control subunit 10220, a second control subunit 10221, and a third control subunit 10222;
a first control subunit 10220, configured to control the terminal to operate a sharing virtual button of a sending page when monitoring that the sending page is switched from the sharing page to the instant messaging application;
in the embodiment of the present invention, the auxiliary function may monitor a change of a terminal page, and the auxiliary function may operate with respect to the changed page, as shown in fig. 10, after the identifier of the first friend is selected, the display page of fig. 10 may be switched to the sending page of fig. 11, and the terminal may be further controlled by the auxiliary function to operate the sharing virtual button of the sending page.
A second control subunit 10221, configured to, when a sending feedback page switched from the sending page to the instant messaging application is monitored, control the terminal to operate a return application virtual button of the sending feedback page;
a third control subunit 10222, configured to control the terminal to switch from the send feedback page to the first interface.
In the embodiment of the present invention, after the sharing virtual button in fig. 11 is operated, the page is switched from the sending page in fig. 11 to the sending feedback page in fig. 12, the terminal can be further controlled to operate the return application virtual button in fig. 12 through the system auxiliary function, and the page is further switched to return to the first interface.
Specifically, optionally, the display module 103 is specifically configured to, when it is monitored that the terminal switches from the feedback sending page to the first interface, end the sharing process, remove the floating window, and display the first interface.
In the embodiment of the invention, when the condition that the terminal is switched to the first interface from the feedback sending page is monitored, the sharing process is ended, the terminal is controlled to remove the floating window displayed at the forefront of the terminal screen, so that the first interface is displayed, and a user can continuously check the content of the first interface.
In the embodiment of the invention, when the terminal displays the first interface, the first instant messaging message sent by the first friend is received, when a reply instruction is detected, a floating window is created on a terminal screen, the reply instruction is an instruction for replying the second instant messaging message to the first instant messaging message, the second instant messaging message is sent to the first friend, the floating window is always displayed at the forefront of the terminal screen in the sending process, and when the sending process is monitored to be finished, the floating window is removed and the first interface is displayed.
It will be understood by those skilled in the art that all or part of the processes in the method according to the above embodiments may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program corresponding to the message reply apparatus shown in fig. 15 to 18 may be stored in a readable storage medium of a terminal or a server and executed by at least one processor in the terminal or the server to implement the message reply method, where the method includes the processes described in the method embodiments in fig. 1 to 3. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (11)

1. A method for replying to a message, comprising:
when a terminal displays a first interface, acquiring a first instant messaging message sent by a first friend, wherein the first interface is any one of interfaces of instant messaging applications;
when a reply instruction is detected, a floating window is established on the terminal screen, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message;
sending the second instant messaging message to the first friend, wherein the floating window is always displayed at the forefront of the terminal screen in the sending process;
when the sending process is monitored to be finished, removing the floating window and displaying the first interface;
wherein the sending the second instant messaging message to the first buddy comprises:
opening a sharing page of the instant messaging application, wherein the sharing page comprises the identifications of a plurality of friends;
when the sharing page is monitored to be opened through an auxiliary function of the system, the identification of the first friend is selected from the identifications of the friends, and the terminal is controlled to operate the corresponding control to open the sending page;
when the auxiliary function monitors that the page is switched from the sharing page to the sending page of the instant messaging application, if the time of the page switching change of the instant messaging application is less than a preset threshold value, controlling the terminal to operate a sharing virtual button of the sending page, and waiting for the opening of a sending feedback page;
when the fact that the sending page is switched to the sending feedback page of the instant messaging application is monitored through the auxiliary function, if the time of the page switching change of the instant messaging application is smaller than a preset threshold value, the control terminal operates a return application virtual button of the sending feedback page to control the terminal to switch from the sending feedback page to the first interface, and the second instant messaging message is sent to the first friend.
2. The method of claim 1, wherein removing the floating window and displaying the first interface when it is monitored that the sending process is finished comprises:
and when the terminal is monitored to be switched to the first interface from the feedback sending page, the sending process is finished, the floating window is removed, and the first interface is displayed.
3. The method of claim 1 or 2, wherein the method further comprises:
and if the time of the page switching change is greater than the preset threshold value, canceling sending the second instant messaging message, removing the floating window and displaying the first interface.
4. The method of claim 1, wherein before obtaining the first instant messaging message sent by the first buddy, further comprising:
judging whether the terminal receives a new message, and if so, acquiring a first instant messaging message sent by a first friend;
if not, detecting whether a message sending requirement exists;
if the message sending requirement exists, displaying a message sending interface;
when a message sending instruction is detected, a floating window is created on a terminal screen, wherein the message sending instruction is an instruction aiming at a third instant messaging message which is pre-sent to a second friend;
sending the third instant messaging message to the second friend, wherein the floating window is always displayed at the forefront of the terminal screen in the sending process;
and when the sending process is monitored to be finished, removing the floating window and displaying the first interface.
5. The method of claim 1, wherein the floating window is opaque and the floating window plays an animation that represents sending the second instant messaging message.
6. A message reply apparatus, comprising:
the terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first instant messaging message sent by a first friend when the terminal displays a first interface, and the first interface is any one of instant messaging applications;
the creating module is used for creating a floating window on the terminal screen when a reply instruction is detected, wherein the reply instruction is an instruction for replying a second instant messaging message aiming at the first instant messaging message;
the sending module is used for sending the second instant messaging message to the first friend, and the floating window is always displayed in the front of the terminal screen in the sending process;
the display module is used for removing the floating window and displaying the first interface when the sending process is monitored to be finished;
wherein the sending module comprises:
the system comprises an opening unit, a processing unit and a processing unit, wherein the opening unit is used for opening a sharing page of the instant messaging application, and the sharing page comprises the identifications of a plurality of friends;
the selection unit is used for selecting the identification of the first friend from the identifications of the friends and controlling the terminal to operate the corresponding control to open the sending page when the opening of the sharing page is monitored through the auxiliary function of the system;
the operation unit is used for controlling the terminal to operate a sharing virtual button of the sending page and wait for the opening of a sending feedback page if the time of page switching change of the instant messaging application is less than a preset threshold when the auxiliary function monitors that the sending page is switched from the sharing page to the instant messaging application; when the fact that the sending page is switched to the sending feedback page of the instant messaging application is monitored through the auxiliary function, if the time of the page switching change of the instant messaging application is smaller than a preset threshold value, the control terminal operates a return application virtual button of the sending feedback page to control the terminal to switch from the sending feedback page to the first interface, and the second instant messaging message is sent to the first friend.
7. The apparatus of claim 6, wherein the display module is specifically configured to, when it is monitored that the terminal switches from the transmission feedback page to the first interface, end the transmission process, remove the floating window, and display the first interface.
8. The apparatus of claim 6 or 7, wherein the apparatus further comprises:
and the canceling module is used for canceling sending the second instant messaging message if the time of the page switching change is greater than the preset threshold, removing the floating window and displaying the first interface.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the judging module is used for judging whether the terminal receives a new message or not, and if the terminal receives the new message, the acquiring module acquires a first instant messaging message sent by a first friend;
the detection module is used for detecting whether a message sending requirement exists or not if a new message is not received;
the display module is also used for displaying a message sending interface if a message sending requirement exists;
the creating module is further used for creating a floating window on the terminal screen when a message sending instruction is detected, wherein the message sending instruction is an instruction aiming at a third instant messaging message which is pre-sent to a second friend;
the sending module is further configured to send the third instant messaging message to the second friend, and the floating window is always displayed in front of the terminal screen in the sending process;
and the display module is also used for removing the floating window and displaying the first interface when the sending process is monitored to be finished.
10. The apparatus of claim 6, the floating window being opaque and the floating window playing an animation representing sending the second instant messaging message.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, perform the method according to any one of claims 1-5.
CN201611103074.3A 2016-12-05 2016-12-05 Message reply method and device Active CN108153457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611103074.3A CN108153457B (en) 2016-12-05 2016-12-05 Message reply method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611103074.3A CN108153457B (en) 2016-12-05 2016-12-05 Message reply method and device

Publications (2)

Publication Number Publication Date
CN108153457A CN108153457A (en) 2018-06-12
CN108153457B true CN108153457B (en) 2021-03-26

Family

ID=62469665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611103074.3A Active CN108153457B (en) 2016-12-05 2016-12-05 Message reply method and device

Country Status (1)

Country Link
CN (1) CN108153457B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491567B (en) * 2018-11-08 2022-03-18 苏州达家迎信息技术有限公司 Message reply method, device, terminal and storage medium
CN110187947A (en) * 2019-05-17 2019-08-30 维沃移动通信有限公司 A kind of message display method and terminal device
CN111884914B (en) * 2020-07-24 2021-07-06 腾讯科技(深圳)有限公司 Communication method and device based on virtual character interactive interface and computer equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447647A (en) * 2010-10-13 2012-05-09 腾讯科技(深圳)有限公司 Notification method, device and system based on new information
CN102546930A (en) * 2011-12-07 2012-07-04 北京风灵创景科技有限公司 Mobile terminal interaction method based on merchant list, and device for the same
CN102857885A (en) * 2012-08-17 2013-01-02 东莞宇龙通信科技有限公司 Method and communication terminal for sharing information
CN103051516A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Message prompting method and device of instant messaging client
US20130222296A1 (en) * 2012-02-29 2013-08-29 Pantech Co., Ltd. Mobile device and method for providing object floating operation
CN103368897A (en) * 2012-03-26 2013-10-23 腾讯科技(深圳)有限公司 Method, device and system for transmitting application program
CN105487742A (en) * 2014-09-18 2016-04-13 北京三星通信技术研究有限公司 Method and device for displaying plurality of application windows
CN105763716A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Short message processing method and short message processing terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447647A (en) * 2010-10-13 2012-05-09 腾讯科技(深圳)有限公司 Notification method, device and system based on new information
CN103051516A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Message prompting method and device of instant messaging client
CN102546930A (en) * 2011-12-07 2012-07-04 北京风灵创景科技有限公司 Mobile terminal interaction method based on merchant list, and device for the same
US20130222296A1 (en) * 2012-02-29 2013-08-29 Pantech Co., Ltd. Mobile device and method for providing object floating operation
CN103368897A (en) * 2012-03-26 2013-10-23 腾讯科技(深圳)有限公司 Method, device and system for transmitting application program
CN102857885A (en) * 2012-08-17 2013-01-02 东莞宇龙通信科技有限公司 Method and communication terminal for sharing information
CN105487742A (en) * 2014-09-18 2016-04-13 北京三星通信技术研究有限公司 Method and device for displaying plurality of application windows
CN105763716A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Short message processing method and short message processing terminal

Also Published As

Publication number Publication date
CN108153457A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN111399709B (en) Message reminding method and device, electronic equipment and storage medium
JP6686031B2 (en) Group chat method and apparatus
EP3120231B1 (en) Dismissing notifications in response to a presented notification
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN110391970B (en) Message management system, method, device and storage medium for communication application
CN105681855A (en) Joint watching simulation method and device in live broadcast
US20130097535A1 (en) Interaction method, apparatus and terminal for syncretic communication
CN113300938B (en) Message sending method and device and electronic equipment
JP2006155605A (en) Method and system for preventing oversight of notification information in application
KR101614287B1 (en) Method and device for providing quick movement between chat rooms
TW202110143A (en) Method and device for displaying reply message
CN108153457B (en) Message reply method and device
CN111711558B (en) Message control method and device
EP3627309A1 (en) Application control method and device for dual-screen terminal
CN110955374A (en) Message display method and device
US20230269418A1 (en) Video display method, apparatus and storage medium
CN112817676A (en) Information processing method and electronic device
CN112511412A (en) Information sending method and device, electronic equipment and readable storage medium
CN112818420A (en) Social conversation method, device, terminal and medium
CN112711366A (en) Image generation method and device and electronic equipment
EP3076642B1 (en) Operation processing method and device
US20170317960A1 (en) Device and methods for messaging application control and presentation
CN106708354B (en) Instant messaging method and client
CN113709306A (en) Session processing method and device and electronic equipment
EP2587747B1 (en) Method and apparatus for creating independent message page

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant