CN103780709B - A kind of method and system that wechat or easy letter information are fast edited and issued - Google Patents

A kind of method and system that wechat or easy letter information are fast edited and issued Download PDF

Info

Publication number
CN103780709B
CN103780709B CN201410067409.5A CN201410067409A CN103780709B CN 103780709 B CN103780709 B CN 103780709B CN 201410067409 A CN201410067409 A CN 201410067409A CN 103780709 B CN103780709 B CN 103780709B
Authority
CN
China
Prior art keywords
file
name server
wechat
blog
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410067409.5A
Other languages
Chinese (zh)
Other versions
CN103780709A (en
Inventor
潘晓忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING HUAXIA HANKE TECHNOLOGY Co Ltd
Original Assignee
BEIJING HUAXIA HANKE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING HUAXIA HANKE TECHNOLOGY Co Ltd filed Critical BEIJING HUAXIA HANKE TECHNOLOGY Co Ltd
Priority to CN201410067409.5A priority Critical patent/CN103780709B/en
Publication of CN103780709A publication Critical patent/CN103780709A/en
Application granted granted Critical
Publication of CN103780709B publication Critical patent/CN103780709B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of method and system that wechat or easy letter information are fast edited and issued.The present invention is at private name server end, the article that the transmission of Word editing machines is received and parsed through using blog protocol interface issues request, and the issue in the way of wechat or easy letter information keeping form constant the article edited out with word editing machines, picture, media file is on public platform.Present invention greatly reduces wechat or the tedious steps in credulity information editing work, the work efficiency of information editing is greatly improved not only, and the work that must be completed by professional originally, even one common copy editor personnel also easily can be competent at now, this allows enterprise personnel more energy can be absorbed in service propaganda and customer communication, so as to not only reducing the human cost of enterprise but also bringing great convenience with work development to enterprise network publicity.

Description

A kind of method and system that wechat or easy letter information are fast edited and issued
Technical field
The present invention relates to the communications field, more particularly to a kind of side that wechat or easy letter information are fast edited and issued Method and system.
Background technology
2011, Tencent was proposed a brand-new immediate communication platform based on mobile Internet -- and wechat is put down Platform, the platform have obtained the approval and use of users.Current wechat customer volume has broken through 600,000,000, and increasing people adds The ranks of wechat user.Wechat public's account platform is the function that 2012 Nian8Yue Tencents are increased newly on the basis of wechat Module, by this platform, individuals and organizations can make the public number of a wechat, be realized by this number and special group Word, picture, the comprehensive communication of voice, interaction.After wechat public platform is released, increasing enterprise has opened micro- Letter public's account, for promoting, publicizing and set up close customer relationship.Wherein, one of most important method of promotional It is that the Edition Containses such as Introduction of enterprises, product introduction, domain knowledge, current events dynamic are issued into wechat picture and text.Wechat picture and text After issue, client can click on menu and check picture and text, so as to reach the marketing purpose of enterprise.
With the success of wechat, credulity has also issued the platform similar with wechat, and the api interface of its public's account is with wechat Substantially compatible, client's using method is also basically identical with wechat.Therefore the video text editing and dissemination method of the present invention can be simultaneously Suitable for wechat platform and credulity platform, subsequent descriptions will be using " micro-(Easily)Letter " mode represents that wechat platform and credulity platform are flat Platform is using technical scheme.
At present, issue micro-(Easily)Letter picture and text are comprised the following steps:
(1)First corresponding article is finished writing with editing machines such as word, the article only limits word;
(2)The figure being ready in picture and text, and save as graphic file;
(3)Webpage is opened with browser:https://mp.weixin.qq.com/;
(4)Click on " material management ";
(5)Input header, author and text, body text are come by the word text copies of pre-edit;
(6)The picture required for front cover picture and text is imported from local file, and image link is inserted in text Between appropriate location;
(7)" material " is preserved and is put in storage by preservation for click;
(8)By " mass-sending " page using picture and text message cluster transmition or by edit menu choose correspondence picture and text as response.
Also there is Some Enterprises public's account platform, the picture and text based on edit control have been made in the web site of oneself and has been compiled Collect device.But this is slightly(Easily)Letter video text editing and dissemination method, are required to carry out format analysis processing, picture importing process, and Operating procedure repeats, editing process is not directly perceived, or even can take a lot of time the duplication of labour, therefore work efficiency is extremely low.Specifically ask It is entitled:
a)Operating procedure is more;Picture and text are issued every time, are required for through above-mentioned steps.
b)Editing process is not directly perceived;Picture and text documents editing is complete, only can just see final effect after distribution.
c)Most people editor document all uses Word editing machines, but word to be copied in a subtle way from Word(Easily)The letter page When, there is the phenomenons such as form loss, result in the need for rearranging form.
d)Due to not being What You See Is What You Get, the probability malfunctioned during picture and text is edited of a relatively high.
e)After picture and text are saved, next time edits again, cannot see the attributes such as the filename of picture in editing machine, and not Determine the content of this picture and text, cause to be likely to require and update comprehensively.
Accordingly, it would be desirable to a kind of new technical method, can be with easy, quick, wysiwyg to micro-(Easily)Letter picture and text are carried out Editor and issue.The present inventor is through to micro-(Easily)Letter picture and text are found after carrying out detailed technical analysis, micro-(Easily)Letter picture and text essence Upper is exactly the text with html tag, and for general html document, Word has had been provided with editting function, enterprise Copy writer can carry out article editor with common html document, blog articles both of which.And the support of blog articles pattern will Word is directly connected to server, is editted after the article delivered using Word editing machines, clicks directly on and deliver, so that it may will be pending The article of table is shown to blog page, and format sentence is consistent with the form seen in word editing machines.The present invention is based on The blog articles pattern of word editing machines, it is micro- by the interfacing for being originally used for blog back-stage management is applied to(Easily)Letter is public Among many account platforms, so as to got through Word with it is micro-(Easily)Issue passage between letter picture and text, realizes to micro-(Easily)Letter picture and text Carry out simplicity, the editor on quick, wysiwyg ground and issue.
The content of the invention
The technical problem to be solved is to provide a kind of fast edited and is issued to wechat or easy letter information Method and system, solve in prior art, wechat or credulity article editor and issuing process are loaded down with trivial details, directly perceived, need weight Multiple work and ineffective technical problem.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:It is a kind of that wechat or easy letter information are fast edited Method with issuing, comprises the following steps:
(1)Private name server is provided, and blog protocol interface, the private name server is configured at the private name server end Communicated by the word editing machines in operation terminal of the blog protocol interface with information publisher;
(2)Log in wechat or credulity public platform, the development mode under public's account, by the step(1) The URL addresses of middle private name server are linked into the wechat or credulity public platform, realize that the private name server is micro- with described The communication of letter or credulity public platform server;
(3)Into the blog articles pattern of the word editing machines, newly-built account simultaneously arranges account attribute;The account category Property includes URL addresses, username and password;The URL addresses are the step(1)Blog protocol interface on middle private name server Address;The username and password is the step(1)The login name and password of middle private name server;
(4)Newly-built and edit blog articles in word editing machines, the content of the blog articles is to be released to micro- The information of letter or credulity public platform server;After the completion of editor, the word editing machines send to the private name server and send out Cloth is asked, and the private name server verifies username and password by calling the blog protocol interface, if the result is correct, Step is entered then(5);If the result is incorrect, return to step(3);
(5)The private name server receives the blog articles that the word editing machines send, and by the blog agreement The blog articles are resolved to interface the text file of html format;The private name server preserves the text file, and Generate the URL paths for the text file for accessing;
(6)The URL paths of the text file and text file are sent to the wechat or easy by the private name server The text file is distributed to wechat or easy by the server of the server of letter public platform, the wechat or credulity public platform The client of letter.
Further, the private name server is application server or web server;The blog protocol interface is Windows Live Spaces interfaces, Blogger interfaces, SharePoint interfaces, community server interface, TypePad connect Any one of mouth, WordPress interfaces, Atom interfaces or MetaWebLog interfaces.
Further, the step(5)Specially:
Whether word editing machines described in S501 judge the blog articles comprising media file, if comprising media file, The word editing machines send upload request to the private name server, and the media file in the blog articles is sent to institute Private name server is stated, the media file is stored in the private name server file system of the private name server, and will The URL paths of the media file for generating return to Word editing machines;The word editing machines are by the media for receiving In the URL paths insertion blog articles of file, the correspondence position of each media file, forms comprising the media file URL paths Blog articles;The media file includes picture file, audio file and/or video file;
The blog articles are sent to the private name server, the blog protocol interface by word editing machines described in S502 The text and label of the blog articles are parsed, the text file of html format is generated, and the text file is protected There is the data base of the private name server, while generating the URL paths for the text file for accessing;The text file is included There are the URL paths of the media file.
Further, the step(6)Specially:The private name server is by the text file and the URL of text file Path is sent to the server of the server of the wechat or credulity public platform, the wechat or credulity public platform will be described The client that the URL paths of text file are sent to the client of wechat or credulity, the wechat or credulity is described by accessing The URL paths of text file obtain the text file, and are obtained simultaneously by the URL paths of media file in the text file Show the media file.
Further, the MetaWebLog interfaces are included with minor function:
For the metaWeblog.newPost functions of newly-built article;
For editing the metaWeblog.editPost functions of article;
For obtaining the metaWeblog.getCategories functions of article category;
For obtaining the metaWeblog.getPost functions of article list;
For obtaining the metaWeblog.getRecentPosts functions for issuing article recently;
For the metaWeblog.newMediaObject functions of upload media file.
Further, step S501 is specially:
(1)Media file in blog articles is converted to byte arrays by the word editing machines, using base64 to institute State byte arrays to be encrypted, and upload request is sent to the private name server;
(2)After the private name server receives the upload request, by searching HttpServletRequest objects Obtain the byte arrays of the encryption;
(3)The private name server calls the metaWeblog.newMediaObject letters of the MetaWebLog interfaces Number, and the byte arrays of the encryption are decrypted in base64 methods, the byte arrays after decryption generate corresponding Media file, and the media file is saved in the file system of the private name server, generate the URL roads of media file Footpath, and the URL paths of the media file are returned to by Word editing machines by HttpServletResponse;
(4)Each matchmaker in blog articles is inserted in the URL paths of the media file for receiving by the word editing machines The correspondence position of body file, forms the blog articles comprising the media file URL paths.
Further, step S502 is specially:
(1)The text and html tag of the blog articles are converted to the word editing machines request stream of XML format, And issue request is sent to the private name server;
(2)After the private name server receives the issue request, by searching HttpServletRequest objects The request stream is obtained, and the request circulation is turned to into XML format file;
(3)The private name server calls the metaWeblog.newPost functions of the MetaWebLog interfaces, passes through XML parser generates the text file of html format to the XML format document analysis, and the text file is stored in institute The data base of private name server is stated, while generating the URL paths for the text file for accessing.
Further, when blog articles are edited, one or more class labels can be inserted in blog articles.Now, Need when being parsed to the blog articles by the blog protocol interface, in addition it is also necessary to parse the class label, have Body is comprised the following steps:
(1)After the private name server receives the insertion class label request that the word editing machines send, one is created The individual character type array for preserving blog classification;
(2)The private name server will generate unique string with the related menu of article to be released, order, be added to In the character type array;
(3)The private name server builds XML file to the character type array, and passes through The XML file is returned to Word editing machines by HttpServletResponse;
(4)The XML file is parsed inside word editing machines, and the class label is presented in blog articles.
A kind of system that wechat or easy letter information are fast edited and issued, including wechat or credulity public platform, Private name server and word editing machines, the word editing machines are arranged in the operation terminal of information publisher, for newly-built and The account attribute of editor's blog articles and the setting blog articles, and the blog articles are sent to into the private services Device;
The private name server end includes blog protocol interface and data base, and the blog protocol interface is used to verify described The account of blog articles, and communicated with the word editing machines, the blog articles to receiving carry out parsing generation The text file of html format, and the text file is stored in the data base of the private name server, generate for access The URL paths of the text file;And the URL paths of the text file and text file are sent to into the wechat or easy Letter public platform;
The wechat or credulity public platform are provided with server, the wechat or credulity public platform server for institute State private name server to be communicated, receive and preserve the URL paths of the text file and text file, and the text is literary Part is issued to the client of wechat or credulity.
After technological means using the present invention, following effect can be reached:
a)User can write micro- using Word(Easily)Message chapter;
b)User can directly deliver picture and text by Word;
c)The article looks that user is seen in Word, it is basically identical with the actual picture and text issued(What You See Is What You Get);
d)User can preserve the picture and text for editting with Word, open this document i.e. editable, greatly during modification next time Improve micro-(Easily)The work efficiency of letter video text editing person.
Description of the drawings
Fig. 1 is the flow chart of quick editor of the invention and dissemination method;
Fig. 2 is the structural representation of quick editor of the invention and delivery system.
Specific embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, example is served only for explaining the present invention, and It is non-for limiting the scope of the present invention.
The present embodiment specifically describes the method fast edited to wechat picture and text and issued, actually by taking wechat as an example The media files such as video, audio frequency fast can also be edited and issued using same method.Because credulity and wechat Public platform is similar to, and both api interfaces of public's account are substantially compatible, and client's using method is also basically identical, therefore the present invention Technical scheme can also use on credulity public platform, with wechat platform, the present invention does not do in detail detailed process It is thin to explain.
Wechat public platform is the functional module that Tencent is increased newly on the basis of wechat, by this platform, personal The public number of a wechat can be made with enterprise, word, picture, the content of three classifications of voice can be mass-sended.It is micro- at present Letter public platform supports that PC, mobile Internet webpage are logged in, it is possible to which the private account number of binding carries out sending bulk message.Wechat is public simultaneously Many platforms additionally provide development mode, by each interface under development mode, it is possible to achieve client and oneself open in wechat The communication of the system of sending out, such as feeds back graph text information etc. by general-purpose interface.
Through carrying out finding after detailed technical analysis to wechat picture and text, wechat picture and text are substantially the texts with html tag This, and for general HTML, Word has had been provided with editting function, such as with common html document, blog articles two The method of kind can be carried out the editor of html format document.Wherein under blog articles pattern, if blog place website is provided Word, by being configured to word, directly can also be connected with the server of bog site, be passed through after writing by blog interface Word is directly delivered.
The present embodiment provides a private name server being connected with the communication interface of the wechat public platform, and passes through MetaWebLog interfaces are set at the private name server end, blog issue request and html text from Word is parsed, with The article content edited out with word, picture format are delivered and are stored on public platform by the mode of wechat picture and text, so as to beat The issue passage led between Word and wechat picture and text.Flow charts of the Fig. 1 for the present embodiment, as shown in figure 1, a kind of to wechat figure The method that text is fast edited and issued, comprises the following steps:
S101 provides private name server, and configures MetaWebLog interfaces, the private clothes at the private name server end Word editing machines in business operation terminal of the device by the MetaWebLog interfaces with information publisher are communicated;This enforcement The private name server of example is application server, and in other embodiments, the private name server can be web server.
In the present embodiment, blog protocol interface have selected MetaWebLog interfaces, in other embodiments, the blog association View interface be Windows Live Spaces interfaces, Blogger interfaces, SharePoint interfaces, community server interface, Any one of TypePad interfaces, WordPress interfaces, Atom interfaces or MetaWebLog interfaces.
MetaWeblog interfaces are a set of DLLs based on XML-RPC communication protocols, be such as Wordpress so Blog applications program external interface international norm standard, by MetaWeblog interfaces, Blog applications externally can be announced The service that Blog is provided, so as to the program for allowing outside can obtain and arrange the text or attribute of Blog articles.It is most of at present Popular Blog programs and instrument all supports MetaWeblog interfaces, the word2007 editing machines that such as Microsoft provides.
MetaWebLog interfaces are mainly included with minor function:
MetaWeblog.newPost for newly-built article (blogid, username, password, struct, Publish) function;
For editing the metaWeblog.editPost of article(postid,username,password,struct, publish)Function;
For obtaining metaWeblog.getPost (postid, username, the password) function of article list;
For obtaining the metaWeblog.getCategories (blogid, username, password) of article category Function;
For obtain the metaWeblog.getRecentPosts for issuing recently article (blogid, username, Password, numberOfPosts) function;
MetaWeblog.newMediaObject for upload media file (blogid, username, password, Struct) function.
Wherein blogid, username, password represent the id of Blog, username and password respectively.
MetaWebLog interfaces are by calling with superior function, obtaining or arranging the word and category of Blog articles Property, so as to realize that the blog articles for editting word are directly issued on bog site, it is also possible to pass through MetaWeblog.editPost or metaWeblog.getRecentPosts modifies to the blog articles for having write.
S102 logs in wechat public's account, and the development mode under public's account will be private in step S101 The URL addresses of people's server are linked into the wechat public platform, realize the private name server with the wechat public platform The communication of server, so as to word editing machines can will be the blog articles of the html format for editting direct by private name server It is published to wechat public platform.
S103 enters the blog articles pattern of word editing machines, and newly-built account simultaneously arranges account attribute;The account attribute Including URL addresses, username and password;The URL addresses are blog protocol interface on private name server in step S101 Address;The username and password is the login name and password of private name server in step S101.
S104 is newly-built in word editing machines and edits blog articles, and the content of the blog articles is to be released to micro- The information of letter public platform server;After the completion of editor, the word editing machines send to the private name server and issue request, The private name server verifies username and password by calling the blog protocol interface, if the result is correct, enters Step S105;If the result is incorrect, return to step S103 re-establishes account or modification username and password;This reality Apply in example, user name is obtained by getUsersBlogs methods in MetaWebLog interfaces and password is tested.
Whether word editing machines described in S105 judge the blog articles comprising media file, if comprising media file, Into step S106;Step S107 is directly entered if not comprising media file.In the present embodiment, media file is mainly comprising figure Piece file, in other embodiments, the media file can also include audio frequency, video file;The media file is in S106 In need first to upload to private name server, obtain URL addresses, URL addresses returned to into word editing machines, word editing machines then After inserting it into corresponding position, then issued, be specifically shown in S106.
Word editing machines described in S106 send upload request to the private name server, by the media in the blog articles File is sent to the private name server, and the media file is stored in file system by the private name server, and will be generated The URL paths of the media file return to Word editing machines;The word editing machines are by the media file for receiving URL paths insertion blog articles in each media file correspondence position, subsequently into step S107.
The blog articles are sent to the private name server, the blog protocol interface by word editing machines described in S107 The text and label of the blog articles are parsed, the text file of html format is generated, and the text file is protected There is the data base of the private name server, while generating the URL paths for the text file for accessing;The text file is included There are the URL paths of the media file.
The URL paths of the text file and text file are sent to the wechat or easy by private name server described in S108 The URL paths of the text file are sent by the server of the server of letter public platform, the wechat or credulity public platform Obtained by accessing the URL paths of the text file to the client of wechat or the client of credulity, the wechat or credulity And the text file is shown, and the URL paths by media file in the text file obtain and show the media text Part.
Following steps are the resolving of media file in S106:
Media file in blog articles is converted to byte arrays by the word editing machines, using base64 to the word Joint number group is encrypted, and sends upload request to the private name server;
After the private name server receives the upload request, obtained by searching HttpServletRequest objects The byte arrays of the encryption;
The metaWeblog.newMediaObject functions of MetaWebLog interfaces described in the server calls with Base64 methods are decrypted to the byte arrays of the encryption, and the byte arrays after decryption generate corresponding media text Part, and the media file is saved in the file system of the private name server, the URL paths of media file are generated, and is led to Cross HttpServletResponse and the URL paths of the media file are returned to into Word editing machines;
The word editing machines will be each media in the URL paths insertion blog articles of the media file for receiving literary The correspondence position of part.
It is below the text and tag resolution process of blog articles:
The text file of blog articles and html tag file are converted to the word editing machines request of XML format Stream, and issue request is sent to the private name server;
After the private name server receives the issue request, obtained by searching HttpServletRequest objects The request stream, and the request circulation is turned to into XML format file;
The private name server calls the metaWeblog.newPost functions of the MetaWebLog interfaces, by XML Resolver generates the text file of html format to the XML format document analysis, and the text file is stored in described The data base of private name server, while generating the URL paths for the text file for accessing.
In other embodiments, when step S104 edits blog articles, one or more class labels are may be inserted into, MetaWeblog interfaces need to parse the class label, by the blog articles and corresponding menu or order Associated, specific class label resolving is as follows:
After the private name server receives the insertion class label request that the word editing machines send, a use is created In the character type array for preserving blog classification;
The private name server will generate a unique string with picture and text article related menu to be released, order, plus Enter in the character type array;
The private name server builds XML file to the character type array in above-mentioned steps, and passes through The XML file is returned to Word editing machines by HttpServletResponse;
The XML file is parsed inside word editing machines, and the class label is presented in blog articles.
As shown in Fig. 2 for a kind of structural representation of the system fast edited to wechat information and issued of the present invention, Including word editing machines 01, private name server 02 and wechat public platform 05,
The word editing machines 01 are arranged in the operation terminal of information publisher, for it is newly-built and editor blog articles with And the account attribute of the setting blog articles, and the blog articles are sent to into the private name server;The word is compiled Collect device and also include judge module, for judging whether comprising media files such as picture, audio frequency, videos in the blog articles, if Comprising media file, then notify that the word editing machines send upload request to the private name server, by the blog articles In media file be sent to the private name server, and receive the URL of the media file that the private name server is generated In path insertion blog articles, the correspondence position of each media file, forms the text of the blog comprising the media file URL paths Chapter;
The private name server end 02 includes blog protocol interface 03 and data base 04, and the blog protocol interface 03 is used for The account of the blog articles is verified, and is communicated with the word editing machines, the blog articles to receiving are carried out The text file of parsing generation html format, and the text file is stored in the data base 04 of the private name server, it is raw Into the URL paths of the text file for supplying to access;And the URL paths of the text file and text file are sent to into institute State wechat public platform 05;When media file is included in the blog articles, the private name server also includes file system, The file system is used to store the media file that the word editing machines send, and file system preserves the media file Afterwards, the private name server generates the URL addresses of the media file, and the URL addresses are sent to the word edit Device;
The wechat public platform 05 is provided with server 06, the wechat public platform server 06 for the individual Server 02 is communicated, and is received and is preserved the URL paths of the text file and text file, and the text file is sent out Client 07 of the cloth to wechat.
When other embodiments are fast edited and issued to easy letter information, it is public that the wechat public platform replaces with credulity Many platforms, the credulity public platform server are communicated with the private name server, receive and preserve the text file With the URL paths of text file, and the text file is distributed to the client of credulity.
Present invention greatly reduces micro-(Easily)Tedious steps in letter video text editing work, not only greatly improve figure The work efficiency of text editor, and the work that must be completed by professional originally, now even one common word compile The personnel of collecting also easily can be competent at, and this allows enterprise personnel more energy can be absorbed in service propaganda and customer communication, so as to both The human cost for reducing enterprise brings great convenience with work development to enterprise network publicity again.
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (10)

1. a kind of method that wechat or easy letter information are fast edited and issued, comprises the following steps:
(1) private name server being provided, and blog protocol interface being configured at the private name server end, the private name server passes through The blog protocol interface is communicated with the word editing machines in the operation terminal of information publisher;
(2) wechat or credulity public platform, the development mode under public's account, by private clothes in the step (1) are logged in The URL addresses of business device are linked into the wechat or credulity public platform, realize the private name server with the wechat or credulity The communication of public platform server;
(3) into the blog articles pattern of the word editing machines, newly-built account simultaneously arranges account attribute;The account attribute bag Include in step (1) address of blog protocol interface, username and password on private name server;The username and password is described The login name and password of private name server in step (1);
(4) it is newly-built in word editing machines and edit blog articles, the content of the blog articles be it is to be released to wechat or The information of credulity public platform server;After the completion of editor, the word editing machines send to issue to the private name server and ask Ask, the private name server verifies username and password by calling the blog protocol interface, if the result is correct, enters Enter step (5);If the result is incorrect, return to step (3);
(5) private name server receives the blog articles that the word editing machines send, and by the blog protocol interface The blog articles are resolved to into the text file of html format;The private name server preserves the text file, and generates The URL paths of the text file for accessing;
(6) the URL paths of the text file and text file are sent to the wechat by the private name server or credulity is public The text file is distributed to wechat or credulity by the server of the server of many platforms, the wechat or credulity public platform Client.
2. method according to claim 1, it is characterised in that:The private name server is application server or web services Device;The blog protocol interface is Windows Live Spaces interfaces, Blogger interfaces, SharePoint interfaces, community Any one of server interface, TypePad interfaces, WordPress interfaces, Atom interfaces or MetaWebLog interfaces.
3. method according to claim 1 and 2, it is characterised in that:The step (5) is specially:
Whether word editing machines described in S501 judge the blog articles comprising media file, if comprising media file, it is described Word editing machines send upload request to the private name server, and the media file in the blog articles is sent to the private The media file is stored in the file system of the private name server for people's server, the private name server, and will be generated The URL paths of the media file return to Word editing machines;The word editing machines are by the media file for receiving URL paths insertion blog articles in each media file correspondence position, form rich comprising the media file URL paths Objective article;The media file includes picture file, audio file and/or video file;
The blog articles are sent to the private name server by word editing machines described in S502, and the blog protocol interface is to institute The text and label for stating blog articles is parsed, and generates the text file of html format, and the text file is stored in The data base of the private name server, while generating the URL paths for the text file for accessing;The text file is comprising State the URL paths of media file.
4. method according to claim 3, it is characterised in that:The step (6) is specially:The private name server is by institute The URL paths for stating text file and text file are sent to the server of the wechat or credulity public platform, the wechat or The URL paths of the text file are sent to the server of credulity public platform the client of wechat or credulity, the wechat Or the client of credulity obtains the text file by accessing the URL paths of the text file, and by text text In part, the URL paths of media file obtain and show the media file.
5. method according to claim 4, it is characterised in that:The blog protocol interface is MetaWebLog interfaces;Institute Stating MetaWebLog interfaces is included with minor function:
For the metaWeblog.newPost functions of newly-built article;
For editing the metaWeblog.editPost functions of article;
For obtaining the metaWeblog.getCategories functions of article category;
For obtaining the metaWeblog.getPost functions of article list;
For obtaining the metaWeblog.getRecentPosts functions for issuing article recently;
For the metaWeblog.newMediaObject functions of upload media file.
6. method according to claim 5, it is characterised in that:Step S501 is specially:
(1) media file in blog articles is converted to byte arrays by the word editing machines, using base64 to the word Joint number group is encrypted, and sends upload request to the private name server;
(2), after the private name server receives the upload request, obtained by searching HttpServletRequest objects The byte arrays of the encryption;
(3) private name server calls the metaWeblog.newMediaObject functions of the MetaWebLog interfaces, and The byte arrays of the encryption are decrypted in base64 methods, the byte arrays after decryption generate corresponding media text Part, and the media file is saved in the file system of the private name server, the URL paths of media file are generated, and is led to Cross HttpServletResponse and the URL paths of the media file are returned to into Word editing machines;
(4) the word editing machines will be each media in the URL paths insertion blog articles of the media file for receiving literary The correspondence position of part, forms the blog articles comprising the media file URL paths.
7. method according to claim 5, it is characterised in that:Step S502 is specially:
(1) text and html tag of the blog articles be converted to the word editing machines request stream of XML format, and to The private name server sends issues request;
(2), after the private name server receives the issue request, obtained by searching HttpServletRequest objects The request stream, and the request circulation is turned to into XML format file;
(3) private name server calls the metaWeblog.newPost functions of the MetaWebLog interfaces, is solved by XML Parser generates the text file of html format to the XML format document analysis, and the text file is stored in the private The data base of people's server, while generating the URL paths for the text file for accessing.
8. method according to claim 5, it is characterised in that:Also include in the step (4):In editor's blog articles When, one or more class labels are inserted in blog articles.
9. method according to claim 8, it is characterised in that:Step S502 also includes carrying out the class label The step of parsing, specially:
(1), after the private name server receives the insertion class label request that the word editing machines send, create a use In the character type array for preserving blog classification;
(2) private name server will generate unique string with the related menu of article to be released, order, be added to described In character type array;
(3) private name server builds XML file to the character type array, and will by HttpServletResponse The XML file returns to Word editing machines;
(4) XML file is parsed inside word editing machines, and the class label is presented in blog articles.
10. a kind of system that wechat or easy letter information are fast edited and issued, it is characterised in that:Including wechat or credulity Public platform, private name server and word editing machines, the word editing machines are arranged in the operation terminal of information publisher, are used In newly-built and editor's blog articles and the account attribute of the setting blog articles, and the blog articles are sent to described Private name server;
The private name server includes blog protocol interface and data base, and the blog protocol interface is used to verify the blog text The account of chapter, and communicated with the word editing machines, the blog articles to receiving carry out parsing and generate HTML lattice The text file of formula, and the text file is stored in the data base of the private name server, generate for access it is described just The URL paths of file, and the URL paths of the text file and text file are sent to into the wechat or the credulity public puts down Platform;
The wechat or credulity public platform are provided with server, the wechat or credulity public platform server for the private People's server is communicated, and receives and preserve the URL paths of the text file and text file, and by the text file to The client of wechat or credulity is issued.
CN201410067409.5A 2014-02-26 2014-02-26 A kind of method and system that wechat or easy letter information are fast edited and issued Expired - Fee Related CN103780709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410067409.5A CN103780709B (en) 2014-02-26 2014-02-26 A kind of method and system that wechat or easy letter information are fast edited and issued

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410067409.5A CN103780709B (en) 2014-02-26 2014-02-26 A kind of method and system that wechat or easy letter information are fast edited and issued

Publications (2)

Publication Number Publication Date
CN103780709A CN103780709A (en) 2014-05-07
CN103780709B true CN103780709B (en) 2017-04-05

Family

ID=50572524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410067409.5A Expired - Fee Related CN103780709B (en) 2014-02-26 2014-02-26 A kind of method and system that wechat or easy letter information are fast edited and issued

Country Status (1)

Country Link
CN (1) CN103780709B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991940A (en) * 2015-02-13 2016-10-05 深圳积友聚乐科技有限公司 Image processing method and system
CN105515941B (en) * 2015-11-25 2019-06-21 郑州威尔克科技股份有限公司 A kind of method and system of message and recovery under wechat development mode
CN108270812B (en) * 2016-12-30 2021-03-23 深圳市青果乐园网络科技有限公司 Method and system for acquiring article publishing and sharing conditions
CN107105023A (en) * 2017-04-10 2017-08-29 上海哇嗨网络科技有限公司 Content delivery method, reading method and client containing red packet
CN107222522B (en) * 2017-05-04 2021-02-05 和宇健康科技股份有限公司 Mobile storage method
CN107579912A (en) * 2017-10-23 2018-01-12 湖南知间信息技术有限公司 Public's wechat platform matrix management method and system
CN107645443A (en) * 2017-10-23 2018-01-30 湖南知间信息技术有限公司 Public's wechat platform matrix management method and system
CN108259571A (en) * 2017-12-25 2018-07-06 上海安技智能科技股份有限公司 Museum information issues microfluidic platform system
CN109461462B (en) * 2018-11-02 2021-12-17 王佳一 Audio sharing method and device
CN111832252B (en) * 2019-04-15 2024-03-01 北京智启蓝墨信息技术有限公司 Interactive exercise editing method, generation method, device and system in intelligent teaching materials
CN110276061A (en) * 2019-06-25 2019-09-24 苏州梦嘉信息技术有限公司 Edit operation system and method for public platform
CN117828219A (en) * 2023-12-28 2024-04-05 北京虎嗅信息科技股份有限公司 Automatic manuscript-sending method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110842A (en) * 2007-08-24 2008-01-23 蒋晓海 Method for mobile terminal instant outputting blog to internet
CN101110837A (en) * 2007-08-08 2008-01-23 腾讯科技(深圳)有限公司 System and method for implementing mobile phone blog
CN102662928A (en) * 2012-03-28 2012-09-12 福建榕基软件股份有限公司 Rich text editing method for importing documents and device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101900319B1 (en) * 2012-02-07 2018-09-19 삼성전자 주식회사 Method for interoperably performing service and system supporting the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110837A (en) * 2007-08-08 2008-01-23 腾讯科技(深圳)有限公司 System and method for implementing mobile phone blog
CN101110842A (en) * 2007-08-24 2008-01-23 蒋晓海 Method for mobile terminal instant outputting blog to internet
CN102662928A (en) * 2012-03-28 2012-09-12 福建榕基软件股份有限公司 Rich text editing method for importing documents and device thereof

Also Published As

Publication number Publication date
CN103780709A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN103780709B (en) A kind of method and system that wechat or easy letter information are fast edited and issued
US7734722B2 (en) Deep clickflow tracking
US20110116636A1 (en) Intelligent File Encapsulation
US9224159B2 (en) Distributed content exchange and presentation system
US7062706B2 (en) Method and apparatus for populating a form with data
TWI251755B (en) Method and apparatus for relaying session information from portal server
JP6506762B2 (en) System and method for collecting third party application activity data
JP5780658B2 (en) Real-time online advertisement verification system and method
JP2017523535A (en) Web content generation method and system
CN101379464A (en) Rules driven pan ID metadata routing system and network
WO2012055175A1 (en) Method, apparatus and system for processing the configuration files
AU2005339720A1 (en) Distributed content exchange and presentation system
JPWO2002071288A1 (en) Automatic editing system
CN103685255B (en) File encryption method based on two-dimension code scanning
CN106462671B (en) Compound document quotes resource
CN105791227A (en) Resource propagating method and system
US20130097192A1 (en) Identifier assigning method, identifier parsing method, and multimedia reading
KR20160087295A (en) Method and apparatus for providing advertisement adjusted to media
TW201029424A (en) System and method of network authentication
US20150134446A1 (en) SYSTEM FOR PROVIDING CONTENT-BASED CONTEXTUAL ADVERTISING IN EMAlL
CA2610714C (en) Deep clickflow tracking
KR20090112843A (en) System and Method for Managing a Work and Recording Medium
CN106708915B (en) Webpage content display system and method
TW201117023A (en) Method and system for compiling a unique sample code for a digital sample
Gupta MUSIC MANIA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170405

Termination date: 20190226