Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and terminal of processing messages session, in order to the problem of the credibility that solves the message session after can not guaranteeing in the prior art to process.
First aspect provides a kind of method of processing messages session, comprising:
Receive the first instruction of user's input, described the first instruction is used to indicate the first message groups in the message session is operated, and described the first message groups comprises a piece of news at least;
Corresponding described the first message groups creates new information, the message content of described new information comprises the first message content, described the first message content can not be edited, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, perhaps, described the first message content comprises the message content of every message in described the first message groups.
In conjunction with first aspect, in the possible implementation of the first of first aspect, when described the first instruction is delete instruction, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, described the first message groups of described correspondence creates a new information, the message content of described new information comprises the first message content, and described the first message content can not be edited, and comprising:
Every the message that will delete in corresponding described the first message groups creates first new information, and the message content of described the first new information is the immobilized substance that sets in advance, and the described immobilized substance that sets in advance is used for showing that message is deleted.
In conjunction with first aspect, in the possible implementation of the second of first aspect, when described the first instruction is when transmitting instruction, described the first message content comprises the message content of every message in described the first message groups, described the first message groups of described correspondence creates new information, the message content of described new information comprises the first message content, and described the first message content can not be edited, and comprising:
All message that will transmit in corresponding described the first message groups create a new information, and the message content of described new information comprises the message content of described all message that will transmit, and the message content that the described message that will transmit is set can not be edited.
In conjunction with the possible implementation of the first of first aspect, in the third possible implementation of first aspect, also comprise:
Receive the second instruction of user's input, described the second instruction is used to indicate further the message in described the first message groups is transmitted operation;
Corresponding described the first message groups creates second new information, and the message content of described the second new information comprises the message content of all described the first new informations, and the message content that described the second new information is set can not be edited.
In conjunction with the possible implementation of the first of first aspect, in the 4th kind of possible implementation of first aspect, also comprise:
Receive the 3rd instruction of user's input, described the 3rd instruction is used to indicate transmits operation to the second message groups, and the message in described the second message groups comprises all message except described the first message groups in all described the first new informations and the described message session;
Corresponding described the second message groups creates second new information, the message content of described the second new information comprises the message content of all message except described the first message groups in the message content of all described the first new informations and the described message session, and the message content that described the second new information is set can not be edited.
In conjunction with the first of first aspect possible implementation or the possible implementation of the second, in the 5th kind of possible implementation of first aspect, described establishment new information also comprises:
The message content that described new information is set also comprises and every address information that message is corresponding, and described address information is set to edit.
In conjunction with the possible implementation of the first of first aspect, in the 6th kind of possible implementation of first aspect, every the message that will delete of described correspondence creates a new information, and the message content of described new information is the immobilized substance that sets in advance, and comprising:
Create following parameter item, obtain described new information:
Thread identification is identical with the thread identification of the corresponding message that will delete;
Time: identical with the time of the corresponding message that will delete;
Message content: the immobilized substance that sets in advance is used for showing that message is deleted.
In conjunction with the possible implementation of the second of first aspect, in the 7th kind of possible implementation of first aspect, all message that will transmit of described correspondence, create a new information, the message content of described new information comprises the message content of described all message that will transmit, and the message content that the described message that will transmit is set can not be edited, and comprising:
Create following parameter item, obtain described new information:
Message content: comprise the message content of described all message that will transmit, and clooating sequence is identical with the original clooating sequence of all message that will transmit, and the message content that described all message that will transmit are set can not be edited.
In conjunction with the 5th kind of possible implementation of first aspect, in the 8th kind of possible implementation of first aspect, the described message content that described new information is set also comprises and every address information that message is corresponding, comprising:
When the described message that will transmit is the message that receives, obtain the receipt message address information, and described receipt message address information is set to a content item with the message of corresponding reception;
When the described message that will transmit is the message that sends, obtain and send message addresses information, and described transmission message addresses information is set to a content item with the message of corresponding transmission.
In conjunction with the 8th kind of possible implementation of first aspect, in the 9th kind of possible implementation of first aspect, the described receiver address information of obtaining comprises:
Obtain receiver address information from yellow pages server; Perhaps,
In the address field of the message that receives, obtain receiver address information.
In conjunction with the 8th kind of possible implementation of first aspect, in the tenth kind of possible implementation of first aspect, the described transmission address information of obtaining comprises:
Obtain the transmission address information from yellow pages server; Perhaps,
With default immobilized substance as sending address information; Perhaps,
From the subscriber identification module SIM card of the machine, read the transmission address information; Perhaps,
Obtain the transmission address information from service provider SP.
In conjunction with the 7th kind of possible implementation of first aspect, in the 11 kind of first aspect possible implementation, when comprising at least one multimedia message in described the first message groups, described establishment message content also comprises:
When the message that will transmit is note, according to text of message content generation of described note;
When the message that will transmit was multimedia message, each multi-media segment in the corresponding described multimedia message generated the file of a corresponding form;
Generate synchronized multimedia integrated speech SMIL file, be used for organizing the file of described text and corresponding form, so that described message groups is converted to a multimedia message.
Second aspect provides a kind of terminal, comprising:
Receiver module is used for receiving the first instruction of user's input, and described the first instruction is used to indicate the first message groups in the message session is operated, and described the first message groups comprises a piece of news at least;
Processing module, be used for corresponding described the first message groups and create new information, the message content of described new information comprises the first message content, described the first message content can not be edited, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, perhaps, described the first message content comprises the message content of every message in described the first message groups.
In conjunction with second aspect, in the possible implementation of the first of second aspect, when described the first instruction was delete instruction, described the first message content was used for showing described the first instruction to the operation of described the first message groups that described processing module specifically is used for:
Every the message that will delete in corresponding described the first message groups creates first new information, and the message content of described the first new information is the immobilized substance that sets in advance, and the described immobilized substance that sets in advance is used for showing that message is deleted.
In conjunction with second aspect, in the possible implementation of the second of second aspect, when described the first instruction was the forwarding instruction, described the first message content comprised the message content of every message in described the first message groups, and described processing module specifically is used for:
All message that will transmit in corresponding described the first message groups create a new information, and the message content of described new information comprises the message content of described all message that will transmit, and the message content that the described message that will transmit is set can not be edited.
In conjunction with the possible implementation of the first of second aspect, in the third possible implementation of second aspect, described receiver module also is used for: receive the second instruction of user's input, described the second instruction is used to indicate further the message in described the first message groups is transmitted operation;
Described processing module also is used for: corresponding described the first message groups creates second new information, and the message content of described the second new information comprises the message content of all described the first new informations, and the message content that described the second new information is set can not be edited.
In conjunction with the possible implementation of the first of second aspect, in the 4th kind of possible implementation of second aspect, described receiver module also is used for: receive the 3rd instruction of user's input, described the 3rd instruction is used to indicate transmits operation to the second message groups, and the message in described the second message groups comprises all message except described the first message groups in all described the first new informations and the described message session; Described processing module also is used for: corresponding described the second message groups creates second new information, the message content of described the second new information comprises the message content of all message except described the first message groups in the message content of all described the first new informations and the described message session, and the message content that described the second new information is set can not be edited.
In conjunction with the first of second aspect possible implementation or the possible implementation of the second, in the 5th kind of possible implementation of second aspect, described processing module also is used for:
The message content that described new information is set also comprises and every address information that message is corresponding, and described address information is set to edit.
In conjunction with the possible implementation of the first of second aspect, in the 6th kind of possible implementation of second aspect, described processing module specifically is used for:
Create following parameter item, obtain described new information:
Thread identification is identical with the thread identification of the corresponding message that will delete;
Time: identical with the time of the corresponding message that will delete;
Message content: the immobilized substance that sets in advance is used for showing that message is deleted.
In conjunction with the possible implementation of the second of second aspect, in the 7th kind of possible implementation of second aspect, described processing module specifically is used for:
Create following parameter item, obtain described new information:
Message content: comprise the message content of described all message that will transmit, and clooating sequence is identical with the original clooating sequence of all message that will transmit, and the message content that described all message that will transmit are set can not be edited.
In conjunction with the 5th kind of possible implementation of second aspect, in the 8th kind of possible implementation of second aspect, described processing module specifically is used for:
When the described message that will transmit is the message that receives, obtain the receipt message address information, and described receipt message address information is set to a content item with the message of corresponding reception;
When the described message that will transmit is the message that sends, obtain and send message addresses information, and described transmission message addresses information is set to a content item with the message of corresponding transmission.
In conjunction with the 8th kind of possible implementation of second aspect, in the 9th kind of possible implementation of second aspect, described processing module specifically is used for:
Obtain receiver address information from yellow pages server; Perhaps,
In the address field of the message that receives, obtain receiver address information.
In conjunction with the 8th kind of possible implementation of second aspect, in the tenth kind of possible implementation of second aspect, described processing module specifically is used for:
Obtain the transmission address information from yellow pages server; Perhaps,
With default immobilized substance as sending address information; Perhaps,
From the subscriber identification module SIM card of the machine, read the transmission address information; Perhaps,
Obtain the transmission address information from service provider SP.
In conjunction with the 7th kind of possible implementation of second aspect, in the 11 kind of second aspect possible implementation, when the multimedia message that comprises at least one in the described message groups, described processing module also is used for:
When the message that will transmit is note, according to text of message content generation of described note;
When the message that will transmit was multimedia message, each multi-media segment in the corresponding described multimedia message generated the file of a corresponding form;
Generate synchronized multimedia integrated speech SMIL file, be used for organizing the file of described text and corresponding form, so that described message groups is converted to a multimedia message.
Pass through technique scheme, when the processing messages session, create new information, the message content of this new information comprises the first message content, described the first message content is used for showing that described the first instruction is to the operation of described message groups, perhaps, described the first message content comprises the message content of every message in the described message groups, described the first message content can not be edited, therefore can determine that the user is to the operation of message groups according to this first message content, perhaps avoid the user that the message content in the message groups is deleted or revised, guarantee credible.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the schematic flow sheet of method one embodiment of processing messages session of the present invention, comprising:
11, terminal receives the first instruction of user's input, and described the first instruction is used to indicate the first message groups in the message session is operated, and described the first message groups comprises a piece of news at least;
Optionally, this first instruction can be delete instruction, with one or more message in the deletion message session;
Optionally, this first instruction also can be for transmitting instruction, with one or more message in the forwarding messages session.
12, corresponding described the first message groups of this terminal creates new information, the message content of described new information comprises the first message content, described the first message content can not be edited, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, perhaps, described the first message content comprises the message content of every message in described the first message groups.
Wherein, when the first instruction is delete instruction, this new information can not edit segment content, namely the first message content is the immobilized substance that sets in advance, and is used for showing that message is deleted; Perhaps,
When the first instruction when transmitting instruction, this new information can not edit segment content, namely the first message content is the content of all message that will transmit.
Wherein, the first above-mentioned message groups is comprised of one or more message in the message session of communicating pair, for example, comprises four message in the message session, and the first message groups can comprise a piece of news or the multiple messages in these four message so.Optionally, this first message groups can be comprised of the message that will delete, for example, the user will delete two message in this message session, these two message can form the first above-mentioned message groups so, afterwards, and at the delete instruction that receives this first message groups, after namely deleting these two message, can corresponding generation show the new information of having deleted.Perhaps, optionally, this first message groups also can be comprised of the message that will transmit, for example, the user will be transmitted to above-mentioned message session another user, and four so above-mentioned message just can form the first message groups, afterwards, in the forwarding instruction that receives the first message groups, namely transmit four above-mentioned message after, can corresponding generation comprise the new information of all message contents of these four message.Optionally, the part that can not edit can further include the address information of every message.
Present embodiment creates new information when the processing messages session, the message content of this new information comprises the first message content, the first message content can not be edited, when the first message content is used for showing the first instruction to the operation of message groups, can determine user's operation, for example show that the user has deleted message, can avoid the user privately to delete message and all the other people can not be known the fraud problem that causes, perhaps, when the first message content comprises the message content of every message in the message groups, can avoid the user before the forwarding messages session, to delete arbitrarily or revise the fraud problem that part message causes.Credibility when these modes can guarantee the message Dialog processing.
Fig. 2 is the schematic flow sheet of another embodiment of method of processing messages session of the present invention, and present embodiment is take deletion as example, and the message in the present embodiment can be note or multimedia message.
Present embodiment is supposed in following scene:
User A and user B have carried out following message session:
User A: I wish to ask vacation in ten days.
User B: project is too tight, the vacation that can not ask so grow.
Can user A: good, I ask vacation in a hour tomorrow morning?
User B: OK.
User A will be transmitted to above-mentioned message session user C, but before transmitting, user A has deleted second message and the 3rd message in the above-mentioned message session.That is to say that if according to the processing mode of prior art, the message session that user A is transmitted to user C is:
User A: I wish to ask vacation in ten days.
User B: OK.
So just caused the misunderstanding of user C, the content of the message session of this forwarding also is incredible.
In order to improve credibility, present embodiment provides following flow process:
21, the terminal of user A receives the delete instruction of user A input, and this delete instruction is used to indicate the message in the message session is carried out deletion action.
Wherein, this delete instruction can carry the information of the message that will delete, with deletion a piece of news or multiple messages.
22, the terminal of user A is according to delete instruction, new information of corresponding every the message establishing that will delete, and the message content of this new information sets in advance fixing.
Wherein, can preserve the parameter item of message in the terminal, terminal can be shown to the user with message and check by the parameter item of the message of preservation.
The parameter item of message can comprise following:
Thread identification (thread_id): be used for the affiliated message session of identification message, the thread_id of each message session is unique, for example, the thread identification of the message session between the thread identification of the message session between user A and the user B and user A and the user C is different.
Time (date): be used for the time that identification message receives or sends.
Message content: the content that concrete message will be expressed, such as " project is too tight, the vacation that can not ask so grow ".
Be understandable that the parameter item of message can also comprise its remainder, specifically can be referring to prior art.
Because message is to describe with above-mentioned parameter item, therefore, when creating a new information, terminal will to should new information, create the parameter item of correspondence.Concrete,
When a new information of every deleted message establishing of correspondence, the parameter item of this new information comprises:
Thread identification: identical with the thread identification of deleted message.
Time: identical with the time of deleted message.
Message content: the immobilized substance that sets in advance, be used for showing that message is deleted, for example, " a piece of news is deleted ".
Optionally, when needs were transmitted to another user, present embodiment can also comprise:
23, the terminal of user A receives the forwarding instruction of user A input, and this forwarding instruction is used to indicate transmits operation to the message session of having deleted part message.
Wherein, when terminal receive transmit instruction after, the message groups that can corresponding will transmit creates a new information, the message content of this new information comprises all message contents that will transmit, and the message content of this new information is set to edit.The flow process that creates new information under the concrete forwarding scene can be referring to next embodiment.
24, the terminal of user A is transmitted message session after this processing to the terminal of user C.
Take every corresponding new information of deleted message as example, through above-mentioned processing, the message session that user A is transmitted to user C is:
User A: I wish to ask vacation in ten days.
User B: a piece of news is deleted.
User A: a piece of news is deleted.
User B: OK.
After user C receives this message session, can know that message has deletion, just can further confirm content, avoid misreading.
Be understandable that above-mentioned four message can form a piece of news to be transmitted, and also can be divided into four message and transmit respectively.
Present embodiment has been described the processing mode of message content, the sender's of this message address information can also be set before or after the message content of every message, cell-phone number such as the user, in order to guarantee the credibility of address information, this address information can be set to edit, and obtain this address information from believable source, the method for specifically obtaining address information can be referring to subsequent embodiment.
Present embodiment is message establishing new information corresponding to meeting when deletion message, and this new information can show that message is deleted, avoids misreading of recipient, improves the credibility of the message session of transmitting.
Fig. 3 is the schematic flow sheet of another embodiment of method of processing messages session of the present invention, and present embodiment is take the forwarding messages session as example, and comprises at least two message in this message session.Suppose that user A need to be transmitted to user C with the message session between user A and the user B.
31, the terminal of user A receives the forwarding instruction of user A input, and this forwarding instruction is used to indicate transmits operation to the message in the message session.
Wherein, can carry the information of every the message that will transmit in this forwarding instruction, for example, carry the information of above-mentioned four message, to transmit this four message; Perhaps,
Also can carry start information and the ending message of the message that will transmit in this forwarding instruction, to transmit the message between start information and the ending message, as including only the information of above-mentioned article one message and the information of the 4th message, the message that will transmit afterwards is four above-mentioned message.
32, new information of corresponding all message establishings that will transmit of the terminal of user A, the message content of described new information comprises the message content of described all message that will transmit, and the message content that the described message that will transmit is set can not be edited.
Embodiment as shown in Figure 2 is described, can obtain new information by creating each parameter item, and this parameter item comprises message content at least, and is optional, can also comprise all the other parameter items.
In the present embodiment, the message content of this new information comprises the part that can not edit at least, optionally can also comprise editable part.
Wherein, the part that can not edit comprises: the message content of every message in the message session that transmit, and the address information of corresponding every message.
Editable part refers on the basis of the above-mentioned part that can not edit, the part that the user can independently edit.
Further, when the message in the message session that will transmit all is note, can adopt embodiment shown in Figure 4 to determine the above-mentioned part that can not edit, when the message in the message session that will transmit has at least one to be multimedia message, can adopt embodiment shown in Figure 5 to determine the above-mentioned part that can not edit.
33, the message session after the terminal of user A will be processed sends to the terminal of user C.
For example, the address information of user C is added in destination address corresponding to this new information, send afterwards this new information.
Referring to Fig. 4, the message that comprises in the message session of supposing to transmit all is note, then can adopt present embodiment to create the part that can not edit of this new information.
Present embodiment hypothesis user A will transmit following message session to user C:
User A: I wish to ask vacation in ten days.
User B: project is too tight, the vacation that can not ask so grow.
Can user A: good, I ask vacation in a hour tomorrow morning?
User B: OK.
Present embodiment provides the part of following flow process to determine to edit, and wherein, the part that can not edit can comprise particular content part and address information part.Present embodiment comprises:
41, obtain the particular content part, the message content of the message that this particular content partly will be transmitted exactly, and it is identical with the original alignment order to put in order.
As under above-mentioned scene, particular content partly comprises:
I wish to ask vacation in ten days.
Project is too tight, the vacation that can not ask so grow.
Can good, I ask vacation in a hour tomorrow morning?
OK.
42, obtain the address information part, address information partly comprises the address information of receipt message and sends the address information of message.
As under above-mentioned scene, the address information of receipt message is the address information of user B, and the address information that sends message is the address information of user A.Specifically can comprise:
(1) obtain the address information of receipt message, specifically can comprise:
Obtain from the territory, address (address) of receipt message; Perhaps,
Obtain from yellow pages server.
Wherein, the address information of receipt message is normally obtained from address book in the prior art, for example, after user A received the note of user B transmission, the address information of the receipt message of its demonstration was that user A is the title that user B arranges, and can name according to the wish of oneself because the user finishes, this will cause user's demonstration information is incredible, for example, " 10086 " are saved as boss, will forge one section and boss's dialogue.
And in the present embodiment, credibility for the address information that guarantees receipt message, can be directly obtain from the address field of receipt message, this address field be exactly receipt message usually from user's cell-phone number, such as the cell-phone number of user B, be objective with respect to obtain the self-defining title of user A from address book.
In addition, also can obtain from yellow pages server, wherein, can record the corresponding relation of cell-phone number and display Name in the yellow pages server, what obtain from yellow pages server is the display Name corresponding with cell-phone number, such as " Zhang San ".Be equivalent to the address book that user A stores in the terminal of oneself, yellow pages server is to have credible equipment, and the corresponding relation of wherein preserving can be thought genuine and believable, and the user can not arbitrarily change its corresponding relation.
(2) obtain the address information that sends message, specifically can comprise:
Obtain from yellow pages server; Perhaps,
The display Name that is set to fix; Perhaps,
From subscriber identification module (Subscriber Identity Module, SIM) card, read the machine address; Perhaps,
Obtain the machine address from service provider (Service Provider, SP).
Wherein, the address information of transmission message is exactly the address information of user A under above-mentioned scene.
Because yellow pages server is credible equipment, can obtain believable display Name from yellow pages server, such as " Li Si "; Perhaps,
The fixing display Name that arranges for example is " I " or " transmit leg "; Perhaps,
Can use " telephone supervisor (TelephonyManager) " from the SIM card of the machine, to obtain the machine address, such as the cell-phone number of user A; Perhaps,
The terminal of user A sends a note to SP, can obtain the cell-phone number of user A when SP receives this note from this note, and SP can send to this cell-phone number user A afterwards.
43, with address information part and the corresponding combination of particular content part, that is to say content item of message composition of receipt message address information and corresponding reception, content item of message composition of transmission message addresses information and corresponding transmission.Can comprise:
Add to the address information of every message before the message content of this message or afterwards, what just can obtain new information can not edit segment, for example, take address information as display Name, and the display Name of user A and user B is respectively " I " and boss is example, so, can not comprising by edit segment of this new information:
I: I wish to ask vacation in ten days.
Boss: project is too tight, the vacation that can not ask so grow.
I: can good, I ask vacation in a hour tomorrow morning?
Boss: OK.
After determining the part that can not edit, optional, user A can also be in some contents of editor on the basis that can not edit, and as increase one section text in short message content, the message content that for example increases behind the text is as follows again:
The dialogue that below is I and boss please refer to:
I: I wish to ask vacation in ten days.
Boss: project is too tight, the vacation that can not ask so grow.
I: can good, I ask vacation in a hour tomorrow morning?
Boss: OK.
Through above-mentioned processing, can obtain the message content of new information, this message content can be transmitted to user C afterwards.
Present embodiment is when the forwarding messages session, and the message content of the message in this message session is set to edit, and can avoid the user to the distorting of the message session transmitted, and guarantees that content is credible; And present embodiment also corresponding every original message content arranges the address information of objective reality, rather than adopts the address information in the address book, can guarantee the credibility of display Name.In addition, the message session that sends with respect to the sectional drawing mode, the message session that present embodiment can corresponding comprise multiple messages creates a new information, still can adopt short message mode to send, need not employing figure sheet mode sends, the quantity of the message that comprises when message session does not need repeatedly screenshotss repeatedly to send when more yet, can reduce communications cost, and improves the user and experience.
Referring to Fig. 5, have a multimedia message in the message that comprises in the message session of supposing to transmit at least, then can adopt present embodiment to create the part that can not edit of this new information.
Message session between user A and the user B need to be transmitted to user C as example take user A equally.Different from a upper embodiment is that the message that comprises in this message session that will transmit among the upper embodiment all is note, and comprises at least a multimedia message in the present embodiment.Present embodiment comprises:
51, obtain the particular content part, the message content of the message that this particular content partly will be transmitted exactly, and it is identical with the original alignment order to put in order.
52, obtain the address information part, address information partly comprises the address information of receipt message and sends the address information of message.
53, with address information part and the corresponding combination of particular content part.
This particular content of 51 ~ 53 can referring to 41 ~ 43, repeat no more.
Because present embodiment comprises a multimedia message at least, the message that therefore will transmit, namely this new information also is multimedia message.With respect to note, multimedia message also needs to adopt synchronous multimedia integrate language (SynchronizedMultimedia Integration Language, SMIL) file to show the correlation of each message content.Be that this enforcement also comprises:
54, the message content after corresponding every combination generates multi-media segment.
(1) when the message content after the combination was note, the multi-media segment of generation was text (text) file;
For example, when the combination after message content for " I: I wish to ask vacation in ten days." time, because this message content is note, then to should " I: I wish to ask vacation in ten days " generating a text file;
(2) when the message content after the combination is multimedia message, former each multi-media segment for multimedia message generates corresponding file, for example, former multi-media segment can comprise picture, video or audio frequency, and the file of so corresponding generation is respectively picture (image) file, video (video) file, audio frequency (audio) file.
55, generate the SMIL file, be used for each multi-media segment that tissue generates.
The SMIL file is that a kind of multimedia is handled voice, can carry out to multi-media segment the combination of organic intelligence.The example of a SMIL file is as follows:
Wherein, the SMIL file is with<smil〉beginning, with</smil〉finish;
SMIL is comprised of head and body two parts, and head part is with<head〉beginning, with</head〉finish, the body part is with<body〉beginning, with</body〉finish; Head partly is used for record additional information, such as title, author, base address etc.; Body partly records the relation of each concrete multi-media segment.
Wherein, the structure organization of multi-media segment relation comprises order and parallel; Usefulness<the seq of order〉...</seq〉expression, represent that wherein each multi-media segment is that order shows; Parallel usefulness<par〉...</par〉expression, represent that wherein each multi-media segment is Concurrent Display.Example described above, expression " Image1.jpg " and " Text1.txt " are to show side by side.
Multi-media segment represents time control with dur, and for example, the displaying time of dur=" 7000ms " expression " Image1.jpg " and " Text1.txt " all is 7000ms.
Layout designs usefulness<the layout of multi-media segment〉...</layout〉expression, comprise the display window of basic display window and each multi-media segment and the relation of basic display window, the basic display window represents with root-layout, the quantity that shows the pixel that wide (width) and high (height) has respectively, for each media fragment, use respectively a left side (left) and upper (top) expression apart from the left end of basic display window and the pixel quantity on top, represent respectively width and the pixel quantity that highly has with wide (width) and high (height).
According to above-mentioned description to the SMIL file, 54 each multi-media segment that generates are needed again layout at least, can also reset displaying time etc.
Describe as an example of following scene example: suppose that the message session that will transmit comprises two message, one is note, and another is multimedia message, and corresponding 54 ~ 55 can specifically comprise:
(1) extracts the message content of note and save as text with the sender's of this note display Name, for example called after " FirstText.txt " file.
(2) each multimedia object of extraction multimedia message, suppose that this multimedia message comprises a picture, a text and an audio frequency, so can be with above-mentioned three kinds of multimedia objects difference RNTO " SecondImage.jpg ", " SecondText1.txt " and " SecondSound.amr ", in addition, owing to also want the sender's of forwarding MMS display command, therefore the display Name for the sender of this multimedia message can generate another text, for example called after " SecondText2.txt ".
(3) for each file that generates again layout, obtain the information of the display window of each file.
For example, the zone of above-mentioned file is respectively: Text1, Image, Text2, Audio, Text3, and can be as follows for arranging of these regional display windows:
Wherein,<root-layout width=" X " height=" Y "/expression basic display window, its particular content can be identical with this content corresponding to former multimedia message;
The content of follow-up region id is respectively above-mentioned five display windows that multi-media segment is corresponding, and a1 ~ e4 wherein is settings, so that the size after these five display window combinations is the size of basic display window, and these five display windows are not overlapping.
Concrete numerical value can be determined according to following mode: can be with the combination of letter, numeral or letter and number, according to as the mode that increases progressively carry out, actually do not repeat as long as guarantee the media object title in the newly-generated message.
(4) partly increase description to each multi-media segment at body.
Be assumed to be each multi-media segment identical displaying time is set, represent with T, then the body part can arrange following content:
Wherein, the numerical value that above-mentioned T can set for: terminal is perhaps set according to the time of user's input, as is arranged to the time that the user wishes that media object presents.
Be understandable that the displaying time that multi-media segment arranges also can be different, and is every when not describing respectively simultaneously, as:
Wherein, above-mentioned T1 and T2 can determine in the following way: the numerical value that terminal is set, and perhaps set according to the time of user's input, as be arranged to the time that the user wishes that media object presents.
Can finish the setting of layout and displaying time by above-mentioned flow process, its remainder in the SMIL file can also be set.
In addition, after also certainly editing some contents outside the message session that the user is transmitting, but for edit segment, also can be according to above-mentioned processing mode to note and multimedia message, but the edit segment to user's input is processed, and obtains new file and in the SMIL file this new file file corresponding with the part that can not edit is united setting.
Present embodiment can also be transmitted many multimedia messages or multimedia message on the basis of a upper embodiment with note, and some multi-media segments of multimedia message when adopting the sectional drawing mode, or be called annex and can not be forwarded, such as audio frequency, video etc., present embodiment can guarantee correct forwarding, raising forwarding effect and user's experience of each annex of multimedia message by above-mentioned processing.
Fig. 6 is the structural representation of terminal one embodiment of the present invention, and this terminal 60 comprises receiver module 61 and processing module 62; Receiver module 61 is used for receiving the first instruction of user's input, and described the first instruction is used to indicate the first message groups in the message session is operated, and described the first message groups comprises a piece of news at least; Processing module 62 is used for corresponding described the first message groups and creates new information, the message content of described new information comprises the first message content, described the first message content can not be edited, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, perhaps, described the first message content comprises the message content of every message in described the first message groups.
Optionally, when described the first instruction is delete instruction, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, described processing module 62 specifically is used for: every the message that will delete of corresponding described the first message groups, create first new information, the message content of described the first new information is the immobilized substance that sets in advance, and the described immobilized substance that sets in advance is used for showing that message is deleted.
Optionally, when described the first instruction is when transmitting instruction, described the first message content comprises the message content of every message in described the first message groups, described processing module 62 specifically is used for: corresponding all message that will transmit of described the first message groups, create a new information, the message content of described new information comprises the message content of described all message that will transmit, and the message content that the described message that will transmit is set can not be edited.
Optionally, described receiver module 61 also is used for: receive the second instruction of user's input, described the second instruction is used to indicate further the message in described the first message groups is transmitted operation;
Described processing module 62 also is used for: corresponding described the first message groups creates second new information, the message content of described the second new information comprises the message content of all described the first new informations, and the message content that described the second new information is set can not be edited.
Optionally, described receiver module also is used for: receive the 3rd instruction of user's input, described the 3rd instruction is used to indicate transmits operation to the second message groups, and the message in described the second message groups comprises all message except described the first message groups in all described the first new informations and the described message session;
Described processing module also is used for: corresponding described the second message groups creates second new information, the message content of described the second new information comprises the message content of all message except described the first message groups in the message content of all described the first new informations and the described message session, and the message content that described the second new information is set can not be edited.
Optionally, described processing module 62 also is used for:
The message content that described new information is set also comprises and every address information that message is corresponding, and described address information is set to edit.
Optionally, described processing module 62 specifically is used for:
Create following parameter item, obtain described new information:
Thread identification is identical with the thread identification of the corresponding message that will delete;
Time: identical with the time of the corresponding message that will delete;
Message content: the immobilized substance that sets in advance is used for showing that message is deleted.
Optionally, described processing module 62 specifically is used for:
Create following parameter item, obtain described new information:
Message content: comprise the message content of described all message that will transmit, and clooating sequence is identical with the original clooating sequence of all message that will transmit, and the message content that described all message that will transmit are set can not be edited.
Optionally, described processing module 62 specifically is used for:
When the described message that will transmit is the message that receives, obtain the receipt message address information, and described receipt message address information is set to a content item with the message of corresponding reception;
When the described message that will transmit is the message that sends, obtain and send message addresses information, and described transmission message addresses information is set to a content item with the message of corresponding transmission.
Optionally, described processing module 62 specifically is used for:
Obtain receiver address information from yellow pages server; Perhaps,
In the address field of the message that receives, obtain receiver address information.
Optionally, described processing module 62 specifically is used for:
Obtain the transmission address information from yellow pages server; Perhaps,
With default immobilized substance as sending address information; Perhaps,
From the SIM card of the machine, read the transmission address information; Perhaps,
Obtain the transmission address information from SP.
Optionally, when comprising at least one multimedia message in described the first message groups, described processing module 62 also is used for:
When the message that will transmit is note, according to text of message content generation of described note;
When the message that will transmit was multimedia message, each multi-media segment in the corresponding described multimedia message generated the file of a corresponding form;
Generate the SMIL file, be used for organizing the file of described text and corresponding form, so that described message groups is converted to a multimedia message.
Present embodiment creates new information when the processing messages session, the partial content of this new information can not be edited, and can avoid the user to any modification of message session, guarantees credible.
Fig. 7 is the structural representation of another embodiment of terminal of the present invention, and this terminal 70 comprises radiating circuit 702, receiving circuit 703, power controller 704, processor 705, memory 706 and antenna 701.The operation of processor 705 control terminals 70, processor 705 can also be called CPU.Memory 706 can comprise read-only memory and random access memory, and provides instruction and data to processor 705.The part of memory 706 can also comprise non-volatile row random access memory (NVRAM).In the concrete application, terminal 70 can embed or itself can be exactly the Wireless Telecom Equipment of mobile phone and so on for example, can also comprise the carrier that holds radiating circuit 702 and receiving circuit 703, to carry out data transmission and reception between permission equipment 70 and the remote equipment.Radiating circuit 702 and receiving circuit 703 can be coupled to antenna 701.Each assembly of terminal 70 is coupled by bus system 7100, and wherein bus system 7100 also comprises power bus, control bus and status signal bus in addition except comprising data/address bus.But for the purpose of clearly demonstrating, in the drawings various buses all are designated as bus system 7100.
The method that the invention described above embodiment discloses can be applied in receiving circuit 703 and the processor 705, in other words by receiving circuit 703 and processor 705 to realize.In implementation procedure, each step of said method can be finished by the integrated logic circuit of the hardware in the processor 705 or the instruction of software form.These instructions can realize and control to cooperate by processor 705 wherein.Be used for carrying out the method that the embodiment of the invention discloses, above-mentioned processor can be general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic device, discrete hardware components.Can realize or carry out disclosed each method, step and logic diagram in the embodiment of the invention.General processor can be that microprocessor or this processor also can be the processors of any routine, decoder etc.Step in conjunction with the disclosed method of the embodiment of the invention can be presented as directly that the hardware decoding processor is complete, and is perhaps complete with the hardware in the decoding processor and software module combination.Software module can be positioned at random asccess memory, and flash memory, read-only memory are in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable memory, register.This storage medium is positioned at memory 706, and the information in processor 705 read memories 706 is finished the step of said method in conjunction with its hardware.
Concrete, receiving circuit 703 is used for receiving the first instruction of user's input, and described the first instruction is used to indicate the first message groups in the message session is operated, and described the first message groups comprises a piece of news at least; Processor 705 is used for corresponding described the first message groups and creates new information, the message content of described new information comprises the first message content, described the first message content can not be edited, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, perhaps, described the first message content comprises the message content of every message in described the first message groups.
Optionally, when described the first instruction is delete instruction, described the first message content is used for showing that described the first instruction is to the operation of described the first message groups, processor 705 specifically is used for: every the message that will delete of corresponding described the first message groups, create first new information, the message content of described the first new information is the immobilized substance that sets in advance, and the described immobilized substance that sets in advance is used for showing that message is deleted.
Optionally, when described the first instruction is when transmitting instruction, described the first message content comprises the message content of every message in described the first message groups, processor 705 specifically is used for: corresponding all message that will transmit of described the first message groups, create a new information, the message content of described new information comprises the message content of described all message that will transmit, and the message content that the described message that will transmit is set can not be edited.
Optionally, receiving circuit 703 also is used for: receive the second instruction of user's input, described the second instruction is used to indicate further the message in described the first message groups is transmitted operation; Processor 705 also is used for corresponding described the first message groups and creates second new information, and the message content of described the second new information comprises the message content of all described the first new informations, and the message content that described the second new information is set can not be edited.
Optionally, receiving circuit 703 also is used for: receive the 3rd instruction of user's input, described the 3rd instruction is used to indicate transmits operation to the second message groups, and the message in described the second message groups comprises all message except described the first message groups in all described the first new informations and the described message session; Processor 705 also is used for: corresponding described the second message groups creates second new information, the message content of described the second new information comprises the message content of all message except described the first message groups in the message content of all described the first new informations and the described message session, and the message content that described the second new information is set can not be edited.
Optionally, processor 705 specifically is used for: the message content that described new information is set also comprises and every address information that message is corresponding, and described address information is set to edit.
Optionally, processor 705 specifically is used for:
Create following parameter item, obtain described new information:
Thread identification is identical with the thread identification of the corresponding message that will delete;
Time: identical with the time of the corresponding message that will delete;
Message content: the immobilized substance that sets in advance is used for showing that message is deleted.
Optionally, the preparation implement body is used for:
Create following parameter item, obtain described new information:
Message content: comprise the message content of described all message that will transmit, and clooating sequence is identical with the original clooating sequence of all message that will transmit, and the message content that described all message that will transmit are set can not be edited.
Optionally, the preparation implement body is used for:
When the described message that will transmit is the message that receives, obtain the receipt message address information, and described receipt message address information is set to a content item with the message of corresponding reception;
When the described message that will transmit is the message that sends, obtain and send message addresses information, and described transmission message addresses information is set to a content item with the message of corresponding transmission.
Optionally, the preparation implement body is used for:
Obtain receiver address information from yellow pages server; Perhaps,
In the address field of the message that receives, obtain receiver address information.
Optionally, the preparation implement body is used for:
Obtain the transmission address information from yellow pages server; Perhaps,
With default immobilized substance as sending address information; Perhaps,
From the SIM card of the machine, read the transmission address information; Perhaps,
Obtain the transmission address information from SP.
Optionally, when comprising at least one multimedia message in described the first message groups, the preparation implement body is used for:
When the message that will transmit is note, according to text of message content generation of described note;
When the message that will transmit was multimedia message, each multi-media segment in the corresponding described multimedia message generated the file of a corresponding form;
Generate the SMIL file, be used for organizing the file of described text and corresponding form, so that described message groups is converted to a multimedia message.
Present embodiment creates new information when the processing messages session, the partial content of this new information can not be edited, and can avoid the user to any modification of message session, guarantees credible.
The those skilled in the art can be well understood to, be the convenience described and succinct, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure that is about to device is divided into different functional modules, to finish all or part of function described above.The system of foregoing description, the specific works process of device and unit can with reference to the corresponding process among the preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that, disclosed system, apparatus and method can realize by another way.For example, device embodiment described above only is schematic, for example, the division of described module or unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of present embodiment scheme.
In addition, each functional unit in each embodiment of the application can be integrated in the processing unit, also can be that the independent physics of unit exists, and also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) or processor (processor) carry out all or part of step of the described method of each embodiment of the application.And aforesaid storage medium comprises: the various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above, above embodiment only in order to the application's technical scheme to be described, is not intended to limit; Although with reference to previous embodiment the application is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of each embodiment technical scheme of the application.