Movatterモバイル変換


[0]ホーム

URL:


CN105245432A - Unread message counting method, unread message counting device and terminal - Google Patents

Unread message counting method, unread message counting device and terminal
Download PDF

Info

Publication number
CN105245432A
CN105245432ACN201410300277.6ACN201410300277ACN105245432ACN 105245432 ACN105245432 ACN 105245432ACN 201410300277 ACN201410300277 ACN 201410300277ACN 105245432 ACN105245432 ACN 105245432A
Authority
CN
China
Prior art keywords
message
numbering
bar
receiving terminal
transmitting terminal
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.)
Granted
Application number
CN201410300277.6A
Other languages
Chinese (zh)
Other versions
CN105245432B (en
Inventor
邢玉东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co LtdfiledCriticalTencent Technology Beijing Co Ltd
Priority to CN201410300277.6ApriorityCriticalpatent/CN105245432B/en
Publication of CN105245432ApublicationCriticalpatent/CN105245432A/en
Application grantedgrantedCritical
Publication of CN105245432BpublicationCriticalpatent/CN105245432B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses an unread message counting method, an unread message counting device and a terminal, and belongs to the technical field of internet applications. The method comprises the steps of receiving n message sent by a sending terminal and numbers of the n messages, wherein the numbers are generated according to a numbering sequence of historical messages sent by the sending terminal to a receiving terminal after the sending terminal generates the n messages, and the n is a positive integer; acquiring the maximum number of read messages between the receiving terminal and the sending terminal; and counting the number of unread messages according to the numbers of the n messages and the maximum number of the read messages. According to the invention, the receiving terminal carries out calculation through the numbers of the actually received messages and the maximum number of the read messages so as to acquire the number of unread messages, thereby solving a problem that the number of actually stored unread message is inconsistent with the number of displayed unread messages, and improving the accuracy in counting for the unread messages.

Description

Unread message method of counting, device and terminal
Technical field
The present invention relates to technical field of internet application, particularly a kind of unread message method of counting, device and terminal.
Background technology
Along with the extensive utilization of the terminal of each type, social class application also produces thereupon.Wherein, the accurate count for unread message in social class application becomes the required problem solved of social class application.
In current implementation, provide a kind of unread message method of counting: under transmitting terminal sends the situation of message to receiving terminal, after using the user of transmitting terminal to edit the n bar message needing to send to receiving terminal, transmitting terminal is that this n bar message sequence generates numbering of overall importance according to all message of self, save as the numbering that this n bar message generates, and statistics is not also sent to the message number of receiving terminal as the unread message number of receiving terminal for transmitting terminal, this n bar message is sent to receiving terminal, the respective numbering of n bar message and unread message number, the numbering that this n bar message that receiving terminal reception transmitting terminal sends, this n bar message are corresponding and unread message number, and show.
Realizing in process of the present invention, inventor finds that above-mentioned technology at least exists following problem: when the message number stored in receiving terminal is greater than memory capacity, receiving terminal can be eliminated the new information exceeding memory capacity, and shown unread message number is constant, thus cause the unread message number of the unread message number of actual storage in receiving terminal and display inconsistent.
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.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the implementation environment involved by unread message method of counting that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram of the unread message method of counting that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the unread message method of counting that another embodiment of the present invention provides;
Fig. 4 is the method flow diagram of the unread message method of counting that further embodiment of this invention provides;
Fig. 5 is the design sketch of the receiving terminal display unread message number that further embodiment of this invention provides;
Fig. 6 is the method flow diagram of the another kind of unread message method of counting that yet another embodiment of the invention provides;
Fig. 7 is the design sketch of the receiving terminal display unread message number that yet another embodiment of the invention provides;
Fig. 8 is the design sketch of the another kind of receiving terminal display unread message number that yet another embodiment of the invention provides;
Fig. 9 is the block diagram of the unread message counting device in receiving terminal side that one embodiment of the invention provides;
Figure 10 is the block diagram of the unread message counting device in receiving terminal side that another embodiment of the present invention provides;
Figure 11 is the block diagram of the unread message counting device in transmitting terminal side that another embodiment of the present invention provides;
Figure 12 is the block diagram of the unread message counting device in transmitting terminal side that another embodiment of the present invention provides;
Figure 13 is the block diagram of the terminal that one embodiment of the invention provides.
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 numberMessage content
Message 1The super good user B of weather today
Message 2Have a meal evening user B together
Message 3Good 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 numberMessage contentMessage numbering
Message 1The super good user B of weather todayA11
Message 2Have a meal evening user B togetherA12
Message 3Good night coughs up, junior partner user BA13
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 numberMessage contentMessage numbering
Message 1This technical ability dazzles user B wellC14
Message 2New cinema, sees user B togetherC15
Message 3The classmate taken an examination has noted user BC16
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.

Claims (14)

CN201410300277.6A2014-06-262014-06-26Unread message counting method and device and terminalActiveCN105245432B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410300277.6ACN105245432B (en)2014-06-262014-06-26Unread message counting method and device and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410300277.6ACN105245432B (en)2014-06-262014-06-26Unread message counting method and device and terminal

Publications (2)

Publication NumberPublication Date
CN105245432Atrue CN105245432A (en)2016-01-13
CN105245432B CN105245432B (en)2020-01-10

Family

ID=55042940

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410300277.6AActiveCN105245432B (en)2014-06-262014-06-26Unread message counting method and device and terminal

Country Status (1)

CountryLink
CN (1)CN105245432B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106982394A (en)*2017-03-302017-07-25腾讯科技(深圳)有限公司The unread message reminding method and device of a kind of network direct broadcasting
CN107948050A (en)*2017-11-082018-04-20用友网络科技股份有限公司A kind of device and method that group message read states are provided
CN108809815A (en)*2018-06-292018-11-13上海哔哩哔哩科技有限公司Item number update method, conversation processing method, device and system are not read in session
CN109040118A (en)*2018-09-062018-12-18北京达佳互联信息技术有限公司Message treatment method, device, electronic equipment and storage medium
CN109408166A (en)*2018-09-212019-03-01北京达佳互联信息技术有限公司A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN113552978A (en)*2020-04-232021-10-26腾讯科技(深圳)有限公司Interface switching method, device, client and storage medium
CN115361353A (en)*2022-08-162022-11-18杭州网易云音乐科技有限公司Information interaction method, medium, device and computing equipment
CN116016373A (en)*2022-12-302023-04-25昆仑芯(北京)科技有限公司 Sending method and device, device and medium of data processing request

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1282486A (en)*1997-12-172001-01-31夸尔柯姆股份有限公司Apparatus and method for receiving voicemail messages in wireless communication system
US20080086431A1 (en)*2006-09-152008-04-10Icebreaker, Inc.Social interaction messaging and notification
CN101184296A (en)*2006-11-132008-05-21三洋电机株式会社 Information communication terminal, mail reading method, and mail reading program
GB0811862D0 (en)*2005-12-012008-07-30Xchome Technology Co LtdIM system operating interface,realization method of portable communication equipment and computer record media thereof
CN103310004A (en)*2013-06-282013-09-18北京小米科技有限责任公司Method, device and equipment for displaying number of unread messages
CN103547342A (en)*2013-05-142014-01-29华为技术有限公司 Message sending method, message reading notification method, message receiving method and device
CN103688560A (en)*2013-10-152014-03-26华为技术有限公司 Method and device for processing wireless access network information management information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1282486A (en)*1997-12-172001-01-31夸尔柯姆股份有限公司Apparatus and method for receiving voicemail messages in wireless communication system
GB0811862D0 (en)*2005-12-012008-07-30Xchome Technology Co LtdIM system operating interface,realization method of portable communication equipment and computer record media thereof
US20080086431A1 (en)*2006-09-152008-04-10Icebreaker, Inc.Social interaction messaging and notification
CN101184296A (en)*2006-11-132008-05-21三洋电机株式会社 Information communication terminal, mail reading method, and mail reading program
CN103547342A (en)*2013-05-142014-01-29华为技术有限公司 Message sending method, message reading notification method, message receiving method and device
CN103310004A (en)*2013-06-282013-09-18北京小米科技有限责任公司Method, device and equipment for displaying number of unread messages
CN103688560A (en)*2013-10-152014-03-26华为技术有限公司 Method and device for processing wireless access network information management information

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106982394A (en)*2017-03-302017-07-25腾讯科技(深圳)有限公司The unread message reminding method and device of a kind of network direct broadcasting
CN106982394B (en)*2017-03-302020-12-01腾讯科技(深圳)有限公司Network live broadcast unread message prompting method and device
CN107948050A (en)*2017-11-082018-04-20用友网络科技股份有限公司A kind of device and method that group message read states are provided
CN108809815A (en)*2018-06-292018-11-13上海哔哩哔哩科技有限公司Item number update method, conversation processing method, device and system are not read in session
CN108809815B (en)*2018-06-292021-06-22上海哔哩哔哩科技有限公司Method for updating unread number of session, session processing method, device and system
CN109040118A (en)*2018-09-062018-12-18北京达佳互联信息技术有限公司Message treatment method, device, electronic equipment and storage medium
CN109408166A (en)*2018-09-212019-03-01北京达佳互联信息技术有限公司A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN113552978A (en)*2020-04-232021-10-26腾讯科技(深圳)有限公司Interface switching method, device, client and storage medium
CN115361353A (en)*2022-08-162022-11-18杭州网易云音乐科技有限公司Information interaction method, medium, device and computing equipment
CN116016373A (en)*2022-12-302023-04-25昆仑芯(北京)科技有限公司 Sending method and device, device and medium of data processing request

Also Published As

Publication numberPublication date
CN105245432B (en)2020-01-10

Similar Documents

PublicationPublication DateTitle
CN104113782B (en)Based on the method for registering of video, terminal, server and system
CN105245432A (en)Unread message counting method, unread message counting device and terminal
CN103716331B (en)Method, terminal, server and system for numerical value transfer
CN104869468A (en)Method and apparatus for displaying screen information
CN104518953A (en)Message deleting method, instant messaging terminal and system
CN103338145B (en)Method, device and system for controlling voice data transmission
CN104834529A (en)Method and device for optimizing performance of application
CN104135502B (en)A kind of method, relevant device and system realizing application message and remind
CN104735671A (en)Malicious call recognition method and device
CN104426962A (en)Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN104427074A (en)Method, device and system for displaying incoming information
CN104519485A (en)Communication method between terminals, devices and system
CN104618217A (en) Resource sharing method, terminal, server and system
CN105306383A (en)Message push method, terminal and push server
CN104142868A (en)Connection establishment method and device
CN103179026B (en)Communication means in user interactive system, system and server and client side
CN104837042A (en)Digital multimedia data encoding method and apparatus
CN103177217B (en)A kind of file scanning method, system and client and server
CN103368828B (en)A kind of message temporary storage and system
CN103945241A (en)Streaming data statistical method, system and related device
CN104954159A (en)Network information statistics method and device
CN104699501A (en)Method and device for running application program
CN104967864A (en)Video merging method and apparatus
CN104660769A (en)Method, device and system for adding contact person information
CN103200077B (en)The method of data interaction during a kind of voice call, Apparatus and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp