CN103685421A - Cross-data-source data submission system, device and method - Google Patents

Cross-data-source data submission system, device and method Download PDF

Info

Publication number
CN103685421A
CN103685421A CN201210357151.3A CN201210357151A CN103685421A CN 103685421 A CN103685421 A CN 103685421A CN 201210357151 A CN201210357151 A CN 201210357151A CN 103685421 A CN103685421 A CN 103685421A
Authority
CN
China
Prior art keywords
data
service platform
server
user
target
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.)
Granted
Application number
CN201210357151.3A
Other languages
Chinese (zh)
Other versions
CN103685421B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210357151.3A priority Critical patent/CN103685421B/en
Publication of CN103685421A publication Critical patent/CN103685421A/en
Application granted granted Critical
Publication of CN103685421B publication Critical patent/CN103685421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention proposes a cross-data-source data submission system which includes a client used for sending a data release message to a server; the server which is used for selecting a target service platform from a plurality of open service platforms according to target information and releasing content information in the target service platform according to motion fields in the data release message and submitting the content information to at least part of the open service platforms of the plurality of open service platforms after a preset condition is met; and the plurality of open service platforms, wherein each of the plurality of open service platforms is used for providing a data release service. The invention also proposes the server, the client and the cross-data-source data submission method. The cross-data-source data submission system uses a cloud server to perform calculations tasks of automatic ranking, comparison and assembly and the like and realizes an intelligent forwarding function for different demands of users so that user time is saved and user experience is improved.

Description

Data submission system, device and method across data source
Technical field
The present invention relates to the Internet cloud service platform technical field, particularly a kind of data submission system, server, client and method across data source.
Background technology
Along with the development of the Internet, the application of cloud service platform is more and more universal.Opening API interface (the Application Programming Interface of current cloud service platform, application programming interface), generally to adopt Rest Style Design, according to a URL (the Uniform/Universal Resource Locator of user's request, URL(uniform resource locator)), realize the issue of user profile.Now, increasing user uses a more than social networks, but in the prior art, the api interface of each social networks does not have the functions such as automatic forwarding.When if user wants to carry out forwarding messages, can only ownly manually forward.
Summary of the invention
Object of the present invention is intended at least solve one of described technological deficiency.
For this reason, first object of the present invention is to propose a kind of data submission system across data source, utilizes Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, has realized the intelligent forwarding capability of the various needs of reply user, save user's time, improved user's experience.Second object of the present invention is to propose a kind of server.The 3rd object of the present invention is to propose a kind of client.The 4th object of the present invention is to propose a kind of data commit method across data source.
For achieving the above object, the embodiment of first aspect present invention discloses a kind of data submission system across data source, comprise: client, server and a plurality of open service platform, wherein, described a plurality of open service platform, each the open service platform in described a plurality of open service platforms is used for providing data issuing service; Described client, for sending data publication messages to described server, described data publication messages comprises action field, content information, target information and user's identity information; Described server, be used for according to described target information from described a plurality of development service platform select target service platforms, and according to the action field in described data publication messages, described content information is issued in described destination service platform, and meet pre-conditioned after, described content information is committed to at least part of development service platform in described a plurality of development service platform.
According to the data submission system across data source of the embodiment of the present invention, utilize Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
In one embodiment of the invention, described server obtains each corresponding token and query argument in described at least part of development service platform according to described user's identity information, and from described at least part of open service platform, obtains described data according to described token and query argument.
In one embodiment of the invention, described token comprises private token or public token.
In one embodiment of the invention, described data publication messages also comprises issue condition, described pre-conditioned according to described issue condition setting.
In one embodiment of the invention, described issue condition is that described server is committed at least part of development service platform in described a plurality of development service platform by described content information after process Preset Time.
In one embodiment of the invention, described issue condition is, in described destination service platform, the content information of described issue is replied to quantity, but when described reply quantity reaches threshold value, described server is committed at least part of development service platform in described a plurality of development service platform by described content information.
In one embodiment of the invention, described at least part of development service platform is specified in described data publication messages by described client.
In one embodiment of the invention, described client is also for sending and capture target to described server, described server, after the content update of described crawl target, is distributed to the more fresh content of described crawl target at least one open service platform of described user.
The embodiment of second aspect present invention discloses a kind of server, comprise: data management module, the data publication messages sending for receiving client, wherein, described data publication messages comprises action field, content information, target information and user's identity information; Parsing module, resolves for the target information to described data publication messages, with select target service platform from a plurality of open service platforms; Release module, for described content information being issued in described destination service platform according to the action field of described data publication messages, and meet pre-conditioned after, described content information is committed to at least part of development service platform in described a plurality of development service platform.
According to the server of the embodiment of the present invention, utilize Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
In one embodiment of the invention, described server also comprises: data acquisition module, for obtain described user's identity information according to described user's identity information, obtain described at least part of development service platform each corresponding token and query argument, and from described at least part of open service platform, obtain described data according to described token and query argument.
In one embodiment of the invention, described token comprises private token or public token.
In one embodiment of the invention, described data publication messages also comprises issue condition, described pre-conditioned according to described issue condition setting.
In one embodiment of the invention, described issue condition is that described server is committed at least part of development service platform in described a plurality of development service platform by described content information after process Preset Time.
In one embodiment of the invention, described issue condition is, in described destination service platform, the content information of described issue is replied to quantity, but when described reply quantity reaches threshold value, described server is committed at least part of development service platform in described a plurality of development service platform by described content information.
In one embodiment of the invention, the crawl target that described data management module also sends for receiving client, after the content update of described crawl target, the more fresh content of the just described crawl target of described release module is distributed at least one open service platform of described user.
The embodiment of third aspect present invention discloses a kind of client, comprising: sending module, and for sending data publication messages to server transmitter, described data publication messages comprises action field, content information, target information and user's identity information; Receiver module, for receiving from described server the data that described server returns according to described data request information.
According to the client of the embodiment of the present invention, can submit to data issue request to make Cloud Server carry out auto-sequencing, comparison, the calculation task such as assembled, realize the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
In one embodiment of the invention, described sending module is specified described at least part of development service platform in described data publication messages.
In one embodiment of the invention, described sending module is also for sending and capture target to described server, described server, after the content update of described crawl target, is distributed to the more fresh content of described crawl target at least one open service platform of described user.
Fourth aspect present invention embodiment discloses a kind of data commit method across data source, comprises the following steps: receive the data publication messages that client sends, wherein, described data publication messages comprises action field and user's identity information; According to the target information of described data acquisition instruction, from described a plurality of open service platforms, select at least part of development service platform; According to the action field in described data publication messages, described content information is issued in described destination service platform; Meet pre-conditioned after, described content information is committed to at least part of development service platform in described a plurality of development service platform.
According to the data commit method across data source of the embodiment of the present invention, utilize Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
In one embodiment of the invention, describedly according to the target information of described data acquisition instruction, from described a plurality of open service platforms, select at least part of development service platform further to comprise: according to described user's identity information, to obtain each corresponding token and query argument in described at least part of development service platform; According to described token and query argument, from described at least part of open service platform, obtain described data.
In one embodiment of the invention, described token comprises private token or public token.
In one embodiment of the invention, described data publication messages also comprises issue condition, described pre-conditioned according to described issue condition setting.
In one embodiment of the invention, described issue condition is that described server is committed at least part of development service platform in described a plurality of development service platform by described content information after process Preset Time.
In one embodiment of the invention, described issue condition is, in described destination service platform, the content information of described issue is replied to quantity, but when described reply quantity reaches threshold value, described server is committed at least part of development service platform in described a plurality of development service platform by described content information.
In one embodiment of the invention, described at least part of development service platform is specified in described data publication messages by described client.
In one embodiment of the invention, described client is also for sending and capture target to described server, described server, after the content update of described crawl target, is distributed to the more fresh content of described crawl target at least one open service platform of described user.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Of the present invention and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments and obviously and easily understand, wherein:
Fig. 1 is according to the schematic diagram of the data submission system across data source of the embodiment of the present invention;
Fig. 2 is according to an embodiment of the invention across the data flow schematic diagram of the data submission system of data source;
Fig. 3 is according to the schematic diagram of the server of the embodiment of the present invention;
Fig. 4 is according to the schematic diagram of the client of the embodiment of the present invention;
Fig. 5 is according to an embodiment of the invention across the flow chart of the data commit method of data source; And
Fig. 6 is in accordance with another embodiment of the present invention across the flow chart of the data commit method of data source.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
As shown in Figure 1, the data submission system across data source of first aspect present invention embodiment comprises: client 101, server 102 and a plurality of open service platform 103.
Particularly, client 101 is for sending data publication messages to server 102, and data publication messages comprises action field, content information, target information and user's identity information.Server 102 for to according to target information from a plurality of development service platform 103 select target service platforms 103, and according to the action field in data publication messages, content information is issued in destination service platform 103, and meet pre-conditioned after, content information is committed to at least part of development service platform 103 in a plurality of development service platform.Each open service platform in a plurality of open service platforms 103 is used for providing data issuing service.In one embodiment of the invention, what be connected with server 102 has a plurality of open service platforms (API) 103, but server may only be selected part of opening service platform according to the demand of client 101 at every turn from a plurality of open service platforms, for example server 102 carries out functional screening for the open service platform of needs inquiry, for example, only select renren and sina that wherein user pays close attention to, Tengxun's microblogging, but not happy information of netting.
In one embodiment of the invention, server 102 obtains each corresponding token (token) and inquiry (query) parameter at least part of development service platform 103 according to user's identity information, and from least part of open service platform 103, obtains data according to token and query argument.Wherein, token comprises private token or public token.
According to the data submission system across data source of the embodiment of the present invention, can be for all kinds of existing api interfaces, such as Renren Network api, the microblogging api of Sina, the microblogging api of Tengxun, the data platform of variant api framework is managed as data source independently respectively, carries out query and submit(and submit to), simultaneously by operations such as query result merge.
In one embodiment of the invention, server 102 receives after data-message, according to action field user, select SNS(Social Network Site, social network sites) etc. the api of customer relationship class open service platform 103, id is converted to token and the query parameter that each platform is corresponding, the result of request of data is carried out to assembled, integration according to semanteme, complete after the issue of corresponding open service platform 103, to client 101, return, specific as follows:
Data issue url is:
http://api.baidu.com/user?id=123&action=submit_msg&msg=hello&plat=renren,sina
As shown in above-mentioned url, in data issue request, user field, action field, plat field have been comprised.Each field configuration is as follows:
User field configuration:
Api framework is configured user, for each user, distributes an id
Api framework provides platform relation table corresponding to id, this table record this user for the token of the platform of all mandates and authorization message and those platforms, the information such as can push, user can refer to a user, also can be a tissue, by developer, registered, after mandate once, by api framework, safeguarded.
Action field configuration:
Action field can be added by developer, and acquiescence support is submitted word class submit_msg to, and forwarding class submit_share is shared in social activity, submits all known submission generic operations such as picture category submit_photo to.
Plat field configuration:
The support of plat field is to all customizations of wanting the platform that forwards, as user a association renren, weibo, 3 platforms of qq, only want to be published to renren and sina, are write as plat=renren, sina.If do not fill out this field, adopt this user's default setting, for example all platforms to this user-association send information.
In the present embodiment, when data issue, url is:
Http:// api.baidu.com/user id=123 & action=submit_msg & msg=hello & plat=renren, during sina, system is according to target information field plat, and the result that request renren and sina microblogging open platform return is:
Renren platform api returns:
Sina weibo platform api returns:
{
errNo:-1
}
Result is merged, obtains:
Figure BDA00002176178300091
When carrying out above-mentioned merging process, under default setting, should retain the full content of the result before merging, only carry out assembled operation.Amalgamation result is unified for json format standard, is convenient to each open platform and client and reads.
The api framework that uses native system to provide, can realize and submitting to or Push Service simultaneously, such as user a the data of Sinaweibo api issue wish can be in real time or asynchronous transmission to a plurality of platforms, system can submit to this information to arrive renren, the platforms such as qq automatically.
The embodiment of the present invention is the modification of a upper embodiment, and user needs more detailed setting, so can add and submit content (source) field and restriction (limit) field in issue request url, now data issue url becomes:
http://api.baidu.com/user?id=123&action=submit_msg&source={plat:renren,id:456}&limit={wait:10,replayNum:10}&plat=qq,sina
Wherein, source field configuration:
Source sign needs the id of asynchronous and synchronous message, such as being set to 456 of renren platform in above-mentioned url.At this moment the message synchronization that system can be 456 by id in renren when meeting limit condition is to qq, and sina(controls according to plat field).After configuration, the api framework that uses native system to provide, can realize asynchronous and synchronous service, such as user a wishes the own data in sinaweibo issue, can after 2 hours, the reply of this information and this information be all synchronized to qqweibo, or to other platforms of periphery, carry out synchronously after 2 hours.It will be appreciated that, the time span of above-mentioned 2 hours is for convenience of explanation, and should not be construed as limitation of the present invention.
Limit field configuration:
The limit={wait:10 defining in above-mentioned url, replayNum:10}, represent carrying out message submission after wait 10 minutes and reply reach 10, restrictive condition in limit field can increase arbitrarily configuration, system can judge successively from first condition, only have while all meeting and just can send, the time-out time of acquiescence is 24 hours, and user can increase timeout field at limit and carry out self-defined (acquiescence unit for minute).After configuration, the api framework that uses native system to provide, can realize intelligence and submit service to, and for example user a wishes the own information of submitting at sinaweibo, when replying when people surpasses 10 people, be just considered to the synchronous information forwarding of needs, be now just synchronized to other platforms.
Waiting for 10 minutes, and when replying people and surpassing 10 people, the return value of each open platform that above-mentioned url is corresponding becomes:
Qq platform api returns:
Figure BDA00002176178300101
Sina platform api returns:
Figure BDA00002176178300102
Amalgamation result:
Figure BDA00002176178300103
Receive after result, the Hook Function that api readjustment user profile is processed notifies user to issue successfully.
In one embodiment of the invention, user a wishes to realize another user b of concern, is synchronized on the microblogging of user a oneself when the microblogging of user b sends new information, in actual applications, can realize this function by crawl aiming field is set.Now, data issue url is:
http://api.baidu.com/user?id=123&action=submit_msg&source={user:b,id:234}&plat=qq,sina
Wherein plat field represents that user wishes the open platform being synchronized to, and source field represents b and the b id:234 in framework,
Arrange successfully return results afterwards into:
{
errNo:0
}
When b has new microblogging to send, the every hyposynchronous result of framework readjustment is:
Figure BDA00002176178300111
In this case, can add equally the microblogging that limit field controls b postpones to forward after Preset Time.
According to the data submission system across data source of the embodiment of the present invention, utilize Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
As shown in Figure 3, the server of second aspect present invention embodiment, comprising: data management module 301, parsing module 302 and release module 303.
The data publication messages that data management module 301 sends for receiving client, wherein, data publication messages comprises action field and user's identity information.Parsing module 302 is resolved for the target information to data publication messages, and with select target service platform from a plurality of open service platforms, wherein analytic method can comprise the methods such as semantic parsing.Release module 303 is for according to the action field of data publication messages, content information being issued in destination service platform, and meet pre-conditioned after, content information is committed to at least part of development service platform in a plurality of development service platform.
In one embodiment of the invention, also comprise data acquisition module 304.The data issue url that data management module 301 receives from client is:
Http://api.baidu.com/user id=123 & action=submit_msg & msg=hello & plat=renren, sina, wherein, subscriber identity information field is user, action field is action, parsing module 302 resolves to Renren Network and Sina's microblogging by target information field plat, data acquisition module 304 is selected SNS(Social Network Site, social network sites) api of customer relationship class open service platform such as, id is converted to token and the query argument that each platform is corresponding, by release module 303, according to the action field in data publication messages, content information is issued in destination service platform afterwards, and meet pre-conditioned after, content information is committed to at least part of development service platform in a plurality of development service platform.Concrete execution result is as follows:
Renren platform api returns:
Figure BDA00002176178300121
Sina weibo platform api returns:
{
errNo:-1
}
Result is merged, obtains:
Figure BDA00002176178300122
When carrying out above-mentioned merging process, under default setting, should retain the full content of the result before merging, only carry out assembled operation.Amalgamation result is unified for json format standard, is convenient to each open platform and client and reads.
The api framework that uses native system to provide, can realize and submitting to or Push Service simultaneously, such as user a the data of Sinaweibo api issue wish can be in real time or asynchronous transmission to a plurality of platforms, system can submit to this information to arrive renren, the platforms such as qq automatically.
The embodiment of the present invention is the modification of a upper embodiment, and user needs more detailed setting, so can add and submit content (source) field and restriction (limit) field in issue request url, now data issue url becomes:
http://api.baidu.com/user?id=123&action=submit_msg&source={plat:renren,id:456}&limit={wait:10,replayNum:10}&plat=qq,sina
Wherein, source field configuration:
Source sign needs the id of asynchronous and synchronous message, such as being set to 456 of renren platform in above-mentioned url.At this moment the message synchronization that system can be 456 by id in renren when meeting limit condition is to qq, and sina(controls according to plat field).After configuration, the api framework that uses native system to provide, can realize asynchronous and synchronous service, such as user a can be synchronized to qqweibo by the reply of this information and this information by release module 303 in the data of sinaweibo issue after 2 hours, or to other platforms of periphery, carried out synchronously after 2 hours.It will be appreciated that, the time span of above-mentioned 2 hours is for convenience of explanation, and should not be construed as limitation of the present invention.
Limit field configuration:
The limit={wait:10 defining in above-mentioned url, replayNum:10}, represent carrying out message submission after wait 10 minutes and reply reach 10, restrictive condition in limit field can increase arbitrarily configuration, system can judge successively from first condition, only have while all meeting and just can send, the time-out time of acquiescence is 24 hours, and user can increase timeout field at limit and carry out self-defined (acquiescence unit for minute).After configuration, the api framework that uses native system to provide, can realize intelligence and submit service to, for example user a wishes the own information of submitting at sinaweibo, when replying when people surpasses 10 people, be just considered to the synchronous information forwarding of needs, now release module 303 just arrives other platforms by this message synchronization.
Waiting for 10 minutes, and when replying people and surpassing 10 people, the return value of each open platform that above-mentioned url is corresponding becomes:
Qq platform api returns:
Figure BDA00002176178300141
Sina platform api returns:
Amalgamation result:
Figure BDA00002176178300143
Receive after result, the Hook Function that api readjustment user profile is processed notifies user to issue successfully.
In one embodiment of the invention, user a wishes to realize another user b of concern, when the microblogging of user b sends new information, be synchronized on the microblogging of user a oneself, in actual applications, can capture after aiming field by arranging, by release module 303, realize this function.Now, data issue url is:
http://api.baidu.com/user?id=123&action=submit_msg&source={user:b,id:234}&plat=qq,sina
Wherein plat field represents that user wishes the open platform being synchronized to, and source field represents b and the b id:234 in framework,
Arrange successfully return results afterwards into:
{
errNo:0
}
When b has new microblogging to send, the every hyposynchronous result of framework readjustment is:
Figure BDA00002176178300144
Figure BDA00002176178300151
In this case, can add equally the microblogging that limit field controls b postpones to forward after Preset Time.
According to the server of the embodiment of the present invention, utilize Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
As shown in Figure 4, the client of the embodiment of third aspect present invention comprises: sending module 401 and receiver module 402.Sending module 401 is for sending data publication messages to server transmitter, and wherein data publication messages comprises action field, content information, target information and user's identity information.The data of receiver module 402 for returning according to data publication messages from server reception server.
In one embodiment of the invention, the data issue url that sending module sends is:
Http:// api.baidu.com/user id=123 & action=submit_msg & msg=hello & plat=renren, sina, in this data issue url, the Part Development service platform of appointment is renren, sina microblogging.
Sending module is also for sending and capture target to server, and server, after capturing the content update of target, is distributed to the more fresh content that captures target at least one open service platform of described user.Specific embodiment is as follows:
User a wishes to realize another user b of concern, is synchronized on the microblogging of user a oneself when the microblogging of user b sends new information, in actual applications, can realize this function by crawl aiming field is set.Now, data issue url is:
http://api.baidu.com/user?id=123&action=submit_msg&source={user:b,id:234}&plat=qq,sina
Wherein plat field represents that user wishes the open platform being synchronized to, and source field represents b and the b id:234 in framework,
Arrange successfully return results afterwards into:
{
errNo:0
}
When b has new microblogging to send, the every hyposynchronous result of framework readjustment is:
Figure BDA00002176178300161
According to the client of the embodiment of the present invention, can submit to request of data to make Cloud Server carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
As shown in Figure 5, the data commit method across data source of fourth aspect present invention embodiment, comprises the following steps:
S501: receive the data publication messages that client sends, wherein, described data publication messages comprises action field and user's identity information.
S502: according to the select target service platform from a plurality of open service platforms of the target information in data publication messages.
S503: content information is issued in destination service platform according to the action field in data publication messages.
S504: meet pre-conditioned after, content information is committed to at least part of development service platform in a plurality of development service platform.
According to the data commit method across data source of the embodiment of the present invention, can be for all kinds of existing api interfaces, such as Renren Network api, the microblogging api of Sina, the microblogging api of Tengxun, the data platform of variant api framework is managed as data source independently respectively, carries out query and submit(and submit to), simultaneously by operations such as query result merge.
In one embodiment of the invention, server receives after data-message, according to action field user, select SNS(Social Network Site, social network sites) etc. the api of customer relationship class open service platform, is converted to the token that each platform is corresponding (token) and inquiry (query) parameter by id, by the result of request of data according to semanteme carry out assembled, integrate, to client, return, wherein token comprises private token or public token.Specific as follows:
Request of data url is:
Http:// api.baidu.com/user id=123 & action=submit_msg & msg=hello & plat=renren, during sina, system is according to target information field plat, and the result that request renren and sina microblogging open platform return is:
Renren platform api returns:
Figure BDA00002176178300171
Sinaweibo platform api returns:
{
errNo:-1
}
Result is merged, obtains:
Figure BDA00002176178300172
When carrying out above-mentioned merging process, under default setting, should retain the full content of the result before merging, only carry out assembled operation.Amalgamation result is unified for json format standard, is convenient to each open platform and client and reads.
The api framework that uses native system to provide, can realize and submitting to or Push Service simultaneously, such as user a the data of Sinaweibo api issue wish can be in real time or asynchronous transmission to a plurality of platforms, system can submit to this information to arrive renren, the platforms such as qq automatically.
The embodiment of the present invention is the modification of a upper embodiment, and user needs more detailed setting, so can add and submit content (source) field and restriction (limit) field in issue request url, now data issue url becomes:
http://api.baidu.com/user?id=123&action=submit_msg&source={plat:renren,id:456}&limit={wait:10,replayNum:10}&plat=qq,sina
Wherein, source field configuration:
Source sign needs the id of asynchronous and synchronous message, such as being set to 456 of renren platform in above-mentioned url.At this moment the message synchronization that system can be 456 by id in renren when meeting limit condition is to qq, and sina(controls according to plat field).After configuration, the api framework that uses native system to provide, can realize asynchronous and synchronous service, such as user a wishes the own data in sinaweibo issue, can after 2 hours, the reply of this information and this information be all synchronized to qqweibo, or to other platforms of periphery, carry out synchronously after 2 hours.It will be appreciated that, the time span of above-mentioned 2 hours is for convenience of explanation, and should not be construed as limitation of the present invention.
Limit field configuration:
The limit={wait:10 defining in above-mentioned url, replayNum:10}, represent carrying out message submission after wait 10 minutes and reply reach 10, restrictive condition in limit field can increase arbitrarily configuration, system can judge successively from first condition, only have while all meeting and just can send, the time-out time of acquiescence is 24 hours, and user can increase timeout field at limit and carry out self-defined (acquiescence unit for minute).After configuration, the api framework that uses native system to provide, can realize intelligence and submit service to, and for example user a wishes the own information of submitting at sinaweibo, when replying when people surpasses 10 people, be just considered to the synchronous information forwarding of needs, be now just synchronized to other platforms.
Waiting for 10 minutes, and when replying people and surpassing 10 people, the return value of each open platform that above-mentioned url is corresponding becomes:
Qq platform api returns:
Figure BDA00002176178300191
Sina platform api returns:
Amalgamation result:
Figure BDA00002176178300193
Receive after result, the Hook Function that api readjustment user profile is processed notifies user to issue successfully.
In one embodiment of the invention, user a wishes to realize another user b of concern, is synchronized on the microblogging of user a oneself when the microblogging of user b sends new information, in actual applications, can realize this function by crawl aiming field is set.Now, data issue url is:
http://api.baidu.com/user?id=123&action=submit_msg&source={user:b,id:234}&plat=qq,sina
Wherein plat field represents that user wishes the open platform being synchronized to, and source field represents user b and the b id:234 in framework,
Arrange successfully return results afterwards into:
{
errNo:0
}
When user b has new micro-blog information to send, the every hyposynchronous result of framework readjustment is:
Figure BDA00002176178300194
Figure BDA00002176178300201
In this case, can add equally the microblogging that limit field controls user b postpones, after Preset Time, to be forwarded on the microblogging of user a.
In one embodiment of the invention, data issue request comprises submits content field and limited field to, across the flow process of the data commit method of data source as shown in Figure 6:
S601: need to combine required parameter in request of data according to user, outside action field, also alternative adds submission content field and limited field.Submit to content field, limited field to define according to user's request.
S602: request of data is carried out to semantic analysis, according to action field, select api storehouse according to screening rule from all api storehouse.
S603: be submitted to polling system device, return to client the successful information of submitting to.
S604: polling system device is controlled to many api and submitted data to.
S605: judge whether that all submissions are successfully completed, if so, carry out S605; If not yet all completed, re-execute S604.
S606: return to client by forwarding the information of all having submitted to.
According to the data commit method across data source of the embodiment of the present invention, utilize Cloud Server to carry out auto-sequencing, comparison, the calculation task such as assembled, realized the intelligent forwarding capability of the various needs of reply user, saved user's time, improved user's experience.
In flow chart or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in flow chart, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), read-only memory (ROM), the erasable read-only memory (EPROM or flash memory) of editing, fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanner, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in memory and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of described term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.In the present invention, term " a plurality of " refers to two or more.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.

Claims (26)

1. across a data submission system for data source, it is characterized in that, comprise client, server and a plurality of open service platform, wherein,
Described a plurality of open service platform, each the open service platform in described a plurality of open service platforms is used for providing data issuing service;
Described client, for sending data publication messages to described server, described data publication messages comprises action field, content information, target information and user's identity information;
Described server, be used for according to described target information from described a plurality of development service platform select target service platforms, and according to the action field in described data publication messages, described content information is issued in described destination service platform, and meet pre-conditioned after, described content information is committed to at least part of development service platform in described a plurality of development service platform.
2. the data submission system across data source as claimed in claim 1, it is characterized in that, described server obtains each corresponding token and query argument in described at least part of development service platform according to described user's identity information, and from described at least part of open service platform, obtains described data according to described token and query argument.
3. the data submission system across data source as claimed in claim 1 or 2, is characterized in that, described token comprises private token or public token.
4. the data submission system across data source as described in claim 1-3 any one, is characterized in that, described data publication messages also comprises issue condition, described pre-conditioned according to described issue condition setting.
5. the data submission system across data source as claimed in claim 4, it is characterized in that, described issue condition is that described server is committed at least part of development service platform in described a plurality of development service platform by described content information after process Preset Time.
6. the data submission system across data source as claimed in claim 4, it is characterized in that, described issue condition is, in described destination service platform, the content information of described issue is replied to quantity, but when described reply quantity reaches threshold value, described server is committed at least part of development service platform in described a plurality of development service platform by described content information.
7. the data submission system across data source as described in claim 5 or 6, is characterized in that, described at least part of development service platform is specified in described data publication messages by described client.
8. the data submission system across data source as claimed in claim 1, it is characterized in that, described client is also for sending and capture target to described server, described server, after the content update of described crawl target, is distributed to the more fresh content of described crawl target at least one open service platform of described user.
9. a server, is characterized in that, comprising:
Data management module, the data publication messages sending for receiving client, wherein, described data publication messages comprises action field, content information, target information and user's identity information;
Parsing module, resolves for the target information to described data publication messages, with select target service platform from a plurality of open service platforms; And
Release module, for described content information being issued in described destination service platform according to the action field of described data publication messages, and meet pre-conditioned after, described content information is committed to at least part of development service platform in described a plurality of development service platform.
10. server as claimed in claim 9, it is characterized in that, also comprise: data acquisition module, for obtain described user's identity information according to described user's identity information, obtain described at least part of development service platform each corresponding token and query argument, and from described at least part of open service platform, obtain described data according to described token and query argument.
11. servers as described in claim 9 or 10, is characterized in that, described token comprises private token or public token.
12. servers as described in claim 9-11 any one, is characterized in that, described data publication messages also comprises issue condition, described pre-conditioned according to described issue condition setting.
13. servers as claimed in claim 12, is characterized in that, described issue condition is that described server is committed at least part of development service platform in described a plurality of development service platform by described content information after process Preset Time.
14. servers as claimed in claim 12, it is characterized in that, described issue condition is, in described destination service platform, the content information of described issue is replied to quantity, but when described reply quantity reaches threshold value, described server is committed at least part of development service platform in described a plurality of development service platform by described content information.
15. servers as claimed in claim 10, it is characterized in that, the crawl target that described data management module also sends for receiving client, after the content update of described crawl target, the more fresh content of the just described crawl target of described release module is distributed at least one open service platform of described user.
16. 1 kinds of clients, is characterized in that, comprising:
Sending module, for sending data publication messages to server transmitter, described data publication messages comprises action field, content information, target information and user's identity information; And
Receiver module, for receiving from described server the data that described server returns according to described data publication messages.
17. clients as claimed in claim 16, is characterized in that, described sending module is specified described at least part of development service platform in described data publication messages.
18. clients as described in claim 16 or 17, it is characterized in that, described sending module is also for sending and capture target to described server, described server, after the content update of described crawl target, is distributed to the more fresh content of described crawl target at least one open service platform of described user.
19. 1 kinds of data commit methods across data source, is characterized in that, comprising:
Receive the data publication messages that client sends, wherein, described data publication messages comprises action field and user's identity information;
According to the target information of described data acquisition instruction, from described a plurality of open service platforms, select at least part of development service platform;
According to the action field in described data publication messages, described content information is issued in described destination service platform; And
Meet pre-conditioned after, described content information is committed to at least part of development service platform in described a plurality of development service platform.
The 20. data commit methods across data source as claimed in claim 19, is characterized in that, describedly according to the target information of described data acquisition instruction, from described a plurality of open service platforms, select at least part of development service platform further to comprise:
According to described user's identity information, obtain each corresponding token and query argument in described at least part of development service platform; And
According to described token and query argument, from described at least part of open service platform, obtain described data.
The 21. data commit methods across data source as claimed in claim 20, is characterized in that, described token comprises private token or public token.
22. data commit methods across data source as described in claim 19-21 any one, is characterized in that, described data publication messages also comprises issue condition, described pre-conditioned according to described issue condition setting.
The 23. data commit methods across data source as claimed in claim 22, it is characterized in that, described issue condition is that described server is committed at least part of development service platform in described a plurality of development service platform by described content information after process Preset Time.
The 24. data commit methods across data source as claimed in claim 22, it is characterized in that, described issue condition is, in described destination service platform, the content information of described issue is replied to quantity, but when described reply quantity reaches threshold value, described server is committed at least part of development service platform in described a plurality of development service platform by described content information.
25. data commit methods across data source as described in claim 23 or 24, is characterized in that, described at least part of development service platform is specified in described data publication messages by described client.
The 26. data commit methods across data source as claimed in claim 19, it is characterized in that, described client is also for sending and capture target to described server, described server, after the content update of described crawl target, is distributed to the more fresh content of described crawl target at least one open service platform of described user.
CN201210357151.3A 2012-09-21 2012-09-21 Across data submission system, the device and method of data source Active CN103685421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210357151.3A CN103685421B (en) 2012-09-21 2012-09-21 Across data submission system, the device and method of data source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210357151.3A CN103685421B (en) 2012-09-21 2012-09-21 Across data submission system, the device and method of data source

Publications (2)

Publication Number Publication Date
CN103685421A true CN103685421A (en) 2014-03-26
CN103685421B CN103685421B (en) 2017-06-20

Family

ID=50321717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210357151.3A Active CN103685421B (en) 2012-09-21 2012-09-21 Across data submission system, the device and method of data source

Country Status (1)

Country Link
CN (1) CN103685421B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317922A (en) * 2014-10-29 2015-01-28 中国农业银行股份有限公司 Data push system and method
CN105868383A (en) * 2016-04-11 2016-08-17 北京华网汇通技术服务有限公司 Method and system for multi-channel information release
CN108022184A (en) * 2017-12-14 2018-05-11 史琦 A kind of Tourist Experience, social activity and buy service platform and method on behalf
CN111159585A (en) * 2018-11-07 2020-05-15 中国移动通信集团重庆有限公司 Method, device, equipment and medium for automatically submitting data
US11647100B2 (en) 2018-09-30 2023-05-09 China Mobile Communication Co., Ltd Research Inst Resource query method and apparatus, device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006591A1 (en) * 2002-07-05 2004-01-08 Fujitsu Limited Information sharing method, information sharing device, and information sharing computer product
CN101383839A (en) * 2007-09-04 2009-03-11 阿里巴巴集团控股有限公司 Data distribution system based on data server and implementation method
CN101957844A (en) * 2010-09-17 2011-01-26 百度在线网络技术(北京)有限公司 On-line application system and implementation method thereof
CN101969475A (en) * 2010-11-15 2011-02-09 张军 Business data controllable distribution and fusion application system based on cloud computing
CN102087641A (en) * 2009-12-08 2011-06-08 北大方正集团有限公司 Method and system for distributing network information
CN102375856A (en) * 2010-08-23 2012-03-14 腾讯科技(深圳)有限公司 Method and device for searching commodities
CN102402522A (en) * 2010-09-09 2012-04-04 中国移动通信集团上海有限公司 Data query system and method
CN102546623A (en) * 2011-12-30 2012-07-04 成都市华为赛门铁克科技有限公司 Method for accelerating supply of Internet application resources, resource management server and resource management system
CN102684950A (en) * 2011-03-09 2012-09-19 中兴通讯股份有限公司 Method and system for combining service of internet of things and internet
CN102780711A (en) * 2011-05-09 2012-11-14 腾讯科技(深圳)有限公司 Method, device and system for accessing application data of SNS (Social Network Site)

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006591A1 (en) * 2002-07-05 2004-01-08 Fujitsu Limited Information sharing method, information sharing device, and information sharing computer product
CN101383839A (en) * 2007-09-04 2009-03-11 阿里巴巴集团控股有限公司 Data distribution system based on data server and implementation method
CN102087641A (en) * 2009-12-08 2011-06-08 北大方正集团有限公司 Method and system for distributing network information
CN102375856A (en) * 2010-08-23 2012-03-14 腾讯科技(深圳)有限公司 Method and device for searching commodities
CN102402522A (en) * 2010-09-09 2012-04-04 中国移动通信集团上海有限公司 Data query system and method
CN101957844A (en) * 2010-09-17 2011-01-26 百度在线网络技术(北京)有限公司 On-line application system and implementation method thereof
CN101969475A (en) * 2010-11-15 2011-02-09 张军 Business data controllable distribution and fusion application system based on cloud computing
CN102684950A (en) * 2011-03-09 2012-09-19 中兴通讯股份有限公司 Method and system for combining service of internet of things and internet
CN102780711A (en) * 2011-05-09 2012-11-14 腾讯科技(深圳)有限公司 Method, device and system for accessing application data of SNS (Social Network Site)
CN102546623A (en) * 2011-12-30 2012-07-04 成都市华为赛门铁克科技有限公司 Method for accelerating supply of Internet application resources, resource management server and resource management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317922A (en) * 2014-10-29 2015-01-28 中国农业银行股份有限公司 Data push system and method
CN105868383A (en) * 2016-04-11 2016-08-17 北京华网汇通技术服务有限公司 Method and system for multi-channel information release
CN108022184A (en) * 2017-12-14 2018-05-11 史琦 A kind of Tourist Experience, social activity and buy service platform and method on behalf
US11647100B2 (en) 2018-09-30 2023-05-09 China Mobile Communication Co., Ltd Research Inst Resource query method and apparatus, device, and storage medium
CN111159585A (en) * 2018-11-07 2020-05-15 中国移动通信集团重庆有限公司 Method, device, equipment and medium for automatically submitting data
CN111159585B (en) * 2018-11-07 2023-09-22 中国移动通信集团重庆有限公司 Method, device, equipment and medium for automatically submitting data

Also Published As

Publication number Publication date
CN103685421B (en) 2017-06-20

Similar Documents

Publication Publication Date Title
US9461834B2 (en) Electronic document provision to an online meeting
CN103460723B (en) Push notifications for updating multiple dynamic icon panels
CN109587044B (en) Group creation and message interaction method and device
KR102048211B1 (en) Techniques for communicating notifications to subscribers
US8051057B2 (en) Processing of network content and services for mobile or fixed devices
CN102498486A (en) System, server, and mobile device for content provider website interaction and method therefore
US8954494B2 (en) Method and system for synchronizing operations of multiple groups
JP2017517063A (en) Instant messaging system and method
US20150212984A1 (en) Social media and email message aggregator
TWI638321B (en) System and method of an enterprise instant
EP3068070B1 (en) Method and device for initiating network conference
JP2010533906A (en) Method, system and apparatus for sorting topics within a group
WO2017172427A1 (en) Cross-mode communication
WO2011082995A1 (en) Automatically synchronizing new contacts across multiple social networking sites
CN103685421A (en) Cross-data-source data submission system, device and method
US8380794B2 (en) Generating context aware data and conversation's mood level to determine the best method of communication
JP2007531943A (en) System and method for providing user selectable electronic message action selection and processing
US20160330158A1 (en) Messaging Sharing System and Method of Use
CN101460940A (en) Auto-subscribing to syndication feeds using contact lists
EP3659300B1 (en) Action templates in a messaging system
US20110307565A1 (en) Group messaging integration system, method and apparatus
US11550551B2 (en) Method for establishing social network and storage medium thereof
US20160127292A1 (en) Method and system for controlling polling in message conversations across multiple devices
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
CN108353018A (en) Send the method, apparatus and system of message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant