Background technology
Blog (BLOG) as the sub-mail of relay (Email), BBS, instant messaging (IM) back occur the 4th generation the internet exchange mode, provide one to carry out the channel of self on the internet, presented flourish gesture in recent years on the internet by modes such as literal, picture, video, audio frequency.
The appearance of mobile phone blog allows the user check, to edit its blog by a mobile phone that connects wireless network whenever and wherever possible.Usually, can visit mobile phone blog by WAP site and cell phone software dual mode, thereby realize basic read-write operation.
Yet because the restriction of mobile phone terminal performance, terminal development technical difficulty and bandwidth, the expression power of blog on mobile phone is very limited at present.Existing mobile phone blog is a carrier with WAP mainly, is subjected to the restriction of WAP browser, and the content of mobile phone blog is based on literal, if need to add the unusual difficulty of content beyond the literal such as picture in blog.When contents such as interpolation picture, need at first the picture of storing on the mobile phone to be uploaded to background server in the multimedia message mode, background server is issued to mobile phone terminal with the memory address of picture by note again, again above-mentioned memory address is inserted in the blog text according to certain form, thereby finishes the interpolation of files such as picture.
Though part WAP 2.0 browsers support file to upload, and can directly select the picture in the mobile phone to upload on the WAP page, the trouble of having avoided multimedia message to upload.Yet no matter be to upload mode by multimedia message mode or browser file, the user must wait for that successful uploading pictures is later and the address of picture could be inserted in the blog text of writing, and what can not link up writes one piece of blog articles.
In addition, uploaded the restriction of mode, the picture that one piece of blog articles can be inserted is limited, and often can only be presented at the blog articles certain location, such as ending, and the form dullness.And if used multimedia message to upload, would also need the outer communication cost of amount paid.
Summary of the invention
The technical problem to be solved in the present invention is, at the loaded down with trivial details problem of above-mentioned mobile phone blog editing process, provides a kind of mobile phone blog of convenient editor's blog articles to realize system and method.
The technical scheme that the present invention solves the problems of the technologies described above is, a kind of realization system of mobile phone blog is provided, and comprises portable terminal and background server, and described portable terminal comprises:
The blog editing machine is used to receive the literal or the non-legible content of input;
Transmitting element is used for using respectively the corresponding interface simultaneously the literal and the non-legible content of input to be sent to described background server;
Described background server comprises:
Memory cell is used to store from the non-legible content of portable terminal and generates a memory address;
Creating unit, be used to create the blog articles that comprises literal and non-legible content, literal in the described blog articles is the literal that receives from described portable terminal, and described non-legible content comprises label and the described memory address of described non-legible content in memory cell that identifies non-legible content type.
In the realization system of a kind of mobile phone blog of the present invention, the blog editing machine of described portable terminal receives the literal of input or non-legible content and also is used to generate format information by graphic user interface.
In the realization system of a kind of mobile phone blog of the present invention, described portable terminal also comprises wireless browser, is used for browsing the blog articles of background server, and activates described blog editing machine.
In the realization system of a kind of mobile phone blog of the present invention, described blog editing machine further comprises:
The copy editor unit is used for importing, adjusting the word content of blog articles;
Non-legible edit cell is used to the size, the display position that insert non-legible content and adjust described non-legible content;
The format edit cell is used to generate the format information of blog articles.
In the realization system of a kind of mobile phone blog of the present invention, described background server also comprises compilation unit and blog space, wherein:
Described blog space is used to store the blog articles script;
Described compilation unit is used for that described creating unit is created the blog articles of finishing and is compiled as the blog articles script and stores the blog space into.
In the realization system of a kind of mobile phone blog of the present invention, described non-legible content comprises picture file, audio file or video file, described transmitting element usage log is uploaded interface transmission literal, uses file to upload interface transmission picture, Voice ﹠ Video file.
In the realization system of a kind of mobile phone blog of the present invention, described transmitting element further comprises coding unit and a plurality of transmission interface, wherein coding unit is used for described literal and non-legible content are encoded to the transmission data respectively, and described transmission interface is respectively applied for the transmission data that send corresponding encoded.
The present invention also provides a kind of implementation method of mobile phone blog, comprising:
(a1) generate interim blog articles by blog editing machine editor's literal or non-legible content;
(a) portable terminal uses the corresponding interface to send to background server respectively the literal and the non-legible content of input simultaneously;
(b) described background server is stored described non-legible content;
(c) create the blog articles that comprises literal and non-legible content, literal in the described blog articles is the literal that receives from described portable terminal, and described non-legible content comprises label and the memory address of non-legible content in memory cell that identifies non-legible content type.
In the implementation method of a kind of mobile phone blog of the present invention, described step (a1) further comprises before: activate described blog editing machine in wireless browser.
In the implementation method of a kind of mobile phone blog of the present invention, described non-legible content comprises picture file, audio file or video file.
In the implementation method of a kind of mobile phone blog of the present invention, in the described step (a), usage log is uploaded interface transmission literal, uses file to upload interface transmission picture, Voice ﹠ Video file.
In the implementation method of a kind of mobile phone blog of the present invention, described step (a) further comprises:
(a2) described literal and non-legible content are encoded to the transmission data respectively;
(a3) use a plurality of transmission interfaces to send the transmission data of corresponding encoded respectively.
The realization system and method for a kind of mobile phone blog of the present invention, by creating blog articles at background server, make the user can be on portable terminal with mode editor more intuitively with upload the mobile phone blog article, thereby made things convenient for the editor of mobile phone blog and uploaded.
Embodiment
As shown in Figure 1, be the schematic diagram of the realization system embodiment of a kind of mobile phone blog of the present invention.This system comprises portable terminal 10 and background server 20, wherein portable terminal 10 comprises mobile phone, PDA(Personal Digital Assistant) or similar device, it carries out data interaction by wireless networks such as GSM, CDMA, GPRS, WiMax and background server 20, obtains the data in the background server 20.
In the present embodiment, portable terminal 10 uses WAP transmit-receive mobile phone blog data, thereby realizes uploading and downloading of mobile phone blog article.This portable terminal 10 comprises transmittingelement 11, and this transmittingelement 11 uses the corresponding interface of portable terminal 10 simultaneously the literal and the non-legible content of input to be sent to described background server 20 respectively.The interim blog articles data that this transmittingelement 11 uses the interface transmission editor of existing portable terminal 10 to finish arrive background server 20, for example usage log is uploaded interface transmission literal, uses file to upload media files such as interface transmission picture, Voice ﹠ Video.When transmittingelement 11 sends above-mentioned literal and non-legible content, send the format information of literal and non-legible content simultaneously.
Background server 20 is used to provide mobile phone blog space and blog articles maintenance module etc., realizes the storage and the maintenance of mobile phone blog.Similar with existing mobile phone blog space and blog articles maintenance module, mobile phone blog space in the present embodiment is used for the memory mobile phone blog articles, the blog articles maintenance module is used to receive the blog articles (or modification of blog articles) from portable terminal 10, and stores the blog articles of above-mentioned reception into corresponding mobile phone blog space.By portable terminal 10, can download and browse the blog articles in the mobile phone blog space of background server 20.In the present embodiment, background server 20 also comprises memory cell 21 and creating unit 22.
Memory cell 21 is used to store the non-legible content from portable terminal 10, for example picture file, video file, audio file etc.In same piece of writing blog articles, can comprise one or more non-legible contents, these non-legible abundant in content forms of expression of blog articles.Memory cell 21 is sent to creating unit 22 with the memory address of these non-legible contents and the stored informations such as classification of non-legible content after the above-mentioned non-legible content of storage.
Creating unit 22 is used to create the blog articles that comprises literal and non-legible content.Wherein the literal in the blog articles is the literal that receives from portable terminal 10, and non-legible content is the memory address of non-legible content memory cell 21 that receives from portable terminal 10.When specific implementation, creating unit 22 is according to the classification of the non-legible content of information Recognition of the non-legible content of memory cell 21 storages, and will identify the label of non-legible content type and the memory address of non-legible content is inserted in the word content according to the format information of literal and non-legible content, promptly the literal in blog articles keeps, and non-legible content uses the memory address of tape label to replace.Generate the blog articles script after above-mentioned compilation unit through the blog articles process background server 20 that creating unit 22 generates is resolved and compiled, store the blog space into.Comprise various labels in the blog articles script, be respectively applied for the different content that indicates in the blog articles, for example the label of mark or character, picture, video, audio frequency etc. etc.Like this, portable terminal 10 or other terminal can be passed through browser downloads and parses blog article script, thereby show the above-mentioned blog articles that comprises literal and non-legible content.
In another embodiment of the present invention, portable terminal 10 also comprises edit cell except comprising transmitting element 11.This edit cell is used for receiving by graphic user interface the literal or the non-legible content of input.The literal in the graphic user interface of this edit cell and the format of non-legible content are identical with the format of final blog articles, thereby make things convenient for the user to edit blog articles.After the edit cell editor finished, transmitting element used distinct interface that literal and non-legible content are sent to background server 20 respectively according to the content of blog articles.
As shown in Figure 2, be the detailed block diagram of transmittingelement 11 among Fig. 1.This transmittingelement 11 comprisescoding unit 112 and a plurality oftransmission interface 113.
Coding unit 112 is used for the word content of blog articles and non-legible content encoding are the transmission data.In cataloged procedure, 112 pairs of word contents of coding unit adopt the coding that meets different transmission interface requirements with non-legible content, to adapt to each transmission interface 113.For example literal adopts the HTTPapplication/x-www-form-urlencoded standard, presses the UTF-8 coding, and media files such as picture, audio frequency and video then use the HTTP file to upload coding.Simultaneously, the format positional information in blog articles is encoded in the transmissiondata coding unit 112 with word content and non-legible content, thereby creating unit 22 can be created blog articles in view of the above.
As shown in Figure 3, in the second embodiment of the present invention, this system comprisesportable terminal 30 and thebackground server 40 that is connected withportable terminal 30 by wireless network.
In the present embodiment,portable terminal 30 comprisesblog editing machine 31,wireless browser 36, transmittingelement 34 and theunit 34 of taking pictures/record,file browser 35 andexpression storehouse 32.
Blog editing machine 31 use one independently software realize, be used for the interim blog articles that mode editor with What You See Is What You Get comprises non-legible contents such as literal and picture, audio frequency, video.Wireless browser 36 is used for downloading and browsing the blog articles of background server 40.File manager 35 is used for the All Files of the memory device (not shown) of managingmobile terminal 30, comprises picture, audio frequency, video file etc.Theunit 34 of taking pictures/record is used to use camera/microphone photographic images/recorded voice, generates picture file or audio/video file.Expression storehouse 33 is used for storage and management expression picture.Transmittingelement 34 is used for the interim blog articles thatblog editing machine 31 editors finish is sent tobackground server 40.
Similar with first embodiment,background server 40 comprises theblog space 43 of thefile 41 that is used to store non-legible content, the creatingunit 42 of creating blog articles and storage blog articles script.
Wireless browser 36 by clicking blog editing options (for example " writing daily record " among Fig. 4), activatesblog editing machine 31 when downloading and browsing blog articles, open the blog editing interface, carries out interim blog articles editor, as shown in Figure 5.Blog editing machine 31 is by the word content in 311 inputs of copy editor unit, adjustment (for example adjusting font, composing etc.) blog articles, and the size of inserting non-legible files such as pictures, audio frequency, video (this non-legible file can obtain byfile manager 35, the unit obtains from taking pictures/record or directly obtain) and adjust above-mentioned non-legible file from the memory cell of portable terminal bynon-legible edit cell 312 from the storehouse of expressing one's feelings, display position etc.Above-mentionedcopy editor unit 311 and non-legibleedit cell 312 are shown in the literal and the non-legible content of editing in the blog editor interface, as shown in Figure 6 when the interim blog articles of editor.Especially,blog editing machine 31 can be preserved the interim blog articles (for example by " preservation rough draft " action-item among Fig. 6) that editor not finishes, thereby continues editor afterwards.
After interim blog articles editor finishes, generate the format information by theformat edit cell 313 ofblog editing machine 31, and content in the interim blog articles and format information are sent tobackground server 40 by different port by transmitting element 34.After sending successfully, by the interface display transmission success message ofwireless browser 36;Wireless browser 36 jumps to throughbackground server 40 establishments and finishes the blog articles that storesblog space 43 into then, as shown in Figure 7.
Background server 40 passes through the non-legible content ofmemory cell 41 storages fromportable terminal 30, and the memory address of these non-legible contents is sent to creating unit 42.Creating unit 22 is according to the classification of the non-legible content of information Recognition of the non-legible content ofmemory cell 41 storages, and will identify the label of non-legible content type and the memory address of non-legible content is inserted in the word content according to the format information of literal and non-legible content, form blog articles.Above-mentioned blog articles generates the blog articles script after the compilation unit compiling ofbackground server 40, and stores blogspace 43 into.
As shown in Figure 8, be the flow chart of implementation method first embodiment of a kind of mobile phone blog of the present invention.This method may further comprise the steps:
Step S81: portable terminal uses the corresponding interface to send to background server respectively the literal and the non-legible content of input simultaneously.Can comprise one or more non-legible contents in same piece of writing blog articles, above-mentioned non-legible content comprises picture file, audio file or video file, these non-legible abundant in content forms of expression of blog articles.In the present embodiment, portable terminal 10 uses WAP transmit-receive mobile phone blog data, thereby realizes uploading and downloading of mobile phone blog article.
In this step, use the interface of existing portable terminal to send blog articles data that editor finishes to background server, for example usage log is uploaded interface transmission literal, uses file to upload media files such as interface transmission picture, Voice ﹠ Video.When sending above-mentioned literal and non-legible content, also send the layout format information of literal and non-legible content simultaneously.
When specific implementation, this step further comprises: described literal and non-legible content are encoded to the transmission data respectively, wherein literal and the non-legible content format positional information in blog articles is encoded into and sends in the data, thereby can create blog articles in view of the above; Use a plurality of transmission interfaces to send the transmission data of corresponding encoded respectively.
Step S82: the background server storage is from the non-legible content of portable terminal, for example picture file, video file, audio file etc.After the above-mentioned non-legible content of storage, write down the memory address of these non-legible contents.
Step S83: create the blog articles that comprises literal and non-legible content, literal in this blog articles is the literal that receives from portable terminal, and non-legible content comprises the label that identifies non-legible content type and the memory address of file in background server of non-legible content.The blog articles of above-mentioned generation is resolved through the compilation unit of background server 20 and the compiling back generates the blog articles script, stores the blog space into.Comprise various labels in the blog articles script, be respectively applied for the different content that indicates in the blog articles, for example the label of mark or character, picture, video, audio frequency etc. etc.Like this, portable terminal 10 or other terminal can be passed through browser downloads and parses blog article script, thereby show the above-mentioned blog articles that comprises literal and non-legible content.
As shown in Figure 9, be the flow chart of implementation method second embodiment of a kind of mobile phone blog of the present invention.This method specifically comprises:
Step S91: use wireless browser to activate the blog editing machine;
Step S92: use blog editing machine editor to comprise the interim blog articles of literal and non-legible content;
Step S93: the interim blog articles of finishing according to editor generates format information, and uses the corresponding interface to send to background server respectively above-mentioned blog articles and format information;
Step S94: the background server storage is from the non-legible content of portable terminal, for example picture file, video file, audio file etc.After the above-mentioned non-legible content of storage, write down the memory address of these non-legible contents.
Step S95: background server is created the blog articles that comprises literal and non-legible content, literal in this blog articles is the literal that receives from portable terminal, and non-legible content comprises label and the memory address of non-legible content file in background server that identifies non-legible content type.
Step S96: background server is compiled as above-mentioned blog articles the blog articles script and stores the blog space into.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.