CN103365856B - data sharing method and device - Google Patents

data sharing method and device Download PDF

Info

Publication number
CN103365856B
CN103365856B CN201210085659.2A CN201210085659A CN103365856B CN 103365856 B CN103365856 B CN 103365856B CN 201210085659 A CN201210085659 A CN 201210085659A CN 103365856 B CN103365856 B CN 103365856B
Authority
CN
China
Prior art keywords
page
party
tag types
provider
label protocol
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.)
Active
Application number
CN201210085659.2A
Other languages
Chinese (zh)
Other versions
CN103365856A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210085659.2A priority Critical patent/CN103365856B/en
Publication of CN103365856A publication Critical patent/CN103365856A/en
Application granted granted Critical
Publication of CN103365856B publication Critical patent/CN103365856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides data sharing method and device.The method includes: A, supports that the provider that shares of label protocol orients following third party's page: carry third party's page of tag types corresponding to described label protocol;B, described in share provider from the third party's page oriented, obtain the data that described tag types is corresponding, and provide the data sharing of this acquisition.

Description

Data sharing method and device
Technical field
The present invention relates to the network communications technology, particularly to data sharing method and device.
Background technology
At present, if third party's page needs sharing data, then actively need to by the way of parameter is transmitted Data to be shared send to sharing provider.Shared provider by this and data sharing of this reception be provided, I.e. achieve data sharing.
But, in available data sharing method, needed the data shared by the transmission of parameter transfer mode Can there is following defect:
One, not there is versatility, the data of different third party's page transmission are different, it is impossible to by other Third party's page is utilized;
Two, work is the longest, and maintenance cost is higher;
Three, along with the type of third party's content of pages is more and more abundanter, and the autgmentability of parameter transfer mode The most relatively poor.
Summary of the invention
The invention provides data sharing method and device, to avoid owing to actively will in the way of being transmitted by parameter The data shared are needed to send to sharing the defect that provider is brought.
The technical scheme that the present invention provides includes:
A kind of data sharing method, including:
A, supports that the provider that shares of label protocol orients following third party's page: carry described label protocol Third party's page of corresponding tag types;
B, described in share provider and obtain, from the third party's page oriented, the number that described tag types is corresponding According to, and the data sharing of this acquisition is provided.
A kind of device being applied to data sharing method, this device predefined label protocol of support, including:
Positioning unit, is used for orienting following third party's page: carry the tag types that described label protocol is corresponding Third party's page;
Obtain and shared cell, for obtaining described label from third party's page that described positioning unit is oriented The data that type is corresponding, and the data sharing of this acquisition is provided.
As can be seen from the above technical solutions, in the present invention, share provider and utilize label protocol the most fixed Position also obtains the data needing to share, and not passively receives third party's page by sharing provider in prior art The data needing to share that face is transmitted by parameter transfer mode, this is fully able to compared to prior art Avoid the data owing to actively being shared by needs by the way of being transmitted by parameter to send to sharing provider to be carried The defect come.
Accompanying drawing explanation
The method flow diagram that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 realizes schematic diagram for the location of the step 101 that the embodiment of the present invention provides;
Third party's page that Fig. 3 provides for the embodiment of the present invention carries tag types schematic diagram;
The structure drawing of device that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings and specifically Embodiment describes the present invention.
In the method that the present invention provides, utilized label protocol positive location by sharing provider and obtain needs The data shared, to realize sharing the sharing of data, not passively connect by sharing provider in prior art Receiving the data needing to share that third party's page is transmitted by parameter transfer mode, this is compared to prior art, It is fully able to avoid the data owing to actively being shared by needs by the way of being transmitted by parameter to send to sharing carry The defect that supplier is brought.The method provided the present invention below by Fig. 1 is described:
See the method flow diagram that Fig. 1, Fig. 1 provide for the present invention.As it is shown in figure 1, this flow process can be wrapped Include following steps:
Step 101, supports that the provider that shares of label protocol orients following third party's page: carry with Third party's page of the tag types that described label protocol is corresponding.
Preferably, in the present invention, when the location of step 101 implements can in the following manner 1 and/ Or mode 2 realizes, the most as shown in Figure 2:
Mode 1, shares provider and orients the following third party's page triggered by way of search: carry with Third party's page of the label information that described label protocol is corresponding;
Such as, user A searches out following third party's page by existing conventional way of search: carry with Third party's page of the label information that described label protocol is corresponding, and by this third party's page searched out Identify such as address information to propagate to share provider, this share provider according to the third party's page received Face mark location goes out third party's page of correspondence;
Mode 2, shares provider and orients the following third party's page triggered by social assembly: carry with Third party's page of the label information that described label protocol is corresponding.
Wherein, social assembly can be to share button, and it is typically in third party's page, when user triggers ratio As click on this share button time, just can propagate to share by the mark of this third party's page such as address information Provider, is shared provider by this and orients third party's page of correspondence according to the third party's page iden-tity received Face.Preferably, in the present invention, described in share button and include but not limited to microblogging, such as, Tengxun's microblogging, Sina's microblogging etc..
How to carry the tag types corresponding with described label protocol as third party's page, it can be by figure Shown in 3.
First, in figure 3, third party's website is when editor third party's page, from predefined label In obtain in the heart the tag types corresponding with described label protocol and third party's page type of being edited.
Preferably, in the present invention, the tag types that in predefined tag hub, label protocol is supported can Following several to include but not limited to:
Title (title), for representing the title of third party's page;
Thumbnail information (image), for representing the thumbnail information of third party's page;
Page Short Description (description), for representing the Short Description to third party's page info;
Site name (site), for representing the title of third party's page place website.
Based on this, if the third party's page then edited is social network sites, then the tag types obtained is Title, site and in image, insert photographic intelligence etc.;Certainly, if editor third party's page Commodity website be such as the website of B2C type, then the tag types obtained be title, site and Merchandise news etc. is inserted in image.
Afterwards, third party's website embeds the tag identification code of acquisition in the third party's page edited.Wherein, This tag identification code specifically comprises the steps that the tag types of acquisition and corresponding data.
Finally, can define and carry third party's page of the tag types corresponding with described label protocol.
It should be noted that the tag types that in above-mentioned predefined tag hub, label protocol is supported can Along with enriching constantly of web page contents can further expand, such as, in some Rich Medias such as video, audio frequency Website can further expand and include Rich Media's relevant information.
It can be seen that by the tag types supported at label protocol defined in predefined tag hub, The resource identification in label protocol energy specification interconnection website and labelling can be ensured, such as, at video net Identifying main video information etc. in standing, this improves open and sharing capability, also ensures that label protocol simultaneously Content is comprehensive, succinct and accurate, it is possible to contain basic content pre-viewing.
Step 102, shares provider and obtains described tag types correspondence from the third party's page oriented Data, and provide the data sharing of this acquisition.
So far, complete the flow process shown in Fig. 1 to describe.
It should be noted that in the present invention, share provider can be social network services (SNS: Social Networking Services) platform or other there is sharing functionality and support label protocol Platform.
It addition, the label protocol in the present invention can be formulated by agreement formulation side, can be Tengxun when implementing The label protocols such as the instant messaging such as QQ that company proposes, can be such as QC (full name is QQ Connect) Agreement.
The method provided the present invention above is described, and the device provided the present invention below is retouched State:
See the structure drawing of device that Fig. 4, Fig. 4 provide for the present invention.This device can be described above point Enjoying provider, it supports predefined label protocol, and as shown in Figure 4, this device comprises the steps that
Positioning unit, is used for orienting following third party's page: carry the tag types that described label protocol is corresponding Third party's page;
Obtain and shared cell, for obtaining described label from third party's page that described positioning unit is oriented The data that type is corresponding, and the data sharing of this acquisition is provided.
Preferably, in the present invention, described positioning unit receive by way of search and/or social assembly trigger with The mark of lower third party's page: carry third party's page of the tag types corresponding with described label protocol, depend on Third party's page of correspondence is oriented according to the third party's page iden-tity received;
Wherein, described social assembly includes but not limited to share button, described in share button and include but not limited to micro- Rich.
Preferably, in the present invention, described third party's page carries corresponding with described label protocol by following steps Tag types:
Third party's website, when editor third party's page, obtains and described label from predefined tag hub The tag types that agreement is corresponding with the third party's page type edited, and in the third party's page edited Embed the tag types obtained and corresponding data.
Wherein, described tag types includes but not limited to several or the most several following combination in any:
Title;
Thumbnail information;
Page Short Description;
Web site name;
Rich Media's relevant information.
So far, the device that completing the present invention provides describes.
As can be seen from the above technical solutions, in the present invention, share provider and utilize label protocol the most fixed Position also obtains the data needing to share, and is not actively transmitted by parameter by third party's page in prior art Mode transmit need share data to sharing provider, this is compared to prior art, is fully able to keep away Exempt from the data owing to actively being shared by needs by the way of being transmitted by parameter to send to sharing provider and brought Defect.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in Within the scope of protection of the invention.

Claims (8)

1. a data sharing method, it is characterised in that the method includes:
A, supports that the provider that shares of label protocol orients following third party's page: carry described label protocol Third party's page of corresponding tag types;Wherein, third party's page carries corresponding with described label protocol Tag types is to be accomplished by by third party's website: third party's website when editor third party's page, Obtain corresponding with described label protocol and the third party's page type edited from predefined tag hub Tag types, and in the third party's page edited, embed the tag types of acquisition and corresponding data;
B, described in share provider and obtain, from the third party's page oriented, the number that described tag types is corresponding According to, and the data sharing of this acquisition is provided.
Method the most according to claim 1, it is characterised in that the location in step A includes:
The described mark sharing following third party's page that provider's reception is triggered by way of search and/or social assembly Know: carry third party's page of the tag types corresponding with described label protocol;
The described provider of sharing orients third party's page of correspondence according to the third party's page iden-tity received.
Method the most according to claim 2, it is characterised in that described social assembly includes but not limited to Share button, described in share button and include but not limited to microblogging.
Method the most according to claim 1, it is characterised in that described in share provider and include but do not limit In: social network services SNS platform.
Method the most according to claim 1, it is characterised in that described tag types includes but not limited to The most several or the most several combination in any:
Title;
Thumbnail information;
Page Short Description;
Web site name;
Rich Media's relevant information.
6. the device being applied to data sharing method, it is characterised in that this device is supported predefined Label protocol, including:
Positioning unit, carries the 3rd of the tag types corresponding with label protocol for orienting by following steps Side the page: by third party's website when editor third party's page, from predefined tag hub obtain with The tag types that described label protocol is corresponding with the third party's page type edited, and the 3rd edited Side's page embeds the tag types of acquisition and corresponding data;
Obtain and shared cell, for obtaining described label from third party's page that described positioning unit is oriented The data that type is corresponding, and the data sharing of this acquisition is provided.
Device the most according to claim 6, it is characterised in that described positioning unit receives by searcher The mark of following third party's page that formula and/or social assembly trigger: carry the mark corresponding with described label protocol Sign third party's page of type, orient third party's page of correspondence according to the third party's page iden-tity received;
Wherein, described social assembly includes but not limited to share button, described in share button and include but not limited to micro- Rich.
Device the most according to claim 7, it is characterised in that described tag types includes but not limited to The most several or the most several combination in any:
Title;
Thumbnail information;
Page Short Description;
Web site name;
Rich Media's relevant information.
CN201210085659.2A 2012-03-28 2012-03-28 data sharing method and device Active CN103365856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210085659.2A CN103365856B (en) 2012-03-28 2012-03-28 data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210085659.2A CN103365856B (en) 2012-03-28 2012-03-28 data sharing method and device

Publications (2)

Publication Number Publication Date
CN103365856A CN103365856A (en) 2013-10-23
CN103365856B true CN103365856B (en) 2016-08-17

Family

ID=49367229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210085659.2A Active CN103365856B (en) 2012-03-28 2012-03-28 data sharing method and device

Country Status (1)

Country Link
CN (1) CN103365856B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697412A (en) * 2004-05-12 2005-11-16 三星电子株式会社 Method for sharing audio/video content over network, and structures of sink device, source device, and message
CN101262494A (en) * 2008-01-23 2008-09-10 华为技术有限公司 Method, client, server and system for processing distributed information
CN102045885A (en) * 2009-10-22 2011-05-04 华为技术有限公司 Content shared spreading method, equipment and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697412A (en) * 2004-05-12 2005-11-16 三星电子株式会社 Method for sharing audio/video content over network, and structures of sink device, source device, and message
CN101262494A (en) * 2008-01-23 2008-09-10 华为技术有限公司 Method, client, server and system for processing distributed information
CN102045885A (en) * 2009-10-22 2011-05-04 华为技术有限公司 Content shared spreading method, equipment and system

Also Published As

Publication number Publication date
CN103365856A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN103389969B (en) A kind of methods, devices and systems for mobile terminal preview pdf document
CN104239298B (en) Text message recommends method, server, browser and system
CN103260257B (en) Automatically set up Wi-Fi Display and connect the method and system realizing Screen sharing
CN105446750B (en) The method and apparatus that WebApp starting runs, generates image file
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
CN104488324A (en) Method of accessing, by wireless device, information mapped to currently positioned space by using network access device, and device for accessing information mapped to currently positioned space by using network access device
CN104765742B (en) A kind of method and device that information is shown
CN101833570A (en) Method and device for optimizing page push of mobile terminal
CN103188260A (en) Method of implementing content-centric network (CCN) using internet protocol (IP)-based network in gateway, and gateway
CN103533530A (en) Cross-device user corresponding and user tracking methods and systems
CN102982117B (en) Information search method and device
CN101674318A (en) Method for pushing data to mobile equipment at regular time
US8880108B2 (en) Short message processing method and apparatus
CN102542010B (en) Searching linked content using an external search system
CN101354706A (en) Method and apparatus for collecting web page information
CN104753979B (en) A kind of method, server, terminal and system showing site information
CN104317884A (en) Method and device for acquiring types of source pages of website
CN109726240A (en) Real time business trace tracking method and real time business trajectory processing method
TWI528767B (en) Information servicing method and system
CN103365856B (en) data sharing method and device
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN103609193B (en) The method and wireless access network equipment of identification terminal type
CN104298416A (en) Method and device for generating auto-response messages in instant messaging
CN102984231A (en) Interactive method based on browser
CN103020324A (en) Searching method, searching equipment and searching system based on application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant