Server data treatment system and the method for application program in mobile communcations system
Technical field
The present invention relates to communication technique field, particularly server data treatment system and the method for application program in a kind of mobile communcations system.
Background technology
Along with the development of electronic technology, the volume of mobile terminal is more and more less of satisfying mobility, portable requirement, so the developing direction of mobile terminal is small and exquisite, frivolous.Wherein, data transmission service has become the second largest business that is only second to speech business.And browsing page, reading news and novel etc. are browsed the data transmission service of class, and the data transmission service of game, application program etc. has all become very common mobile terminal and used.
But the media management server, the receive data that manage for the server end that data are provided, to data and the mobile terminal that shows, to management, process, transmission, be all very loaded down with trivial details when showing large file.For the media management server, server end need to be transferred data to, and word, picture, audio frequency, video may be comprised in data, cause like this complexity of the data communication of server to increase, cause Internet Transmission pressure to increase.
Summary of the invention
For the complexity that solves the data communication of mobile terminal in prior art increases, the problem that causes Internet Transmission pressure to increase, the embodiment of the present invention has proposed server data treatment system and the method for application program in a kind of mobile communcations system.Described technical scheme is as follows:
The embodiment of the present invention has proposed the server data treatment system of application program in a kind of mobile communcations system, comprising:
Data processing module after being used for content piecemeal and MD5 check code that the receiving media management server sends, carrying out verification according to this MD5 check code to the content piecemeal, and after verification succeeds, described content piecemeal is merged into complete node content;
Data transmission module connects described media management server and send to data processing module after receiving content piecemeal and MD5 check code; Also connect mobile terminal with the parameter of mobile terminal receive, and the node content that generates after this data processing module is merged is cut into a plurality of subdatas according to the parameter of described mobile terminal, and subdata is sent to mobile terminal by default frame format successively;
Wherein, described frame format comprises a plurality of data content sections for the storage data and at least one parameter section for this frame length of storage at least; Wherein said data content section comprise at least for the word content section of storage word, be used for the storage picture the image content section, be used for storing audio audio content segments, be used for the video content segment of store video.
Preferred as technique scheme, described and subdata is sent to mobile terminal by default frame format successively be specially:
Current subdata is sent to mobile terminal by default frame format;
When described mobile terminal shows this current subdata, the next son data are sent to described mobile terminal by default frame format.
Preferred as technique scheme, described data transmission module comprises:
The first link block is used for connecting described media management server by cable network or wireless network;
The second link block is used for connecting described data processing module;
The 3rd link block is used for being connected described mobile terminal with radio access node by wireless network and radio network gateway.
Preferred as technique scheme, the parameter of described mobile terminal comprise one or more in the size of the subdata that the disposal ability of the model of described mobile terminal, described mobile terminal, described mobile terminal can be processed.
The embodiment of the present invention has also proposed a kind of method that foregoing system carries out the application data processing of using, and comprising:
After content piecemeal and MD5 check code that the receiving media management server sends, according to this MD5 check code, the content piecemeal is carried out verification, and after verification succeeds, described content piecemeal is merged into complete node content;
The parameter of mobile terminal receive, and the node content that generates after this data processing module is merged is cut into a plurality of subdatas according to the parameter of described mobile terminal, and subdata is sent to mobile terminal by default frame format successively;
Wherein, described frame format comprises a plurality of data content sections for the storage data and at least one parameter section for this frame length of storage at least; Wherein said data content section comprise at least for the word content section of storage word, be used for the storage picture the image content section, be used for storing audio audio content segments, be used for the video content segment of store video.
Preferred as technique scheme, described and subdata is sent to mobile terminal by default frame format successively be specially:
Current subdata is sent to mobile terminal;
When described mobile terminal shows this current subdata, the next son data are sent to described mobile terminal.
Preferred as technique scheme, described server connects described media management server by cable network or wireless network; And be connected described mobile terminal with radio access node by wireless network and radio network gateway.
Preferred as technique scheme, the parameter of described mobile terminal comprise one or more in the size of the subdata that the disposal ability of the model of described mobile terminal, described mobile terminal, described mobile terminal can be processed.
The system and method that the embodiment of the present invention proposes has following beneficial effect:
(1) server can generate MD5 check code and content piecemeal by node content by piecemeal receiving media management server, and carries out verification by the MD5 code.So both can reduce the needed bandwidth of transfer of data, can guarantee again the reliability of transfer of data.
(2) parameter that can send according to mobile terminal of server, will send to mobile terminal after the data cutting.Simultaneously, mobile terminal transmission next son data when showing first subdata.So both can prevent from transmitting the network congestion that large file causes, also can prevent the problem that mobile terminal causes internal memory to overflow when showing large file, can also reduce the time that the user waits for.
(3) adopt the frame format of the embodiment of the present invention, word, picture, video, audio frequency can be transmitted in a Frame, reduce the complexity of transmission.And mobile terminal receives and need not to carry out typesetting after data again and can carry out Pagination Display.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, the below will do one to the accompanying drawing that uses in embodiment and introduce simply, apparently, below listed accompanying drawing be only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of the device of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for the embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The system of the embodiment of the present invention, its structure comprise as shown in Figure 1:
Data processing module 1 after being used for content piecemeal and MD5 check code that the receiving media management server sends, carrying out verification according to this MD5 check code to the content piecemeal, and after verification succeeds, described content piecemeal is merged into complete node content;
Data transmission module 2, connect described media management server and send to data processing module after receiving content piecemeal and MD5 check code, also connect mobile terminal with the parameter of mobile terminal receive, and the node content that generates after this data processing module is merged is cut into a plurality of subdatas according to the parameter of described mobile terminal, and subdata is sent to mobile terminal by default frame format successively;
Wherein, described frame format comprises a plurality of data content sections for the storage data and at least one parameter section for this frame length of storage at least; Wherein said data content section comprise at least for the word content section of storage word, be used for the storage picture the image content section, be used for storing audio audio content segments, be used for the video content segment of store video.
Wherein, this data transmission module 2 is specially subdata successively by the method that default frame format sends to mobile terminal:
Current subdata is sent to mobile terminal;
When described mobile terminal shows this current subdata, the next son data are sent to described mobile terminal.
Wherein, this data transmission module 2 comprises:
The first link block is used for connecting described media management server by cable network or wireless network;
The second link block is used for connecting described data processing module;
The 3rd link block is used for being connected described mobile terminal with radio access node by wireless network and radio network gateway.
Wherein, the parameter of described mobile terminal comprises one or more in the size of the subdata that the disposal ability of the model of described mobile terminal, described mobile terminal, described mobile terminal can be processed.
The description of property as an example, the embodiment of the present invention can coordinate the media management server to use.Described media management server comprises: type-setting module, upper transmission module;
Described type-setting module is used for lteral data and image data are carried out the preliminary treatment typesetting; Then with the node content of pretreated lteral data and image data amalgamation generation XML form, this node content is divided into the node piecemeal, and obtains the MD5 check code of node piecemeal; To send to server together with described MD5 check code by described upper transmission module after this node content piecemeal;
Described lteral data preliminary treatment typesetting comprises: according to the intersegmental distance between the first indentation amount of section between every section word, every section word, whether belong to same paragraph to analyze word, so that lteral data is carried out typesetting;
Described image data preliminary treatment typesetting comprises: the coding of picture is changed into character string.
The method of the embodiment of the present invention, its flow process comprise as shown in Figure 2:
After content piecemeal and MD5 check code that step 1, receiving media management server send, according to this MD5 check code, the content piecemeal is carried out verification, and after verification succeeds, described content piecemeal is merged into complete node content;
The parameter of step 2, mobile terminal receive, and the node content that generates after this data processing module is merged is cut into a plurality of subdatas according to the parameter of described mobile terminal, and subdata is sent to mobile terminal by default frame format successively;
Wherein, described frame format comprises a plurality of data content sections for the storage data and at least one parameter section for this frame length of storage at least; Wherein said data content section comprise at least for the word content section of storage word, be used for the storage picture the image content section, be used for storing audio audio content segments, be used for the video content segment of store video.
Wherein, subdata sent to mobile terminal by default frame format successively being specially of described step 2 China:
Current subdata is sent to mobile terminal by default frame format;
When described mobile terminal shows this current subdata, the next son data are sent to described mobile terminal by default frame format.
Preferred as technique scheme, described server connects described media management server by cable network or wireless network; And be connected described mobile terminal with radio access node by wireless network and radio network gateway.
Preferred as technique scheme, the parameter of described mobile terminal comprise one or more in the size of the subdata that the disposal ability of the model of described mobile terminal, described mobile terminal, described mobile terminal can be processed.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.