Summary of the invention
In view of this, the invention provides a kind of method, server end, client and system that shows information state, in order to solve the user after using existing MSN transmission information and not know the whether received problem that just reads of the own message that sends, its technical scheme is as follows:
A kind of method that shows information state comprises:
The multimedia messages that the first client that receives is sent sends to the second client, and, status indication information is sent to described the first client, so that described the first client shows the current information state of described multimedia messages according to described status indication information, wherein, described status indication information is the information of the current information state of the described multimedia messages of indication.
Preferably, described status indication information is sent to described the first client, so that described the first client shows that according to described status indication information the current information state of described multimedia messages comprises:
When receiving the multimedia messages of the first client transmission, send the response packet that indication has received described multimedia messages to described the first client, so that the current information state of described multimedia messages is shown as " sending out " in described the first client;
When described the second terminal of indication that receives described the second client transmission has received the response packet of described multimedia messages, the response packet that described the second client is sent is transmitted to described the first client, so that the current information state of described multimedia messages is shown as " sending to " in described the first client;
When receiving the read data bag that the described multimedia messages of indication that described the second client sends read by described the second client, described read data bag is transmitted to described the first client, so that the current information state of described multimedia messages is shown as " reading " in described the first client.
A kind of method that shows information state comprises:
Send multimedia messages to server end, and show the current information state of described multimedia messages;
Receive the status indication information that described server end sends, wherein, described status indication information is the information of the current information state of the described multimedia messages of indication;
The current information state that shows described multimedia messages according to described status indication information.
Preferably, when sending multimedia messages to server end, the current information state of described multimedia messages is shown as " waiting to send out ".
Preferably, the described status indication information of described foundation shows the current information state of described multimedia messages, comprising:
When receiving the described server end of indication that described server end sends and received the response packet of described multimedia messages, the current information state of described multimedia messages is shown as " sending out ";
When receiving described the second client of indication that described server end sends and received the response packet of described multimedia messages, the current information state of described multimedia messages is shown as " sending to ";
When receiving described the second client of indication that described server end sends and read the read data bag of described multimedia messages, the current information state of described multimedia messages is shown as " reading ".
A kind of server end comprises: first information receiver module, first information sending module and information state notification module;
Described first information receiver module is used for receiving the multimedia messages that the first client sends;
Described first information sending module is used for the multimedia messages that described first information receiver module receives is sent to the second client;
Described information state notification module, be used for status indication information is sent to described the first client, so that described the first client shows the current information state of described multimedia messages, wherein, described status indication information is the information of the current information state of the described multimedia messages of indication.
Preferably, described information state notification module comprises: first information state notifying submodule, the second information state notice submodule and the 3rd information state notice submodule;
Described first information state notifying submodule, be used for when receiving the multimedia messages of the first client transmission, send the response packet that indication has received described multimedia messages to described the first client, so that the current information state of described multimedia messages is shown as " sending out " in described the first client;
Described the second information state notice submodule, be used for when described the second terminal of indication that receives described the second client transmission has received the response packet of described multimedia messages, the response packet that described the second client is sent is transmitted to described the first client, so that the current information state of described multimedia messages is shown as " sending to " in described the first client;
Described the 3rd information state notice submodule, during the read data bag that is used for having been read by described the second client when the described multimedia messages of indication that receives described the second client transmission, described read data bag is transmitted to described the first client, so that the current information state of described multimedia messages is shown as " reading " in described the first client.
A kind of client comprises: the second information sending module, the second information receiving module, information display module and information control module;
Described the second information sending module is used for sending multimedia messages to server end;
Described the second information receiving module is used for receiving the status indication information that described server end sends, and wherein, described status indication information is the information of the current information state of the described multimedia messages of indication;
Described information control module is used for controlling the current information state that described information display module shows described media information according to described status indication information.
Preferably, described information control module comprises: first information control submodule, the second information control submodule and the 3rd information control submodule;
Described first information control submodule, be used for when receiving the described server end of indication that described server end sends and received the response packet of described multimedia messages, controlling the current information state that described information display module shows described multimedia messages is " sending out ";
Described the second information control submodule, be used for when receiving described the second client of indication that described server end sends and received the response packet of described multimedia messages, controlling the current information state that described information display module shows described multimedia messages is " sending to ";
Described the 3rd information control submodule, be used for when receiving described the second client of indication that described server end sends and read the read data bag of described multimedia messages, controlling the current information state that described information display module shows described multimedia messages is " reading ".
A kind of information display system comprises: above-mentioned server end and above-mentioned client.
The method of demonstration information state provided by the invention, server end, client and system, the multimedia messages that the first client that server end will receive sends sends to the second client, and, to indicate the information of the current information state of multimedia messages to send to the first client, so that the first client shows the current information state of multimedia messages according to the information of the current information state of indication multimedia messages.The method of demonstration information state provided by the invention, server end, client and system can realize the demonstration of the information state of multimedia messages, thereby make the user understand the state of the multimedia messages that oneself sends, compare existing instant chat software, the user experiences better.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only 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.
Embodiment one
The embodiment of the invention one provides a kind of method that shows information state, is applied to server end, the schematic flow sheet of the method that Fig. 1 provides for the embodiment of the invention one, and the method comprises:
S11: the multimedia messages that first client that will receive sends sends to the second client.
S12: status indication information is sent to the first client, so that the first client shows the current information state of multimedia messages according to status indication information, wherein, status indication information is the information of the current information state of indication multimedia messages.In the present embodiment, the information state of multimedia messages can comprise: wait to send out, send out, send to and read.
Wherein, the multimedia messages that sends of the first client can comprise: Word message, picture, geographical position are shared and are shared with business card etc.
In the present embodiment, step S11 further comprises:
S111: receive the multimedia messages that the first client sends.
S112: give the second client with the multimedia Information Transfer of reception.
In the present embodiment, step S12 can comprise:
S121: when receiving the multimedia messages of the first client transmission, send the response packet that indication has received multimedia messages to the first client, so that the current information state of multimedia messages is shown as " sending out " in the first client.
S122: when receiving the response packet that indication multimedia messages that the second client sends received by the second terminal, the response packet that the second client is sent is transmitted to the first client, so that the current information state of multimedia messages is shown as " sending to " in the first client.
S123: when receiving the read data bag that indication multimedia messages that the second client sends read by the second client, the read data bag is transmitted to described the first client, so that the current information state of multimedia messages is shown as " reading " in the first client.
Need to prove, present embodiment does not limit the execution sequence of step S112 and step S121, namely, when receiving the multimedia messages of the first client transmission, can give the second client with multimedia Information Transfer first, send corresponding response packet to the first client again, also can be when receiving the multimedia messages of the first client transmission, first send corresponding response packet to the first client, give the second client with multimedia Information Transfer again.For so that the information state of multimedia messages upgrades the preferred latter in time.
The method of the demonstration information state that the embodiment of the invention provides can also comprise: after the multimedia Information Transfer that will receive is given the second client, whether judgement receives the corresponding bag that the second client sends in Preset Time, if, then send the indication multimedia messages to the first client and send failed information, so that the first client resends multimedia messages, thus the transmitting of the information of realization.
In addition, the method of the demonstration information state that the embodiment of the invention provides can also comprise: the multimedia messages that first client that will receive sends is stored, on this basis, the method can further include: after the multimedia Information Transfer that will receive is given the second client, whether judgement receives the respond packet that the second client sends in Preset Time, if not, showing may be for a certain reason, the communication failure, then the multimedia messages with storage is transmitted to the second client again.
In the method for the demonstration information state that the embodiment of the invention one provides, the multimedia messages that the first client that server end will receive sends sends to the second client, and, to indicate the information of the current information state of multimedia messages to send to the first client, so that the first client shows the current information state of multimedia messages according to the information of the current information state of indication multimedia messages.The method of the demonstration information state that the embodiment of the invention one provides can realize that the information state of the multimedia messages that the first client sends shows at first terminal, thereby with making the user understand the state of the multimedia messages that oneself sends.
Embodiment two
The embodiment of the invention two provides a kind of method that shows information state, is applied to the first client, the schematic flow sheet of the method that Fig. 2 provides for the embodiment of the invention two, and the method comprises:
S21: send multimedia messages to server end, and show the current information state of multimedia messages.
Wherein, multimedia messages can comprise: Word message, picture, geographical position are shared with business card and are shared etc.
In the present embodiment, the information state of multimedia messages can comprise: wait to send out, send out, send to and read.When sending multimedia messages to server end, the current information state of multimedia messages can be shown as " waiting to send out ", and namely when multimedia messages sent but also do not received by described server end, the information state of multimedia messages was sent out for waiting.
S22: the status indication information that the reception server end sends, wherein, status indication information is the information of the current information state of indication multimedia messages.
S23: the current information state that shows multimedia messages according to status indication information.
At present embodiment, step S23 can comprise:
S231: when receiving indication server end that server end sends and received the response packet of multimedia messages, showing needs the lastest imformation state, at this moment, the current information state of multimedia messages is " sending out " by " waiting to send out " update displayed.
S232: when receiving indication the second client that server end sends and received the response packet of multimedia messages, showing needs the lastest imformation state, is " sending to " with the current information state of multimedia messages by " sending out " update displayed.
S233: when receiving indication the second client that server end sends and read the read data bag of multimedia messages, showing needs the lastest imformation state, is " reading " with the current information state of multimedia messages by " sending to " update displayed.
The method of the demonstration information state that the embodiment of the invention two provides can also comprise: judge between default whether receive the respond packet that server end sends, if not, show to cause for a certain reason multimedia messages to send unsuccessfully that then demonstration information sends failed information.Can select whether to resend multimedia messages by information.
In the method for the demonstration information state that the embodiment of the invention two provides, the first user end to server end sends multimedia messages, and show the current information state of multimedia messages, then upgrade and show the current information state of multimedia messages according to status indication information.The method of demonstration information state provided by the invention can realize demonstration and the renewal of the information state of the multimedia messages that the first client sends, thereby with making the user understand the state of the multimedia messages that oneself sends.
Embodiment three
The embodiment of the invention three provides a kind of server end, and the structural representation of the server end that Fig. 3 provides for the embodiment of the invention three comprises: first information receiver module 11, first information sending module 12 and information state notification module 13.Wherein:
First information receiver module 11 is used for receiving the multimedia messages that the first client sends.First information sending module 12 is used for the multimedia messages that first information receiver module 11 receives is sent to the second client.Information state notification module 13 is used for status indication information is sent to the first client, so that the first client shows the current information state of multimedia messages, wherein, status indication information is the information of the current information state of indication multimedia messages.
Further, information state notification module 13 can comprise: first information state notifying submodule, the second information state notice submodule and the 3rd information state notice submodule.Wherein:
First information state notifying submodule, be used for when receiving the multimedia messages of the first client transmission, send the response packet that indication has received multimedia messages to the first client, so that the current information state of multimedia messages is shown as " sending out " in the first client.The second information state notice submodule, be used for when indication the second terminal that receives the transmission of the second client has received the response packet of multimedia messages, the response packet that the second client is sent is transmitted to the first client, so that the current information state of multimedia messages is shown as " sending to " in the first client.The 3rd information state notice submodule, during the read data bag that is used for having been read by the second client when the indication multimedia messages that receives the transmission of the second client, the read data bag is transmitted to the first client, so that the current information state of described multimedia messages is shown as " reading " in the first client.
The server end that the embodiment of the invention three provides can also comprise: the first information memory module that the multimedia messages that first information receiver module 11 is received is stored.
Further, the server end that provides of the embodiment of the invention three can also comprise: judge whether information state notification module 13 receives the first judge module of the respond packet that the second client sends in Preset Time.If information state notification module 13 does not receive the respond packet that the second client sends in Preset Time, so, first information sending module 12 sends to the second client with the multimedia messages of first information memory module storage again, to realize the transmitting of multimedia messages.
The embodiment of the invention three provides a kind of server end, the information of the current information state of the multimedia messages that indication the first client can be sent sends to first terminal, so that first terminal can show and upgrade the current information state of the multimedia messages of its transmission.By the server end that the embodiment of the invention three provides, the user can understand the information state of the multimedia messages that oneself sends, better user experience.
Embodiment four
The embodiment of the invention four provides a kind of client, the client that present embodiment provides is as the first client that sends multimedia messages, the structural representation of the client that Fig. 4 provides for the embodiment of the invention four comprises: the second information sending module 21, the second information receiving module 22, information control module 23 and information display module 24.Wherein:
The second information sending module 21 is used for sending multimedia messages to server end.
The second information receiving module 22 is used for the status indication information that the reception server end sends, and wherein, status indication information is the information of the current information state of indication multimedia messages.
Information control module 23 is used for the current information state according to status indication information control information display module 24 demonstration multimedia messagess.
Further, information control module 23 comprises: first information control submodule, the second information control submodule and the 3rd information control submodule.Wherein:
First information control submodule is used for when the indication server end that receives the server end transmission has received the response packet of multimedia messages, and control information display module 24 shows that the current information state of multimedia messagess is " sending out ".The second information control submodule is used for when indication the second client that receives the server end transmission has received the response packet of multimedia messages, and control information display module 24 shows that the current information state of multimedia messagess is " sending to ".The 3rd information control submodule is used for when indication the second client that receives the server end transmission has read the read data bag of multimedia messages, and control information display module 24 shows that the current information state of multimedia messagess is " reading ".
Information control module 23 also comprises: the 4th information control module, the 4th information control module is used for when the second information sending module 21 sends multimedia messages to server end, and control information display module 24 shows that the current information state of multimedia messages is " waiting to send out ".
The client that present embodiment four provides can also comprise: obtain the acquisition of information module of multimedia messages and the second information storage module of storage multimedia messages.
Further, the acquisition of information module can comprise: the first information obtains submodule, the second acquisition of information submodule, the 3rd acquisition of information submodule and the 4th acquisition of information submodule.Wherein:
The first information obtains submodule and can comprise the MIM message input module of the literal that obtains user data and Word message is processed message processing module showing and transmit.The second acquisition of information submodule can comprise: the photo module of pictures taken, read the picture library read module of picture in the picture library, and picture processed so that the image processing module that picture can transmit or show.The 3rd acquisition of information submodule can comprise: GPS locating module, geographical position coordinates acquisition module and map inquiry module.The 4th acquisition of information module can comprise: read the address list read module of address list information and the associated person information in the address list is converted to the associated person information modular converter of specified format.
In the present embodiment, the information state display mode of multimedia messages as shown in Figure 5.All show the current information state of this multimedia messages in a side of every the multimedia messages that sends.As: ", you? " the information state of this multimedia messages is shown as " reading ", shows that the second terminal of received this information of this multimedia messages reads; " come off duty free today? " the information state of this multimedia messages is shown as " sending to " and shows, this multimedia messages is by the second client; " I go for you and have a meal ", the information state of this multimedia messages is shown as " sending out ", shows that this multimedia messages successfully is sent to server end; " well ", the information state of this multimedia messages are shown as " waiting to send out ", show that this multimedia messages has been sent out toward server end, but also not serviced device termination are received.
Present embodiment does not limit the display mode of the information state that Fig. 5 only illustrates, and also can show by other display mode the display mode of corresponding multimedia messages.For example, can show " waiting send out-to send out-send to-read " in every multimedia messages one side, when information state was " waiting to send out ", " waiting to send out " highlighted, by that analogy.
In addition, the client that provides of the embodiment of the invention four can also comprise: the second judge module.The second judge module is used for judging whether receive the respond packet that server end sends in Preset Time, if the determination result is NO, then the second information sending module 21 sends to server end with the multimedia messages of the second information storage module storage again.
The embodiment of the invention four provides a kind of client, this client can show the current information state of multimedia messages as the first client that sends multimedia messages, and the information updating of the current information state of the indication multimedia messages that can send according to server end and show the current information state of multimedia messages.By the client that the embodiment of the invention three provides, the user can understand the information state of the multimedia messages that oneself sends, better user experience.
Embodiment five
The embodiment of the invention provides a kind of system that shows information state, and this system comprises the client that server end that embodiment three provides and embodiment four provide.
In addition, the client that embodiment four is provided is as the first client that sends multimedia messages, and the system of the demonstration information state that the embodiment of the invention provides can also comprise: the second client.
Provide a workflow of this system below in conjunction with Fig. 6:
The first user end to server end sends multimedia messages, and the information state of this multimedia messages is shown as " waiting to send out ".
Server end receives the multimedia messages that the first client sends, and sends the respond packet that the serviced device termination of indication multimedia messages is received to the first client, and, give the second client with the multimedia Information Transfer of reception.During respond packet that the first client is received to the serviced device termination of indication multimedia messages, the information state of multimedia messages is upgraded, be shown as " sending out ".
The second client sends the indication multimedia messages by the respond packet of the second client to server end behind the multimedia messages of server end forwarding.Server end receives the indication multimedia messages by after the respond packet of the second client, and this respond packet is transmitted to the first client, and the first client is upgraded the information state of multimedia messages, is shown as " sending to ".
After the second client reads multimedia messages, send the read data bag that the indication multimedia messages has been read by the second client to server end, server receives this and behind the read data bag it is transmitted to the first client, during read data bag that the first client has been read by the second client to the indication multimedia messages, the information state of multimedia messages is upgraded, be shown as " reading ".
The embodiment of the invention three provides a kind of system that shows information state, the first client can show the current information state of multimedia messages, and the information updating of the current information state of the indication multimedia messages that can send according to server end and show the current information state of multimedia messages.By the system that the embodiment of the invention three provides, the user can understand the information state of the multimedia messages that oneself sends, better user experience.
For the convenience of describing, be divided into various unit with function when describing above device and describe respectively.Certainly, when enforcement is of the present invention, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment, because its basic simlarity is in embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method.System embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, 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 module to realize the purpose of present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation of not paying creative work.
The present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment etc.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.