The method and system of automatic simultaneous user's set information on each social network sites
Technical field
The invention belongs to technical field of the computer network, relate to a kind of method of information synchronization, relate in particular to the method for a kind of automatic simultaneous user set information on each social network sites; Simultaneously, the invention still further relates to the system of a kind of automatic simultaneous user set information on each social network sites.
Background technology
Now, network social intercourse is very universal, and people set up contact and associate communication by network, and the mode of network social intercourse has also begun to be transferred to gradually by various social network sites by traditional E-mail mode gets in touch and associate.These social network sites comprise domestic QQ, happy net, external facebook, twitter, Google Talk, MSN etc.Use these social network sites, the user need register earlier, become the registered user of website, each registered user can select the personal information that provides certain, comprise head portrait, signature etc., also have a contacts list or buddy list simultaneously, add and the deletion contact person in user's this tabulation in the past, also can directly comprise the various contacts of chat with the contact person in this tabulation.Simultaneously, this user's contact person also can view this user's personal information at any time, comprises head portrait, signature etc.
When network social intercourse, people often directly do not send last state, mood impression and the up-to-date photo of oneself by the mode of man-to-man chat, but oneself last state and mood impression is updated on the website with the mode of signature, oneself up-to-date photo is updated on the website with the mode of head portrait.Be equivalent to the mode broadcasted like this, can allow own all contact persons, can both immediately know its last state, mood impression and up-to-date photo rapidly, and the notice that do not need to chat one by one, and the contact person of oneself can not bothered uninterested the time for no reason yet.
Because popularizing of this network social intercourse, social network sites also begins to be on the increase, and the social network sites that everyone is accustomed to usefulness is not quite similar, in order to allow own and all contact persons get in touch with, the user usually need be on different social network sites register account number.But different social network sites can't be shared simultaneous user's information mutually each other usually, and when the user has upgraded head portrait and signature on a website after, in order to keep often needing manually to upgrade its head portrait and signature on other websites synchronously, cause wasting a large amount of time of user.
Summary of the invention
Technical matters to be solved by this invention is: a kind of automatic simultaneous user is provided the method for set information on each social network sites, for people synchronously own on each social network sites employed head portrait and signature facilitate, can save traditional manual mode of passing through greatly and carry out the synchronous time.
In addition, the present invention further provides the system of a kind of automatic simultaneous user set information on each social network sites, for people synchronously own on each social network sites employed head portrait and signature facilitate, can save traditional manual mode of passing through greatly and carry out the synchronous time.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
The method of a kind of automatic simultaneous user set information on each social network sites, described method comprises the steps:
Step 101 judges whether all social network sites all finish synchronously in the synchronous tabulation that the user provides, if, then forward step 105 to, if not, then forward step 102 to;
Step 102, next social network sites carries out synchronously in the synchronous tabulation that the taking-up user provides;
Whether step 103, judgement be successful synchronously, if success then forwards step 104 to, otherwise forwards step 101 to;
Step 104 is carried out record to the synchronous website of success, is stored in successfully in the synchronous list of websites, forwards step 101 then to;
Step 105 all finishes synchronously, notifies user's success synchronous list of websites;
Step 106 finishes.
As a preferred embodiment of the present invention, in the described step 101, the user need specify needs to carry out synchronous social network sites in advance and tabulate, and only carries out the synchronous of head portrait and signature at the social network sites in the tabulation when synchronous automatically.
As a preferred embodiment of the present invention, in the described step 102, the social network sites in the tabulation will be taken out one by one synchronously, carries out respectively synchronously; Need the user that the account information of this social network sites is provided in the time of synchronously, comprise user name, password.
As a preferred embodiment of the present invention, in the described step 102, the account information of using in the time of is synchronously imported in advance and is kept by the user, takes out automatically in the time of synchronously; Or the dynamic reminding user imports corresponding account information.
As a preferred embodiment of the present invention, in the described step 102, synchronous method is: the Web API that provides by corresponding social network sites carries out uploading synchronously of head portrait and signature;
Each synchronously the time, at first to obtain and be used for synchronous corresponding Web API method is carried out in this website, concrete steps are as follows:
Step 201 connects Web API server;
Step 202 is initiated request to server, and obtain specify social network sites be used for head portrait and the synchronous Web API of signature;
Step 203 is saved in this locality with the Web API method of obtaining;
Step 204 finishes.
As a preferred embodiment of the present invention, in the described step 201, Web API network address of server is to be programmed in advance in the middle of the software, and the user does not need to be provided with voluntarily; Perhaps, provide method to allow the user that network address of server is set voluntarily.
As a preferred embodiment of the present invention, in the described step 201, Web API server is safeguarded voluntarily by the provider of synchronizing software, upgrades the Web API method of each social network sites at any time, obtains automatically by synchronizing software for the user.
The method of a kind of automatic simultaneous user set information on each social network sites, described method comprises the steps:
Steps A judges whether all social network sites that the user selects all finish synchronously, if, then forward step e to, if not, then forward step B to;
Step B, the social network sites that does not finish synchronously that takes out user's selection carries out synchronously;
Step C, whether judgement is successful synchronously, if success then forwards step D to, otherwise forwards steps A to;
Step D carries out record to the synchronous website of success, forwards steps A then to;
Step e all finishes synchronously.
As a preferred embodiment of the present invention, among the described step B, synchronous method is: the Web API that provides by corresponding social network sites carries out uploading synchronously of set information;
Each synchronously the time, at first to obtain and be used for synchronous corresponding Web API method is carried out in this website, concrete steps are as follows:
Step B1 connects Web API server;
Step B2 initiates request to server, and obtain specify social network sites be used for the synchronous Web API of set information;
Step B3 is saved in this locality with the Web API method of obtaining;
Step B4 finishes.
The system of a kind of automatic simultaneous user set information on each social network sites, described system comprises:
Lock unit carries out synchronously in order to the social network sites that does not finish synchronously that takes out user's selection;
Whether first judging unit all finishes synchronously in order to judge all social network sites that the user selects;
Second judging unit, whether successful synchronously in order to judge;
Record cell in order to after the success synchronously of second judgment unit judges, writes down successfully synchronous website.
As a preferred embodiment of the present invention, the synchronous method of described lock unit is: the Web API that provides by corresponding social network sites carries out uploading synchronously of set information;
Each synchronously the time, at first to obtain and be used for synchronous corresponding Web API method is carried out in this website, concrete steps are as follows:
Step B1 connects Web API server;
Step B2 initiates request to server, and obtain specify social network sites be used for the synchronous Web API of set information;
Step B3 is saved in this locality with the Web API method of obtaining;
Step B4 finishes.
Realization of the present invention needs one and possesses the server that network connects, and this server can be uploaded and download the head portrait and the signature of each social network sites and revise method for updating, or is called Web API.Simultaneously, the present invention need write an autosynchronous software, and this running software is disposing CPU, the mobile electronic device (comprising mobile phone) that internal memory etc. must accessory, and desk-top computer is on the hardware devices such as the webserver.This software possesses network connecting function, can communicate with this server, obtains the method that each up-to-date social network sites is revised head portrait and signature; Simultaneously, the register account number information that can recording user provides of this software at each social network sites.
Beneficial effect of the present invention is: the method and system of automatic simultaneous user set information on each social network sites that the present invention proposes can help the user to upgrade its head portrait and signature on each social network sites synchronously, for the user saves the plenty of time automatically.Simultaneously, the present invention can carry out obtaining and upgrading in time of method for synchronous by prior specified server voluntarily, also it doesn't matter even the method for synchronous of social network sites has carried out revising, and this method can get access to up-to-date method for synchronous, and allow smooth synchronous head picture of user and signature.
Description of drawings
Fig. 1 is the process flow diagram of the inventive method.
Fig. 2 is the process flow diagram that obtains method for synchronous.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed the method for a kind of automatic simultaneous user set information on each social network sites, and described method comprises the steps:
[step 101] judges whether that all social network sites all finish synchronously in the synchronous tabulation that the user provides, if, then forward step 105 to, if not, then forward step 102 to.
Wherein, the user need specify needs to carry out synchronous social network sites in advance and tabulate, and only carries out the synchronous of head portrait and signature at the social network sites in the tabulation when synchronous automatically.
Next social network sites carries out synchronously in the synchronous tabulation that [step 102] taking-up user provides.
Wherein, the social network sites in the tabulation will be taken out one by one synchronously, carries out respectively synchronously; Need the user that the account information of this social network sites is provided in the time of synchronously, as user name, password etc.
Perhaps, the account information of using in the time of synchronously can be imported in advance and be kept by the user, take out automatically in the time of synchronously, and also can be that the dynamic reminding user imports corresponding account information.
Synchronous method can be carried out uploading synchronously of head portrait and signature by the Web API that corresponding social network sites provides, because this API might become in time, need therefore to safeguard that a Web API server upgrades the corresponding Web API of these social network sites at any time.
Each synchronously the time, at first obtain and be used for synchronous corresponding Web API method is carried out in this website, see also Fig. 2, concrete steps are as follows:
Step 201 connects Web API server.Wherein, Web API network address of server is to be programmed in advance in the middle of the software, so the user do not need to be provided with voluntarily, but also can provide method to allow the user that network address of server is set voluntarily.Web API server can be safeguarded voluntarily by the provider of synchronizing software, upgrades the Web API method of each social network sites at any time, obtains automatically by synchronizing software for the user.
Step 202 is initiated request to server, and obtain specify social network sites be used for head portrait and the synchronous Web API of signature.
Step 203 is saved in this locality with the Web API method of obtaining.
Step 204 finishes
Whether [step 103] is judged successful synchronously, if success then forwards step 104 to, otherwise forwards step 101 to.
[step 104] carries out record to the synchronous website of success, is stored in successfully in the synchronous list of websites, forwards step 101 then to.
[step 105] all finishes synchronously, notifies user's success synchronous list of websites.
[step 106] finishes.
In sum, the method and system of automatic simultaneous user set information on each social network sites that the present invention proposes can help the user to upgrade its head portrait and signature on each social network sites synchronously, for the user saves the plenty of time automatically.Simultaneously, the present invention can carry out obtaining and upgrading in time of method for synchronous by prior specified server voluntarily, also it doesn't matter even the method for synchronous of social network sites has carried out revising, and this method can get access to up-to-date method for synchronous, and allow smooth synchronous head picture of user and signature.
Embodiment two
This enforcement discloses the method for a kind of automatic simultaneous user set information on each social network sites, and described method comprises the steps:
[steps A] judges whether all social network sites that the user selects all finish synchronously, if, then forward step e to, if not, then forward step B to;
The social network sites that does not finish synchronously that [step B] takes out user's selection carries out synchronously;
Wherein, synchronous method is: the Web API that provides by corresponding social network sites carries out uploading synchronously of set information; Each synchronously the time, at first to obtain and be used for synchronous corresponding Web API method is carried out in this website, concrete steps are as follows:
Step B1 connects Web API server;
Step B2 initiates request to server, and obtain specify social network sites be used for the synchronous Web API of set information;
Step B3 is saved in this locality with the Web API method of obtaining;
Step B4 finishes.
Whether [step C] judges successful synchronously, if success then forwards step D to, otherwise forwards steps A to;
[step D] carries out record to the synchronous website of success, forwards steps A then to;
[step e] all finishes synchronously.
More than introduced the method for the automatic simultaneous user of the present invention set information on each social network sites, the present invention is when disclosing said method, also disclosed the system of a kind of automatic simultaneous user set information on each social network sites, described system comprises: lock unit, first judging unit, second judging unit, record cell.
Lock unit carries out synchronously in order to the social network sites that does not finish synchronously that takes out user's selection; First judging unit is in order to judge whether all social network sites that the user selects all finish synchronously; Whether second judging unit is successful synchronously in order to judge; Record cell writes down successfully synchronous website in order to after the success synchronously of second judgment unit judges.
In the present embodiment, the synchronous method of described lock unit is: the Web API that provides by corresponding social network sites carries out uploading synchronously of set information; Each synchronously the time, at first to obtain and be used for synchronous corresponding Web API method is carried out in this website, concrete steps are as follows:
Step B1 connects Web API server;
Step B2 initiates request to server, and obtain specify social network sites be used for the synchronous Web API of set information;
Step B3 is saved in this locality with the Web API method of obtaining;
Step B4 finishes.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.