Summary of the invention
In order to the problem that the unread message number of the unread message number and display that solve actual storage in receiving terminal is inconsistent, embodiments provide a kind of unread message method of counting, device and terminal.Described technical scheme is as follows:
According to a first aspect of the invention, provide a kind of unread message method of counting, in receiving terminal, described method comprises:
Receive n bar message and n bar message numbering separately that transmitting terminal sends, described numbering is described transmitting terminal after the described n bar message of generation, and generate to the history message number order that described receiving terminal sends according to described transmitting terminal, n is positive integer;
Obtain the maximum numbering reading message between described transmitting terminal;
Unread message number is calculated according to the respective numbering of described n bar message and the described maximum numbering having read message.
According to a second aspect of the invention, provide a kind of unread message method of counting, in transmitting terminal, described method comprises:
Generate the n bar message to receiving terminal to be sent, n is positive integer;
According to the history message numbering that described transmitting terminal sends to described receiving terminal, order is described n bar message generation numbering separately;
Described n bar message and described n bar message numbering are separately sent to described receiving terminal, so that described receiving terminal obtains the maximum numbering reading message between described transmitting terminal, according to the respective numbering of described n bar message and the described maximum numbering calculating unread message number having read message.
According to a third aspect of the invention we, provide a kind of unread message counting device, in receiving terminal, described device comprises:
Receiver module, for receiving n bar message and the n bar message numbering separately of transmitting terminal transmission, described numbering is described transmitting terminal after the described n bar message of generation, and generate to the history message number order that described receiving terminal sends according to described transmitting terminal, n is positive integer;
Acquisition module, for obtaining the maximum numbering reading message between described transmitting terminal;
Counting module, has read the maximum numbering calculating unread message number of message for the respective numbering of the described n bar message that receives according to described receiver module and described acquisition module described in obtaining.
According to a forth aspect of the invention, provide a kind of unread message counting device, in transmitting terminal, described device comprises:
Message generating module, for generating the n bar message to receiving terminal to be sent, n is positive integer;
Numbering module, for the history message numbering sent to described receiving terminal according to described transmitting terminal, order is the described n bar message generation numbering separately that described message generating module generates;
Sending module, described n bar message numbering separately for the described n bar message that described message generating module generated and described numbering CMOS macro cell sends to described receiving terminal, so that described receiving terminal obtains the maximum numbering reading message between described transmitting terminal, according to the respective numbering of described n bar message and the described maximum numbering calculating unread message number having read message.
According to a fifth aspect of the invention, provide a kind of receiving terminal, described receiving terminal comprises:
One or more than one processor;
Memory;
And one or more than one program, wherein said more than one or one program is stored in described memory, and be configured to be performed by described more than one or one processor, described more than one or one program package is containing the instruction for carrying out following operation:
Receive n bar message and n bar message numbering separately that transmitting terminal sends, described numbering is described transmitting terminal after the described n bar message of generation, and generate to the history message number order that described receiving terminal sends according to described transmitting terminal, n is positive integer;
Obtain the maximum numbering reading message between described transmitting terminal;
Unread message number is calculated according to the respective numbering of described n bar message and the described maximum numbering having read message.
According to a sixth aspect of the invention, provide a kind of transmitting terminal, described transmitting terminal comprises:
One or more than one processor;
Memory;
And one or more than one program, wherein said more than one or one program is stored in described memory, and be configured to be performed by described more than one or one processor, described more than one or one program package is containing the instruction for carrying out following operation:
Generate the n bar message to receiving terminal to be sent, n is positive integer;
According to the history message numbering that described transmitting terminal sends to described receiving terminal, order is described n bar message generation numbering separately;
Described n bar message and described n bar message numbering are separately sent to described receiving terminal, so that described receiving terminal obtains the maximum numbering reading message between described transmitting terminal, according to the respective numbering of described n bar message and the described maximum numbering calculating unread message number having read message.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: receiving terminal is by receiving n bar message and this n bar message numbering separately of transmitting terminal transmission, and the maximum numbering reading message obtained between this transmitting terminal, finally carry out calculating the number of unread message according to the respective numbering of this n bar message and the maximum numbering of having read message, in the present invention, receiving terminal carries out calculating unread message number with the maximum numbering reading message by the numbering of the actual message received, solve the problem that the unread message number of the unread message number of actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it illustrates the structural representation of the implementation environment involved by unread message method of counting that the embodiment of the present invention provides.This implementation environment comprises: receiving terminal 110 and transmitting terminal 120.
Receiving terminal 110 is mobile communication equipments.Receiving terminal 110 can for operating in mobile phone, panel computer, pocket computer on knee and desktop computer etc.
Transmitting terminal 120 is mobile communication equipments.Transmitting terminal 120 can for operating in mobile phone, panel computer, pocket computer on knee and desktop computer etc.
Can be connected by wireless network or cable network between receiving terminal 110 with transmitting terminal 120.
Please refer to Fig. 2, it illustrates the method flow diagram of the unread message method of counting that one embodiment of the invention provides.The present embodiment is applied to the implementation environment shown in Fig. 1 to illustrate with this unread message method of counting.In receiving terminal side, this unread message method of counting, comprising:
Step 201, receives n bar message and the n bar message numbering separately of transmitting terminal transmission.
Wherein, this numbering is transmitting terminal after generation n bar message, and the history message number order generation sent to receiving terminal according to transmitting terminal, n is positive integer.
Step 202, obtains the maximum numbering reading message between transmitting terminal.
Step 203, calculates unread message number according to the respective numbering of n bar message and the maximum numbering of having read message.
In sum, the unread message method of counting that the present embodiment provides, receiving terminal is by receiving n bar message and this n bar message numbering separately of transmitting terminal transmission, and the maximum numbering reading message obtained between this transmitting terminal, finally carry out calculating the number of unread message according to the respective numbering of this n bar message and the maximum numbering of having read message, in the present invention, receiving terminal carries out calculating unread message number with the maximum numbering reading message by the numbering of the actual message received, solve the problem that the unread message number of the unread message number of actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Please refer to Fig. 3, it illustrates the method flow diagram of the unread message method of counting that another embodiment of the present invention provides.The present embodiment is applied to the implementation environment shown in Fig. 1 to illustrate with this unread message method of counting.In transmitting terminal side, this unread message method of counting comprises:
Step 301, generate the n bar message to receiving terminal to be sent, n is positive integer.
Step 302, according to the history message numbering that transmitting terminal sends to receiving terminal, order is n bar message generation numbering separately.
Step 303, n bar message and n bar message numbering are separately sent to receiving terminal, so that receiving terminal obtains the maximum numbering reading message between transmitting terminal, according to the respective numbering of n bar message and the maximum numbering calculating unread message number having read message.
In sum, the unread message method of counting that the present embodiment provides, transmitting terminal treats according to the history message numbering sent to receiving terminal the n bar message being sent to receiving terminal, be n bar message generation numbering separately in order, and n bar message and n bar message numbering are separately sent to receiving terminal.In the present invention, transmitting terminal is numbered according to the history message to receiving terminal, be n bar message generation numbering separately in order, ensure that and can arrange chronologically between message, and the continuity of message numbering, thus the problem that the unread message number solving the unread message number of receiving terminal actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Please refer to Fig. 4, it illustrates the method flow diagram of the unread message method of counting that further embodiment of this invention provides.The present embodiment is still applied in the implementation environment shown in Fig. 1 with this unread message method of counting and illustrates.As based on Fig. 2 and the more preferred embodiment provided embodiment illustrated in fig. 3, the present embodiment is described in detail the specific implementation of receiving terminal to the counting of unread message.Illustrate using smart mobile phone as executive agent in the present embodiment.This unread message method of counting, comprising:
Step 401, transmitting terminal generates the n bar message to receiving terminal to be sent, and n is positive integer.
In embodiment provided by the invention, transmitting terminal is for smart mobile phone A, and receiving terminal is described for smart mobile phone B.Smart mobile phone A generates the n bar message to smart mobile phone B to be sent, and wherein n gets positive integer.
Such as, smart mobile phone A respective user A, smart mobile phone B respective user B, under user A edits the sight of microblogging by use smart mobile phone A, user A edits 3 More-Messages-To-Sends by smart mobile phone A and delivers to the user B using smart mobile phone B, and described 3 message are as shown in table 1:
Table 1
| Message number | Message content | 
| Message 1 | The super good user B of weather today | 
| Message 2 | Have a meal evening user B together | 
| Message 3 | Good night coughs up, junior partner user B | 
Step 402, the history message numbering that transmitting terminal sends to this receiving terminal according to transmitting terminal, order is n bar message generation numbering separately.
Wherein, the history message numbering that transmitting terminal sends to this receiving terminal according to transmitting terminal, order is n bar message generation numbering separately, comprising:
The maximum numbering of the history message that a, transmitting terminal send from transmitting terminal to receiving terminal, according to message generation time order from front to back, the preset count unit that progressively increases successively is n bar message generation numbering separately.
Namely, smart mobile phone A is according to the maximum numbering in the history message numbering sent to smart mobile phone B, setting with 1 is digit as the message of 3 in table 1 is numbered, such as, in the history message numbering that smart mobile phone A sends to smart mobile phone B, maximum message numbering is A10, then the message of 3 shown in the his-and-hers watches 1 preset count unit that progressively increases successively is numbered:
Message 1, A10+1, the message numbering of message 1 is A11;
Message 2, A11+1, the message numbering of message 2 is A12;
Message 3, A12+1, the message numbering of message 3 is A13.
Concrete numbering is as shown in table 2:
Table 2
| Message number | Message content | Message numbering | 
| Message 1 | The super good user B of weather today | A11 | 
| Message 2 | Have a meal evening user B together | A12 | 
| Message 3 | Good night coughs up, junior partner user B | A13 | 
Step 403, n bar message and n bar message numbering are separately sent to receiving terminal by transmitting terminal.
3 message numbering separately in table 13 message and table 2 is issued smart mobile phone B by smart mobile phone A.
Step 404, receiving terminal receives n bar message and the n bar message numbering separately of transmitting terminal transmission.
Wherein, this numbering is transmitting terminal after generation n bar message, and the history message number order generation sent to receiving terminal according to transmitting terminal, n is positive integer.
Smart mobile phone B receives 3 message and 3 message numbering separately of smart mobile phone A transmission.
Step 405, receiving terminal obtains the maximum numbering reading message between transmitting terminal.
Smart mobile phone B, according in the message of the smart mobile phone A transmission stored, obtains the maximum numbering having read message, namely as the maximum numbering A10 described in 402.
Step 406, receiving terminal calculates unread message number according to the respective numbering of n bar message and the maximum numbering of having read message.
Wherein, receiving terminal calculates unread message number according to the respective numbering of n bar message and the maximum numbering of having read message, comprising:
In 406a, receiving terminal statistics n bar message, numbering is greater than the message number of the maximum numbering reading message.
In 3 message that smart mobile phone B receives: the message numbering of message 1 is A11, the message numbering of message 2 is A12, the message numbering of message 3 is A13, the maximum of message of reading wherein stored in smart mobile phone B is numbered A10, obtained by comparative statistics: A11, A12 and A13 are all greater than the maximum numbering A10 having read message, therefore in the message that receives of smart mobile phone B, message numbering is greater than the message number of the maximum numbering reading message is 3.
406b, receiving terminal using statistics message number as unread message number.
According to 3 message of adding up in step 406a as unread message number.
Step 407, receiving terminal shows unread message number in the communications records of receiving terminal and transmitting terminal.
As shown in Figure 5, in the Twitter message hurdle shown by smart mobile phone B, unread message number is 3.Because user A is when using smart mobile phone A edit messages, user B, therefore in Figure 5, in the message hurdle shown by smart mobile phone B, the unread message that " mentioning mine " shows in this part is 3.
Optionally, as the implementation that another kind is possible, please refer to Fig. 6, the interchangeable method of step 407 is:
Step 408, receiving terminal, according to the ascending order of n bar message numbering separately, shows n bar message successively.
Please refer to Fig. 7, figure a is that 3 unread messages arrange according to the order of A11, A12, A13 by smart mobile phone B backstage, when figure b is smart mobile phone B display unread message, according to the order in figure a, message 1, message 2 and message 3 are shown according to the order sequenced in figure a.
In sum, the unread message method of counting that the present embodiment provides, transmitting terminal generates respective numbering according to the history message numbering sent to receiving terminal in order to n bar message, and this n bar message and this n bar message numbering are separately sent to receiving terminal.Transmitting terminal is independently numbered for different receiving terminal, and ensure that the sequential between message arranges by generating numbering in order, and the continuity between message numbering;
On the other hand, in the n bar message that the transmitting terminal received sends by receiving terminal, numbering is greater than the message number of the maximum numbering reading message as unread message number, avoid the problem that the actual unread message number received is inconsistent with the unread message number stored, the message number that receiving terminal can be received according to reality counts, and improves the counting accuracy rate of unread message number.
In addition, on the method basis shown in Fig. 4, when receiving terminal receives the n bar message of multiple transmitting terminal transmission simultaneously, please refer to Fig. 8, smart mobile phone B receive message in increase smart mobile phone C send message, wherein smart mobile phone C respective user C, in Fig. 8 as shown in a figure, in the message that smart mobile phone B receives except 3 message that smart mobile phone A sends, the message numbering also comprising smart mobile phone C transmission is the message of C14, C15 and C16.Wherein, the message numbering that the smart mobile phone C that smart mobile phone B receives sends is that the message of C14, C15 and C16 is as shown in table 3:
Table 3
| Message number | Message content | Message numbering | 
| Message 1 | This technical ability dazzles user B well | C14 | 
| Message 2 | New cinema, sees user B together | C15 | 
| Message 3 | The classmate taken an examination has noted user B | C16 | 
Here the maximum of message of reading for smart mobile phone C in smart mobile phone B is numbered C12, according to the message numbering that the smart mobile phone C received shown in table 3 sends, statistical computation obtains C14, C15 and C16 and is greater than the maximum numbering C12 reading message for smart mobile phone C in smart mobile phone B respectively, the unread message obtaining thus sending for smart mobile phone C is 3, the message number that in composition graphs 4, smart mobile phone A sends, smart mobile phone B adds up the unread message number obtained and is: 6.
As schemed shown in b1 and figure b2, according to the method described in step 407 or step 408, unread message is shown by smart mobile phone B, and the method for the embodiment that described method is corresponding with Fig. 4 is identical, repeats no more herein.
The unread message method of counting that the embodiment of the present invention provides only is described for microblogging, also be applicable to the third party software such as micro-letter, QQ and Mei Tu confidence for carrying out statistical counting to unread message, the scope of application is not limited, is as the criterion to realize unread message method of counting provided by the invention.
Please refer to Fig. 9, it illustrates the block diagram of the unread message counting device that one embodiment of the invention provides.This unread message counting device is used in receiving terminal, and wherein, this unread message counting device comprises: receiver module 510, acquisition module 520 and counting module 530.
Receiver module 510, for receiving the n bar message and n bar message numbering separately that transmitting terminal sends, this numbering is transmitting terminal after generation n bar message, the history message number order generation sent to receiving terminal according to transmitting terminal, and n is positive integer;
Acquisition module 520, for obtaining the maximum numbering reading message between transmitting terminal;
Counting module 530, for the maximum numbering calculating unread message number reading message that the respective numbering of the n bar message that receives according to receiver module 510 and acquisition module 520 obtain.
In sum, the unread message counting device that the present embodiment provides, receiving terminal is by receiving n bar message and this n bar message numbering separately of transmitting terminal transmission, and the maximum numbering reading message obtained between this transmitting terminal, finally carry out calculating the number of unread message according to the respective numbering of this n bar message and the maximum numbering of having read message, in the present invention, receiving terminal carries out calculating unread message number with the maximum numbering reading message by the numbering of the actual message received, solve the problem that the unread message number of the unread message number of actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Please refer to Figure 10, it illustrates the block diagram of the unread message counting device that another embodiment of the present invention provides.This unread message counting device is used in receiving terminal, and wherein, this unread message counting device comprises: receiver module 510, acquisition module 520, counting module 530, display module 540 and display module 550.
Receiver module 510, for receiving the n bar message and n bar message numbering separately that transmitting terminal sends, this numbering is transmitting terminal after generation n bar message, the history message number order generation sent to receiving terminal according to transmitting terminal, and n is positive integer;
Acquisition module 520, for obtaining the maximum numbering reading message between transmitting terminal;
Counting module 530, for the maximum numbering calculating unread message number reading message that the respective numbering of the n bar message that receives according to receiver module 510 and acquisition module 520 obtain.
Optionally, counting module 530, comprising:
Statistic unit 531, for adding up in n bar message, numbering is greater than the message number of the maximum numbering reading message;
Determining unit 532, for the message number of being added up by statistic unit 531 as unread message number.
Optionally, unread message counting device, also comprises:
Display module 540, after calculating unread message number according to the respective numbering of n bar message and the maximum numbering of having read message, shows unread message number in the communications records of receiving terminal and transmitting terminal.
Optionally, unread message counting device, also comprises:
Display module 550, after calculating unread message number according to the respective numbering of n bar message and the maximum numbering of having read message, according to the order that n bar message numbering is separately ascending, shows n bar message successively.
In sum, the unread message counting device that the present embodiment provides, receiving terminal is by receiving n bar message and this n bar message numbering separately of transmitting terminal transmission, and the maximum numbering reading message obtained between this transmitting terminal, finally carry out calculating the number of unread message according to the respective numbering of this n bar message and the maximum numbering of having read message, in the present invention, receiving terminal carries out calculating unread message number with the maximum numbering reading message by the numbering of the actual message received, solve the problem that the unread message number of the unread message number of actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Please refer to Figure 11, it illustrates the block diagram of the unread message counting device that another embodiment of the present invention provides.This unread message counting device is used in transmitting terminal, and wherein, this unread message counting device comprises: message generating module 610, numbering module 620 and sending module 630.
Message generating module 610, for generating the n bar message to receiving terminal to be sent, n is positive integer;
Numbering module 620, for the history message numbering sent to receiving terminal according to transmitting terminal, order is the n bar message generation numbering separately that message generating module 610 generates;
Sending module 630, the n bar message numbering separately generated for the n bar message that message generating module 610 generated and numbering module 620 sends to receiving terminal, so that receiving terminal obtains the maximum numbering reading message between transmitting terminal, according to the respective numbering of n bar message and the maximum numbering calculating unread message number having read message.
In sum, the unread message counting device that the present embodiment provides, transmitting terminal treats according to the history message numbering sent to receiving terminal the n bar message being sent to receiving terminal, be n bar message generation numbering separately in order, and n bar message and n bar message numbering are separately sent to receiving terminal.In the present invention, transmitting terminal is numbered according to the history message to receiving terminal, be n bar message generation numbering separately in order, ensure that and can arrange chronologically between message, and the continuity of message numbering, thus the problem that the unread message number solving the unread message number of receiving terminal actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Please refer to Figure 12, it illustrates the block diagram of the unread message counting device that another embodiment of the present invention provides.This unread message counting device is used in transmitting terminal, and wherein, this unread message counting device comprises: message generating module 610, numbering module 620 and sending module 630.
Message generating module 610, for generating the n bar message to receiving terminal to be sent, n is positive integer;
Numbering module 620, for the history message numbering sent to receiving terminal according to transmitting terminal, order is the n bar message generation numbering separately that message generating module 610 generates;
Optionally, numbering module 620, comprising:
Numbered cell 621, for the maximum numbering of history message from transmitting terminal to receiving terminal that send from, according to message generation time order from front to back, the preset count unit that progressively increases successively is n bar message generation numbering separately.
Sending module 630, the n bar message numbering separately generated for the n bar message that message generating module 610 generated and numbering module 620 sends to receiving terminal, so that receiving terminal obtains the maximum numbering reading message between transmitting terminal, according to the respective numbering of n bar message and the maximum numbering calculating unread message number having read message.
In sum, the unread message counting device that the present embodiment provides, transmitting terminal treats according to the history message numbering sent to receiving terminal the n bar message being sent to receiving terminal, be n bar message generation numbering separately in order, and n bar message and n bar message numbering are separately sent to receiving terminal.In the present invention, transmitting terminal is numbered according to the history message to receiving terminal, be n bar message generation numbering separately in order, ensure that and can arrange chronologically between message, and the continuity of message numbering, thus the problem that the unread message number solving the unread message number of receiving terminal actual storage and display is inconsistent, improve the accuracy rate that unread message is counted.
Please refer to Figure 13, it illustrates the block diagram of the terminal that one embodiment of the invention provides, this terminal 700 can comprise communication unit 710, includes the memory 720 of one or more computer-readable recording mediums, input unit 730, display unit 740, transducer 750, voicefrequency circuit 760, WIFI (WirelessFidelity, Wireless Fidelity) module 770, include the parts such as processor 780 and power supply 790 that more than or processes core.It will be understood by those skilled in the art that the terminal structure shown in Figure 13 does not form the restriction to this terminal, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Communication unit 710 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication unit 710 can be RF (RadioFrequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 710 is RF circuit, after being received by the downlink information of base station, more than one or one processor 780 is transferred to process; In addition, base station is sent to by relating to up data.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (LowNoiseAmplifier, low noise amplifier), duplexer etc.In addition, communication unit 710 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, code division multiple access), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.Memory 720 can be used for storing software program and module, and processor 780 is stored in software program and the module of memory 720 by running, thus performs the application of various function and data processing.Memory 720 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 700.In addition, memory 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 720 can also comprise Memory Controller, to provide the access of processor 780 and input unit 730 pairs of memories 720.
Input unit 730 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Preferably, input unit 730 can comprise Touch sensitive surface 731 and other input equipments 732.Touch sensitive surface 731, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 731 or near Touch sensitive surface 731 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 731 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 780, and the order that energy receiving processor 780 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 731.Except Touch sensitive surface 731, input unit 730 can also comprise other input equipments 732.Preferably, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 740 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 700 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 740 can comprise display floater 741, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 741.Further, Touch sensitive surface 731 can cover display floater 741, when Touch sensitive surface 731 detects thereon or after neighbouring touch operation, send processor 780 to determine the type of touch event, on display floater 741, provide corresponding vision to export with preprocessor 780 according to the type of touch event.Although in fig. 13, Touch sensitive surface 731 and display floater 741 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 731 and display floater 741 integrated and realize input and output function.
Terminal 700 also can comprise at least one transducer 750, such as optical sensor, motion sensor and other transducers.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 741, and proximity transducer when terminal 700 moves in one's ear, can cut out display floater 741 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 700 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 760, loud speaker 761, microphone 762 can provide the audio interface between user and terminal 700.Voicefrequency circuit 760 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 761, by loud speaker 761 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 762, voice data is converted to after being received by voicefrequency circuit 760, after again voice data output processor 780 being processed, through communication unit 710 to send to such as another terminal, or export voice data to memory 720 to process further.Voicefrequency circuit 760 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 700.
In order to realize radio communication, this terminal can be configured with wireless communication unit 770, this wireless communication unit 770 can be WIFI module.WIFI belongs to short range wireless transmission technology, and by wireless communication unit 770, terminal 700 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although there is shown wireless communication unit 770, be understandable that, it does not belong to must forming of terminal 700, can omit in the scope of essence not changing invention as required completely.
Processor 780 is control centres of terminal 700, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 720 and/or module is stored in by running or performing, and call the data be stored in memory 720, perform various function and the deal with data of terminal 700, thus integral monitoring is carried out to mobile phone.Optionally, processor 780 can comprise one or more process core; Preferably, processor 780 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 780.
Terminal 700 also comprises the power supply 790 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 780 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 760 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 700 can also comprise camera, bluetooth module etc., does not repeat them here.
In the present embodiment, terminal also includes one or more than one program, this or more than one program are stored in memory, and be configured to be performed by more than one or one processor, described more than one or one program package is containing the instruction for carrying out the unread message method of counting that the embodiment of the present invention provides.Wherein, the receiving terminal that provides of the embodiment of the present invention is consistent with above-mentioned terminal with the structure of transmitting terminal.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.