CN112199141A - Message processing method, terminal and computer readable storage medium - Google Patents

Message processing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112199141A
CN112199141A CN202010984275.9A CN202010984275A CN112199141A CN 112199141 A CN112199141 A CN 112199141A CN 202010984275 A CN202010984275 A CN 202010984275A CN 112199141 A CN112199141 A CN 112199141A
Authority
CN
China
Prior art keywords
message
mobile terminal
application
preset
mode
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
CN202010984275.9A
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.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202010984275.9A priority Critical patent/CN112199141A/en
Publication of CN112199141A publication Critical patent/CN112199141A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message processing method, a terminal and a computer readable storage medium, when a mobile terminal receives a message, whether an application corresponding to the message is in a preset state needs to be judged, if yes, the mobile terminal outputs the message according to a preset mode, and compared with the prior art that the mobile terminal receives the message and directly reminds a user through a vibration prompt or a popup prompt mode, the message processing method provided by the embodiment of the application is more diversified, and the interactive experience of the user can be enriched.

Description

Message processing method, terminal and computer readable storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a message processing method, a terminal, and a computer-readable storage medium.
Background
When the existing mobile terminal receives the message, the user can be reminded in a vibration prompt mode or a popup prompt mode, the message processing mode is not diversified enough, and the interactive experience of the user using the terminal is not rich enough.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
The application provides a message processing method, a terminal and a computer readable storage medium, which can solve the technical problems that the message processing method in the prior art is not diversified enough and the user interaction experience is not rich enough.
The application provides a message processing method, which is applied to a mobile terminal and comprises the following steps:
s11, when the message is received, judging whether the application corresponding to the message is in a preset state;
and S12, if yes, outputting the message according to a preset mode.
Optionally, the preset state includes at least one of the following: foreground state, background state.
Optionally, before the step of determining whether the application corresponding to the message is in the preset state, the method further includes:
judging whether the application is in a preset operation mode or not;
if yes, executing a step of judging whether the application corresponding to the message is in a preset state; and/or the presence of a gas in the gas,
if not, switching the running mode of the application according to the received first operation.
Optionally, the step of switching the running mode of the application according to the received first operation includes:
judging whether the operation information of the first operation meets a preset condition or not;
and if so, executing the step of switching the running mode of the application according to the received first operation.
Optionally, the operation information includes at least one of the following:
touch gestures, touch areas, operation tracks and voice control;
the preset condition comprises at least one of the following conditions:
the touch control gesture is a preset gesture;
the touch area is a preset area;
the operation track is a preset track;
the voice command controlled by voice is a preset command.
Optionally, the operation mode includes at least one of:
fast recovery mode, normal mode.
Optionally, if the preset state is a foreground state, the outputting the message according to the preset mode includes at least one of the following:
outputting the message through a popup window;
outputting the contact information corresponding to the message;
and/or the presence of a gas in the gas,
if the preset state is the background state, the outputting the message according to the preset mode comprises at least one of the following steps:
outputting the message in a bullet screen mode;
and outputting the message in a bubble mode.
Optionally, if the preset state is a background state, before the step of outputting the message according to the preset mode, the method further includes:
judging whether the mobile terminal is in a full screen mode or not;
and if so, executing the step of outputting the message according to a preset mode.
Optionally, after the step of S12, the method further includes:
receiving a second operation aiming at the message, outputting a preset interface based on the second operation, and/or closing the message; and/or the presence of a gas in the gas,
and correspondingly processing the message based on a third operation aiming at the preset interface.
Optionally, the preset interface is at least one of the following:
a presentation interface for the message;
a reply interface for the message.
Optionally, the message is processed correspondingly, and the processing includes at least one of the following:
starting an application corresponding to the message;
replying to the message;
and managing the message.
The invention also provides a message processing method, which comprises the following steps:
receiving a first operation instruction of notification information displayed on a user interface of the mobile terminal;
displaying a response floating window on the user interface of the mobile terminal, wherein the notification information is mapped in the response floating window;
and receiving a second operation instruction for responding to the floating window, and responding to the notification information.
Optionally, receiving a second operation instruction for responding to the floating window, where responding to the notification information includes:
receiving a touch instruction of a website in the response floating window, and displaying a webpage corresponding to the website in the response floating window;
or receiving a touch instruction of the application hyperlink in the response floating window, starting an application corresponding to the application hyperlink in the mobile terminal background, and displaying an application interface corresponding to the application in the response floating window;
or receiving a touch instruction for the website, the application hyperlink, the picture, the text or/and the video in the response floating window, and storing, collecting, sharing or deleting the website, the application hyperlink, the picture, the text or the video selected by the touch instruction;
or receiving a closing instruction of the response floating window, and closing the response floating window.
Optionally, if the response floating window further includes at least one response touch key, the receiving a second operation instruction for the response floating window, and responding to the notification information includes:
receiving a selection instruction of a response touch key in the response floating window;
if the selected response touch key of the character input class is selected, displaying a virtual keyboard on a display interface of the mobile terminal, inputting a character in the response floating window based on a touch instruction of the virtual key, and sending the character based on a sending instruction of the character;
if the selected response touch key is of a voice input type, starting a microphone of the mobile terminal to record audio, and sending the audio based on a sending instruction of the audio;
and if the selected response touch key of the expression package input class is selected, displaying the expression package in the response floating window, and sending the selected expression package based on a selection instruction of the expression package in the response floating window.
Optionally, before receiving a first operation instruction for notification information displayed on a user interface of the mobile terminal, the message processing method further includes:
displaying a plurality of candidate application programs on the user interface of the mobile terminal, detecting touch selection operation on the candidate application programs, and determining the candidate application program selected by the touch selection operation as a target application program on the mobile terminal;
or determining the application program currently displayed on the user interface of the mobile terminal, and if the preset touch operation on the application program is detected, determining the application program as the target application program on the mobile terminal.
Optionally, before receiving a first operation instruction for notification information displayed on a user interface of the mobile terminal, the message processing method further includes:
confirming notification information that the mobile terminal needs to be notified;
determining an application program to be notified corresponding to the notification information on the mobile terminal and a foreground application program running on a foreground of the mobile terminal;
and displaying the notification information of the application program to be notified on the mobile terminal based on the application program to be notified and the foreground application program.
Optionally, displaying the response floating window on the user interface of the mobile terminal includes:
starting the application program to be notified in a background;
and mapping the application page where the notification information is located in the application program to be notified to a response floating window on the user interface of the mobile terminal.
Optionally, the determining notification information that the mobile terminal needs to be notified includes:
receiving push content pushed by a server or/and a base station to the mobile terminal, and confirming the push content as the notification information;
or determining a preset reminding content on the mobile terminal, and determining the reminding content as the notification information.
Optionally, displaying notification information of the application program to be notified on the mobile terminal based on the application program to be notified and the foreground application program includes:
and if the application program to be notified is not a foreground application program on the mobile terminal and is a target application program on the mobile terminal, displaying notification information of the application program to be notified on a user interface of the foreground application program of the mobile terminal.
Optionally, displaying notification information of the application program to be notified on the mobile terminal based on the application program to be notified and the foreground application program, where the displaying notification information includes:
if the application program to be notified is not a foreground application program on the mobile terminal and the foreground application program is a target application program on the mobile terminal, not responding to the notification information of the application program to be notified;
displaying the notification information of the application program to be notified on a user interface of the foreground application program switched by the mobile terminal until it is monitored that the foreground application program on the mobile terminal is switched to the non-target application program, or displaying the notification information of the application program to be notified on a system interface of the mobile terminal when it is monitored that the foreground application program is closed.
Optionally, displaying the notification information on the mobile terminal according to whether the application to be notified and the foreground application are target applications on the mobile terminal, where displaying the notification information includes:
if the application program to be notified is a foreground application program on the mobile terminal and the application program to be notified is a target application program on the mobile terminal, determining a contact person which sends the notification information in the foreground application program;
and displaying the contact person identification of the notification information on a user interface of the foreground application program.
Optionally, after displaying the notification information of the application to be notified, the message processing method further includes:
determining the display time of the notification information on the user interface of the mobile terminal, and stopping displaying the notification information on the user interface of the mobile terminal if the display time of the notification information exceeds a first preset time;
or, receiving a third operation instruction for the notification information displayed on the user interface of the mobile terminal, and stopping displaying the notification information on the user interface of the mobile terminal.
Optionally, after displaying the notification information of the application to be notified, the message processing method further includes:
if the notification content which needs to be displayed by the application program to be notified is received again within second preset time, the notification content is not responded;
or if the notification content within M required to be displayed by the application program to be notified is received again, not responding to the notification content received again, wherein M is a positive integer greater than or equal to 1.
Optionally, displaying notification information of the application to be notified includes:
analyzing the notification information to obtain a notification field;
displaying the application program to be notified or/and the notification field on the user interface of the mobile terminal in a bullet screen mode, or displaying a prompt floating window on the user interface of the mobile terminal and displaying the application program to be notified or/and the notification field on the prompt floating window.
Optionally, analyzing the notification information to obtain the notification field includes:
determining the type of the notification information, wherein the type of the notification information comprises a link, a picture, a video or a character;
if the type of the notification information is a link, a picture or a video, at least taking the type of the notification information as the notification field;
if the type of the notification information is a character, taking all characters in the notification information as the notification field, or taking the first N characters in the notification information as the notification information field, wherein N is a positive integer larger than a preset value.
Optionally, prompting that the floating window/bullet screen is fixedly displayed in a preset area on the user interface of the mobile terminal;
or the prompt floating window/bullet screen is displayed on the user interface of the mobile terminal in a moving mode according to a preset track and a preset speed.
Further, the present application also provides a terminal, including:
a memory for storing a computer program;
a processor for implementing the steps of the message processing method as described above when the computer program is stored in the memory.
Further, the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by at least one processor, the steps of the above-mentioned message processing method can be implemented.
The application provides a message processing method, a terminal and a computer readable storage medium, when a mobile terminal receives a message, whether an application corresponding to the message is in a preset state needs to be judged, if yes, the mobile terminal outputs the message according to a preset mode, and compared with the prior art that the mobile terminal receives the message and directly reminds a user through a vibration prompt or a popup prompt mode, the message processing method provided by the embodiment of the application is more diversified, and the interactive experience of the user can be enriched.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a display of notification information according to an embodiment of the present application;
fig. 4 is a flowchart of a first message processing method according to an embodiment of the present application;
fig. 5 is a flowchart of a second message processing method according to an embodiment of the present application;
fig. 6 is a schematic view of a pop-up window for notification information according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a bullet screen for notifying information according to an embodiment of the present application;
fig. 8 is a schematic bubble diagram of a notification message provided in an embodiment of the present application;
fig. 9 is a flowchart of a third message processing method according to an embodiment of the present application;
fig. 10 is an interaction diagram of a first notification message provided in an embodiment of the present application;
fig. 11 is an interaction diagram of a second notification message provided in the embodiment of the present application;
FIG. 12 is a schematic diagram of a first interaction provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of a second interaction provided by an embodiment of the present application;
fig. 14 is a schematic display diagram of a first notification message provided in an embodiment of the present application;
fig. 15 is a schematic diagram illustrating a display of a second notification message according to an embodiment of the present application;
FIG. 16 is a schematic diagram illustrating a display of a third notification message provided in an embodiment of the present application;
fig. 17 is a schematic structural diagram of a terminal according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
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, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
It should be noted that step numbers such as S11 and S12 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S12 first and then S11 in specific implementation, which should be within the scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present application may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
Referring to fig. 3, a user receives a pop-up window prompt of notification information when watching a video, and if the user wants to view all contents of the notification information, the user needs to enter a corresponding application program to implement the notification information, which is inconvenient for the user, and based on the problem, this embodiment provides a message processing method, which is applied to a mobile terminal, and referring to fig. 4, the method includes:
and S11, when the mobile terminal receives the message, judging whether the application corresponding to the message is in a preset state.
The message in the embodiment of the application may be notification information received by the mobile terminal and sent to the mobile terminal by a base station, a server, and the like, and includes information of a website, an application hyperlink, a picture, a text, or/and a video, where the application hyperlink may be a preset page related to the corresponding application, including a download page, a benefit getting page, a login page, and the like of the application; the message here may also be notification information, such as reminders, set by the user in various applications on the mobile terminal.
The method and the device for determining the source application of the message determine the application corresponding to the message received by the mobile terminal as the source application of the message, and in some cases, the source application of the message becomes the message source application or is directly referred to as the application for short.
The preset state may refer to an operation mode of the message source application, or/and a state of the message source application. The running mode of the source application comprises at least one of a quick reply mode and a normal mode. The fast reply mode is that when an application on the mobile terminal receives a message (prompts the message on a display interface), and when a user touches the message, the message display interface, the message reply interface and the like can be displayed, and the user can process the received message in the interfaces, including replying, deleting, sharing, saving and the like. The normal mode refers to that when the user touches the message, the mobile terminal starts the application, or switches the application from a background state to a foreground state, and the user can process the received message based on the completely started application (not windows of a message display interface, a message reply interface, and the like). The application state can comprise a foreground state and a background state, wherein the application in the foreground state means that the application is in a starting state and an interactive interface of the application is displayed on a display screen of the mobile terminal. The application in the background state means that the application is in the starting state, but the interactive interface of the application is not displayed on the display screen of the mobile terminal, and the display screen of the mobile terminal displays the interactive interface of a system or other applications.
And S12, if yes, outputting the message according to a preset mode.
In the embodiment of the application, when the mobile terminal receives the message and determines that the source application of the message is in the preset state, the mobile terminal outputs the message received by the mobile terminal according to the preset mode.
The output message refers to that the message is embodied on the mobile terminal to achieve the purposes of prompting the user and presenting the message, for example, a popup window is displayed on the mobile terminal, and the popup window includes all or part of the message content.
The preset mode may include: outputting the message through a pop-up window, outputting the message through a pop-up screen, outputting the message through a bubble, and the like. In some examples, the predetermined manner of outputting the message may be determined based on whether the originating application of the message is in a predetermined state.
The embodiment of the application provides a message processing method, when a mobile terminal receives a message, whether an application corresponding to the message is in a preset state needs to be judged, and if yes, the mobile terminal outputs the message according to a preset mode. Compared with the method that the mobile terminal receives the message and then directly reminds the user in a vibration prompt or pop-up window prompt mode, the message processing method provided by the embodiment of the application is more diversified, and the interaction experience of the user can be enriched.
Other embodiments of the method of the present application will be described based on the above-described message processing method.
An embodiment of the present application further provides a message processing method, please refer to fig. 5, where the method includes steps S21 to S26, which are specifically as follows:
and S21, the mobile terminal receives the message.
It should be understood that the message processing method provided by the embodiment of the present invention is applied to a terminal (that is, the execution subject is a mobile terminal), and the method is triggered to be executed by the mobile terminal receiving a message. The message here may be notification information sent by a base station, a server, etc. to the mobile terminal, which is received by the mobile terminal, and includes information of a website, an application hyperlink, a picture, a text, or/and a video, where the application hyperlink may be a preset page related to the corresponding application, including a download page, a benefit getting page, a login page, etc. of the application; the message here may also be notification information, such as reminders, set by the user in various applications on the mobile terminal.
And S22, judging whether the application of the received message to the application is in a preset running mode.
In the embodiment of the present application, an application corresponding to a message received by a mobile terminal is determined as a source application of the message, and in some cases, the source application of the message is simply referred to as an application in the embodiment of the present application.
In some examples, the operating mode may include at least one of a fast recovery mode, a normal mode. The fast reply mode is that when an application on the mobile terminal receives a message (prompts the message on a display interface), and when a user touches the message, the message display interface, the message reply interface and the like can be displayed, and the user can process the received message in the interfaces, including replying, deleting, sharing, saving and the like. The normal mode refers to that when the user touches the message, the mobile terminal starts the application, or switches the application from a background state to a foreground state, and the user can process the received message based on the completely started application (instead of windows of a message display interface, a message reply interface, and the like), and similarly, the processing here includes replying, deleting, sharing, saving and the like. It should be understood that the operation mode of the application on the mobile terminal may be preset in factory settings, or may be switched and adjusted during the use process of the user.
After receiving the message, the mobile terminal determines whether the source application of the message is in a preset operation mode (fast reply mode or normal mode), and there may be two processing manners (one manner, two manners) based on the determination result, and of course, the two processing manners may occur together, that is, the embodiment of the present application has three schemes for step S22, and when the source application of the message is in the preset operation mode (fast reply mode or normal mode), the source application of the message may be processed together according to the one manner, the two manners, or the one manner and the two manners.
Two processing modes (mode one and mode two) based on whether the source application of the message is in the preset operation mode are respectively described here:
s23, in a first manner, if the source application of the message is not in the preset operation mode, the mobile terminal may switch the operation mode of the application according to the received first operation.
The first operation may be a touch gesture, a touch area, and an operation track for a user to touch the mobile terminal, and certainly, the first operation may be voice control of the user on the mobile terminal.
The embodiment of the present application is exemplified by the source application of the message not being in the fast reply mode (but being in the normal mode). In some examples, when the mobile terminal receives the message and determines that the source application of the message is not in the preset operation mode, if the mobile terminal receives a first operation of the user, the mobile terminal directly triggers switching of the operation mode of the source application of the message, and the normal mode is switched to the fast reply mode. It should be noted that the object of the first operation may be a display screen (touch screen) of the mobile terminal, that is, the display screen can trigger switching of the running mode of the application as soon as the display screen receives the first operation. On the other hand, the object of the first operation may also be a message received by the mobile terminal, in this example, the mobile terminal will display the received message, and the user may perform the first operation on the message.
In some other examples, the mobile terminal further determines whether the operation information of the first operation satisfies a preset condition, and if so, switches the operation mode of the application (instead of directly switching the operation mode of the message source application after receiving the first operation). The operation information corresponding to the first operation comprises one or more of a touch gesture, a touch area, an operation track and voice control. Correspondingly, the operation information meeting the preset condition means that:
if the operation information is a touch gesture, determining that the first operation meets a preset condition when the touch gesture is a preset gesture. The touch gesture may be a stroke gesture of an up stroke, a down stroke, a left stroke, a right stroke, and the like on a display screen of the mobile terminal, or a click gesture of a single click, a multiple click, and the like, or a long-press gesture in which the touch time meets a preset duration, and of course, the touch here may be a finger touch or a touch of a stylus. It should be noted that the preset gesture, the preset region, the preset track and the preset instruction mentioned later refer to preset conditions on the mobile terminal, and when the operation information (the touch gesture, the preset region, the preset track and the preset instruction) meets the corresponding conditions, the message source application is triggered to switch the operation mode.
If the operation information is a touch area, determining that the first operation meets a preset condition when the touch area is a preset area. The touch area is an area on a display screen of the mobile terminal, can be a middle area of the display screen, can also be an area near the edge of the display screen, and can also be an area near the upper edge of the display screen and an area near the left and the right. For example, when the user touches the left area of the display screen, the operation mode of the message source application is triggered to switch. In some examples, the user may drag the displayed message to the edge area of the display screen to trigger the source application of the message to switch the running mode of the message source application.
If the operation information is the operation track, when the preset track is the preset track, it is determined that the first operation meets the preset condition. The operation track may be a track left by the user in the operation on the touch screen of the mobile terminal, and may be a track of a gesture, a touch track acted by a stylus, or the like. The operation track can be embodied by track parameters, and the track parameters are attribute parameters of each operation track, and can include a starting position and an ending position of the operation track, an area acted by the operation track and/or track forming speed, and parameters such as a direction of the operation track, a track curve included angle, forming time of the operation track, length of the operation track and the like. For the trajectory parameter of the operation trajectory being the trajectory forming speed, the trajectory forming speed may be determined according to the start position and the end position of the operation trajectory and the forming duration of the trajectory in the embodiment of the present application, and in some examples, if the forming speed of the operation trajectory is fast, the operation mode of the source application of the message is switched. For the area on which the trajectory parameter of the operation trajectory is acted by the operation trajectory, the area on which the operation trajectory is acted may also be the area on which the start position of the operation trajectory is acted and the area on which the end position of the operation trajectory is acted, and the operation mode of the source application of the message may be switched according to the area on which the start position is acted and the area on which the end position is acted. In some examples, the region acted on by the operation track may be the region acted on by the whole track, for example, when the whole track acts on one region, the operation mode of the source application of the message is switched, or when the whole track acts on two regions, the operation mode of the source application of the message is switched. For example, if the operation trajectory is slid up or down from the bottom, the operation mode of the source application of the message is switched. For example, if the operation trace is formed for a long time and there is a pause in the trace forming process, the operation mode of the source application of the message is switched.
If the operation information is voice control, determining that the first operation meets a preset condition when the voice instruction of the voice control is a preset instruction. In this example, the user may perform voice control on the mobile terminal through a voice instruction, the voice instruction may send a piece of voice including "switch operation mode" to the user, and when the mobile terminal receives the voice based on the microphone and analyzes the voice instruction to obtain the voice instruction to switch the operation mode, the mobile terminal switches the operation mode of the source application of the message.
In two processing modes (mode one and mode two) performed based on whether the source application of the message is in the preset operation mode, the mode two is as follows:
and S24, in a second mode, if the source application of the message is in the preset operation mode, the mobile terminal can judge whether the application corresponding to the message is in the preset state.
And S25, if the application corresponding to the message is in the preset state, outputting the message according to the preset mode.
The states of the application may include a foreground state and a background state. The application in the foreground state means that the application is in the starting state and the interactive interface of the application is displayed on the display screen of the mobile terminal. The application in the background state means that the application is in the starting state, but the interactive interface of the application is not displayed on the display screen of the mobile terminal, and the display screen of the mobile terminal displays the interactive interface of a system or other applications.
If the mobile terminal determines that the source application of the message is in the foreground state when receiving the message, the mobile terminal may output the message in a manner that the source application of the message is in the foreground state, and correspondingly, if the mobile terminal determines that the source application of the message is in the background state, the mobile terminal may output the message in a manner that the source application of the message is in the background state. Here, outputting the message means that the message is embodied on the mobile terminal for the purpose of prompting the user and presenting the message, for example, a popup window is displayed on the mobile terminal, and the popup window includes the message content, please refer to fig. 6.
If the source application of the message is in the foreground state (that is, the source application of the message satisfies the preset state in the foreground state), the output message may be the message output through a popup window, or/and the contact information corresponding to the message is output. The popup window may display the message content, or display contact information (information such as name, avatar, etc. of the contact sending the message in the message source application), or display both the message content and the contact information.
If the source application of the message is in the background state (i.e. the source application of the message satisfies the preset state in the background state), outputting the message may include outputting the message in a pop-up manner (see fig. 7) or/and outputting the message in a bubble manner (see fig. 8). It should be understood that the message that can be output in the pop-up screen mode includes all or part of the message content, and the message that the bubble only outputs may be an application identifier of the source application, or information such as a name and a head portrait of a contact person, on the other hand, the bubble is only a name of a mobile terminal message output mode, and the shape of the bubble may be a bubble, or may be a display mode with unlimited shape such as a rectangular frame, and meanwhile, the bubble and the pop-up screen may be fixed on a display interface of the mobile terminal, for example, close to a frame of the display screen, or may move on the display screen of the mobile terminal at a certain speed and direction.
In some examples, if the source application of the message is in a background state, before outputting the message, determining whether the mobile terminal is in a full screen mode, and if so, outputting the message in a manner that the source application of the message is in a foreground state.
After the first S23 mode, or/and the second S24 mode (in some examples, the first S23 mode and the second S24 mode may occur separately, or the second S24 mode may occur after the first S23 mode occurs), the message processing method provided in the embodiment of the present application may further include:
s26, receiving a second operation aiming at the message, outputting a preset interface based on the second operation, and/or closing the message; and/or correspondingly processing the message based on a third operation aiming at the preset interface.
It should be noted that the difference between the second operation and the third operation and the first operation is that the triggered mobile terminal executes different matters, the second operation triggers the mobile terminal to output a preset interface, and the third operation triggers the message to be processed accordingly. In some examples, the first to third operations are the same, that is, the second operation and the third operation may be a touch gesture, a touch area, and an operation track of a user touching the mobile terminal, and of course, the second operation may be a voice control of the mobile terminal by the user.
The preset interface can be a display interface of the message or a reply interface of the message. The message content can be completely displayed to the user under the display interface of the message, and the user can operate to reply the message on the reply interface of the message.
The step of performing corresponding processing on the message in step S25 includes at least one of: starting an application corresponding to the message, replying the message, and managing the message. Here, the management includes processing for saving, collecting, sharing, deleting, and the like of the message.
When a user receives a prompt such as a vibration prompt or a pop-up prompt when watching a video, receiving a video call, playing a game, and the like, the user needs to enter a corresponding application program to reply information or see all information contents, so that the user can interrupt current events, and the user experience is poor. Therefore, for solving the problem that in the prior art, if a user receives a pop-up prompt of notification information when watching a video, and when the user wants to view all the content of the notification information, the user needs to enter a corresponding application program to realize the notification information, which causes complicated and inconvenient operations, an embodiment of the present invention further provides a message processing method, please refer to fig. 9, where the method includes:
s101, receiving a first operation instruction of notification information displayed on a user interface of the mobile terminal.
When the notification information is displayed on the mobile terminal, a user can operate the notification information displayed on the user interface on the mobile terminal, including touch operations such as long-press operation, single-click operation, double-click operation, drag operation and the like, and at this time, the mobile terminal can receive a first operation instruction issued to the notification information by the user based on the touch operations.
It should be understood that the notification information displayed on the user interface of the mobile terminal may be notification information received by the mobile terminal and sent to the mobile terminal by a base station, a server, and the like, and includes information of a website, an application hyperlink, a picture, a text, or/and a video, where the application hyperlink may be a preset page related to a corresponding application, including a download page, a benefit getting page, a login page, and the like of the application; or the notification information, such as reminders, set by the user in various applications on the mobile terminal.
The notification information in step S101 may be information with a preset character length, or may be a character of general information, in addition to a complete piece of information. For example, the first example: the information received by the mobile terminal is' how do you get more after CEO of a certain gunn company, today, how are he to unload? "if the preset notification message on the mobile terminal can only display 10 characters, the notification message here may be" ceo. As another example, the second example: if a social application program of a certain company on the mobile terminal receives a video sent by a certain contact, the notification information here may be "a social application program of a certain company: you receive a video ".
And S102, displaying a response floating window on a user interface of the mobile terminal.
The notification information is mapped in the response floating window, and it should be understood that the notification information mapped on the response floating window is more comprehensive and complete than the notification information displayed on the mobile terminal in step S101, and a user can completely obtain the complete content of the notification information based on the response floating window. For example, in the first example mentioned above, in response to a complete display on the floating window, "how do he unload today after CEO of a certain gunn company is multiplied? ".
And S103, receiving a second operation instruction for responding to the floating window, and responding to the notification information.
The user can perform processing based on the response floating window notification information, including processing of replying to the notification information, setting notification information parameters (font and character size), skipping/switching to a download page based on a link in the notification information, a benefit getting page, a login page, a sharing page, and the like.
In this embodiment, the response floating window may be closed after receiving a closing instruction of the response floating window from the user. In this example, the user only needs to acquire the content of the notification information without processing the notification information. Referring to fig. 10, when a user watches a tv drama using a mobile terminal, after the mobile terminal detects that the notification information "tomorrow we are in the sandlevel at morning" sent from colleagues 1 in a social application of a company is received and displays the notification information on the mobile terminal, the user may click the notification information, and the mobile terminal displays a response floating window in which the complete notification information "tomorrow we meet at the sandlevel dam bar, 17:00 can be there? "in some examples, a conversation page in a social application of a company is also mapped in the response flyover window, and please continue to refer to fig. 10, wherein the conversation page includes a character/voice input button, an emoticon button, and a multi-function button. If the user does not want to respond to the notification information after acquiring the notification information, the touch response floating window can be closed by a closing instruction on the touch response floating window, and then the mobile terminal is restored to a page where the user watches the television drama.
It should be understood that the first operation instruction and the second operation instruction include touch operations such as a long-press operation, a single-click operation, a double-click operation, a drag operation, and the like, and the mobile terminal may receive a touch instruction given to the notification information by the user based on the touch operations.
In other examples, step S103 may further include a step of processing the notification information in the response floating window again, which includes at least the following three processing manners:
the first method comprises the following steps: when the notification information includes the website or the response floating window (except the communication information) includes the website, the user can look up the website, at this time, the mobile terminal receives a touch instruction of the user to the website in the response floating window, and displays a corresponding webpage of the selected website in the response floating window.
And the second method comprises the following steps: when the notification information includes an application link, or a response floating window (except for communication information) includes an application link, when a user clicks the application link, the mobile terminal can receive a touch instruction of the user on the application link in the response floating window, start an application corresponding to the application hyperlink in a background of the mobile terminal, and display an application page corresponding to the application in the response floating window, wherein the application page can be a page related to applications such as a video/picture/file download page, a benefit getting page (a benefit getting page such as a red packet and a coupon), a login page, and a sharing page.
And the third is that: in addition to the above two processing modes, the user can also save, collect, share and delete the website, the application hyperlink, the picture, the text and the video in the response floating window, and in this example, the mobile terminal can receive the touch instruction for the website, the application hyperlink, the picture, the text and/or the video in the response floating window, and save, collect, share or delete the website, the application hyperlink, the picture, the text and the video selected by the touch instruction.
In some examples, a popup window may be displayed in the response floating window after the touch instruction is received, a save, collect, share, or delete key is displayed in the popup window, a touch operation of the user on the save, collect, share, or delete key is received, and a website, an application hyperlink, a picture, a text, or a video corresponding to the touch instruction issued by the user is realized, and the website, the application hyperlink, the picture, the text, or the video is collected, deleted, or stored locally.
Referring to fig. 11, in this example, a video shared by the contact 3 is displayed in the response floating window 2, the user may play the video in the response floating window 2, and in addition, the user may perform long-time pressing on the video in the response floating window 2, at this time, a popup window 1 is displayed in the response floating window 2, the popup window 1 includes save, share, collect, and delete keys, and the user may touch the keys to save, share, collect, or delete the video in the response floating window 2.
It should be understood that the message processing method provided in this embodiment may be implemented for all applications on the mobile terminal, or may be implemented for only the target application on the mobile terminal, that is, only when the notification information of the target application is displayed on the mobile terminal, the response floating window is displayed on the user interface of the mobile terminal after the first operation instruction is received, so that the user may be prevented from being disturbed when receiving too much information.
For how to determine the target application program on the mobile terminal, at least the following two ways are implemented, including:
mode 1: the method comprises the steps of displaying a plurality of candidate application programs on a user interface of the mobile terminal, detecting touch selection operation on the candidate application programs, and determining the candidate application program selected by the touch selection operation as a target application program on the mobile terminal.
It should be understood that the alternative application selected by the touch selection operation may be an application directly selected by the user as the target application, or may be an application left after the user deletes a part of the applications from the multiple alternative applications. Referring to fig. 12, in this example, 6 candidate application identifiers are displayed on the user interface of the mobile terminal, and the user may select to delete part of the applications and determine that the remaining applications are target applications.
Mode 2: the user can directly operate the application program on the system page of the mobile terminal to determine the target application program, the application program currently displayed on the user interface of the mobile terminal can be determined at the moment, and if the preset touch operation of the application program is detected, the application program selected by the preset touch operation is determined as the target application program on the mobile terminal. The preset touch operation comprises clicking, double clicking, dragging or long-pressing of an application program on the mobile terminal.
Referring to fig. 13, a system page of the mobile terminal is shown, wherein the user can double-click on the application program to determine the selected application program as the target application program.
The embodiment provides a message processing method, wherein a response floating window mapped with notification information can be displayed on a mobile terminal user interface after a first operation instruction of a user for the notification information is received, and the received notification information is responded after a second operation instruction for the response floating window is received, so that the content displayed on the mobile terminal user interface does not need to be interrupted, meanwhile, the user can respond to the received notification information without interrupting the ongoing matters, and therefore, the user can obtain better experience.
Other embodiments of the method of the present application will be described based on the above-described notification information message processing method.
The embodiment of the application also provides a notification message prompting method which is applied to the mobile terminal and comprises the following steps:
s701, displaying a plurality of candidate application programs on a user interface of the mobile terminal, detecting touch selection operation on the candidate application programs, and determining the candidate application program selected by the touch selection operation as a target application program on the mobile terminal.
The alternative application may be an application on the mobile terminal that needs to notify the user of the notification information, and other applications that do not need to notify the user of the notification information (e.g., a picture viewer, a calculator, etc.) may not be displayed.
The target application program may be all application programs on the mobile terminal, in this embodiment, the target application program may be a preset application program, the message processing method provided in this embodiment may be applied to the notification information of the application program, and for other non-target application programs on the mobile terminal, a response may be made or a response may be made according to an existing general response manner.
When the touch selection operation of the user on the displayed multiple candidate application programs is detected, the candidate application program selected by the touch selection operation can be determined as the target application program on the mobile terminal. The candidate application selected by the touch selection operation may be an application directly selected by the user as a target application, or an application left after the user deletes a part of the applications from a plurality of candidate applications. With continued reference to fig. 12, in this example, 6 candidate application identifiers are displayed on the user interface of the mobile terminal, and the user may select to delete some of the applications and determine that the remaining application is the target application.
In other examples, the application program currently displayed on the user interface of the mobile terminal may be determined for the user to select, for example, the application program displayed on the system main interface of the mobile terminal may be determined for the user to select, and if a preset touch operation of the user on the application program currently displayed on the user interface of the mobile terminal is detected, the application program may be determined as the target application program on the mobile terminal.
S702, confirming the notification information that the mobile terminal needs to be notified.
There are at least two types of notification information on the mobile terminal:
one of them is notification information received from the server or/and the base station, in this case, step S702 may determine the push content as the notification information that the mobile terminal needs to be notified by receiving the push content pushed by the server or/and the base station to the mobile terminal.
Alternatively, the user may set the reminding content in advance on the mobile terminal, or the reminding content preset in the application program, in this example, step S702 may determine the reminding content as the notification information that the mobile terminal needs to be notified by determining the reminding content preset on the mobile terminal.
S703, determining an application program to be notified corresponding to the notification information on the mobile terminal and a foreground application program running on a foreground of the mobile terminal.
In this embodiment, the application program corresponding to the notification information on the mobile terminal is referred to as an application program to be notified, for example, if the notification information is a short message, the application program to be notified is a short message application program, and if the notification information is a piece of news, the application program to be notified is the news of today, and the like.
After the foreground application program is started, the user interface of the application program is displayed on the user interface (the whole display screen) of the mobile terminal; if the mobile terminal has two or more user interfaces, the user interface of the foreground application may be displayed on the primary (or largest) mobile terminal user interface. In addition to determining the foreground application by determining the currently displayed application on the user interface of the mobile terminal, the mobile terminal may determine the foreground application by other means, such as a CPU busy thread. In contrast to foreground applications, non-foreground applications are also applications that are launched and run on the mobile terminal, but are not displayed on the user interface of the mobile terminal.
And S704, displaying the notification information of the application program to be notified on the mobile terminal based on the application program to be notified and the foreground application program.
Step S704 has the following three ways, and it should be understood in advance here that the target application in this example can be understood as an application that the user wants to preferentially display, for example: if the information to be notified is a target application program and the foreground application program is a non-target application program, displaying notification information on a user interface of the foreground application program when the notification information of the application program to be notified is received; if the information to be notified is a non-target application and the foreground application is a target application, the notification information may not be responded to (the notification information is not responded to) when the notification information of the application to be notified is received.
The first method is as follows: if the application program to be notified is judged to be different from the foreground application program, namely the application program to be notified is not the same application program, and the application program to be notified is a target application program on the mobile terminal, and the foreground application program can be the target application program or not, the notification information of the application program to be notified can be displayed on a user interface of the foreground application program of the mobile terminal. As shown in fig. 14, the foreground application is a video application, and the user is watching a video at this time, and the notification information may be displayed on the foreground application in the form of a bullet screen. The barrage may also move on the foreground application in some examples.
The second method comprises the following steps: if the application program to be notified is judged to be different from the foreground application program, namely the application program to be notified and the foreground application program are not the same application program, the foreground application program is a target application program on the mobile terminal, the application program to be notified can be the target application program or not, and at the moment, the notification information of the application program to be notified is not responded.
When it is monitored that the foreground application program on the mobile terminal is switched to the non-target application program, displaying notification information of the application program to be notified on a user interface of the foreground application program switched by the mobile terminal; or when the foreground application program is monitored to be closed, displaying notification information of the application program to be notified on a system interface of the mobile terminal.
The third method comprises the following steps: if the application program to be notified and the foreground application program are the same application program, and the application program to be notified is a target application program on the mobile terminal, and when the application program to be notified is a social application program, and the notification information is a message (not a news message, a payment message, or the like) sent by a contact in the application program to be notified, the contact sending the notification information in the foreground application program may be determined, and the contact identifier of the notification information is displayed on the user interface of the foreground application program, please refer to fig. 15.
In step S704, the above-mentioned step of displaying notification information of the application to be notified on the mobile terminal may be implemented by:
s705, analyzing the notification information to obtain a notification field.
The notification field is information related to notification information displayed on the mobile terminal, and may be obtained by: the type of the notification information is determined, where the type of the notification information includes a link, a picture, a video, or a character.
And if the type of the notification information is a link, a picture or a video, at least using the type of the notification information as a notification field. For example, if the mobile terminal receives a picture sent by a contact on a social application program of a company, the notification field may be "a picture"; if a segment of text is received, the notification field may be "Q characters," and if a segment of speech is received, the notification field may be "speech information," where Q is a positive integer greater than zero.
In some other examples, if the type of the notification information is a character, all characters in the notification information may be used as the notification field, and in some other examples, the first N characters in the notification information may be used as the notification field, where N is a positive integer greater than a preset value.
And S706, displaying the application program to be notified or/and the notification field on the user interface of the mobile terminal in a bullet screen mode. Referring to fig. 14, the notification information (notification field) is displayed in the form of a bullet screen on the user interface of the mobile terminal.
In still other examples, a notification hover window may also be displayed on the user interface of the mobile terminal, and the application to be notified and/or the notification field may be displayed on the notification hover window, such as shown in fig. 16.
The prompt suspension window/bullet screen can be fixedly displayed in a preset area on the user interface of the mobile terminal, and can also be movably displayed on the user interface of the mobile terminal according to a preset track and a preset speed. In addition, the shape of the prompt floating window is not limited, and the prompt floating window can be a bubble or a rectangular frame close to the frame of the display screen.
And S707, receiving a first operation instruction of the notification information displayed on the user interface of the mobile terminal.
And S708, displaying a response floating window on the user interface of the mobile terminal, wherein the response floating window is mapped with notification information.
When a user sees a bullet screen or a prompt floating window displayed on the mobile terminal, the user can operate notification information (notification field and the like) on the mobile terminal, for example, touch operations such as click operation, double-click operation, long-press operation and drag operation, the mobile terminal starts an application program to be notified in a background, and an application page where the notification information in the application program to be notified is located is projected into a response floating window on a user interface of the mobile terminal. In this embodiment, the response floating window further includes at least one response touch key, and if the user operates the response touch key, the response notification information corresponding to the mobile terminal may be triggered, that is:
and S709, receiving a second operation instruction for responding to the floating window, and responding to the notification information.
In this embodiment, a selection instruction for responding to the touch key in the response floating window may be received, and the notification information is responded based on the selection instruction:
if the selected response touch key of the character input class is selected, displaying a virtual keyboard on a display interface of the mobile terminal, responding the characters input in the floating window based on a touch instruction of the virtual key, and sending the characters based on a sending instruction of the characters. The virtual keyboard can be a keyboard carried by the mobile terminal, and can also be an input method application program on the mobile terminal.
And if the selected response touch key is of the voice input type, starting a microphone of the mobile terminal to record audio, and sending the audio based on a sending instruction of the audio.
And if the selected response touch key of the expression package input class is selected, displaying the expression package in the response suspension window, and sending the selected expression package based on a selection instruction of the expression package in the response suspension window.
In some other examples, after displaying the notification information of the application to be notified in step S706, the message processing method further includes:
s201, stopping displaying the notification information of the application program to be notified, wherein the method has two implementation modes:
the first method is as follows: and determining the display time of the notification information on the user interface of the mobile terminal, and stopping displaying the notification information on the user interface of the mobile terminal if the display time of the notification information exceeds a first preset time. The mode of determining the display time of the notification information can enable the mobile terminal to stop displaying when appropriate, so that the user can conveniently continue to use the display interface of the mobile terminal.
The second method comprises the following steps: and receiving a third operation instruction of the notification information displayed on the user interface of the mobile terminal, and stopping displaying the notification information on the user interface of the mobile terminal. If the user sees the notification information displayed on the mobile terminal, if the user does not want to process the notification information, the user can perform a third operation on the notification information, and the mobile terminal stops displaying the notification information on the user interface of the mobile terminal after receiving the third operation instruction.
The embodiment also provides a display method of various notification information, which can enrich user experience.
The present embodiment further provides a terminal, as shown in fig. 17, which includes a processor 101, a memory 102, and a communication bus 103, where:
the communication bus 103 is used for realizing connection communication between the processor 101 and the memory 102;
the processor 101 is configured to execute a response program of the notification information stored in the memory 102 to implement the steps of the message processing method in the above-described embodiments.
The present application further provides an apparatus, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method as described above.
The present embodiment also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the above-described message processing method.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.
An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method described in the above various possible embodiments.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the description of each embodiment has its own emphasis, and parts of a certain embodiment that are not described in detail can be referred to the related descriptions of other embodiments, and the above serial numbers of the embodiments of the present application are merely for description and do not represent advantages and disadvantages of the embodiments, and those skilled in the art can make many forms without departing from the spirit and scope of the present application and claims, and these forms are all within the protection scope of the present application.

Claims (10)

1. A message processing method is applied to a mobile terminal, and the method comprises the following steps:
s11, when the message is received, judging whether the application corresponding to the message is in a preset state;
and S12, if yes, outputting the message according to a preset mode.
2. The method of claim 1, wherein before the step of determining whether the application corresponding to the message is in the preset state, the method further comprises:
judging whether the application is in a preset operation mode or not;
if yes, executing a step of judging whether the application corresponding to the message is in a preset state; and/or the presence of a gas in the gas,
if not, switching the running mode of the application according to the received first operation.
3. The method of claim 2, wherein the step of switching the operation mode of the application according to the received first operation comprises:
judging whether the operation information of the first operation meets a preset condition or not;
and if so, executing the step of switching the running mode of the application according to the received first operation.
4. The method according to any one of claims 1 to 3,
if the preset state is a foreground state, the outputting the message according to the preset mode includes at least one of the following:
outputting the message through a popup window;
outputting the contact information corresponding to the message;
and/or the presence of a gas in the gas,
if the preset state is the background state, the outputting the message according to the preset mode comprises at least one of the following steps:
outputting the message in a bullet screen mode;
and outputting the message in a bubble mode.
5. The method of claim 4, wherein if the predetermined state is a background state, before the step of outputting the message according to the predetermined manner, the method further comprises:
judging whether the mobile terminal is in a full screen mode or not;
and if so, executing the step of outputting the message according to a preset mode.
6. The method according to any one of claims 1 to 3, wherein after the step of S12, further comprising:
receiving a second operation aiming at the message, outputting a preset interface based on the second operation, and/or closing the message; and/or the presence of a gas in the gas,
and correspondingly processing the message based on a third operation aiming at the preset interface.
7. The method of claim 6, wherein the predetermined interface is at least one of:
a presentation interface for the message;
a reply interface for the message.
8. The method of claim 6, wherein processing the message accordingly comprises at least one of:
starting an application corresponding to the message;
replying to the message;
and managing the message.
9. A terminal, characterized in that the terminal comprises:
a memory for storing a computer program;
a processor for implementing the steps of the message processing method as claimed in any one of claims 1 to 8 when the computer program is stored in the memory.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by at least one processor, implements the steps of the message processing method according to any one of claims 1 to 8.
CN202010984275.9A 2020-09-18 2020-09-18 Message processing method, terminal and computer readable storage medium Pending CN112199141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010984275.9A CN112199141A (en) 2020-09-18 2020-09-18 Message processing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010984275.9A CN112199141A (en) 2020-09-18 2020-09-18 Message processing method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112199141A true CN112199141A (en) 2021-01-08

Family

ID=74015469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010984275.9A Pending CN112199141A (en) 2020-09-18 2020-09-18 Message processing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112199141A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709026A (en) * 2021-08-04 2021-11-26 青岛海信移动通信技术股份有限公司 Method, device, storage medium and program product for processing instant communication message
CN114168048A (en) * 2021-11-29 2022-03-11 广州博冠信息科技有限公司 Application message reminding method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354504A (en) * 2016-08-29 2017-01-25 北京小米移动软件有限公司 Message display method and device thereof
CN109218410A (en) * 2018-08-17 2019-01-15 青岛海信智慧家居系统股份有限公司 A kind of method that message is shown and terminal device
CN109491567A (en) * 2018-11-08 2019-03-19 苏州达家迎信息技术有限公司 A kind of message back method, apparatus, terminal and storage medium
CN109800097A (en) * 2019-01-15 2019-05-24 努比亚技术有限公司 Notification message based reminding method, storage medium and mobile terminal
CN110007817A (en) * 2019-02-26 2019-07-12 努比亚技术有限公司 A kind of message treatment method and mobile terminal, computer readable storage medium
CN110177177A (en) * 2019-05-29 2019-08-27 努比亚技术有限公司 Message back method, mobile terminal and computer readable storage medium
CN110955471A (en) * 2018-09-26 2020-04-03 Oppo广东移动通信有限公司 Notification message display method and device, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354504A (en) * 2016-08-29 2017-01-25 北京小米移动软件有限公司 Message display method and device thereof
CN109218410A (en) * 2018-08-17 2019-01-15 青岛海信智慧家居系统股份有限公司 A kind of method that message is shown and terminal device
CN110955471A (en) * 2018-09-26 2020-04-03 Oppo广东移动通信有限公司 Notification message display method and device, terminal and storage medium
CN109491567A (en) * 2018-11-08 2019-03-19 苏州达家迎信息技术有限公司 A kind of message back method, apparatus, terminal and storage medium
CN109800097A (en) * 2019-01-15 2019-05-24 努比亚技术有限公司 Notification message based reminding method, storage medium and mobile terminal
CN110007817A (en) * 2019-02-26 2019-07-12 努比亚技术有限公司 A kind of message treatment method and mobile terminal, computer readable storage medium
CN110177177A (en) * 2019-05-29 2019-08-27 努比亚技术有限公司 Message back method, mobile terminal and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709026A (en) * 2021-08-04 2021-11-26 青岛海信移动通信技术股份有限公司 Method, device, storage medium and program product for processing instant communication message
CN113709026B (en) * 2021-08-04 2022-11-04 青岛海信移动通信技术股份有限公司 Method, device, storage medium and program product for processing instant communication message
CN114168048A (en) * 2021-11-29 2022-03-11 广州博冠信息科技有限公司 Application message reminding method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN107885448B (en) Control method for application touch operation, mobile terminal and readable storage medium
CN107809534B (en) Control method, terminal and computer storage medium
CN112181233B (en) Message processing method, intelligent terminal and computer readable storage medium
CN112363648A (en) Shortcut display method, terminal and computer storage medium
CN113268298A (en) Application display method, mobile terminal and readable storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN112199141A (en) Message processing method, terminal and computer readable storage medium
CN112558826A (en) Shortcut operation method, mobile terminal and storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN107807876B (en) Split screen display method, mobile terminal and storage medium
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium
CN115202474A (en) Edge gesture touch response method and device and computer readable storage medium
CN114741361A (en) Processing method, intelligent terminal and storage medium
CN114138144A (en) Control method, intelligent terminal and storage medium
CN109522064B (en) Interaction method and interaction device of portable electronic equipment with double screens
CN113867765A (en) Application management method, intelligent terminal and storage medium
CN108008877B (en) Tab moving method, terminal equipment and computer storage medium
CN113342246A (en) Operation method, mobile terminal and storage medium
CN112199019A (en) Interaction method, terminal and computer readable storage medium
CN110941379A (en) Information record deleting method and electronic equipment
WO2023050910A1 (en) Icon display method, intelligent terminal and storage medium
WO2022241695A1 (en) Processing method, mobile terminal, and storage medium

Legal Events

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