CN106547439B - Method and device for processing message - Google Patents

Method and device for processing message Download PDF

Info

Publication number
CN106547439B
CN106547439B CN201610966614.4A CN201610966614A CN106547439B CN 106547439 B CN106547439 B CN 106547439B CN 201610966614 A CN201610966614 A CN 201610966614A CN 106547439 B CN106547439 B CN 106547439B
Authority
CN
China
Prior art keywords
message
notification bar
received
displaying
voice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610966614.4A
Other languages
Chinese (zh)
Other versions
CN106547439A (en
Inventor
陈梦瑶
王猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zaozhuang Ruiheng Construction Engineering Co.,Ltd.
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610966614.4A priority Critical patent/CN106547439B/en
Publication of CN106547439A publication Critical patent/CN106547439A/en
Application granted granted Critical
Publication of CN106547439B publication Critical patent/CN106547439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and apparatus for processing messages, comprising: receiving a message of a social application; wherein, the received message comprises a text message and a non-text message; and displaying the received message content in the item of the notification bar. Through the scheme of the embodiment of the invention, the message contents of any received message (including text messages and non-text messages) are displayed in the list item of the notification bar, instead of displaying that a certain message sends a picture to a you or a certain message sends a section of voice to a you like the related technology, a user can check the message contents only in the notification bar without entering the corresponding application for checking, the checking of new messages in the application is simply realized, and the experience degree of the user is improved.

Description

Method and device for processing message
Technical Field
The present disclosure relates to, but not limited to, terminal technologies, and more particularly, to a method and apparatus for processing a message.
Background
Currently, when a social application receives a new message (including a text message, a voice message, and a picture message), the received message is displayed in a notification bar, and when a user sees the message displayed in the notification bar, if the user wants to view the message or reply the message (especially, the voice message and the picture message), the user needs to click a table entry where the message displayed in the notification bar is located to enter a corresponding application for viewing and replying. Fig. 3 is a diagram illustrating a message of a social application displayed on a notification bar in the related art. As shown in fig. 3, each entry on the notification bar displays a message of the social application, and when the message is a text message, the content of the message is directly displayed; when the message is a picture message, displaying that the contact (e.g., a and B in fig. 3) sends a picture to you or the contact sends a picture in a group chat; when the message is a voice message, the contact (e.g., a and B in fig. 3) is shown sending a piece of voice to you or the contact sends a piece of voice in a group chat.
As shown in fig. 3, for the text message, although the user can directly see the message content in the notification bar, if the user wants to reply to the message content, the user also needs to click the entry where the message is located to enter the corresponding application, and then opens the page of the contact person to reply.
For picture messages and voice messages, a user cannot directly see message contents in a notification bar, and if the user wants to check or reply the message contents, the user needs to click a table item where the message is located to enter a corresponding application and open a page of the contact person to check or reply. Therefore, in the method for displaying the message of the social application on the notification bar, the process of the user for viewing and replying the message is complicated, and the user experience is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing messages, which can simply realize the viewing of new messages in application, thereby improving the user experience.
The embodiment of the invention provides a device for processing messages, which comprises:
the receiving module is used for receiving messages of the social application; wherein, the received message comprises a text message and a non-text message;
the display module is used for displaying the received message content in the list item of the notification bar;
when the message is a voice message; the receiving module is further configured to:
receiving a playing instruction from a user on the notification bar;
the device further comprises:
and the playing module is used for playing the message.
Optionally, the playing module is further configured to:
and judging that the next unplayed voice message exists in the list item of the message, and continuing to play the next unplayed voice message in the list item of the message.
Optionally, the method further includes:
and the processing module is used for judging that the time for continuously playing the voice message is greater than or equal to a preset threshold value, turning off the screen and continuously playing the voice message.
Optionally, the display module is further configured to:
displaying a reply interface in the list item of the notification bar;
the receiving module is further configured to:
receiving a reply instruction from the user on the reply interface;
the device further comprises:
and the reply module is used for sending the message in the reply instruction to the contact corresponding to the reply instruction.
Optionally, the display module is specifically configured to:
displaying the message content in the new table entry of the notification bar;
or displaying the message content in the list item of the contact sending the message in the notification bar.
The embodiment of the invention also provides a method for processing messages, which is characterized by comprising the following steps:
receiving a message of a social application; wherein, the received message comprises a text message and a non-text message;
displaying the received message content in the list item of the notification bar;
and when the message is a voice message and a playing instruction of the user on the notification bar is received, playing the message.
Optionally, the method further includes:
and judging that the next unplayed voice message exists in the list item of the message, and continuing to play the next unplayed voice message in the list item of the message.
Optionally, the method further includes:
and judging that the time for continuously playing the voice message is greater than or equal to a preset threshold value, turning off the screen and continuously playing the voice message.
Optionally, the method further includes:
displaying a reply interface in the list item of the notification bar;
and receiving a reply instruction from the user on the reply interface, and sending the message in the reply instruction to the contact corresponding to the reply instruction.
Optionally, the displaying the received message content in the entry of the notification bar includes:
displaying the message content in the new table entry of the notification bar;
or displaying the message content in the list item of the contact sending the message in the notification bar.
Compared with the related art, the embodiment of the invention comprises the following steps: receiving a message of a social application; wherein, the received message comprises a text message and a non-text message; and displaying the received message content in the item of the notification bar. Through the scheme of the embodiment of the invention, any received message (including text messages and non-text messages) is displayed in the list item of the notification bar, instead of displaying that a certain message sends a picture to a certain message or a certain message sends a section of voice to a certain message as in the related technology, a user can check the message content only in the notification bar without entering the corresponding application for checking, the checking of the new message in the application is simply realized, the operation process is simplified, and the experience degree of the user is improved.
Optionally, when the received message is a voice message and a play instruction on the notification bar is received from the user, the received message is played. The user can play the voice message by directly operating on the notification bar without entering the application to play the voice message in the related technology, so that the operation process is further simplified, and the user experience is improved.
Optionally, the time for continuously playing the voice message is judged to be greater than or equal to a preset threshold, and the screen is turned off and the voice message is continuously played. When the duration of playing the voice message is too long, the screen is turned off to save the electric quantity.
Drawings
The accompanying drawings in the embodiments of the present invention are described below, and the drawings in the embodiments are provided for further understanding of the present invention, and together with the description serve to explain the present invention without limiting the scope of the present invention.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a diagram illustrating a message of a social-type application displayed on a notification bar according to the related art;
FIG. 4 is a flowchart of a method for processing messages according to a first embodiment of the present invention;
FIG. 5 is a first diagram illustrating a first embodiment of displaying a received message in an entry of a notification bar;
FIG. 6 is a diagram illustrating a second example of displaying a received message in an entry of a notification bar according to the first embodiment of the present invention;
FIG. 7 is a third schematic diagram illustrating that a received message is displayed in an entry of a notification bar according to the first embodiment of the present invention;
FIG. 8 is a diagram illustrating a reply interface displayed in an entry of a notification bar according to a first embodiment of the present invention;
FIG. 9 is a flowchart of a method for processing messages according to a second embodiment of the present invention;
FIG. 10 is a flowchart of a method for processing messages according to a third embodiment of the present invention;
fig. 11 is a schematic structural diagram of an apparatus for processing a message according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The following further description of the present invention, in order to facilitate understanding of those skilled in the art, is provided in conjunction with the accompanying drawings and is not intended to limit the scope of the present invention. In the present application, the embodiments and various aspects of the embodiments may be combined with each other without conflict.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include a mobile communication module 112.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a microphone 122, and the microphone 122 may receive sounds (audio data) via the microphone 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 mobile communication module 112 in case of a phone call mode. The microphone 122 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 user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal 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 module 152 may 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 module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 1810 for reproducing (or playing back) multimedia data, and the multimedia module 1810 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
As shown in fig. 4, a first embodiment of the present invention provides a method for processing a message, including:
step 400, a message of the social application is received.
In this step, the social application may be WeChat or QQ.
In this step, the received messages include text messages and non-text messages; non-text messages refer to any message other than text messages, such as voice messages and/or picture messages and/or emoticon messages, etc.
In this step, each time a message is received, the received message content is stored in a file corresponding to a folder of the corresponding social application, a file corresponding to each login account is stored in the folder of the social application, and the message content of all messages of all contacts received is stored in the file corresponding to the login account.
Step 401, the received message content is displayed in the entry of the notification bar.
In this step, the entry of the notification bar refers to each small box in the list of the notification bar, and as shown in fig. 3, the list of the notification bar includes 5 entries.
In this step, the message content of any received message (including text messages and non-text messages) is displayed in the entry of the notification bar, instead of displaying that a certain message sends a picture to you or that a certain message sends a segment of voice to you like the related art, the user can view the message content only in the notification bar without entering the corresponding application for viewing, so that the viewing of new messages in the application is simply realized, and the experience of the user is improved.
In this step, displaying the received message content in the entry of the notification bar includes:
displaying the received message content in a new table entry of the notification bar;
or displaying the received message content in the list item of the contact sending the received message in the notification bar.
That is, each time a message is received, the received message content may be displayed in a new entry of the notification bar, as shown in fig. 5, an application name corresponding to the message, a time when the message is received, a contact name of the message to be sent and specific message content are displayed in each entry of the notification bar, and if the message is a voice message, a time length of the voice message is also displayed. Therefore, after the user opens the notification bar, the user can visually see which contact person of which application the received messages come from, the operation is convenient, and the user experience is high.
Or determining a contact person sending the message when receiving a message, judging whether the notification bar has an item of the contact person, and if so, displaying the received message content in the item of the contact person; if the message does not exist, displaying the received message content in the new table entry, as shown in fig. 6, when a text message sent by a is received at 15:10, at this time, no table entry corresponding to a exists in the notification bar, displaying the message content of the text message in the new table entry; then, the picture message sent by the A is received, and because the notification bar has the table entry corresponding to the A, the message content of the picture message is directly displayed in the table entry in which the A is located, namely, the picture sent by the A is directly displayed on the table entry in the notification bar; then, the voice message sent by a is received again, and because the entry corresponding to a already exists in the notification bar, the message content of the voice message is directly displayed in the entry where a is located, that is, the identifier of the voice message and the time length of the voice message are displayed on the entry of the notification bar.
Then, the voice message sent by the B is received, and the message content of the voice message is displayed in a new table entry because the notification bar does not have a table entry corresponding to the B; and then, receiving the text message sent by the C of the QQ application, and displaying the message content of the text message in a new table entry because the notification bar does not have the table entry corresponding to the C.
The method shown in fig. 6 is an explicit display method, that is, the message contents of all messages sent by the same contact are displayed in the same entry. Of course, an implicit display method may also be adopted, that is, a maximum display height is set for each table entry, and when the message content of all messages cannot be displayed within the maximum display height, the message received first is hidden, as shown in fig. 7, a scroll bar is used for displaying, and a user can slide the scroll bar to view the hidden message content; of course, other display modes may be adopted, and the embodiment of the present invention is not limited thereto.
In this step, when the received message content is displayed in the entry of the notification bar, a file corresponding to the login account may be searched from a folder of the social application, the latest received message content is periodically read from the file corresponding to the login account, and then the latest received message content is displayed in the entry of the notification bar.
Or when the message is received, the content of the received message can be directly displayed on the notification bar, so that the display delay is not generated.
Optionally, the method further includes:
and when the received message is a voice message and a playing instruction on the notification bar is received from the user, playing the received message.
That is to say, the user can play the voice message by directly operating on the notification bar, and does not need to enter the application to play the voice message in the related art, thereby further simplifying the operation process and improving the experience of the user.
In which, the user may input a play instruction by clicking a voice message displayed in the entry of the notification bar, as shown in fig. 5, fig. 6, or fig. 7, the user may click an object with a voice identifier (i.e., a voice message) in the entry of the notification bar, so that the object clicked by the user starts to be played.
When a playing instruction is received, acquiring the social application, the login account, the contact person sending the message and the time of sending the message corresponding to the playing instruction, searching the folder of the acquired social application, searching the file corresponding to the acquired login account from the searched folder, searching the voice message sent by the contact person at the acquired time of sending the message from the searched file, and playing.
Optionally, the method further includes:
and judging that the next unplayed voice message exists in the list item of the received message, and continuing to play the next unplayed voice message in the list item of the received message.
When it is determined that the next unplayed voice message does not exist in the table entry where the received message is located, the process is ended.
Optionally, the method further includes:
and judging that the time for continuously playing the voice message is greater than or equal to a preset threshold value, turning off the screen and continuously playing the voice message.
That is, if the duration of playing the voice message is too long, the screen is turned off to save power.
The preset threshold may be set empirically, and may be set to a relatively small value, for example, 5 seconds(s) or the like, in order to achieve the effect of saving power. Of course, a compromise value may also be selected in consideration of power saving and user experience, and the specific value of the preset threshold is not limited in the embodiment of the present invention.
Optionally, the method further includes:
displaying a reply interface in the list item of the notification bar;
and receiving a reply instruction from the user on the reply interface, and sending the message in the reply instruction to the contact corresponding to the reply instruction.
As shown in fig. 8, the reply interface is displayed in the entry of the notification bar, and the reply interface includes a voice input button, a text input box, an expression input button, and other input buttons, but of course, not all the input buttons or input boxes need to be included in the reply interface, that is, only one or more of the input buttons or the input boxes need to be included in the reply interface, and the more input buttons are included, the more message types the user can reply.
And if a plurality of messages are displayed in one table entry, a reply interface does not need to be set for each message.
The user can input a reply instruction by clicking an input button text input box on the reply interface.
Referring to fig. 9, the second embodiment of the present invention further provides a method for processing a message, including:
step 900, a message of a social application is received.
In this step, the social application may be WeChat or QQ.
In this step, the received messages include text messages and non-text messages; non-text messages refer to any message other than text messages, such as voice messages and/or picture messages and/or emoticon messages, etc.
In this step, each time a message is received, the received message is stored in a file corresponding to a folder of the corresponding social application, a file corresponding to each login account is stored in the folder of the social application, and all the received messages of all the contacts are stored in the file corresponding to the login account.
Step 901, displaying the received message content in the new entry of the notification bar, and displaying a reply interface in the new entry of the notification bar.
That is, each time a message is received, the received message content may be displayed in a new entry of the notification bar, as shown in fig. 5, an application name corresponding to the message, a time when the message is received, a contact name of the message to be sent and specific message content are displayed in each entry of the notification bar, and if the message is a voice message, a time length of the voice message is also displayed. Therefore, after the user opens the notification bar, the user can visually see which contact person of which application the received messages come from, the operation is convenient, and the user experience is high.
And, as shown in fig. 8, a reply interface is displayed in the entry of the notification bar, and the reply interface includes a voice input button, a text input box, an expression input button and other input buttons, of course, all the input buttons or input boxes are not necessarily required to be included in the reply interface, that is, only one or more of the input buttons or the input boxes are included, and the more input buttons are included, the more message types the user can reply.
And step 902, when the received message is a voice message and a playing instruction on the notification bar is received from the user, playing the received message.
Step 903, judging whether the time for continuously playing the voice message is greater than or equal to a preset threshold value, if so, executing step 904; if not, the voice message continues to be played.
Step 904, the screen is extinguished and the voice message continues to be played.
Step 905, receiving a reply instruction from the user on the reply interface, and sending the message in the reply instruction to the contact corresponding to the reply instruction.
Referring to fig. 10, the third embodiment of the present invention further provides a method for processing a message, including:
step 1000, receiving a message of the social application.
In this step, the social application may be WeChat or QQ.
In this step, the received messages include text messages and non-text messages; non-text messages refer to any message other than text messages, such as voice messages and/or picture messages and/or emoticon messages, etc.
In this step, each time a message is received, the received message is stored in a file corresponding to a folder of the corresponding social application, a file corresponding to each login account is stored in the folder of the social application, and all the received messages of all the contacts are stored in the file corresponding to the login account.
Step 1001, displaying the received message content in the entry where the contact sending the received message is located in the notification bar, and displaying the reply interface in the entry of the notification bar.
That is, when a message is received, determining a contact person sending the message, judging whether the notification bar has an item of the contact person, and if so, displaying the received message in the item of the contact person; if the message does not exist, displaying the received message content in the new table entry, as shown in fig. 6, when a text message sent by a is received at 15:10, at this time, no table entry corresponding to a exists in the notification bar, displaying the message content of the text message in the new table entry; then, the picture message sent by the A is received, and because the notification bar has the table entry corresponding to the A, the message content of the picture message is directly displayed in the table entry in which the A is located, namely, the picture sent by the A is directly displayed on the table entry in the notification bar; then, the voice message sent by a is received again, and because the entry corresponding to a already exists in the notification bar, the message content of the voice message is directly displayed in the entry where a is located, that is, the identifier of the voice message and the time length of the voice message are displayed on the entry of the notification bar.
Then, the voice message sent by the B is received, and the message content of the voice message is displayed in a new table entry because the notification bar does not have a table entry corresponding to the B; and then, receiving the text message sent by the C of the QQ application, and displaying the message content of the text message in a new table entry because the notification bar does not have the table entry corresponding to the C.
The method shown in fig. 6 is an explicit display method, that is, the message contents of all messages sent by the same contact are displayed in the same entry. Of course, an implicit display method may also be adopted, that is, a maximum display height is set for each table entry, and when the message content of all messages cannot be displayed within the maximum display height, the message received first is hidden, as shown in fig. 7, a scroll bar is used for displaying, and a user can slide the scroll bar to view the hidden message content; of course, other display modes may be adopted, and the embodiment of the present invention is not limited thereto.
And, as shown in fig. 8, a reply interface is displayed in the entry of the notification bar, and the reply interface includes a voice input button, a text input box, an expression input button and other input buttons, of course, all the input buttons or input boxes are not necessarily required to be included in the reply interface, that is, only one or more of the input buttons or the input boxes are included, and the more input buttons are included, the more message types the user can reply.
Step 1002, when the received message is a voice message and a play instruction from the user on the notification bar is received, playing the received message, and judging whether the time for continuously playing the voice message is greater than or equal to a preset threshold value, if so, executing step 1003; if not, the voice message continues to be played.
Step 1003, turning off the screen and continuing to play the voice message.
Step 1004, judging whether the received message is in the list item of the next unplayed voice message, if so, executing step 1005 and step 1006; if not, step 1006 is performed.
Step 1005, continue to play the next voice message not played in the list item where the received message is located.
Step 1006, receiving a reply instruction from the user on the reply interface, and sending the message in the reply instruction to the contact corresponding to the reply instruction.
Referring to fig. 11, the fourth embodiment of the present invention further provides an apparatus for processing a message, including:
the receiving module is used for receiving messages of the social application; wherein, the received message comprises a text message and a non-text message;
and the display module is used for displaying the received message content in the list item of the notification bar.
Wherein, the receiving module may be implemented by the mobile communication module 112 and the controller 180 of fig. 1, and the display module may be implemented by the controller 180 and the display unit 151 of fig. 1.
The social application can be WeChat or QQ, etc.
The message received by the receiving module comprises a text message and a non-text message; non-text messages refer to any message other than text messages, such as voice messages and/or picture messages and/or emoticon messages, etc.
The receiving module stores the received message content into a file corresponding to a folder of a corresponding social application when receiving each message, wherein the file corresponding to each login account is stored in the folder of the social application, and the message content of all the received messages of all the contacts is stored in the file corresponding to the login account.
The display module displays the message content of any received message (including text messages and non-text messages) in the list item of the notification bar, instead of displaying that a certain message sends a picture to a certain message or a certain message sends a section of voice to a certain message as in the related art, so that a user can check the message content only in the notification bar without entering a corresponding application for checking, the operation process is simplified, and the experience of the user is improved.
Wherein, the display module is specifically used for:
displaying the received message content in a new table entry of the notification bar;
or displaying the received message content in the list item of the contact sending the received message in the notification bar.
That is, the display module may display the received message content in a new entry of the notification bar every time the receiving module receives a message, as shown in fig. 5, each entry of the notification bar displays an application name corresponding to the message, a time when the message is received, a contact name of the message to be sent and specific message content, and if the message is a voice message, a time length of the voice message. Therefore, after the user opens the notification bar, the user can visually see which contact person of which application the received messages come from, the operation is convenient, and the user experience is high.
The display module may also determine, when the receiving module receives a message, a contact person who sends the message, determine whether an entry of the contact person exists in the notification bar, and if so, display the received message content in the entry where the contact person exists; if the message does not exist, displaying the received message content in the new table entry, as shown in fig. 6, when a text message sent by a is received at 15:10, at this time, no table entry corresponding to a exists in the notification bar, displaying the message content of the text message in the new table entry; then, the picture message sent by the A is received, and because the notification bar has the table entry corresponding to the A, the message content of the picture message is directly displayed in the table entry in which the A is located, namely, the picture sent by the A is directly displayed on the table entry in the notification bar; then, the voice message sent by a is received again, and because the entry corresponding to a already exists in the notification bar, the message content of the voice message is directly displayed in the entry where a is located, that is, the identifier of the voice message and the time length of the voice message are displayed on the entry of the notification bar.
Then, the voice message sent by the B is received, and the message content of the voice message is displayed in a new table entry because the notification bar does not have a table entry corresponding to the B; and then, receiving the text message sent by the C of the QQ application, and displaying the message content of the text message in a new table entry because the notification bar does not have the table entry corresponding to the C.
The method shown in fig. 6 is an explicit display method, that is, the message contents of all messages sent by the same contact are displayed in the same entry. Of course, an implicit display method may also be adopted, that is, a maximum display height is set for each table entry, and when the message content of all messages cannot be displayed within the maximum display height, the message received first is hidden, as shown in fig. 7, a scroll bar is used for displaying, and a user can slide the scroll bar to view the hidden message content; of course, other display modes may be adopted, and the embodiment of the present invention is not limited thereto.
When the display module displays the received message content in the entry of the notification bar, the display module may search a file corresponding to the login account from a folder of the social application, periodically read the latest received message content from the file corresponding to the login account, and then display the latest received message content in the entry of the notification bar.
The display module can also directly display the received message content on the notification bar when the message is received, so that the display delay is not generated.
Optionally, the receiving module is further configured to:
receiving a playing instruction on the notification bar from a user;
the device still includes:
and the playing module is used for playing the message.
The playing module may be implemented by the controller 180 and the audio output module 152 of fig. 1.
That is to say, the user can play the voice message by directly operating on the notification bar, and does not need to enter the application to play the voice message in the related art, thereby further simplifying the operation process and improving the experience of the user.
In which, the user may input a play instruction by clicking a voice message displayed in the entry of the notification bar, as shown in fig. 5, fig. 6, or fig. 7, the user may click an object with a voice identifier (i.e., a voice message) in the entry of the notification bar, so that the object clicked by the user starts to be played.
When the receiving module receives a playing instruction, the playing module can acquire the social application, the login account, the contact person sending the message and the time of sending the message corresponding to the playing instruction, search for the folder of the acquired social application, search for the file corresponding to the acquired login account from the searched folder, search for the voice message sent by the acquired contact person at the acquired time of sending the message from the searched file, and play the voice message.
Optionally, the playing module is further configured to:
and judging that the next unplayed voice message exists in the list item of the message, and continuing to play the next unplayed voice message in the list item of the message.
When the playing module judges that the next voice message which is not played does not exist in the list item where the received message is located, the process is ended.
Optionally, the method further includes:
and the processing module is used for judging that the time for continuously playing the voice message is greater than or equal to a preset threshold value, turning off the screen and continuously playing the voice message.
Wherein the processing module may be provided in the controller 180 of fig. 1.
That is, if the duration of playing the voice message is too long, the screen is turned off to save power.
The preset threshold may be set empirically, and may be set to a relatively small value, for example, 5 seconds(s) or the like, in order to achieve the effect of saving power. Of course, a compromise value may also be selected in consideration of power saving and user experience, and the specific value of the preset threshold is not limited in the embodiment of the present invention.
Optionally, the display module is further configured to:
displaying a reply interface in the list item of the notification bar;
the receiving module is further configured to:
receiving a reply instruction from a user on a reply interface;
the device still includes:
and the reply module is used for sending the message in the reply instruction to the contact corresponding to the reply instruction.
Wherein, the reply module can be realized by the controller 18, the mobile communication module 112, the user input unit 130 and the microphone 122 of fig. 1.
As shown in fig. 8, the reply interface is displayed in the entry of the notification bar, and the reply interface includes a voice input button, a text input box, an expression input button, and other input buttons, but of course, not all the input buttons or input boxes need to be included in the reply interface, that is, only one or more of the input buttons or the input boxes need to be included in the reply interface, and the more input buttons are included, the more message types the user can reply.
And if a plurality of messages are displayed in one table entry, a reply interface does not need to be set for each message.
The user can input a reply instruction by clicking an input button text input box on the reply interface.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An apparatus for processing messages, comprising:
the receiving module is used for receiving messages of the social application; wherein, the received message comprises a text message and a non-text message;
the display module is used for displaying the received message content in the list item of the notification bar;
when the message is a voice message; the receiving module is further configured to:
receiving a playing instruction from a user on the notification bar;
the device further comprises:
and the playing module is used for playing the message.
2. The apparatus of claim 1, wherein the playback module is further configured to:
and judging that the next unplayed voice message exists in the list item of the message, and continuing to play the next unplayed voice message in the list item of the message.
3. The apparatus of claim 2, further comprising:
and the processing module is used for judging that the time for continuously playing the voice message is greater than or equal to a preset threshold value, turning off the screen and continuously playing the voice message.
4. The device according to any one of claims 1 to 3, wherein the display module is further configured to:
displaying a reply interface in the list item of the notification bar;
the receiving module is further configured to:
receiving a reply instruction from the user on the reply interface;
the device further comprises:
and the reply module is used for sending the message in the reply instruction to the contact corresponding to the reply instruction.
5. The device according to any one of claims 1 to 3, wherein the display module is specifically configured to:
displaying the message content in the new table entry of the notification bar;
or displaying the message content in the list item of the contact sending the message in the notification bar.
6. A method of processing a message, comprising:
receiving a message of a social application; wherein, the received message comprises a text message and a non-text message;
displaying the received message content in the list item of the notification bar;
and when the message is a voice message and a playing instruction of the user on the notification bar is received, playing the message.
7. The method of claim 6, further comprising:
and judging that the next unplayed voice message exists in the list item of the message, and continuing to play the next unplayed voice message in the list item of the message.
8. The method of claim 7, further comprising:
and judging that the time for continuously playing the voice message is greater than or equal to a preset threshold value, turning off the screen and continuously playing the voice message.
9. A method according to any one of claims 6 to 8, characterized in that the method further comprises:
displaying a reply interface in the list item of the notification bar;
and receiving a reply instruction from the user on the reply interface, and sending the message in the reply instruction to the contact corresponding to the reply instruction.
10. The method according to any one of claims 6 to 8, wherein the displaying the received message content in the entry of the notification bar comprises:
displaying the message content in the new table entry of the notification bar;
or displaying the message content in the list item of the contact sending the message in the notification bar.
CN201610966614.4A 2016-10-28 2016-10-28 Method and device for processing message Active CN106547439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610966614.4A CN106547439B (en) 2016-10-28 2016-10-28 Method and device for processing message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610966614.4A CN106547439B (en) 2016-10-28 2016-10-28 Method and device for processing message

Publications (2)

Publication Number Publication Date
CN106547439A CN106547439A (en) 2017-03-29
CN106547439B true CN106547439B (en) 2020-01-07

Family

ID=58394532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610966614.4A Active CN106547439B (en) 2016-10-28 2016-10-28 Method and device for processing message

Country Status (1)

Country Link
CN (1) CN106547439B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107370875A (en) * 2017-06-30 2017-11-21 北京小米移动软件有限公司 Message treatment method and device
CN107992248B (en) * 2017-11-27 2020-09-29 北京小米移动软件有限公司 Message display method and device
CN110750204B (en) * 2019-10-25 2021-04-02 维沃移动通信有限公司 Method for displaying notification bar message and mobile terminal
CN111049732B (en) * 2019-12-06 2023-01-20 北京达佳互联信息技术有限公司 Push message display method and device, electronic equipment and medium
CN112351331A (en) * 2020-10-27 2021-02-09 深圳Tcl新技术有限公司 Message prompting method and device, display equipment and computer readable storage medium
CN115396391B (en) * 2022-08-23 2024-05-03 北京字跳网络技术有限公司 Method, apparatus, device and storage medium for session message presentation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472975A (en) * 2013-09-11 2013-12-25 江苏中科梦兰电子科技有限公司 Intelligent terminal human-computer interaction method with instant messaging style
CN105099855A (en) * 2014-04-30 2015-11-25 阿尔派株式会社 Electronic device and playing and controlling method of voice information
US9299057B2 (en) * 2012-03-09 2016-03-29 Blackberry Limited Message search method and electronic device
CN105472167A (en) * 2016-01-13 2016-04-06 陈包容 Communication information merging method and device
CN105867729A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 A message display device and method
CN106055226A (en) * 2016-05-19 2016-10-26 珠海市魅族科技有限公司 Method and device for information replying

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299057B2 (en) * 2012-03-09 2016-03-29 Blackberry Limited Message search method and electronic device
CN103472975A (en) * 2013-09-11 2013-12-25 江苏中科梦兰电子科技有限公司 Intelligent terminal human-computer interaction method with instant messaging style
CN105099855A (en) * 2014-04-30 2015-11-25 阿尔派株式会社 Electronic device and playing and controlling method of voice information
CN105472167A (en) * 2016-01-13 2016-04-06 陈包容 Communication information merging method and device
CN105867729A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 A message display device and method
CN106055226A (en) * 2016-05-19 2016-10-26 珠海市魅族科技有限公司 Method and device for information replying

Also Published As

Publication number Publication date
CN106547439A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106547439B (en) Method and device for processing message
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106775391B (en) Interface switching device and method
CN105468158B (en) Color adjustment method and mobile terminal
CN106911850B (en) Mobile terminal and screen capturing method thereof
CN105303398B (en) Information display method and system
CN106533928B (en) Method and device for updating unread message reminding identification
CN106413128B (en) Projection method and mobile terminal
CN105577532B (en) Application message processing method and device based on keywords and mobile terminal
CN105515619B (en) Bluetooth communication method and system
CN106776017B (en) Device and method for cleaning application memory and garbage
CN106249989B (en) Method for arranging social application program icons during content sharing and mobile terminal
CN106598538B (en) Instruction set updating method and system
CN106131285B (en) Call method and terminal
CN106657579B (en) Content sharing method and device and terminal
CN106453863B (en) Method and system for controlling terminal and earphone
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN105791541B (en) Screenshot method and mobile terminal
CN104639428B (en) Self-adaptive method for session scene in instant messaging and mobile terminal
CN107027113B (en) SIM card activation method and mobile terminal
CN107197084B (en) Method for projection between mobile terminals and first mobile terminal
CN106951350B (en) Method and device for checking mobile terminal disk
CN106569670B (en) Device and method for processing application
CN106534446B (en) Mobile terminal dialing device and method
CN106559577B (en) Mobile terminal and control method thereof

Legal Events

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

Effective date of registration: 20201123

Address after: 277000 east side of North Head of Changbaishan Road, Taozhuang Town, Xuecheng District, Zaozhuang City, Shandong Province

Patentee after: Zaozhuang Xuecheng Hongxiang Transportation Co., Ltd

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Patentee before: NUBIA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211122

Address after: 277000 No. 9, Taoshan Road, Taozhuang Town, Xuecheng District, Zaozhuang City, Shandong Province

Patentee after: Zaozhuang Ruiheng Construction Engineering Co.,Ltd.

Address before: 277000 east side of North Head of Changbaishan Road, Taozhuang Town, Xuecheng District, Zaozhuang City, Shandong Province

Patentee before: Zaozhuang Xuecheng Hongxiang Transportation Co., Ltd

TR01 Transfer of patent right