Summary of the invention
In view of this, the object of the invention is to propose a kind of polymerization and system of isomery microblogging, can with editor's a microblogging content, be published to simultaneously a plurality of microblogging platforms, and not need to log in respectively each microblogging platform.
Polymerization based on above-mentioned purpose a kind of isomery microblogging provided by the invention comprises the following steps:
Detect the third party's microblogging client whether binding is arranged, if bind, directly carry out next step; If not binding is first selected the third party's microblogging client that will bind, and is carried out granted rights, then carries out next step;
In all third party's microblogging clients of having bound, third party's microblogging client that selection will send the microblogging content synchronization after editing and processing; And
With the microblogging content synchronization of editing and processing to third party's microblogging client of having selected.
Alternatively, detecting the third party's microblogging client whether binding is arranged, is by detecting the local permission flag of third party's microblogging that whether has.
Alternatively, when selecting the third party's microblogging client that to bind and carrying out granted rights, be the open interface that calls respectively third party's microblogging client that selection will bind, and send the username and password of this third party's microblogging that the user registers to the open interface of third party's microblogging client; After username and password is verified, receive the permission flag of this third party's microblogging of network side transmitted.
Further, when the microblogging content synchronization of editing and processing is to third party's microblogging client of having selected, be open interface that select to want third party's microblogging client of synchronous microblogging content by calling respectively each, and the microblogging content that editing and processing is complete is sent to respectively the network side of each service provider by the open interface of wanting synchronous each third party's microblogging client.
Based on above-mentioned purpose, the present invention also provides a kind of paradigmatic system of isomery microblogging, comprising:
Detection module is for detection of the third party's microblogging client whether binding is arranged;
Binding module is used for third party's microblogging client that selection will be bound, and carries out granted rights; And
The micro-blog information synchronization module is used in all third party's microblogging clients of having bound, third party's microblogging client that selection will send the microblogging content synchronization after editing and processing; And with the microblogging content synchronization of editing and processing to third party's microblogging client of having selected;
Wherein, described detection module detects and has bound third party's microblogging client, is connected with described micro-blog information synchronization module; If not binding detected, be connected with described binding module, and described binding module be connected with described micro-blog information synchronization module.
Alternatively, described detection module judges whether to have bound third party's microblogging client, is by detecting the local permission flag of third party's microblogging that whether has.
Alternatively, third party's microblogging client that described binding module selection will be bound, call respectively the open interface of third party's microblogging client that selection will bind, and send the username and password of this third party's microblogging that the user registers to the open interface of third party's microblogging client; After username and password is verified, receive the permission flag of this third party's microblogging of network side transmitted.
Further, described micro-blog information synchronization module selects to want synchronous third party's microblogging client, call respectively the open interface that each select to want third party's microblogging client of synchronous microblogging content, and the microblogging content that editing and processing is complete is sent to respectively the network side of each service provider by the open interface of wanting synchronous each third party's microblogging client.
Further, when described micro-blog information synchronization module need to check the user micro-blog information of oneself wanting third party's microblogging client of being concerned about, after receiving the instruction of checking third party's micro-blog information of user's input, send micro-blog information according to the development interface of this third party's microblogging of user's Selection and call to the server of third party's microblogging network side and obtain request, the micro-blog information that receives is shown in this locality; Perhaps directly call the development interface of all third party's microbloggings of having bound, send micro-blog information to all third party's microblogging network side servers of having bound and obtain request, and the micro-blog information that obtains is shown in this locality.
As can be seen from above, the polymerization of isomery microblogging provided by the invention and system, by third party's microblogging client is bound, can be with the microblogging content synchronization of editing and processing to third party's microblogging client of selecting.Realized microblogging content of editing and processing, can synchronously upgrade on a plurality of third party's microblogging clients simultaneously.Thereby, do not need to log in one by one and upgrade third party's microblogging client.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
Consult shown in Figure 1ly, the schematic flow sheet for the polymerization of the isomery microblogging of the embodiment of the present invention comprises:
Step 101 detects and whether has bound third party's microblogging client.Specific implementation process is as follows:
1) judge whether to have bound third party's microblogging client: in an embodiment of the present invention, to judge whether to have bound third party's microblogging client by detecting the local permission flag that whether has third party's microblogging, if there is the permission flag of third party's microblogging, this third party's microblogging client has been bound in definite this locality.
2) if detect and do not bind third party's microblogging client, can point out the user to select the third party's microblogging client that to bind, and after the user selects, obtain corresponding mandate.Specifically can comprise the steps: in one embodiment of the invention to list optional all third party's microblogging lists of not binding, after the user has selected one of them third party's microblogging, call the open interface of third party's microblogging client that selection will bind, be generally application programming interface (API), send the username and password of this third party's microblogging that the user registers to the open interface of third party's microblogging client.After username and password is verified, receive the permission flag of this third party's microblogging of network side transmitted, with the unique identification of this sign as this third party's microblogging of binding.Then can carry out step 102.
3) if detect and bind third party's microblogging client, can directly carry out step 102.
Step 102, in all third party's microblogging clients of having bound, third party's microblogging client that selection will send the microblogging content synchronization after editing and processing.Specific implementation process is as follows:
In one embodiment of the invention, after the complete microblogging content that will issue of editing and processing, can demonstrate third party's microblogging client side list of having bound, the prompting user selects to want synchronous third party's microblogging, and the user can select to want synchronous one or more third party's microblogging clients according to individual demand.
Step 103, with the microblogging content synchronization of editing and processing to third party's microblogging client of having selected.Specific implementation process is as follows:
1) call respectively the open interface that third party's microblogging client of synchronous microblogging content is wanted in each selection.
2) the microblogging content that editing and processing is complete is sent to the network side of each service provider by the open interface of wanting synchronous each third party's microblogging client respectively, thereby completes the issue of microblogging content.Preferably, permission flag and the complete microblogging content of editing and processing can be sent together in this step.
In addition, the user after finishing, step 101 can further include: if need to check the micro-blog information of oneself wanting third party's microblogging client of being concerned about, after receiving the instruction of checking this third party's micro-blog information that the user inputs, send micro-blog information according to the development interface of this third party's microblogging of user's Selection and call to the server of third party's microblogging network side and obtain request, the micro-blog information that receives is shown in this locality.In addition also can be without user instruction, at the rear development interface that directly calls all third party's microbloggings of having bound of step 101, send micro-blog information to all third party's microblogging network side servers of having bound and obtain request, and the micro-blog information that obtains is shown in this locality.Wherein, micro-blog information described here can be other blogers' of paying close attention to of microblogging message, user microblogging content and message etc.
Consult shown in Figure 2ly, be the structural representation of the paradigmatic system of the isomery microblogging of the embodiment of the present invention, wherein:
Detection module 201 can detect whether the third party of binding microblogging client is arranged.Its major function comprises:
1) judge whether to have bound third party's microblogging client: in an embodiment of the present invention, to judge whether to have bound third party's microblogging client by detecting the local permission flag that whether has third party's microblogging, if there is the permission flag of third party's microblogging, this third party's microblogging client has been bound in definite this locality.
2) bound third party's microblogging client ifdetection module 201 detects,detection module 201 is connected with micro-blog information synchronization module 203.If not binding detected,detection module 201 is connected withbinding module 202, andbinding module 202 is connected with micro-bloginformation synchronization module 203.
Binding module 202 can be selected the third party's microblogging client that will bind, and carry out granted rights.Its major function comprises:
1) bindingmodule 202 is selected the third party's microblogging client that will bind.Needing third party's microblogging client of binding is that the user has successfully registered this third party's microblogging client.In one embodiment of the invention, can point out the user to select the third party's microblogging client that to bind, list optional all third party's microblogging lists of not binding.
2) third party's microblogging client of bindingmodule 202 binding selections.After third party's microblogging client of selecting to bind the user, obtain corresponding mandate.After can comprising the steps: specifically that in one embodiment of the invention the user has selected one of them third party's microblogging in third party's microblogging list that all are not bound, call the open interface of third party's microblogging client that selection will bind, be generally application programming interface (API), send the username and password of this third party's microblogging that the user registers to the open interface of third party's microblogging client.After username and password is verified, receive the permission flag of this third party's microblogging of network side transmitted, with the unique identification of this sign as this third party's microblogging of binding.
Micro-bloginformation synchronization module 203, its major function comprises:
1) in all third party's microblogging clients of having bound, third party's microblogging client that selection will send the microblogging content synchronization after editing and processing: in one embodiment of the invention, after the complete microblogging content that will issue of editing and processing, can demonstrate third party's microblogging client side list of having bound, the prompting user selects to want synchronous third party's microblogging, and the user can select to want synchronous one or more third party's microblogging clients according to individual demand.
2) with the microblogging content synchronization of editing and processing to third party's microblogging client of having selected, can call respectively the open interface that each selects to want third party's microblogging client of synchronous microblogging content.The microblogging content that editing and processing is complete is sent to the network side of each service provider by the open interface of wanting synchronous each third party's microblogging client respectively, thereby completes the issue of microblogging content.Preferably, permission flag and the complete microblogging content of editing and processing can be sent together in this step.
In addition, an alternative embodiment of the invention, if the user need to check the micro-blog information of oneself wanting third party's microblogging client of being concerned about in micro-bloginformation synchronization module 203, after receiving the instruction of checking this third party's micro-blog information that the user inputs, send micro-blog information according to the development interface of this third party's microblogging of user's Selection and call to the server of third party's microblogging network side and obtain request, the micro-blog information that receives is shown in this locality.Can certainly directly call the development interface of all third party's microbloggings of having bound without user instruction, send micro-blog information to all third party's microblogging network side servers of having bound and obtain request, and the micro-blog information that obtains is shown in this locality.Wherein, micro-blog information described here can be other blogers' of paying close attention to of microblogging message, user microblogging content and message etc.
This shows, polymerization and the system of the isomery microblogging that the present invention realizes, the creationary binding third party microblogging client that proposed, the sign that secures permission, thus realize synchronous a plurality of third party's microblogging clients of upgrading, integrated microblogging function and resource; And the present invention is the open interface that utilizes third party's microblogging client of announcing, does not need to arrange separately connector, can realize association, and is with low cost; When calling the open interface of third party's microblogging, client, send the username and password of this third party's microblogging client that the user successfully registered to the open interface of third party's microblogging client, guaranteed the fail safe of binding third party microblogging product; At last, polymerization and the system of whole described isomery microblogging are easy, compact, are easy to realize.
Those of ordinary skill in the field are to be understood that: the above only is specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.