CN110007817A - A kind of message treatment method and mobile terminal, computer readable storage medium - Google Patents

A kind of message treatment method and mobile terminal, computer readable storage medium Download PDF

Info

Publication number
CN110007817A
CN110007817A CN201910143459.XA CN201910143459A CN110007817A CN 110007817 A CN110007817 A CN 110007817A CN 201910143459 A CN201910143459 A CN 201910143459A CN 110007817 A CN110007817 A CN 110007817A
Authority
CN
China
Prior art keywords
message
new notification
mobile terminal
notification message
touch control
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
CN201910143459.XA
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.)
Nubia Technology 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 CN201910143459.XA priority Critical patent/CN110007817A/en
Publication of CN110007817A publication Critical patent/CN110007817A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders, dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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

Abstract

The invention discloses a kind of message treatment method, terminal and computer readable storage mediums, the new notification message that this method is received by obtaining the mobile terminal, judge whether the new notification message is in the message for the application program that backstage is currently running, if, the then sensor by being arranged on the mobile terminal two sides, touch control operation of the user on the mobile terminal side is obtained, determines whether to show the new notification message in current display interface according to the touch control operation.Pass through the reading operations of sensor controlling terminal message, dramatically to the operating procedure that can only be checked by status bar or opening application in abbreviation current techniques, the maloperation of foreground application can also be avoided to close simultaneously, the message switching that can be fast implemented between mostly application is checked, the usage experience of user is greatly improved.

Description

A kind of message treatment method and mobile terminal, computer readable storage medium
Technical field
The present invention relates to field of terminal technology, more specifically to a kind of message treatment method and mobile terminal, calculating Machine readable storage medium storing program for executing.
Background technique
With the continuous development of terminal technology and it is universal use, while function is also more and more, especially function with answer It can be embodied in the installation number of program, mobile terminal can run multiple application programs simultaneously, realize a variety of function Can while use, wherein the application program shown on interface of mobile terminal, commonly referred to as " foreground application ", in mobile terminal The application program of running background, commonly referred to as " background application ".User often will receive background application push in foreground application Message or short message, these information can prompting frame mode be notified in status bar, and user needs to click the prompting frame manually, It can enter corresponding application and carry out the complete reading of message, but when entering reading, current interface will be covered Lid, for one-handed performance user, click reading is also inconvenient, especially large-screen mobile phone, will lead to reduction in this way The usage experience of user.
Summary of the invention
The present invention provides a kind of message treatment method and mobile terminal, computer readable storage medium, it is intended to solve existing It is inconvenient for the reading operations of background application new information in technology, lead to the technical problem that user experience is bad.
In order to solve the above technical problems, the present invention provides a kind of message treatment method, it is applied to mobile terminal, the method Include:
Obtain the new notification message that the mobile terminal receives;
Judge whether the new notification message is in the message for the application program that backstage is currently running;
If so, obtaining user in the mobile terminal by the sensor being arranged on the mobile terminal two sides Touch control operation on side;
Determine whether to show the new notification message in current display interface according to the touch control operation.
Optionally, the sensor is pressure sensor, described to determine whether described newly lead to according to the touch control operation Know that message carries out display in current display interface and includes:
Judge whether the pressing dynamics of the touch control operation reach preset trigger value;
If so, background application corresponding with the new notification message is switched to front stage operation, and will be described new Notification message is shown on the display interface of the background application;
If it is not, then the new notification message is shown in the prompting frame of status bar.
Optionally, described to show the new notification message if the quantity of the new notification message is at least two Include: on the display interface of the background application
Determine the message number to be presented belonged in the background application journey in the new notification message;
The displaying layout of its message in the current display interface of the mobile terminal is determined according to the message number;
The new notification message is shown in current display interface according to showing to be laid out.
Optionally, if the new notification message includes at least two and also pushed respectively by different background applications When, described show the new notification message on the display interface of the background application includes:
Determine the quantity of corresponding background application in described at least two new notification messages;
The message display mode of each background application is determined according to the background application and message number;
The new notification message is classified according to background application, and according to the corresponding message display mode It is shown.
Optionally, the message display mode can specifically determine in the following manner:
When calculating displaying according to message number corresponding to the determining background application, the face that actually occupies Product carries out division display area according to current display interface of the area to the mobile terminal, determines and show layout;
Alternatively, forming a mapping table according to for the exhibition method fixed with the setting of each application program, passing through It is inquired according to the background application, obtains corresponding exhibition method.
Optionally, described to obtain the new notification message that the mobile terminal receives and include:
Whether the information of status bar changes on mobile terminal described in real-time monitoring;
If changing, it is determined that have new notification message, and obtain the new notification message.
Optionally, determining whether to show the new notification message in current display interface according to the touch control operation Before showing, further includes:
Judge the touch control operation whether be the mobile terminal right edge operation;
Determine whether to carry out the new notification message in current display interface according to the touch control operation if so, executing The step of display;
If it is not, the new notification message is then directly disposed as read states according to the touch control operation;Alternatively, according to The touch control operation removes the new notification message from the status bar of the mobile terminal, and in corresponding application program image Put on mark.
Optionally, the method also includes:
Judge whether the touch control operation fails;
If failure closes the displaying to the new notification message, and restores the display interface of the mobile terminal.
Further, the present invention also provides a kind of mobile terminal, the mobile terminal includes reason device, memory and communication Bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize such as any one of aforementioned institute The step of message treatment method stated.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize The step of described in any item message treatment methods as describe above.
Beneficial effects of the present invention:
The present invention provides a kind of message treatment method and mobile terminal, computer readable storage medium, and this method is by obtaining The new notification message that the mobile terminal receives is taken, judges whether the new notification message is in the application that backstage is currently running The message of program, if so, obtaining user described mobile whole by the sensor being arranged on the mobile terminal two sides Touch control operation on the side of end side determines whether to carry out the new notification message in current display interface according to the touch control operation Display.By the reading operations of sensor controlling terminal message, dramatically in abbreviation current techniques to state can only be passed through The operating procedure applied to check is opened on column, while the maloperation of foreground application can also be avoided to close, can be fast Speed realizes that the message switching between mostly application is checked, greatly improves the usage experience of user.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the message treatment method basic flow chart that first embodiment of the invention provides;
Fig. 4 is the schematic diagram at the Message Processing interface that first embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that second embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, Tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), just Prompt formula media player (Portable Media Player, PMP), navigation device, Intelligent bracelet, pedometer, wearable device Etc..
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, 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, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
Fig. 3 is message treatment method basic flow chart provided in this embodiment, and the unlocking method message treatment method is not only Suitable for smart phone, plate, or even it can also be that smart television etc. is equipped with the terminal of touch screen, the message treatment method packet It includes:
S301, the new notification message that the mobile terminal receives is obtained.
In this step, the new notification message can be the PUSH message of end application, be also possible to terminal sheet Some PUSH messages of the function of body, or even can also be short message message.
In the present embodiment, for obtaining new notification message especially by status bar on mobile terminal described in real-time monitoring Whether information changes;If changing, it is determined that have new notification message, and obtain the new notification message.
S302, judges whether the new notification message is in the message for the application program that backstage is currently running.
In the present embodiment, new notification message received by terminal be possible to be not background application message, than It is not the message of background application if short message.
In this step, corresponding application name is determined especially by new notification message, according to the application program Name query background application be that all no there are the applications of same names, and if it exists, then follow the steps S303, otherwise terminate Process, or new notification message is maintained to the display of status bar, or even can also be and remove it from status bar.
S303, if so, obtaining user in the movement by the sensor being arranged on the mobile terminal two sides Touch control operation on terminal side.
In this step, the touch control operation includes: at least one of long-pressing, double-click, sliding.The sensing implement body It is arranged in the frame of terminal two sides, it is preferred that the sensor is arranged along the length direction of terminal, for example, being arranged at end The middle part or middle and upper part position of the side frame at end, certainly, in practical applications, the setting position of sensor can be according to user Actual use be accustomed to be configured, as long as can facilitate user itself operate position.
The touch control operation includes the operation of sliding or click of the user on terminal side, when the clicking operation is When suspension procedure, acquisition should be clicking operation number of clicks, and click dynamics (being pressure value), especially by Distance calculates.
S304 determines whether to show the new notification message in current display interface according to the touch control operation.
In the present embodiment, the sensor is pressure sensor, described to be determined whether according to the touch control operation by institute It states new notification message and show in current display interface and include:
Judge whether the pressing dynamics of the touch control operation reach preset trigger value;
If so, background application corresponding with the new notification message is switched to front stage operation, and will be described new Notification message is shown on the display interface of the background application;
If it is not, then the new notification message is shown in the prompting frame of status bar.
In the present embodiment, for the sensor being arranged on mobile terminal two sides, can also be proximity sensor, Resistance sensor, photosensitive sensor etc..
It is almost identical for the working principle of these sensors, all it is to be calculated according to the press degree to it, leads to When crossing pressing dynamics and whether being triggered to realize, specifically according to the contact area (contact surface of detection compression sensor Product is for characterizing user's press degree, and press degree is bigger, and contact area is bigger), specific as follows:
According to calculation formula C=(ε S)/d of capacitor:
In some scenes, without user's finger close to sensor, the distance between two pole plates of sensor d is unlimited Greatly, capacitance C=0 at this time;
In some scenes, user's finger proximity sensor, one of pole plate of the user's finger as capacitor, at this time two The distance between a pole plate d is smaller, and capacitance C=(ε S)/d is greater than 0 at this time;It therefore can be according to whether there are capacitances to come really It is fixed whether to have finger close;Specific triggering capacitance can different location according to set by sensor in the terminal use Depending on it is required that, such as, though it is foreseeable that when terminal is under grip state, the sensor of the side of terminal generally can all have By the finger of user and palm institute face contact, then, the triggering capacitance that the sensor of the side of terminal is arranged in can be with It is set as biggish value, correspondingly, the triggering capacitance of the sensor at other positions of terminal then can be set to lesser value, User is facilitated to operate.
In some scenes, user's finger presses lightly on sensor, and user's finger is as one of pole plate, at this time The distance between two pole plates d is the distance of the shell of sensor to terminal, that is to say the thickness D of the shell of terminal, at this time capacitor Value C=(ε S)/D;Since user is flicking, the contact area S between two pole plates is smaller, and capacitance is smaller;
In some scenes, user's finger is firmly pressed on sensor, and user's finger is as one of pole plate, at this time The distance between two pole plates d is the thickness D of the shell of terminal, at this time capacitance C=(ε S)/D;Due to user be again by, Contact area S between two pole plates is larger, and capacitance is larger;That is, can be according to the size of capacitance, to determine use Family press degree (flicking or pressing again).
Based on above-mentioned analysis it is found that the application can detect user in terminal end surfaces such as mobile phones based on pressure sensor The parameters such as sliding, pressing, pressing size (dynamics).
In the present embodiment, it is also likely to be two or more that the new notification message that terminal receives, which may be one, if two 2 when a above, it can also be through different application program push, be the message for belonging to different application programs.
If at one, then when showing, directly being shown in current display interface according to touch control operation.
If described to show the new notification message on the display interface of the background application when more than two Include:
Determine the message number to be presented belonged in the background application journey in the new notification message;
The displaying layout of its message in the current display interface of the mobile terminal is determined according to the message number;
The new notification message is shown in current display interface according to showing to be laid out.
It is that can be shown according to certain layout to new notification message, for example block form is shown on currently display circle On face, it can also be that the mode of a pop-up is shown.
In the present embodiment, if the new notification message includes at least two and also respectively by different background applications When push, described show the new notification message on the display interface of the background application includes:
Determine the quantity of corresponding background application in described at least two new notification messages;
The message display mode of each background application is determined according to the background application and message number;
The new notification message is classified according to background application, and according to the corresponding message display mode It is shown.
The message display mode can specifically be determined in the following manner:
When mode one, the message number according to corresponding to the determining background application calculate displaying, actually account for Area carries out division display area according to current display interface of the area to the mobile terminal, determines and show cloth Office;
Fixed exhibition method is arranged according to for each application program in mode two, forms a mapping table, leads to It crosses and is inquired according to the background application, obtain corresponding exhibition method.
It in the present embodiment, can also include pair except realizing except through sensor type to the displaying of new notification message The cancellation of message such as has read at the control, specifically, determining whether the new notification message according to the touch control operation current Before display interface is shown, further includes:
Judge the touch control operation whether be the mobile terminal right edge operation;
Determine whether to carry out the new notification message in current display interface according to the touch control operation if so, executing The step of display;
If it is not, the new notification message is then directly disposed as read states according to the touch control operation;Alternatively, according to The touch control operation removes the new notification message from the status bar of the mobile terminal, and in corresponding application program image Mark is put on, specific mark can be shows message number on application icon, is also possible to label of red dot etc..
In the present embodiment, after for showing completion, display interface can also be returned by control sensor original Interface display, be the interface of the foreground application before can directly returning, whether specifically judge the touch control operation Failure;
If failure closes the displaying to the new notification message, and restores the display interface of the mobile terminal.
In the present embodiment, when touch control operation is the touch control operation of short time, then the control restored then passes through second Touch control operation i.e. can return to operation, which can be the operation on same side, be also possible to the operation on different sides.
As shown in figure 4, passing through mobile phone two sides to control the interface schematic diagram that new notification message is shown by pressure sensor Side is distributed several pressure sensors and detects pressing operations, when user is when foreground application operates, receives the push of background application Message, when prompting frame occurs in status bar, user presses the pressure sensor on one side, when pressure value reaches certain threshold value, from Dynamic to open the background application, user can read the message, and after reading, user can press another side pressure sensing Device, user can return when before " foreground application ", by side pressure sensitivity applied between switching, it is convenient and efficient, it is right It is especially true convenient, fast, simple for one-handed performance user.
The present invention provides a kind of message treatment method, and this method is disappeared by obtaining the new notice that the mobile terminal receives Breath, judges whether the new notification message is in the message for the application program that backstage is currently running, if so, by being arranged in institute The sensor on mobile terminal two sides is stated, touch control operation of the user on the mobile terminal side is obtained, according to the touching Control operation determines whether to show the new notification message in current display interface.Pass through sensor controlling terminal message Reading operations dramatically walk the operation that can only be checked by status bar or opening application in abbreviation current techniques Suddenly, while the maloperation of foreground application can also be avoided to close, the message switching that can be fast implemented between mostly application is looked into It sees, greatly improves the usage experience of user.
Second embodiment
Referring to FIG. 5, Fig. 5 is a kind of structural schematic diagram for mobile terminal that third embodiment of the invention provides, the terminal It include: processor 31, memory 32 and communication bus 33, the communication between processor 31 and memory 32 is total by the communication Line 33 is realized.
For example, processor 31, which executes, the operation such as calculates and confirms.Wherein, processor 31 can be central processing unit (CPU). In the present embodiment, processor 31 at least needs to have such function:
Obtain the new notification message that the mobile terminal receives;
Judge whether the new notification message is in the message for the application program that backstage is currently running;
If so, obtaining user in the mobile terminal by the sensor being arranged on the mobile terminal two sides Touch control operation on side;
Determine whether to show the new notification message in current display interface according to the touch control operation.
In the present embodiment, the processor 31 can also be by judging whether the touch control operation fails;
If failure closes the displaying to the new notification message, and restores the display interface of the mobile terminal.
Assuming that the PUSH message of background application is received when user is when foreground application operates, when there is prompting frame in status bar, User presses the pressure sensor on one side, when pressure value reaches certain threshold value, automatically opens the background application, and user can be with The message is read, after reading, user can press another side pressure sensor, and user can return " preceding before Platform application ", by side pressure sensitivity applied between switching, it is convenient and efficient.
In practical applications, above-mentioned step function, which is that corresponding function is realized particular by setting, to be realized for processor 31 Can software code realize that optionally, the executable software code of memory 32 storage processor 31, it includes for controlling The instruction (i.e. software execution function) of the execution function described above of processor 31.In the present embodiment, memory 32 at least needs It is stored with and realizes that processor 31 executes detection of the program realization of above-mentioned function needs to touch control operation and dynamics in terminal, And the switching control of message display.
Memory 32, generally uses semiconductor memory cell, including random access memory (RAM), read-only memory (ROM), And cache (CACHE), RAM are most important one memories.Memory 32 is one of the ost important components in computer, It is the bridge linked up with CPU, and the operation of all programs all carries out in memory in computer, and effect is to be used for The temporarily operational data in storage CPU, and the data exchanged with external memories such as hard disks, as long as computer is in operation, CPU will be transferred to the data for needing operation in memory and carry out operation, and CPU again sends out result after the completion of operation, interior The operation deposited also determines the stable operation of computer.
In this regard, the function that the program that processor 31 executes is realized is specific as above-mentioned first embodiment and second embodiment mention The step function of the message treatment method of supply, just repeats no more here.
The present embodiment additionally provides a kind of computer readable storage medium, which has one Or multiple programs, the one or more program can be executed by one or more processor, to realize in above-mentioned first embodiment Message treatment method each step.
In conclusion message treatment method provided by the invention, mobile terminal and computer readable storage medium, this method The new notification message received by obtaining the mobile terminal, judges whether the new notification message is in backstage and is currently running Application program message, if so, obtaining user described by the sensor that is arranged on the mobile terminal two sides Touch control operation on mobile terminal side determines whether the new notification message according to the touch control operation on currently display circle Face is shown.By the reading operations of sensor controlling terminal message, dramatically in abbreviation current techniques to can only lead to The operating procedure for crossing status bar or opening application to check, while the maloperation of foreground application can also be avoided to close, The message switching that can be fast implemented between mostly application is checked, the usage experience of user is greatly improved.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of message treatment method is applied to mobile terminal, which is characterized in that the described method includes:
Obtain the new notification message that the mobile terminal receives;
Judge whether the new notification message is in the message for the application program that backstage is currently running;
If so, obtaining user in the mobile terminal side by the sensor being arranged on the mobile terminal two sides On touch control operation;
Determine whether to show the new notification message in current display interface according to the touch control operation.
2. message treatment method as described in claim 1, which is characterized in that the sensor be pressure sensor, described Determine whether that the new notification message, which is carried out display in current display interface, includes: according to the touch control operation
Judge whether the pressing dynamics of the touch control operation reach preset trigger value;
If so, background application corresponding with the new notification message is switched to front stage operation, and by the new notice Message display is on the display interface of the background application;
If it is not, then the new notification message is shown in the prompting frame of status bar.
3. message treatment method as claimed in claim 2, which is characterized in that if the quantity of the new notification message is at least two When a, described show the new notification message on the display interface of the background application includes:
Determine the message number to be presented belonged in the background application journey in the new notification message;
The displaying layout of its message in the current display interface of the mobile terminal is determined according to the message number;
The new notification message is shown in current display interface according to showing to be laid out.
4. message treatment method as claimed in claim 2, which is characterized in that if the new notification message include at least two and It is described to show the new notification message in the background application when also being pushed respectively by different background applications Include: on display interface
Determine the quantity of corresponding background application in described at least two new notification messages;
The message display mode of each background application is determined according to the background application and message number;
The new notification message is classified according to background application, and is carried out according to the corresponding message display mode It shows.
5. message treatment method as claimed in claim 4, which is characterized in that the message display mode specifically can by with Under type determines:
When calculating displaying according to message number corresponding to the determining background application, the area actually occupied, root Division display area is carried out according to current display interface of the area to the mobile terminal, determines and shows layout;
Alternatively, forming a mapping table according to for the exhibition method fixed with the setting of each application program, passing through basis The background application is inquired, and corresponding exhibition method is obtained.
6. message treatment method as described in any one in claim 1-5, which is characterized in that the acquisition mobile terminal connects The new notification message received includes:
Whether the information of status bar changes on mobile terminal described in real-time monitoring;
If changing, it is determined that have new notification message, and obtain the new notification message.
7. message treatment method as claimed in claim 6, which is characterized in that determine whether according to the touch control operation by institute New notification message is stated before current display interface is shown, further includes:
Judge the touch control operation whether be the mobile terminal right edge operation;
Determine whether to show the new notification message in current display interface according to the touch control operation if so, executing The step of.
If it is not, the new notification message is then directly disposed as read states according to the touch control operation;Alternatively, according to described Touch control operation removes the new notification message from the status bar of the mobile terminal, and puts in corresponding application program image Mark.
8. message treatment method as claimed in claim 7, which is characterized in that the method also includes:
Judge whether the touch control operation fails;
If failure closes the displaying to the new notification message, and restores the display interface of the mobile terminal.
9. a kind of mobile terminal, which is characterized in that including processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the one or more programs stored in memory, to realize as any in claim 1-8 The step of message treatment method described in item.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize as in claim 1-8 The step of described in any item message treatment methods.
CN201910143459.XA 2019-02-26 2019-02-26 A kind of message treatment method and mobile terminal, computer readable storage medium Pending CN110007817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910143459.XA CN110007817A (en) 2019-02-26 2019-02-26 A kind of message treatment method and mobile terminal, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910143459.XA CN110007817A (en) 2019-02-26 2019-02-26 A kind of message treatment method and mobile terminal, computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110007817A true CN110007817A (en) 2019-07-12

Family

ID=67166067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910143459.XA Pending CN110007817A (en) 2019-02-26 2019-02-26 A kind of message treatment method and mobile terminal, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110007817A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731613A (en) * 2015-01-30 2015-06-24 深圳市中兴移动通信有限公司 Quick application starting method and system
CN106126079A (en) * 2016-06-15 2016-11-16 珠海市魅族科技有限公司 A kind of information processing method and information processor
CN106469054A (en) * 2015-08-21 2017-03-01 小米科技有限责任公司 notification message control method, device and terminal
CN106569653A (en) * 2016-09-28 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Application program switching method and system
CN108388459A (en) * 2018-01-31 2018-08-10 维沃移动通信有限公司 A kind of message display processing method and mobile terminal
US20180314417A1 (en) * 2017-04-28 2018-11-01 Samsung Electronics Co., Ltd Electronic device for outputting graphic indication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731613A (en) * 2015-01-30 2015-06-24 深圳市中兴移动通信有限公司 Quick application starting method and system
CN106469054A (en) * 2015-08-21 2017-03-01 小米科技有限责任公司 notification message control method, device and terminal
CN106126079A (en) * 2016-06-15 2016-11-16 珠海市魅族科技有限公司 A kind of information processing method and information processor
CN106569653A (en) * 2016-09-28 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Application program switching method and system
US20180314417A1 (en) * 2017-04-28 2018-11-01 Samsung Electronics Co., Ltd Electronic device for outputting graphic indication
CN108388459A (en) * 2018-01-31 2018-08-10 维沃移动通信有限公司 A kind of message display processing method and mobile terminal

Similar Documents

Publication Publication Date Title
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN109085990A (en) A kind of gestural control method, mobile terminal and computer readable storage medium
CN107748638A (en) A kind of region method of adjustment, terminal and computer-readable recording medium
CN107340949A (en) Aligning method, mobile terminal and the computer-readable recording medium of application icon
CN110007816A (en) A kind of display area determines method, terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN108900696A (en) A kind of data processing method, terminal and computer readable storage medium
CN110191465A (en) Authority control method, mobile terminal and computer readable storage medium
CN110174987A (en) A kind of keypress function defines method, double screen terminal and computer-readable medium
CN110287381A (en) Lookup method, terminal and the computer readable storage medium of page control node
CN109710168A (en) A kind of screen touch method, equipment and computer readable storage medium
CN109658883A (en) Screen display method, terminal and computer readable storage medium
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN109407957A (en) Screen touch control method, terminal and computer readable storage medium
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN109117073A (en) A kind of terminal display control method, terminal and computer readable storage medium
CN109117200A (en) A kind of application open method, terminal and computer readable storage medium
CN109117036A (en) A kind of notification information interaction regulation method, equipment and computer readable storage medium
CN110007817A (en) A kind of message treatment method and mobile terminal, computer readable storage medium
CN109451181A (en) Information display method, dual-screen mobile terminal and computer readable storage medium
CN110308856A (en) A kind of determination method, terminal and the storage medium of quick gesture operation object
CN110109723A (en) Control operating method, mobile terminal and computer readable storage medium
CN109976641A (en) Operating method, terminal and computer readable storage medium based on screenshot picture
CN109683795A (en) A kind of solid interaction processing method, equipment and computer readable 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