The method and mobile device of a kind of Message ProcessingTechnical field
The present invention relates to Message Processing field, the method and mobile device of more particularly to a kind of Message Processing.
Background technology
Message is used to remind user to have the content of renewal, and the content of the renewal can be short message, mail, microblogging or good friend ShenIt please wait.The effect of message is that active warning user has the content of renewal, without user's active refurbishing procedure or loginWebpage goes to check whether there is the content of renewal so that user can obtain and handle in time message, and save online flow.
With the fast development of informationized society, the message that mobile device can receive also becomes more and more diversified, removesSuch as QQ message, Twitter message or email message can also be received outside short message.
In the prior art, difference of the message of mobile device according to its type is respectively reached, different communication canals is respectively adoptedRoad is sent to mobile device, and shows on the mobile apparatus in a different manner respectively.And various types of messages is sent out with the channel of itselfIt is sent to user so that mobile device reception message is cumbersome, shows on the mobile apparatus in a different manner respectively so that reach shiftingThe various types of messages of dynamic equipment lacks conformability.
The content of the invention
In order to solve the problems, such as that mobile device reception message is cumbersome and lacks conformability, the embodiments of the invention provide one kindThe method and mobile device of Message Processing.The technical scheme is as follows:
A kind of method of Message Processing, for the message box of mobile device, the message box is a kind of client journeySequence, methods described include:
The mobile device obtains the account information of user, the account information include instant messaging account, microblog account,One or more in social network services account, user mobile phone number and Email Accounts;
The account information that the mobile device record user is inputted, the account information are used to identify message source;
The mobile device obtains message, and the message includes instant communication information, Twitter message, social network servicesOne or more in message, short message and email message;
The mobile device is grouped to the acquired message;
The mobile device shows the message after packet;
Wherein, the message box is used to check all kinds of message in the message box.
The mobile device, which obtains message, to be included:
The message is pulled from the message source with preset frequency by predetermined protocol interface;Or/and
The message pushed etc. the message source to be received by the predetermined protocol interface;
The predetermined protocol interface, which includes proprietary protocol standard interface and publicly-owned consensus standard interface, the message source, to be includedOne kind in instant communication server, micro blog server, social network services device, base station short message service center and mailbox serverIt is or a variety of.
The mobile device carries out packet to the acquired message to be included:
The acquired message is grouped according to the type of the acquired message;Or
According to sender's account of the type of the acquired message and the acquired message by acquired instituteMessage is stated to be grouped.
The message showed after being grouped includes:
Show the message after packet by way of pop-up window;Or
Show the message after packet by way of voice message;Or
Show the message after packet by way of character prompting;Or
Show the message after packet by way of vibration prompt;Or
Show the message after packet by way of light flashes prompting.
After the message that the mobile device shows after packet, methods described also includes:
When receive user's transmission to when the replying message of the message that is showed, sent by predetermined protocol interfaceIt is described to reply message, it is described to reply message including type of message and recipient's account information.
A kind of mobile device, for the message box of mobile device, the message box is a kind of client-side program, describedMobile device includes:
Acquisition module, for obtaining the account information of user, the account information includes instant messaging account, microblogging accountNumber, the one or more in social network services account, user mobile phone number and Email Accounts;
Logging modle, for recording the account information acquired in the acquisition module, the account information is used to markKnow message source;
The acquisition module, for obtaining message, the message includes instant communication information, Twitter message, social netOne or more in network service message, short message and email message;
Grouping module, for being grouped to the message acquired in the acquisition module;
Display module, for showing the message after the grouping module is grouped;
Wherein, the message box is used to check all kinds of message in the message box.
The acquisition module includes:
First acquisition unit, for pulling the message from the message source by predetermined protocol interface with preset frequency;Or/and
Second acquisition unit, for etc. the message source to be received by the predetermined protocol interface push described in disappearBreath;The predetermined protocol interface includes proprietary protocol standard interface and publicly-owned consensus standard interface, and the message source includes instantCommunication server, micro blog server, social network services device, base station short message service center and one kind or more in mailbox serverKind.
The grouping module includes:
First grouped element, the acquired message is divided for the type according to the acquired messageGroup;Or
Second packet unit, the sender for the type according to the acquired message and the acquired messageThe acquired message is grouped by account.
The display module includes:
First shows unit, for showing the message after being grouped by way of pop-up window;Or
Second shows unit, for showing the message after being grouped by way of voice message;Or
3rd shows unit, for showing the message after being grouped by way of being reminded character;Or
4th shows unit, for showing the message after being grouped by way of vibration prompt;Or
5th shows unit, for showing the message after being grouped by way of flashing prompting light.
The mobile device also includes:
Reply module, for when receive user's transmission to when the replying message of the message that is showed, by pre-Determine to reply message described in protocol interface transmission, it is described to reply message including type of message and recipient's account information.
Had the beneficial effect that caused by the embodiment of the present invention:By obtaining message, acquired message is grouped simultaneouslyShow the realization of the technical scheme of the message after packet so that the orderliness of received message is apparent from, and user can be with oneWhat mesh was clear sees the packet situation of various types of messages, without entering each specific application program, makes checking for various types of messagesWith management is more quick and hommization.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodimentAccompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, forFor those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawingsAccompanying drawing.
Fig. 1 is a kind of method flow diagram of the Message Processing provided in the embodiment of the present invention 1;
Fig. 2 is a kind of method flow diagram of the Message Processing provided in the embodiment of the present invention 2;
Fig. 3 is a kind of schematic diagram of the message box provided in the embodiment of the present invention 2;
Fig. 4 is a kind of mobile device provided in the embodiment of the present invention 3.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present inventionFormula is described in further detail.
Embodiment 1
Referring to Fig. 1, a kind of method of Message Processing, this method specifically comprises the following steps:
Step 101:Mobile device obtains message, and message includes instant communication information, Twitter message, social network servicesOne or more in message, short message and email message;
Step 102:Mobile device is grouped to acquired message;
Step 103:Mobile device shows the message after packet.
Had the beneficial effect that caused by the embodiment of the present invention:By obtaining message, acquired message is grouped simultaneouslyShow the realization of the technical scheme of the message after packet so that the orderliness of received message is apparent from, and user can be with oneWhat mesh was clear sees the packet situation of various types of messages, without entering each specific application program, makes checking for various types of messagesWith management is more quick and hommization.
Embodiment 2
Referring to Fig. 2, a kind of method of Message Processing, this method can specifically be realized by mobile device, and the present invention is implementedMobile device described in example includes smart mobile phone (such as Iphone) or tablet personal computer (such as Ipad) equipment.Method is specifically wrappedInclude following steps:
Step 201:Mobile device obtains the account information of user;
Wherein, accounts information includes instant messaging account, microblog account, social network services account, user mobile phone numberWith the one or more in Email Accounts;
For example, the message box of installation on the mobile apparatus provides the user information input interface, the information input interfaceInput for prompting user to enter row information and information input interface is provided;The information input interface that user is provided in message boxIt is interior input the account information of oneself, wherein, the account information include QQ accounts, MSN accounts, microblog account, happy net account andOne or more kinds of account informations in Email Accounts.
Step 202:Mobile device records the account information of user;
For example, the account information that the message box subrecord user of installation on the mobile apparatus is inputted, the account information are usedIn mark message source, so, message box can be to receive the various types of messages that message source is sent to the account itself recorded.
Step 203:Mobile device obtains message, wherein, message includes instant communication information, Twitter message, social netOne or more in network service message, short message and email message;
Specifically, included according to acquisition message:
Message is pulled from message source with preset frequency by predetermined protocol interface;Or/and
The message pushed etc. message source to be received by predetermined protocol interface;
Wherein, predetermined protocol interface includes proprietary protocol standard interface and publicly-owned consensus standard interface, and message source is included i.e.When communication server, micro blog server, social network services device, base station short message service center and one kind in mailbox server orIt is a variety of.
Here, it is necessary to which explanation, message source is by specific message content, sender's account, type of message and recipientThe contents such as account according to the difference of its type of message using different agreement (publicly-owned agreement or proprietary protocol) standard packagings intoVarious types of messages, afterwards, various types of messages is sent to target device, therefore acquired in the client-side program pre-installed on mobile deviceMessage also includes the contents such as sender's account, the type of message and recipient's account in addition to comprising specific message content.
For example, base station short message service center is by content of short message, sender's phone number, type of message (being here short message)Short message afterwards, it is right to be sent to by recipient's phone number institute into short message with publicly-owned protocol encapsulation with recipient's phone numberThe mobile phone answered.
Further, this step also includes:After message is obtained, talked with by voice message, character prompt or ejectionThe prompting modes such as frame prompt the current acquired message of user, as voice message " has a new QQ to disappear in message boxBreath ".
For the message that need to be transmitted in a network using proprietary protocol standard, such as QQ message, QQ space message, QQ postalsUsing the message of proprietary protocol standard transmission defined in Tencent, the embodiment of the present invention need to for part or Tengxun's Twitter message etc.Message is obtained by proprietary protocol standard interface, below, with by proprietary protocol standard interface with preset frequency from messagePulled in source exemplified by message to describe the specific implementation process of message of obtaining in detail:
Here, suppose that predetermined protocol interface is for proprietary protocol standard interface, preset frequency defined in Tencent15s, message source are QQ servers, and message is QQ message.
So, message box on the mobile apparatus is installed with 15S frequency periodically by the proprietary protocol standard of TengxunInterface sends query messages to QQ servers, to inquire that the message corresponding to the QQ accounts recorded in QQ servers with itself isNo renewal, if renewal, then the message of renewal is pulled out of QQ servers, as have in QQ servers one it is new be sent to fromBody stores the QQ message of QQ accounts, then above-mentioned new QQ message is pulled into message box in QQ servers.
Then, mobile device can use the process described above can be with micro- from such as QQ mailbox servers, Tengxun respectivelyRich server either pulls such as QQ mails, Tengxun's Twitter message or QQ space message and adopted in the message source such as QQ space serverThe message transmitted with proprietary protocol, is just repeated no more herein.
In addition, the implementation for pulling message from message source with preset frequency by publicly-owned consensus standard interface is led to above-mentionedCross proprietary protocol standard interface pulled with preset frequency from message source message implementation it is similar, differ only in acquisition messageWhen used protocol type it is different, just repeat no more herein.
For the message being transmitted in a network using publicly-owned consensus standard, such as MSN message or short message, this hairBright embodiment can by publicly-owned consensus standard interface, such as open API (Application Programming Interface,Application programming interface) interface obtains message, and message box, which waits, to be received message source (such as base station short message service center) and passes throughThe message (such as short message) that publicly-owned consensus standard interface push comes.
So, by the method described in step 203, message box obtained altogether 2 short messages, 12 QQ space message,99 QQ message and 99 Twitter messages;
Step 204:Mobile device is grouped to acquired message;
Specifically, carrying out packet to acquired message includes:
Acquired message is grouped according to the type of acquired message;Or
Acquired message is grouped according to sender's account of the type of acquired message and acquired message.
Here, the acquired message of client-side program (such as message box) parsing, obtains type and the sender of the messageThe information such as account, if be grouped using one-level, the message of acquisition is grouped by the type of the message obtained by parsing, exampleSuch as, each QQ message is divided into one group, each QQ space message is divided into one group, and each short message is divided into one group, and each Twitter message is divided into oneGroup etc.;If using multi-step grouping, the message of acquisition is grouped by the type of the message obtained by parsing, then, forMessage in group, each message in group is divided into some groups by sender's account of its message, such as in QQ message this group99 message, wherein there is 10 to come from account " 123456 ", therefore the QQ message for coming from account " 123456 " is divided into oneGroup;
Step 205:Mobile device shows the message after packet;
Specifically, showing the message after packet includes:
Show the message after packet by way of pop-up window;Or
Show the message after packet by way of voice message;Or
Show the message after packet by way of character prompting;Or
Show the message after packet by way of vibration prompt;Or
Show the message after packet by way of light flashes prompting.
For example, user plays game on the mobile apparatus, meanwhile, the message box pre-installed on mobile device passes through stepMethod described in 202 gets a new message, and is divided the new information of the acquisition using the method described in step 204Group, afterwards, message box are ejected with window form to cover current interface, show the new information after the packet;
Show the message after packet in a manner of pop-up window so that user, can be timely when handling other processesSee and handle the information newly obtained, still, this can influence whether the processing of existing process to a certain extent, therefore mobile deviceAfter the new information of acquisition is grouped, it can be reminded by voice message, character, vibration prompt or light flash promptingMode come show packet after message, to avoid the influence to existing process;For example, user plays game on the mobile apparatusWhen, after the message box installed on the mobile apparatus gets new message and the new information to acquisition is grouped, voice carriesShow user's " having a QQ message in message box ", user can suspend existing game process after prompting is heard, click disappearsCease box icon and carry out message box to check new information, certainly, user can ignore this prompting, wait when not playing game, thenClick on message box sub-icon and carry out message box to check new information;For another example user, when listening music, message box is gotNew message and after being grouped to the new information of acquisition, reminds user " to have one in message box in the status bar character of equipmentBar short message ", user can click on character prompting and be directly accessed message box to check new information;
In specific implementation, the message box installed on the mobile apparatus provides the user the work(of selection message ways of presentationCan, by way of can setting the " set " button on message box such as user and show message, in addition, message boxSome other functions can also be provided the user, such as only shows the message of user of unread, the time that character is reminded or only carriesAwake message do not read etc.;
Fig. 3 is the pictorial diagram that the message box on mobile device shows message after packet, and 4 are shared in the message box in figureIndividual message packet, it is that the packet of QQ message, the packet of QQ space message, short message packet and Twitter message are grouped respectively, wherein, QQ disappears99 QQ message are shared in breath packet, 12 QQ space message are shared in the packet of QQ space message, are shared in Twitter message packet2 short messages are shared in 99 Twitter messages and short message packet;
From the above mentioned it is known that:By the realization of above-mentioned steps, user can be by double-clicking installation on the mobile apparatusMessage box sub-icon or double-click the mode inbound message box of character prompt, and check various types of messages in message box,Such as check short message, QQ message, email message, Twitter message either social network services message (such as happy network information orEverybody network information etc.), various types of messages can just be viewed by avoiding under traditional approach user from having respectively entered concrete application programSituation, e.g., user can only be passed under traditional approach QQ client-side program can just check QQ message, by into everybodyNet client-side program can just view Renren Network information etc., so that user only installs a message box on the mobile apparatusCan obtains and viewed various types of messages, the client-side program without installing types of applications, is brought greatly for peopleThe internal memory for facilitating and saving mobile device etc.;
Step 206:When receive user's transmission passes through predetermined to when the replying message of message that is showed, mobile deviceProtocol interface sends and replied message, wherein, reply message including type of message and recipient's account information;
For example, the various types of messages that user is checked in the message box shown in Fig. 3, e.g., user is checked installed in mobile deviceOn message box in a short message in short message packet, the short message comes from Mac (1370025338), content to be " rightThe distrust of construction quality facilitates the popular of " life triangle " to a certain extent can just have institute because having the house to collapse only" the triangle survival space " of meaning ", when user feels the need to reply the message viewed, then checks message currentlyThe page click directly on reply, message box, which will go to, replys the page message checked is replied, wherein, replying the page isUser provides information input interface;User clicks on send button and the reply disappears after replying page editing and completing to reply messageBreath is sent;Message box receive user transmission reply message after, this is replied message by predetermined protocol interfaceIt is sent to recipient;
Had the beneficial effect that caused by the embodiment of the present invention:By obtaining message, acquired message is grouped simultaneouslyShow the realization of the technical scheme of the message after packet so that the orderliness of received message is apparent from, and user can be with oneWhat mesh was clear sees the packet situation of various types of messages, without entering each specific application program, makes checking for various types of messagesWith management is more quick and hommization.
Embodiment 3
Referring to Fig. 4, a kind of mobile device, the equipment includes:Acquisition module 301, grouping module 302 and display module 303;
Acquisition module 301, for obtaining message, predetermined way comprises at least message push mode and message is pulled in modeOne kind, message include instant communication information, Twitter message, social network services message, short message and email message inIt is one or more;
Grouping module 302, for being grouped to the message acquired in acquisition module 301;
Display module 303, for showing the message after grouping module 302 is grouped.
Acquisition module 301 includes:
First acquisition unit, for pulling message from message source by predetermined protocol interface with preset frequency;Or/and
Second acquisition unit, for etc. the message that is pushed by predetermined protocol interface of message source to be received;Predetermined protocol connectsMouth includes proprietary protocol standard interface and publicly-owned consensus standard interface, message source including instant communication server, micro blog server,One or more in social network services device, base station short message service center and mailbox server.
Grouping module 302 includes:
First grouped element, acquired message is grouped for the type according to acquired message;Or
Second packet unit, sender's account for the type according to acquired message and acquired message will be obtainedThe message taken is grouped.
Display module 303 includes:
First shows unit, for showing the message after being grouped by way of pop-up window;Or
Second shows unit, for showing the message after being grouped by way of voice message;Or
3rd shows unit, for showing the message after being grouped by way of being reminded character;Or
4th shows unit, for showing the message after being grouped by way of vibration prompt;Or
5th shows unit, for showing the message after being grouped by way of flashing prompting light.
Mobile device also includes:
Acquisition module, for obtaining the account information of user, account information includes instant messaging account, microblog account, societyOne or more in meeting property network service account, user mobile phone number and Email Accounts;
Logging modle, for recording the account information acquired in the acquisition module, the account information disappears for markBreath source.
Reply module, for when receive user's transmission to when the replying message of message that is showed, pass through predetermined associationView interface, which is sent, to be replied message, and is replied message including type of message and recipient's account information.
Had the beneficial effect that caused by the embodiment of the present invention:By obtaining message, acquired message is grouped simultaneouslyShow the realization of the technical scheme of the message after packet so that the orderliness of received message is apparent from, and user can be with oneWhat mesh was clear sees the packet situation of various types of messages, without entering each specific application program, makes checking for various types of messagesWith management is more quick and hommization.
The inventive method and apparatus embodiments, can be mutually with reference to reference.Especially since to whole flow process in methodHave been carried out being described in detail, some details in apparatus embodiments are not described in detail again, but are referred to method implementationExample.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodimentTo complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readableIn storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit andWithin principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.