Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with execution mode and accompanying drawing, the present invention is described in further details.At this, exemplary embodiment of the present invention and explanation thereof are used for explanation the present invention, but not as a limitation of the invention.
The embodiment of the invention provides a kind of multimedia message transmission progress display packing and device, and the present invention is described in detail below in conjunction with accompanying drawing.
Embodiment one
Fig. 1 is a kind of multimedia message transmission progress display packing flow chart that the embodiment of the invention provides, and as shown in Figure 1, multimedia message transmission progress display packing comprises the steps:
S101 obtains current multimedia message transmitting state information.
In embodiments of the present invention, portable terminal begins to send or receive multimedia message when the multimedia message that receives user input sends instruction or portable terminal and receives multimedia message and receive instruction, and begin to send or receive multimedia message after obtain the transmitting state information of current multimedia message.
In embodiments of the present invention, different phase according to the multimedia message transmission, transmitting state information can comprise: the APN(Access Point Name of the data network connection state information of portable terminal, portable terminal, access point) the APN connection state information of state information, portable terminal, data volume and the check results of the multimedia message data transmitted be set.Corresponding, one or more during step S101 can comprise the steps namely obtain the data network connection state information, obtain APN and state information is set, obtains the APN connection state information, obtains the data volume of the multimedia message data of having transmitted and obtains check results.
S102 obtains the multimedia message transmission progress according to described multimedia message transmitting state information.
In embodiments of the present invention, portable terminal is determined the transmission state of current multimedia message, and is obtained the transmission progress of multimedia message according to current multimedia message transmitting state information according to the transmitting state information that gets access to.
In embodiments of the present invention, portable terminal can obtain the default multimedia message transmission progress corresponding with the multimedia message transmitting state information according to the multimedia message transmitting state information that gets access among the step S101; Portable terminal also can calculate the multimedia message transmission progress in real time according to current multimedia message transmitting state information.
S103 shows described multimedia message transmission progress.
In embodiments of the present invention, acquisition for mobile terminal is behind the transmission progress of current multimedia message, by the current multimedia message transmission progress of the real-time demonstration of the display screen of portable terminal.
In embodiments of the present invention, portable terminal can show the progress bar figure that comprises described multimedia message transmission progress, also can show the text that comprises described multimedia message transmission progress, or while progress displaying bar figure and text.In another embodiment of the present invention, portable terminal can also show current transmitting state information when showing the multimedia message transmission progress.
The multimedia message transmission progress display packing that the embodiment of the invention provides, the transmission progress of the current multimedia message of demonstration that can be real-time makes the user can recognize in real time the transmission progress of current multimedia message.
Fig. 2 is a kind of multimedia message transmission progress display packing flow chart that the embodiment of the invention provides, and as shown in Figure 2, multimedia message transmission progress display packing comprises the steps:
S2001 receives the multimedia message transfer instruction.
In embodiments of the present invention, portable terminal can receive user input the transmission multimedia message instruction or receive the instruction of multimedia message, also can the receiving remote server or the instruction of the reception multimedia message that sends of base station.
S2002 judges whether to be connected to data network.
In embodiments of the present invention, portable terminal judges whether to be connected to data network, if portable terminal can be connected to data network, then carries out step S2003, obtains transmission progress and the demonstration of current multimedia message.If portable terminal can't be connected to data network, then carry out step S2004, the prompting user current mobile terminal can't be connected to data network.
Preferably, Fig. 3 is the display effect figure of the execution in step S2002 that provides of the embodiment of the invention, and as shown in Figure 3, when execution in step S2002, portable terminal can " obtain the data network connection status " at the display screen display reminding simultaneously.
S2003, the transmission progress that obtains current multimedia message also shows.
In embodiments of the present invention, can set in advance the corresponding transmission progress of step S2002, as be preset as 1%-5%, preferably, preset value can be 3%, that is to say, behind completing steps S2002, portable terminal shows that at display screen the transmission progress of current multimedia message is 3%.
Preferably, Fig. 4 is the display effect figure of the execution in step S2003 that provides of the embodiment of the invention, and as shown in Figure 4, portable terminal can be simultaneously at display screen display reminding " data network connects normal ".
In another embodiment of the present invention, portable terminal can according to the connection speed of data network, calculate multimedia message and transmit needed total time, then further calculation procedure S2002 the used up time account for the ratio of total time, obtain the transmission progress of current multimedia message.Preferably, needed total time T=t1+t2+t3+t4+t5 is transmitted in multimedia message, t1 is for obtaining the needed time of data network connection state information, t2 arranges the needed time of state information for obtaining APN, and t3 is for obtaining the needed time of APN connection state information, and t4 is the transmission needed time of multimedia message data, t5 is the verification transmission needed time of result, wherein, t1, t2, t3 and t5 can be preset as 1 second, the transmission speed of the size/multimedia message data of t4=multimedia message data.
S2004, the prompting user current mobile terminal can't be connected to data network.
In embodiments of the present invention, Fig. 5 is the display effect figure of the execution in step S2004 that provides of the embodiment of the invention, as shown in Figure 5, portable terminal can " can't be connected to data network " at the display screen display reminding, so that the user in time recognizes the reason of multimedia message bust this.
S2005 judges whether APN arranges the setting of middle acting server and multimedia message server legal.
In embodiments of the present invention, portable terminal judges whether APN arranges the setting of middle acting server and multimedia message server legal, if it is legal that APN arranges arranging of middle acting server and multimedia message server, then carry out step S2006, obtain transmission progress and the demonstration of current multimedia message.If it is illegal that APN arranges arranging of middle acting server and multimedia message server, then carry out step S2007, the APN of prompting user current mobile terminal arranges illegal.
Preferably, Fig. 6 is the display effect figure of the execution in step S2005 that provides of the embodiment of the invention, and as shown in Figure 6, when execution in step S2005, portable terminal can " obtain APN state is set " at the display screen display reminding simultaneously.
S2006, the transmission progress that obtains current multimedia message also shows.
In embodiments of the present invention, can set in advance the corresponding transmission progress of step S2006, as be preset as 1%-5%, preferably, preset value can be 3%, that is to say, behind completing steps S2002 and S2005, portable terminal shows that at display screen the transmission progress of current multimedia message is 6%.
Preferably, Fig. 7 is the display effect figure of the execution in step S2006 that provides of the embodiment of the invention, and as shown in Figure 7, portable terminal can be simultaneously display screen display reminding " APN arranges legal ".
In another embodiment of the present invention, portable terminal can according to the connection speed of data network, calculate multimedia message and transmit needed total time, then further calculation procedure S2002 and S2005 the used up time account for the ratio of total time, obtain the transmission progress of current multimedia message.
S2007, the APN of prompting user current mobile terminal arranges illegal.
In embodiments of the present invention, Fig. 8 is the display effect figure of the execution in step S2007 that provides of the embodiment of the invention, as shown in Figure 8, portable terminal can be display screen display reminding " APN arranges illegal ", so that the user in time recognizes the reason of multimedia message bust this.
S2008 judges whether to be connected to APN acting server and multimedia message server.
In embodiments of the present invention, portable terminal judges whether to be connected to APN acting server and multimedia message server, if can be connected to APN acting server and multimedia message server, then carries out step S2009, obtains transmission progress and the demonstration of current multimedia message.If can't be connected to APN acting server and multimedia message server, then carry out step S2010, prompting user is current can't to be connected to APN acting server and multimedia message server.
Preferably, Fig. 9 is the display effect figure of the execution in step S2008 that provides of the embodiment of the invention, and as shown in Figure 9, when execution in step S2008, portable terminal can " obtain the APN connection status " at the display screen display reminding simultaneously.
S2009, the transmission progress that obtains current multimedia message also shows.
In embodiments of the present invention, can set in advance the corresponding transmission progress of step S2008, as be preset as 1%-5%, preferably, preset value can be 4%, that is to say, behind completing steps S2002, S2005 and S2008, portable terminal shows that at display screen the transmission progress of current multimedia message is 10%.
Preferably, Figure 10 is the display effect figure of the execution in step S2009 that provides of the embodiment of the invention, and as shown in figure 10, portable terminal can be simultaneously at display screen display reminding " the APN connection status be normal ".
In another embodiment of the present invention, portable terminal can according to the connection speed of data network, calculate multimedia message and transmit needed total time, then further calculation procedure S2002, S2005 and S2008 the used up time account for the ratio of total time, obtain the transmission progress of current multimedia message.
S2010, the APN connection status of prompting user current mobile terminal is unusual.
In embodiments of the present invention, Figure 11 is the display effect figure of the execution in step S2010 that provides of the embodiment of the invention, as shown in figure 11, portable terminal can " can't be connected to APN acting server and multimedia message server " at the display screen display reminding, so that the user in time recognizes the reason of multimedia message bust this.
S2011 begins to transmit multimedia message data, calculates simultaneously the transmission progress of current multimedia message and in real time demonstration.
In embodiments of the present invention, after confirming that APN acting server and multimedia message server are normal, portable terminal begins to transmit multimedia message data, and portable terminal can also be presented on the display screen of portable terminal in real time according to the transmission progress of the current multimedia message of ratio calculation of transmitting the total size of multimedia message data and multimedia message data.
Preferably, can preset the multimedia message data transmission progress and account for 80% of multimedia message transmission aggregate scheduling, that is to say, behind the whole end of transmissions of multimedia message data, portable terminal shows that at display screen the transmission progress of current multimedia message is 90%, and the transmission progress of current multimedia message can calculate according to following formula:
Current transmission progress=10%+ has transmitted the total size of multimedia message data size/multimedia message data * 80%
Preferably, Figure 12 is the display effect figure of the execution in step S2011 that provides of the embodiment of the invention, and as shown in figure 12, portable terminal can " transmit multimedia message data " at the display screen display reminding simultaneously.
Whether S2012 is successful according to as a result verification of the transmission transmission of multimedia message data.
In embodiments of the present invention, portable terminal can carry out to the multimedia message data that receives the check results of verification or reception server transmission, if verification succeeds is then carried out step S2013, the prompting user multimedia message sends successfully.If step S2014 is then carried out in the verification failure, prompting user verification failure.
Preferably, Figure 13 is the display effect figure of the execution in step S2012 that provides of the embodiment of the invention, and as shown in figure 13, when execution in step S2012, portable terminal can be simultaneously in display screen display reminding " just in verification transmission result ".
S2013, the transmission progress that obtains current multimedia message also shows.
In embodiments of the present invention, can set in advance the corresponding transmission progress of step S2012, preferably, preset value can be 10%, that is to say, behind completing steps S2012, portable terminal shows that at display screen the transmission progress of current multimedia message is 100%.
Preferably, Figure 14 is the display effect figure of the execution in step S2013 that provides of the embodiment of the invention, and as shown in figure 14, portable terminal can be simultaneously display screen display reminding " multimedia message sends successfully ".
S2014, prompting user verification failure.
In embodiments of the present invention, Figure 15 is the display effect figure of the execution in step S2014 that provides of the embodiment of the invention, as shown in figure 15, portable terminal can be in display screen display reminding " transfer check failure ", so that the user in time recognizes the reason of multimedia message bust this.
In other fact Examples of the present invention, portable terminal also can show the design sketch of other shapes, such as cake chart or bar graph.
The multimedia message transmission progress display packing that the embodiment of the invention provides can Real-time Obtaining and show the transmission state of multimedia message, and shows simultaneously the transmission progress of current multimedia message, makes the user can recognize in real time the transmission progress of current multimedia message.When multimedia message can't normal transmission, can also obtain reason and the prompting user of bust this.
Embodiment two
Figure 16 is a kind of multimedia message transmission progress display unit block diagram that the embodiment of the invention provides, and as shown in figure 16, multimedia message transmission progress display unit comprises:
State information acquisition unit 1601 is used for obtaining current multimedia message transmitting state information.
In embodiments of the present invention, portable terminal is when the multimedia message that receives user input sends instruction or portable terminal and receives multimedia message and receive instruction, begin to send or receive multimedia message, state information acquisition unit 1601 begin to send or receive multimedia message after obtain the transmitting state information of current multimedia message.
In embodiments of the present invention, different phase according to the multimedia message transmission, transmitting state information can comprise: the data network connection state information of portable terminal, the APN(Access PointName of portable terminal, access point) the APN connection state information of state information, portable terminal, data volume and the check results of the multimedia message data transmitted be set.
Corresponding, Figure 17 is the block diagram of the state information acquisition unit 1601 that provides of the embodiment of the invention, and as shown in figure 17, state information acquisition unit 1601 can comprise:
Network connection state acquisition module 1701 is used for obtaining the data network connection state information;
APN arranges state acquisition module 1702, is used for obtaining APN state information is set;
APN connection status acquisition module 1703 is used for obtaining the APN connection state information;
The transmitted data amount acquisition module 1704, are used for obtaining the data volume of the multimedia message data of having transmitted;
Check results acquisition module 1705 is used for obtaining check results.
Transmission progress acquiring unit 1602 is used for obtaining the multimedia message transmission progress according to described multimedia message transmitting state information.
In embodiments of the present invention, transmission progress acquiring unit 1602 is determined the transmission state of current multimedia message, and is obtained the transmission progress of multimedia message according to current multimedia message transmitting state information according to the transmitting state information that gets access to.
In embodiments of the present invention, transmission progress acquiring unit 1602 can obtain according to the multimedia message transmitting state information that state information acquisition unit 1601 gets access to the default multimedia message transmission progress corresponding with the multimedia message transmitting state information; Transmission progress acquiring unit 1602 also can calculate the multimedia message transmission progress in real time according to current multimedia message transmitting state information.
Figure 18 is the block diagram of the transmission progress acquiring unit 1602 that provides of the embodiment of the invention, and as shown in figure 18, transmission progress acquiring unit 1602 can comprise:
Multimedia message transmission progress acquisition module 1801 is used for obtaining the default multimedia message transmission progress corresponding with described multimedia message transmitting state information according to described multimedia message transmitting state information;
Multimedia message transmission progress computing module 1802 is used for calculating the multimedia message transmission progress according to described multimedia message transmitting state information.
Transmission progress display unit 1603 is used for showing described multimedia message transmission progress.
In embodiments of the present invention, after transmission progress acquiring unit 1602 got access to the transmission progress of current multimedia message, transmission progress display unit 1603 was by the real-time current multimedia message transmission progress of demonstration of display screen of portable terminal.
In embodiments of the present invention, transmission progress display unit 1603 can show the progress bar figure that comprises described multimedia message transmission progress, also can show the text that comprises described multimedia message transmission progress, or while progress displaying bar figure and text.In another embodiment of the present invention, transmission progress display unit 1603 can also show current transmitting state information when showing the multimedia message transmission progress.
Figure 19 is the block diagram of the transmission progress display unit 1603 that provides of the embodiment of the invention, and as shown in figure 19, transmission progress display unit 1603 can comprise:
Progress bar pattern displaying unit 1901 is used for showing the progress bar figure that comprises described multimedia message transmission progress; Or
Text display unit 1902 is used for showing the text that comprises described multimedia message transmission progress.
The multimedia message transmission progress display unit that the embodiment of the invention provides, the transmission progress of the current multimedia message of demonstration that can be real-time makes the user can recognize in real time the transmission progress of current multimedia message.
Extremely shown in Figure 19 in conjunction with Figure 16, in embodiments of the present invention, after receiving the multimedia message transfer instruction, network connection state acquisition module 1701 judges whether to be connected to data network, if can be connected to data network, then multimedia message transmission progress acquisition module 1801 obtains the transmission progress of current multimedia message, and shows by progress bar pattern displaying unit 1901.If portable terminal can't be connected to data network, then text display unit 1902 prompting user current mobile terminal can't be connected to data network.
In embodiments of the present invention, APN arranges state acquisition module 1702 and judges whether APN arranges the setting of middle acting server and multimedia message server legal, if it is legal that APN arranges arranging of middle acting server and multimedia message server, then multimedia message transmission progress acquisition module 1801 obtains the transmission progress of current multimedia message, and shows by progress bar pattern displaying unit 1901.If it is illegal that APN arranges arranging of middle acting server and multimedia message server, then the APN of text display unit 1902 prompting user current mobile terminal arranges illegal.
In embodiments of the present invention, APN connection status acquisition module 1703 judges whether to be connected to APN acting server and multimedia message server, if can be connected to APN acting server and multimedia message server, then multimedia message transmission progress acquisition module 1801 obtains the transmission progress of current multimedia message, and shows by progress bar pattern displaying unit 1901.If can't be connected to APN acting server and multimedia message server, then text display unit 1902 prompting users are current can't be connected to APN acting server and multimedia message server.
In embodiments of the present invention, transmitted data amount acquisition module 1704 obtains the data volume of the multimedia message data of having transmitted, multimedia message transmission progress computing module 1802 bases have been transmitted the transmission progress of the current multimedia message of ratio calculation of the total size of multimedia message data and multimedia message data, and are presented in real time by progress bar pattern displaying unit 1901 on the display screen of portable terminal.
In embodiments of the present invention, 1705 pairs of multimedia message data that receive of check results acquisition module are carried out the check results of verification or reception server transmission, if verification succeeds, then multimedia message transmission progress acquisition module 1801 obtains the transmission progress of current multimedia message, and shows by progress bar pattern displaying unit 1901.If the verification failure, then text display unit 1902 prompting user verifications failure.
In other fact Examples of the present invention, portable terminal also can show the design sketch of other shapes, such as cake chart or bar graph.
The multimedia message transmission progress display unit that the embodiment of the invention provides can Real-time Obtaining and show the transmission state of multimedia message, and shows simultaneously the transmission progress of current multimedia message, makes the user can recognize in real time the transmission progress of current multimedia message.When multimedia message can't normal transmission, can also obtain reason and the prompting user of bust this.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; the protection range that is not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.