CN110380954A - Data sharing method and device, storage medium and electronic device - Google Patents

Data sharing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN110380954A
CN110380954A CN201910642581.1A CN201910642581A CN110380954A CN 110380954 A CN110380954 A CN 110380954A CN 201910642581 A CN201910642581 A CN 201910642581A CN 110380954 A CN110380954 A CN 110380954A
Authority
CN
China
Prior art keywords
account
list
label information
label
target data
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
CN201910642581.1A
Other languages
Chinese (zh)
Other versions
CN110380954B (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 CN201910642581.1A priority Critical patent/CN110380954B/en
Publication of CN110380954A publication Critical patent/CN110380954A/en
Application granted granted Critical
Publication of CN110380954B publication Critical patent/CN110380954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of data sharing method and device, storage medium and electronic device.Wherein, this method comprises: the target data obtained in the display interface to the first application executes sharing operation sharing instruction generated;Response shares instruction and obtains the first label information to match with target data, wherein the first label information is used to indicate classification belonging to target data;Obtain the second account list that there is incidence relation with the first account for sharing request sharing target data in instruction;Each of the second account list label information of account and the first label information are compared, the first account list is obtained according to comparison result;The first account list is shown in the display interface;The object account for receiving target data is obtained from the first account list;Target data is shared with object account.The present invention solves the lower technical problem of data sharing efficiency present in current existing data sharing mode.

Description

Data sharing method and device, storage medium and electronic device
Technical field
The present invention relates to computer fields, in particular to a kind of data sharing method and device, storage medium and electricity Sub-device.
Background technique
Data sharing function all is provided for user in many terminal applies, so that user can be by data of interest It is shared with the good friend of oneself.Wherein, at present during sharing account and executing data sharing, usually to be shared choosing After data, need first from the sharing object for receiving sharing data with selection in the buddy list for sharing account relating, for example, such as Fig. 1 (a) shown in-(c), when sharing article S in application App-1, it need to first choose and share object (such as account A), then by above-mentioned article S It is pushed to sharing object account A.
However, the sharing object for receiving sharing data is often arranged in a fixed order in buddy list, example Such as, it arranges according to good friend's title initial sequence, or is arranged according to frequency of interaction height.That is, executing data sharing When, it needs in the buddy list configured in a fixed order, the sharing pair to be pushed is searched by way of manual page turning As being extended so as to cause the data sharing time, in turn resulting in the lower problem of data sharing efficiency.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of data sharing method and device, storage medium and electronic device, at least to solve The lower technical problem of data sharing efficiency present in certainly current existing data sharing mode.
According to an aspect of an embodiment of the present invention, a kind of data sharing method is provided, comprising: obtain and apply to first Display interface in target data execute sharing operation sharings generated and instruct;Above-mentioned sharing instruction is responded to obtain from server Take the first label information to match with above-mentioned target data, wherein above-mentioned first label information is used to indicate above-mentioned number of targets According to affiliated classification;The first account list is obtained according to above-mentioned first label information, wherein the account in above-mentioned first account list Number the second label information match with above-mentioned first label information;It is obtained from above-mentioned first account list and receives above-mentioned target The object account of data;Above-mentioned target data is shared with above-mentioned object account.
According to another aspect of an embodiment of the present invention, a kind of data sharing method is additionally provided, comprising: receive the first application Client sharing operation sharings generated instruction is executed to target data;It is obtained and above-mentioned target according to above-mentioned sharing instruction The first label information that data match, wherein above-mentioned first label information is used to indicate classification belonging to above-mentioned target data; The first account list is obtained according to above-mentioned first label information, wherein the second label of the account in above-mentioned first account list Information matches with above-mentioned first label information;What acquisition was selected from above-mentioned first account list is used to receive above-mentioned number of targets According to object account;Above-mentioned target data is shared with above-mentioned object account.
Another aspect according to an embodiment of the present invention, additionally provides a kind of data sharing method, comprising: acquisition is answered first Target data in display interface executes sharing operation sharing instruction generated;Respond the sharing instruction acquisition and institute State the first label information that target data matches, wherein first label information is used to indicate belonging to the target data Classification;It obtains and second account of first account with incidence relation shared request in instruction and share the target data Number list;Compare each of the second account list label information of account and first label information, according to than First account list is obtained to result;The first account list is shown in the display interface;From the first account list Obtain the object account for receiving the target data;The target data is shared with the object account.
Another aspect according to an embodiment of the present invention additionally provides a kind of data sharing device, comprising: first obtains list Member executes sharing operation sharing instruction generated for obtaining the target data in the display interface to the first application;Second Acquiring unit obtains the first label information to match with above-mentioned target data from server for responding above-mentioned sharing instruction, Wherein, above-mentioned first label information is used to indicate classification belonging to above-mentioned target data;Third acquiring unit, for according to above-mentioned First label information obtain the first account list, wherein the second label information of the account in above-mentioned first account list with it is upper The first label information is stated to match;4th acquiring unit receives above-mentioned number of targets for obtaining from above-mentioned first account list According to object account;Sharing unit, for above-mentioned target data to be shared with above-mentioned object account.
Another aspect according to an embodiment of the present invention additionally provides a kind of data sharing device, comprising: receiving unit is used Sharing operation sharing generated is executed to target data in the client that reception first is applied to instruct;First acquisition unit is used In the first label information obtained according to above-mentioned sharing instruction and above-mentioned target data matches, wherein above-mentioned first label letter Breath is used to indicate classification belonging to above-mentioned target data;Second acquisition unit, for obtaining the according to above-mentioned first label information One account list, wherein the second label information of the account in above-mentioned first account list and above-mentioned first label information phase Match;Third acquiring unit, for obtaining the object for being used to receive above-mentioned target data selected from above-mentioned first account list Account;Sharing unit, for above-mentioned target data to be shared with above-mentioned object account.
Another aspect according to an embodiment of the present invention additionally provides a kind of data sharing device, comprising: first obtains list Member executes sharing operation sharing instruction generated for obtaining the target data in the display interface to the first application;Second Acquiring unit, for responding first label information sharing instruction acquisition and matching with the target data, wherein described First label information is used to indicate classification belonging to the target data;Third acquiring unit, for obtain with it is described share refer to The first account that the target data is shared in request in order has the second account list of incidence relation;Comparing unit, for than To the label information and first label information of each of the second account list account, obtained according to comparison result First account list;Display unit, for showing the first account list in the display interface;4th acquiring unit, is used for The object account for receiving the target data is obtained from the first account list;Sharing unit is used for the number of targets According to being shared with the object account.
As a kind of optional example, above-mentioned apparatus further include: transmission unit, for sending target data to server Attribute information, so that server obtains the first label information to match with target data according to attribute information, wherein attribute letter Breath include at least one of: the title of target data, the abstract of target data, target data chained address.
Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium, and meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute above-mentioned data sharing method when operation.
Another aspect according to an embodiment of the present invention, additionally provides a kind of electronic device, including memory, processor and deposits Store up the computer program that can be run on a memory and on a processor, wherein above-mentioned processor passes through computer program and executes Above-mentioned data sharing method.
In embodiments of the present invention, sharing operation is executed in the target data got in the display interface to the first application After sharing instruction generated, by obtaining the first label information to match with the target data to be shared, to realize root According to the first label information obtain the first account list, wherein the second label information of the account in above-mentioned first account list with First label information matches, meanwhile, pass through the first account list of display and obtain the object account for receiving target data, It not only can realize that the target data will be shared accurately is shared with the object account for needing above-mentioned target data, and The object account that quick obtaining matches with the target data shared from the first account list will greatly reduce from numerous accounts The time of object account is searched in number, and then realizes the effect for improving the efficiency of data sharing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of data sharing method according to prior art;
Fig. 2 is a kind of application environment schematic diagram of optional data sharing method according to an embodiment of the present invention;
Fig. 3 is a kind of flow chart of optional data sharing method according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of optional data sharing method according to an embodiment of the present invention;
Fig. 5 is the schematic diagram of another optional data sharing method according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of another optional data sharing method according to an embodiment of the present invention;
Fig. 7 is the flow chart of another optional data sharing method according to an embodiment of the present invention;
Fig. 8 is the flow chart of another optional data sharing method according to an embodiment of the present invention;
Fig. 9 is the flow chart of another optional data sharing method according to an embodiment of the present invention;
Figure 10 is the flow diagram of another optional data sharing method according to an embodiment of the present invention;
Figure 11 is the schematic diagram of another optional data sharing method according to an embodiment of the present invention;
Figure 12 is the schematic diagram of another optional data sharing method according to an embodiment of the present invention;
Figure 13 is a kind of schematic diagram of optional data sharing device according to an embodiment of the present invention;
Figure 14 is the schematic diagram of another optional data sharing device according to an embodiment of the present invention;
Figure 15 is the schematic diagram of another optional data sharing device according to an embodiment of the present invention;
Figure 16 is a kind of schematic diagram of optional data sharing terminal according to an embodiment of the present invention;
Figure 17 is a kind of schematic diagram of optional data sharing server according to an embodiment of the present invention;
Figure 18 is a kind of structural schematic diagram of optional electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
In embodiments of the present invention, a kind of embodiment of above-mentioned mutual resource method for pushing is provided.As a kind of optional Embodiment, the mutual resource method for pushing can be, but not limited to be applied to application environment as shown in Figure 2 in, terminal 202 Middle operation has the first application, and terminal 202 executes sharing operation institute in the target data obtained in the display interface to the first application After the sharing instruction of generation, responds sharing instruction and obtained from server 206 and above-mentioned target data phase by network 204 The first label information matched, wherein first label information is used to indicate classification belonging to above-mentioned target data;Then, according to First label information obtain the first account list, wherein the second label information of the account in above-mentioned first account list with First label information matches;The object account for receiving above-mentioned target data is obtained from the first account list, and will be above-mentioned Target data is shared with object account.
In the present embodiment, it is given birth in the target data execution sharing operation got in the display interface to the first application At sharing instruction after, by obtaining the first label information for matching with the target data to be shared from server, with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, and it is above-mentioned not only can to realize that the target data will be shared accurately is shared with needs The object account of target data, and the object that quick obtaining matches with the target data shared from the first account list Account will greatly reduce the time for searching object account from numerous accounts, and then realize the effect for improving the efficiency of data sharing Fruit.
Optionally, in the present embodiment, above-mentioned terminal can include but is not limited at least one of: mobile phone, plate electricity Brain, laptop, desktop PC, DTV and other be used for sharing data hardware device.Above-mentioned network may include But it is not limited at least one of: wide area network, Metropolitan Area Network (MAN), local area network.Above-mentioned only a kind of example, the present embodiment do not appoint this What is limited.
According to embodiments of the present invention, a kind of data sharing method is provided, as shown in figure 3, this method comprises:
S302, the target data execution sharing operation sharing generated obtained in the display interface to the first application refer to It enables;
S304, response share instruction and obtain the first label information to match with target data from server, wherein first Label information is used to indicate classification belonging to target data;
S306 obtains the first account list according to the first label information, wherein second of the account in the first account list Label information matches with the first label information;
S308 obtains the object account for receiving target data from the first account list;
Target data is shared with object account by S310.
Optionally, in the present embodiment, above-mentioned data sharing method can be, but not limited to the data applied to different application During sharing, for example, above-mentioned application can include but is not limited at least one of: video playing application, news application, i.e. When communication applications, shopping application etc., data sharing can shared between accounts different in same application, can also be Shared in different application.Wherein, the data mode of above-mentioned shared target data can include but is not limited to down toward It is one of few: text, picture, video, flash animation etc..Above-mentioned is only a kind of example, for other types the embodiment of the present application In do not do any restriction herein.
For example, target data is being got by taking article as an example to this article so that the first application is instant messaging application as an example After the sharing instruction for executing sharing operation, the first label information to match with this article, such as the first mark are obtained from server Label information indicates that this article belongs to economy class.Assuming that internal in instant communication applications shared, then it is available this immediately The second account list associated with the first account that request is shared, obtains the account in the second account list in communication applications Label information, and be compared with the first label information, to obtain the first account list that label information matches, wherein The label of account in first account list is also referred to as economy class.Object account is being obtained from the first account list, and will Above-mentioned target data is pushed to the object account.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It should be noted that being given birth in the target data execution sharing operation got in the display interface to the first application At sharing instruction after, by obtaining the first label information for matching with the target data to be shared from server, with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, and it is above-mentioned not only can to realize that the target data will be shared accurately is shared with needs The object account of target data, and the object that quick obtaining matches with the target data shared from the first account list Account will greatly reduce the time for searching object account from numerous accounts, and then realize the effect for improving the efficiency of data sharing Fruit.
Optionally, in the present embodiment, above-mentioned the first label information to match with target data can be, but not limited to for Server is generated according to the attribute information of the target data got, wherein above-mentioned attribute information include it is following at least it One: the title of target data, the abstract of target data, target data chained address.
For example, the user end to server of the first application sends the title of target data, and/or, the abstract of target data, And/or unified resource symbol (Uniform Resource Locator, abbreviation URL) etc..Wherein, server can be beaten by URL Corresponding link is opened, the word content in the indicated page of link is extracted.Then, to the text in above-mentioned title, abstract and the page Word content is segmented, and by participle obtained above with first pass through the keyword learnt in obtained dictionary in advance and be compared Match, to obtain the first label information of the target data according to the result after comparison.Wherein, above-mentioned matching process can with but it is unlimited In the LDA algorithm using the text subject cluster provided in the related technology, the maximum entropy classifiers etc. of text classification, the present embodiment In do not do any restriction to this.
Optionally, in the present embodiment, the first account list is obtained according to the first label information to include: acquisition refers to sharing The first account that target data is shared in request in order has the second account list of incidence relation;It compares in the second account list The label information of account and the first label information;The first account list is obtained according to the result of comparison.
It should be noted that above-mentioned first account can include but is not limited at least one of: being answered for logging in first What the terminal IP of account, the first application place terminal that the terminal iidentification of terminal where account, the first application is constituted was constituted Account etc..That is, can directly be obtained using login account has association when carrying out data sharing in same application The account list of relationship, such as good friend's account list of the first account.It, can be with and when carrying out data sharing between different applications But the account that the account and/or terminal IP for being not limited to be constituted using terminal iidentification are constituted, obtains for receiving target data The two applications data-interface open for the first application, by calling the data-interface to realize the data sharing in the first application To the account list in the second application, for example, terminal indicated by above-mentioned terminal iidentification or terminal IP, after logging in the second application, Good friend's account list in the second application.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
In addition, in the present embodiment, the above-mentioned process for obtaining the first account list according to the first label information can be the It is executed in the client of one application, that is to say, that after obtaining the first label information that server is sent in the client, client The label information that can use account in the second account list of caching is compared with the first label information, and client is by holding Row compares operation, to obtain the first account list after comparing;In addition, above-mentioned obtain the first account column according to the first label information The process of table can execute in the server, that is to say, that directly have incidence relation to the first account in the server The label information of account is compared with the first label information in second account list, and client can directly receive server hair The first account list after the comparison sent.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, the label information of the account in above-mentioned second account list can be, but not limited to for In the label information that client is pre-configured, also can be, but not limited to receive the label got according to predetermined period server and believing Breath.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It should be noted that in the present embodiment, label indicated by above-mentioned first label information may include but unlimited Label indicated by the label information of account in one or more data labels, above-mentioned second account list may include but It is not limited to one or more account labels.That is, every target data can correspond to one or more data labels, each Account can also correspond to the one or more account labels of configuration, not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, the label information and the first label of the account in above-mentioned the second account of comparison list Information can include but is not limited to:
1) it obscures and compares, following operation: current account is executed respectively as current account to the account in the second account list Number label information indicated by least one data label category indicated by least one account label and the first label information In the case where the label of same label type, determine that the label information of the account matches with the first label information of mesh, can incite somebody to action The account is as the account in the first account list;
2) precise alignment executes following operation respectively as current account to the account in the second account list: from current In account label indicated by the label information of account, obtaining with data label indicated by the first label information is same label Number of labels;The matching degree between the label information of current account and the first label information is identified using number of labels;With reality The second account list is now updated according to above-mentioned matching degree, wherein include above-mentioned first account list in the second account list.
It should be noted that in the present embodiment, can be, but not limited to determine comparison type according to different tag types, For example, can be, but not limited to can be, but not limited to adopt for hobby interests type using precise alignment for technology specialty type With fuzzy comparison, above-mentioned is only a kind of example, can be corresponded to according to different user demands and configure different alignments, this implementation Any restriction is not done to this in example.
Optionally, in the present embodiment, after obtaining the first account list according to the result of comparison, further includes:
1) the first account list is shown according to predetermined order in display interface.
For example, it is assumed that with the first account there is the second account of incidence relation to arrange in the first application App-1 Shown in table such as Fig. 4 (a), including account A, account B, account C, after comparison, judge to match with the first label information the Include: account B, account C in one account list, then can show that above-mentioned first account arranges according to predetermined order in display interface Table, such as Fig. 4 (b), it is assumed that getting object account is account C, then can push the target data C to be shared to account C, such as scheme Shown in 4 (c).Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
2) the second account list is shown according to matching degree in display interface, wherein the first account list is arranged according to matching degree The top N being listed in the second account list, N are the natural number more than or equal to 1.
For example, as shown in fig. 5, it is assumed that with the first account there is the second account of incidence relation to arrange in the first application App-1 Shown in table such as Fig. 5 (a), including account A, account B, account C can be to above-mentioned second accounts according to matching degree calculating after comparison Account in number list is resequenced, and such as Fig. 5 (b), shows updated second account according to matching degree in display interface List, display order are updated to account B, account C, account A.Where it is assumed that the first account to match with the first label information It include: account B, account C in list, then above-mentioned first account list is located at preceding two in above-mentioned updated second account list Position.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
That is, in the present embodiment, after getting the first account list, can be, but not limited to only display label Information and the matched first account list of the first label information, it should be noted that above-mentioned first account list can be according to pre- It is fixed sequentially to show, for example, being arranged according to initial or frequency of use or recently using time etc. for foundation, in the present embodiment Any restriction is not done to this.In addition, in the present embodiment, after getting the first account list, also can be, but not limited to by It is shown in the second account list according to matching degree, wherein the first account list is located at the top N of the second account list.In other words, it shows Show whole accounts in the second account list, but according to matching degree, will be shown with the matched first account list of the first label information Show in top N, in order to quick obtaining object account.
By embodiment provided by the present application, divide getting the target data in the display interface to the first application and executing After enjoying operation sharing instruction generated, by obtaining the first label to match with the target data to be shared from server Information obtains the first account list according to the first label information to realize, wherein the of account in above-mentioned first account list Two label informations match with the first label information, not only can realize that the target data will be shared accurately is shared with The object account of above-mentioned target data is needed, and quick obtaining and the target data phase shared from the first account list The object account matched will greatly reduce the time for searching object account from numerous accounts, and then realize and improve data sharing The effect of efficiency.
As a kind of optional scheme, obtaining the first account list according to the first label information includes:
S1, obtaining with the first account for sharing request sharing target data in instruction there is the second account of incidence relation to arrange Table;
S2 compares the label information and the first label information of the account in the second account list;
S3 obtains the first account list according to the result of comparison.
It should be noted that in the present embodiment, above-mentioned second account list can be, but not limited in the first application with First account has the account list of incidence relation;Also can be, but not limited to for in the second of the first association the application with the One account has the account list of incidence relation.
Specifically, internal in the case where share target data in application App-1, above-mentioned second account list can with but not It is limited to the second account list to have incidence relation with the first account in the first application, for example, second in application App-1 Account list includes: account A, account B, account C;Obtaining the first account list through comparison includes: account B, account C, from first Selecting object account (account C) shares target data in account list.In addition, first being applied the target data in App-1 In the case where sharing to the second application App-2, above-mentioned second account list also can be, but not limited in the second application with the One account has the second account list of incidence relation, for example, jumping to and answering from application App-1 as shown in Fig. 6 (a)-(c) With in App-2, the second account list applied in App-2 with the first account with incidence relation is obtained, wherein the second account column Table includes: account A, account B, account C;Obtaining the first account list through comparison includes: account B, account C, is arranged from the first account Selecting object account (account C) shares target data in table.
Optionally, in the present embodiment, the label information and the first label information of the account in the second account list are compared It include: fuzzy comparison, precise alignment.Wherein, it obscures and compares, be used to indicate in account label and data label and have at least one To the label for belonging to the same category, so that it may determine the account that the account label is identified and the target that the data label is identified Data match, to realize using the account as the account in the first account list.Wherein, precise alignment is used to indicate The number of labels for obtaining in account label and belonging to same label in data label, determines two according to the number of labels of same label The matching degree of person, to realize the account obtained in the first account list according to matching degree.For example, by being matched in the second account list Degree is greater than the account of predetermined threshold as the account in the first account list.
By embodiment provided by the present application, have obtaining and sharing the first account that target data is shared in request in instruction After the second relevant account list, by the label information and the first label that compare the account in the second account list Information, to obtain the first account list according to the result of comparison.It is available to arrive and mesh to realize during data sharing The first account list that mark data match, the first account list of above-mentioned target data is needed by accurately providing, so that mesh Mark data can accurately be shared with the object account for being used to receive target data for including in the first account list.
As a kind of optional scheme, the label information and the first label information packet of the account in the second account list are compared It includes:
S1 traverses account whole in the second account list, each account in the second account list is successively used as currently Account executes following operation:
S11, indicated by least one account label indicated by the label information of current account and the first label information At least one data label match in the case where, judge that the label information of current account is matched with the first label information;
S12, using current account as the account in the first account list.
Optionally, in the present embodiment, at least one account label and first indicated by the label information of current account At least one data label, which matches, indicated by label information can include but is not limited to: the label information of current account is signified At least one data label indicated by least one the account label shown and the first label information belongs to same label type Label;In addition, indicated by least one account label indicated by the label information of current account and the first label information extremely A few data label, which matches, can include but is not limited to: at least one account mark indicated by the label information of current account Label are the label of same label at least one data label indicated by the first label information.
It should be noted that in the present embodiment, label indicated by above-mentioned first label information may include but unlimited Label indicated by the label information of account in one or more data labels, above-mentioned second account list may include but It is not limited to one or more account labels.That is, every target data can correspond to one or more data labels, each Account can also correspond to the one or more account labels of configuration, not do any restriction to this in the present embodiment.
That is, in the present embodiment, the label information and the first label for comparing the account in the second account list are believed It when breath, can be compared using fuzzy, in multiple labels indicated by label information, obtain at least a pair and belong to same label class The label of type, or at least a pair of label for same label, then can be determined that the label information and the first label information of the account Matching, and can be using the account as the account in the first account list, in order to facilitate use it will be shown in display interface Family quickly selects to receive the object account of target data, achievees the effect that the efficiency for improving data sharing.
It will be indicated by the label information of current account by comparing label information by embodiment provided by the present application The case where at least one data label indicated by least one account label and the first label information matches is determined as current The label information of account is matched with the first label information, and then using current account as the account in the first account list, with reality Label information now is compared by fuzzy, reaches quick obtaining with what target data matched and is used for received first account list, And then realize the object account quickly and accurately obtained from the first account list for receiving target data.
As a kind of optional scheme, the label information and the first label information packet of the account in the second account list are compared It includes:
S1 traverses account whole in the second account list, each account in the second account list is successively used as currently Account executes following operation:
S11, in account label indicated by the label information from current account, obtain with indicated by the first label information The number of labels for the label that data label matches;
S12 identifies the matching degree between the label information of current account and the first label information using number of labels;
S2 updates the second account list according to matching degree, wherein includes the first account list in the second account list.
It optionally, in the present embodiment, will be indicated by the label information of current account during above-mentioned matching judgment Account label in, with data label indicated by the first label information be same label label be judged to matching label, obtain Take the number of labels of the matching label for identifying matching degree.To realize the account obtained in the first account list according to matching degree Number.To achieve the purpose that carry out precise alignment to the label information of account and the first label information of target data.
It should be noted that in the present embodiment, after getting the matching degree that number of labels is identified, can with but not It is limited to matching degree in the second account list being greater than the account of predetermined threshold as the account in the first account list, wherein the Account in one account list is the partial account number in the second account list.
Optionally, in the present embodiment, it can be, but not limited to individually obtain above-mentioned first account list, by first account Number list display is in display interface, and the account in the first account list can be, but not limited to show according to matching degree here, It can be, but not limited to show according to default sequence.Any restriction is not done in the present embodiment to this.
Optionally, in the present embodiment, can with but be not limited to update whole accounts in the second account list according to matching degree Number put in order, wherein the account in the first account list to match with target data is arranged in the second account list Top N.That is, also may be displayed on display with other not matched accounts of target data in the second account list In interface, and display order is located at after the account in the first account list.Any restriction is not done in the present embodiment to this.
By embodiment provided by the present application, by comparison label information, indicated by the label information from current account In account label, the number of labels of the label to match with data label indicated by the first label information is obtained, label is used Matching degree between the label information and the first label information of the current account of quantity identity is passed through accurately with realizing according to matching degree Compare label information, reach quick obtaining and target data matches for received first account list, so realize from The object account for receiving target data is quickly and accurately obtained in first account list.
As a kind of optional scheme, after obtaining the first account list according to the result of comparison, further includes:
S1 shows the first account list according to predetermined order in display interface.
Specifically as shown in connection with fig. 4, it is assumed that with the first account there is the second account of incidence relation to arrange in the first application App-1 Shown in table such as Fig. 4 (a), including account A, account B, account C, after comparison, judge to match with the first label information the Include: account B, account C in one account list, then can show that above-mentioned first account arranges according to predetermined order in display interface Table, such as Fig. 4 (b), it is assumed that getting object account is account C, then can push the target data C to be shared to account C, such as scheme Shown in 4 (c).
By embodiment provided by the present application, by directly displaying the first account list to match with target data, with Reduction needs page turning to search the lookup time for receiving the object account of target data in the related technology, by from the first account The mode that object account is directly selected in list reaches the efficiency for improving data sharing.
As a kind of optional scheme, after obtaining the first account list according to the result of comparison, comprising:
S1 shows the second account list according to matching degree in display interface, wherein the first account list is arranged according to matching degree The top N being listed in the second account list, N are the natural number more than or equal to 1.
Specifically as shown in connection with fig. 5, it is assumed that with the first account there is the second account of incidence relation to arrange in the first application App-1 Shown in table such as Fig. 5 (a), including account A, account B, account C can be to above-mentioned second accounts according to matching degree calculating after comparison Account in number list is resequenced, and such as Fig. 5 (b), shows updated second account according to matching degree in display interface List, display order are updated to account B, account C, account A.Where it is assumed that the first account to match with the first label information It include: account B, account C in list, then above-mentioned first account list is located at preceding two in above-mentioned updated second account list Position.
By embodiment provided by the present application, by updating putting in order for the second account list, so that and target data The the first account list to match may be displayed on the top N of the second account list, need page turning to look into the related technology to reduce The lookup time for looking for the object account for receiving target data, by directly selecting object account from the first account list Mode reaches the efficiency for improving data sharing.
According to an embodiment of the invention, a kind of data sharing method is additionally provided, as shown in fig. 7, this method comprises:
S702, the client for receiving the first application execute sharing operation sharing generated to target data and instruct;
S704 obtains the first label information to match with target data according to instruction is shared, wherein the first label information It is used to indicate classification belonging to target data;
S706 obtains the first account list according to the first label information, wherein second of the account in the first account list Label information matches with the first label information;
S708 obtains the object account for being used to receive target data selected from the first account list;
Target data is shared with object account by S710.
Optionally, in the present embodiment, above-mentioned data sharing method can be, but not limited to the data applied to different application During sharing, for example, above-mentioned application can include but is not limited at least one of: video playing application, news application, i.e. When communication applications, shopping application etc., data sharing can shared between accounts different in same application, can also be Shared in different application.Wherein, the data mode of above-mentioned shared target data can include but is not limited to down toward It is one of few: text, picture, video, flash animation etc..Above-mentioned is only a kind of example, for other types the embodiment of the present application In do not do any restriction herein.
For example, target data is being got by taking article as an example to this article so that the first application is instant messaging application as an example After the sharing instruction for executing sharing operation, the first label information to match with this article, such as the first mark are obtained from server Label information indicates that this article belongs to economy class.Assuming that internal in instant communication applications shared, then it is available this immediately The second account list associated with the first account that request is shared, obtains the account in the second account list in communication applications Label information, and be compared with the first label information, to obtain the first account list that label information matches, wherein The label of account in first account list is also referred to as economy class.Object account is being obtained from the first account list, and will Above-mentioned target data is pushed to the object account.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It should be noted that being given birth in the target data execution sharing operation got in the display interface to the first application At sharing instruction after, by obtaining the first label information for matching with the target data to be shared from server, with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, and it is above-mentioned not only can to realize that the target data will be shared accurately is shared with needs The object account of target data, and the object that quick obtaining matches with the target data shared from the first account list Account will greatly reduce the time for searching object account from numerous accounts, and then realize the effect for improving the efficiency of data sharing Fruit.
Optionally, in the present embodiment, above-mentioned the first label information to match with target data can be, but not limited to for Server is generated according to the attribute information of the target data got, wherein above-mentioned attribute information include it is following at least it One: the title of target data, the abstract of target data, target data chained address.
For example, the user end to server of the first application sends the title of target data, and/or, the abstract of target data, And/or unified resource symbol (Uniform Resource Locator, abbreviation URL) etc..Wherein, server can be beaten by URL Corresponding link is opened, the word content in the indicated page of link is extracted.Then, to the text in above-mentioned title, abstract and the page Word content is segmented, and by participle obtained above with first pass through the keyword learnt in obtained dictionary in advance and be compared Match, to obtain the first label information of the target data according to the result after comparison.Wherein, above-mentioned matching process can with but it is unlimited In the LDA algorithm using the text subject cluster provided in the related technology, the maximum entropy classifiers etc. of text classification, the present embodiment In do not do any restriction to this.
It should be noted that in the present embodiment, target data can be, but not limited to according to the keywords database in dictionary With one or more data labels, for example, it is assumed that be shared is article S, server analysis obtains mark corresponding with article S Signing information includes:
1 matching degree 10 of label is divided
2 matching degree 8 of label is divided
3 matching degree 5 of label is divided
Moreover, it is assumed that matching degree greater than 6 points as label indicated by the first label information, then can according to above content Determine that label indicated by the first label information of this article S includes: label 1 and label 2, further, server can will be above-mentioned Label indicated by first label information is sent to the matching of client progress and the label information of the second account list, with accurate It obtains for receiving the first account list of target data, and then reaches the object account for quick and precisely obtaining and receiving target data Effect, avoid searching repeatedly.
Optionally, in the present embodiment, the first account list is obtained according to the first label information to include: acquisition refers to sharing The first account that target data is shared in request in order has the second account list of incidence relation;It compares in the second account list The label information of account and the first label information;The first account list is obtained according to the result of comparison.
It should be noted that in the present embodiment, the label information of the account in above-mentioned second account list can with but not It is limited to the label information to be pre-configured in client, also can be, but not limited to be sent to client according to predetermined period for server Label information.Wherein, server can be, but not limited to determine the second account list according to following at least one data of account In account label information: data sharing history, data access history etc..That is, passing through the history for collecting account Data analyze the application hobby of account, to be embodied as the purpose of the account accurate match corresponding label.
Optionally, in the present embodiment, the above-mentioned process for obtaining the first account list according to the first label information can be It is executed in server, that is to say, that in the server directly in the second account list with the first account with incidence relation The label information of account is compared with the first label information, and client obtains after can directly receiving the comparison that server is sent The first account list.
For example, being sent and being shared by the client of the first application in terminal 802 as shown in step S802-S812 in Fig. 8 The sharing of target data instructs, and server 804 is obtained according to sharing instruction and matched first label information of target data, so The first account list is obtained from the second account list that there is incidence relation with the first account further according to the first label information afterwards, And the first account list is sent to the client of the first application in terminal 802, terminal 802 will be on display interface be shown The first account list is stated, and obtains object account from the first account list, the number of targets is shared by server 804 to realize According to object account.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, the above-mentioned process for obtaining the first account list according to the first label information can be It is executed in the client of first application, that is to say, that after obtaining the first label information that server is sent in the client, client The label information that end can use account in the second account list of caching is compared with the first label information, and client passes through It executes and compares operation, to obtain the first account list after comparing.
For example, being sent and being shared by the client of the first application in terminal 802 as shown in step S902-S912 in Fig. 9 The sharing of target data instructs, and server 804 is obtained according to sharing instruction and matched first label information of target data, so First label information is sent to terminal 802 afterwards, terminal 802 is associated with according to first label information from having with the first account The first account list is obtained in second account list of relationship, by the first account list display in display interface, and from first Object account is obtained in account list, to realize that sharing the target data by server 804 gives object account.Above-mentioned is only one Example is planted, does not do any restriction to this in the present embodiment.
It should be noted that above-mentioned target data can be shared with by server 804 same application in terminal 802 or Different application.That is, can directly be obtained using login account has association when carrying out data sharing in same application The account list of relationship, such as good friend's account list of the first account.It, can be with and when carrying out data sharing between different applications But the account that the account and/or terminal IP for being not limited to be constituted using terminal iidentification are constituted, obtains for receiving target data The two applications data-interface open for the first application, by calling the data-interface to realize the data sharing in the first application To the account list in the second application, for example, terminal indicated by above-mentioned terminal iidentification or terminal IP, after logging in the second application, Good friend's account list in the second application.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
By embodiment provided by the present application, sharing operation institute is executed to target data in the client that reception first is applied After the sharing instruction of generation, pass through the first label information to match according to instruction acquisition is shared with target data, wherein first Label information is used to indicate classification belonging to target data, obtains the first account list according to the first label information to realize, In, the second label information and the first label information of the account in above-mentioned first account list match, not only can be real The target data to be shared now accurately is shared with to the object account for needing above-mentioned target data, and from the first account list The object account that middle quick obtaining matches with the target data shared will greatly reduce the lookup object account from numerous accounts Number time, and then realize improve data sharing efficiency effect.
As a kind of optional embodiment, obtaining the first account list according to the first label information includes:
S1, obtaining has incidence relation with the first account for sharing request sharing target data in instruction in the first application The second account list;
S2 compares the label information and the first label information of the account in the second account list;
S3 obtains the first account list according to the result of comparison.
It is specifically illustrated as shown in connection with fig. 4, in application App-1 in the case where internal sharing target data, it is assumed that Have shown in second account list such as Fig. 4 (a) of incidence relation in first application App-1 with the first account, including account A, account Number B, account C judge that in the first account list to match with the first label information include: account B, account after comparison C then can show above-mentioned first account list according to predetermined order in display interface, such as Fig. 4 (b), it is assumed that get object account Number be account C, then can to account C push the target data C to be shared, as shown in Fig. 4 (c).
By embodiment provided by the present application, by directly displaying the first account list to match with target data, with Reduction needs page turning to search the lookup time for receiving the object account of target data in the related technology, by from the first account The mode that object account is directly selected in list reaches the efficiency for improving data sharing.
As a kind of optional embodiment, obtaining the first account list according to the first label information includes:
S1, obtaining has incidence relation with the first account for sharing request sharing target data in instruction in the second application Third account list, wherein for receiving target data, the first application is associated application with the second application for the second application;
S2 compares the label information and the first label information of the account in the list of third account;
S3 obtains the first account list according to the result of comparison.
It is specifically illustrated, shares by the target data in the first application App-1 to the second application as shown in connection with fig. 6 In the case where App-2, above-mentioned second account list also can be, but not limited to have in the second application with the first account and be associated with Second account list of relationship, for example, being jumped to from application App-1 using in App-2, being obtained as shown in Fig. 6 (a)-(c) Using in App-2 with the first account have incidence relation the second account list, wherein the second account list include: account A, Account B, account C;Obtaining the first account list through comparison includes: account B, account C, the selecting object account from the first account list Number (account C) shares target data.
By embodiment provided by the present application, have obtaining and sharing the first account that target data is shared in request in instruction After relevant account list, by comparing the label information and the first label information of the account in account list, with The first account list is obtained according to the result of comparison.It is available to arrive and target data to realize during data sharing The the first account list to match needs the first account list of above-mentioned target data by accurately providing, so that target data The object account for being used to receive target data for including in the first account list can be accurately shared with.
As a kind of optional scheme, the label information for comparing the account in account list includes: with the first label information
S1 traverses account whole in account list, and account each in account list is successively executed as current account It operates below:
S12, indicated by least one account label indicated by the label information of current account and the first label information At least one data label match in the case where, judge that the label information of current account is matched with the first label information;
S14, using current account as the account in the first account list.
Optionally, in the present embodiment, at least one account label and first indicated by the label information of current account At least one data label, which matches, indicated by label information can include but is not limited to: the label information of current account is signified At least one data label indicated by least one the account label shown and the first label information belongs to same label type Label;In addition, indicated by least one account label indicated by the label information of current account and the first label information extremely A few data label, which matches, can include but is not limited to: at least one account mark indicated by the label information of current account Label are the label of same label at least one data label indicated by the first label information.
It should be noted that in the present embodiment, label indicated by above-mentioned first label information may include but unlimited Label indicated by the label information of account in one or more data labels, above-mentioned second account list may include but It is not limited to one or more account labels.That is, every target data can correspond to one or more data labels, each Account can also correspond to the one or more account labels of configuration, not do any restriction to this in the present embodiment.
That is, in the present embodiment, the label information and the first label for comparing the account in the second account list are believed It when breath, can be compared using fuzzy, in multiple labels indicated by label information, obtain at least a pair and belong to same label class The label of type, or at least a pair of label for same label, then can be determined that the label information and the first label information of the account Matching, and can be using the account as the account in the first account list, in order to facilitate use it will be shown in display interface Family quickly selects to receive the object account of target data, achievees the effect that the efficiency for improving data sharing.
It will be indicated by the label information of current account by comparing label information by embodiment provided by the present application The case where at least one data label indicated by least one account label and the first label information matches is determined as current The label information of account is matched with the first label information, and then using current account as the account in the first account list, with reality Label information now is compared by fuzzy, reaches quick obtaining with what target data matched and is used for received first account list, And then realize the object account quickly and accurately obtained from the first account list for receiving target data.
As a kind of optional scheme, the label information for comparing the account in account list includes: with the first label information
S1 traverses account whole in account list, and account each in account list is successively executed as current account It operates below:
S12, in account label indicated by the label information from current account, obtain with indicated by the first label information The number of labels for the label that data label matches;
S14 identifies the matching degree between the label information of current account and the first label information using number of labels;
S2 updates account list according to matching degree, wherein includes the first account list in account list.
It optionally, in the present embodiment, will be indicated by the label information of current account during above-mentioned matching judgment Account label in, with data label indicated by the first label information be same label label be judged to matching label, obtain Take the number of labels of the matching label for identifying matching degree.To realize the account obtained in the first account list according to matching degree Number.To achieve the purpose that carry out precise alignment to the label information of account and the first label information of target data.
It should be noted that in the present embodiment, after getting the matching degree that number of labels is identified, can with but not It is limited to matching degree in the second account list being greater than the account of predetermined threshold as the account in the first account list, wherein the Account in one account list is the partial account number in the second account list.
Optionally, in the present embodiment, it can be, but not limited to individually obtain above-mentioned first account list, by first account Number list display is in display interface, and the account in the first account list can be, but not limited to show according to matching degree here, It can be, but not limited to show according to default sequence.Any restriction is not done in the present embodiment to this.
Optionally, in the present embodiment, can with but be not limited to update whole accounts in the second account list according to matching degree Number put in order, wherein the account in the first account list to match with target data is arranged in the second account list Top N.That is, also may be displayed on display with other not matched accounts of target data in the second account list In interface, and display order is located at after the account in the first account list.Any restriction is not done in the present embodiment to this.
By embodiment provided by the present application, by comparison label information, indicated by the label information from current account In account label, the number of labels of the label to match with data label indicated by the first label information is obtained, label is used Matching degree between the label information and the first label information of the current account of quantity identity is passed through accurately with realizing according to matching degree Compare label information, reach quick obtaining and target data matches for received first account list, so realize from The object account for receiving target data is quickly and accurately obtained in first account list.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Another aspect according to an embodiment of the present invention, additionally provides a kind of data sharing method, optionally, such as Figure 10 institute Show, above-mentioned data sharing method includes:
S1002, the target data execution sharing operation sharing generated obtained in the display interface to the first application refer to It enables;
S1004 responds first label information sharing instruction acquisition and matching with the target data, wherein institute It states the first label information and is used to indicate classification belonging to the target data;
S1006, obtaining has incidence relation with first account for sharing the request sharing target data in instruction The second account list;
S1008 compares each of the second account list label information of account and first label information, The first account list is obtained according to comparison result;
S1010 shows the first account list in the display interface;
S1012 obtains the object account for receiving the target data from the first account list;
The target data is shared with the object account by S1014.
Optionally, in the present embodiment, above-mentioned data sharing method can be, but not limited to the data applied to different application During sharing, for example, above-mentioned application can include but is not limited at least one of: video playing application, news application, i.e. When communication applications, shopping application etc., data sharing can shared between accounts different in same application, can also be Shared in different application.Wherein, the data mode of above-mentioned shared target data can include but is not limited to down toward It is one of few: text, picture, video, flash animation etc..Above-mentioned is only a kind of example, for other types the embodiment of the present application In do not do any restriction herein.
For example, target data is being got by taking article as an example to this article so that the first application is instant messaging application as an example After the sharing instruction for executing sharing operation, the first label information to match with this article, such as the first mark are obtained from server Label information indicates that this article belongs to economy class.Assuming that internal in instant communication applications shared, then it is available this immediately The second account list associated with the first account that request is shared, obtains the account in the second account list in communication applications Label information, and be compared with the first label information, to obtain the first account list that label information matches, wherein The label of account in first account list is also referred to as economy class.The first account list is shown in the display interface, from Object account is obtained in one account list, and above-mentioned target data is pushed to the object account.Above-mentioned is only a kind of example, this Any restriction is not done in embodiment to this.
It should be noted that being given birth in the target data execution sharing operation got in the display interface to the first application At sharing instruction after, by obtaining the first label information for matching with the target data to be shared from server, with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, passes through the first account list of display and obtains the object account for receiving target data Method not only may be implemented the target data will be shared and accurately be shared with the object account for needing above-mentioned target data, and And the object account that quick obtaining matches with the target data shared from the first account list, it will greatly reduce from numerous The time of object account is searched in account, and then realizes the effect for improving the efficiency of data sharing.
Optionally, the first account list can be shown according to predetermined order when showing the first account list in this programme. For example, being ranked up to the account in the first account list according to initial, then show, or will be in the first account list Account is shown according to frequency of use, or the account in the first account list is carried out according to the last using the time Sequence.
For example, for being ranked up according to initial, for example including account " Xiao Ming ", " Su Su " in the first account list , then can be as shown in figure 11 according to the result that initial is ranked up display with " spring ", according to the sequence of initial in Figure 11 Sequence shows three accounts in above-mentioned first account list.The first account list can be flexibly shown using above-mentioned display method In account, help user to find the object account of wanted sharing data as early as possible, to improve the display effect of the first account list Rate further improves the efficiency of data sharing process.
Optionally, determine that the first account list can be with the following method in this programme: will be in the second account list Account execute following operation: at least one account mark indicated by the label information of current account respectively as current account In the case that label belong to the label of same label type at least one data label indicated by the first label information, institute is determined The label information and first label information for stating current account match, using the current account as in the first account list Account.
That is, obtaining each account in the second account list in this programme after getting the second account list Number label information.It may include multiple labels in label information.And by the label information of above-mentioned account and the first label information It is compared, if there are identical labels, then it is assumed that the corresponding account of the label information is the first account.To by above-mentioned Method selects the first account list in the second account list.The account in the first account list selected at least one Account label is identical as the label in the first label information.
Optionally, in this programme when showing the first account list, the second account list can also be shown, and by the first account Number top N of the listing arrangement in the second account list, the N are the natural number more than or equal to 1.That is, for It is higher account a possibility that shared target data by the first account list selected, and in the second account list Other accounts there is also by sharing target data a possibility that.Therefore it needs to also show out by the second account list.In addition, By the first account list display in the top N of the second account list, it ensure that becoming apparent from for the first account list display, improve The efficiency of data sharing.For example, as shown in figure 12, account " small red " and " small China " are the account in the first account list, and " small Soviet Union " is the account in the second account list.Except display " small red " and " small China ", it is also necessary to show " little Su ", the position " little Su " After " small red " and " small China ".
It optionally, can be according to the account of the account in the first account list in the present solution, when showing the first account list The matching degree of number label and the first label information determines the display order of account in the first account list.For example, matching degree is big The first account list display in the top N of the second account list, N is positive integer.
It optionally, can also be by the account in the second account list point in this programme before showing the second account list Following operation is not executed as current account: in account label indicated by the label information from current account, being obtained and first Data label indicated by label information is the number of labels of same label;Believed using the label that number of labels identifies current account Matching degree between breath and the first label information.By the above method, available each account into the second account list Matching degree between label information and the first label information.Each of the second account list account is shown according to above-mentioned matching degree Number.By the above method, in the account that display may be implemented, more forward account and the relevance of the first label information are higher, So as to make the quick selecting object account of user, the efficiency of data sharing is improved.
Optionally, in the present solution, in the response first for sharing instruction acquisition and matching with the target data Before label information, further includes: Xiang Suoshu server sends the attribute information of the target data so that the server according to The attribute information obtains first label information to match with the target data, wherein the attribute information includes At least one of: the title of the target data, the abstract of the target data, the chained address of the target data are our First label information sharing instruction and matching from server acquisition with the target data is responded in case.
Optionally, example of other examples in this programme during reference can be made to the above method embodiment, the present embodiment is herein It does not repeat them here.
Through this embodiment, by executing sharing operation in the target data got in the display interface to the first application After sharing instruction generated, the first label information to match with the target data to be shared is obtained, from server with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, meanwhile, pass through the first account list of display and obtains the object for receiving target data The method of account, so that the target data will be shared, which not only may be implemented, is accurately shared with pair for needing above-mentioned target data As account, and the object account that quick obtaining matches with the target data shared from the first account list, it will significantly The time for searching object account from numerous accounts is reduced, data sharing efficiency is improved.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the data of above-mentioned data sharing method Sharing apparatus, as shown in figure 13, which includes:
1) behaviour is shared for obtaining the target data in the display interface to the first application and executing in first acquisition unit 1302 Make sharing instruction generated;
2) second acquisition unit 1304 obtain match with target data first for responding to share to instruct from server Label information, wherein the first label information is used to indicate classification belonging to target data;
3) third acquiring unit 1306, for obtaining the first account list according to the first label information, wherein the first account Second label information of the account in list matches with the first label information;
4) the 4th acquiring unit 1308, for obtaining the object account for receiving target data from the first account list;
5) sharing unit 1310, for target data to be shared with object account.
Optionally, in the present embodiment, above-mentioned data sharing device can be, but not limited to the data applied to different application During sharing, for example, above-mentioned application can include but is not limited at least one of: video playing application, news application, i.e. When communication applications, shopping application etc., data sharing can shared between accounts different in same application, can also be Shared in different application.Wherein, the data mode of above-mentioned shared target data can include but is not limited to down toward It is one of few: text, picture, video, flash animation etc..Above-mentioned is only a kind of example, for other types the embodiment of the present application In do not do any restriction herein.
For example, target data is being got by taking article as an example to this article so that the first application is instant messaging application as an example After the sharing instruction for executing sharing operation, the first label information to match with this article, such as the first mark are obtained from server Label information indicates that this article belongs to economy class.Assuming that internal in instant communication applications shared, then it is available this immediately The second account list associated with the first account that request is shared, obtains the account in the second account list in communication applications Label information, and be compared with the first label information, to obtain the first account list that label information matches, wherein The label of account in first account list is also referred to as economy class.Object account is being obtained from the first account list, and will Above-mentioned target data is pushed to the object account.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It should be noted that being given birth in the target data execution sharing operation got in the display interface to the first application At sharing instruction after, by obtaining the first label information for matching with the target data to be shared from server, with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, and it is above-mentioned not only can to realize that the target data will be shared accurately is shared with needs The object account of target data, and the object that quick obtaining matches with the target data shared from the first account list Account will greatly reduce the time for searching object account from numerous accounts, and then realize the effect for improving the efficiency of data sharing Fruit.
By embodiment provided by the present application, divide getting the target data in the display interface to the first application and executing After enjoying operation sharing instruction generated, by obtaining the first label to match with the target data to be shared from server Information obtains the first account list according to the first label information to realize, wherein the of account in above-mentioned first account list Two label informations match with the first label information, not only can realize that the target data will be shared accurately is shared with The object account of above-mentioned target data is needed, and quick obtaining and the target data phase shared from the first account list The object account matched will greatly reduce the time for searching object account from numerous accounts, and then realize and improve data sharing The effect of efficiency.
As a kind of optional scheme, third acquiring unit 1306 includes:
1) first module is obtained, there is association for obtaining and sharing the first account that target data is shared in request in instruction Second account list of relationship;
2) the first comparison module, for comparing the label information and the first label information of the account in the second account list;
3) second module is obtained, for obtaining the first account list according to the result of comparison.
By embodiment provided by the present application, have obtaining and sharing the first account that target data is shared in request in instruction After the second relevant account list, by the label information and the first label that compare the account in the second account list Information, to obtain the first account list according to the result of comparison.It is available to arrive and mesh to realize during data sharing The first account list that mark data match, the first account list of above-mentioned target data is needed by accurately providing, so that mesh Mark data can accurately be shared with the object account for being used to receive target data for including in the first account list.
As a kind of optional scheme, the first comparison module includes:
1) the first processing submodule will be every in the second account list for traversing account whole in the second account list A account successively executes following operation: at least one account mark indicated by the label information of current account as current account In the case that label match at least one data label indicated by the first label information, the label letter of current account is judged Breath is matched with the first label information;Using current account as the account in the first account list.
It will be indicated by the label information of current account by comparing label information by embodiment provided by the present application The case where at least one data label indicated by least one account label and the first label information matches is determined as current The label information of account is matched with the first label information, and then using current account as the account in the first account list, with reality Label information now is compared by fuzzy, reaches quick obtaining with what target data matched and is used for received first account list, And then realize the object account quickly and accurately obtained from the first account list for receiving target data.
As a kind of optional scheme, the first comparison module includes:
1) the first processing submodule will be every in the second account list for traversing account whole in the second account list A account successively executes following operation as current account: in account label indicated by the label information from current account, obtaining Take the number of labels of the label to match with data label indicated by the first label information;Current account is identified using number of labels Number label information and the first label information between matching degree;
2) submodule is updated, for updating the second account list according to matching degree, wherein include the in the second account list One account list.
By embodiment provided by the present application, by comparison label information, indicated by the label information from current account In account label, the number of labels of the label to match with data label indicated by the first label information is obtained, label is used Matching degree between the label information and the first label information of the current account of quantity identity is passed through accurately with realizing according to matching degree Compare label information, reach quick obtaining and target data matches for received first account list, so realize from The object account for receiving target data is quickly and accurately obtained in first account list.
As a kind of optional scheme, further includes:
1) the first display module, for being pressed in display interface after obtaining the first account list according to the result of comparison The first account list is shown according to predetermined order.
By embodiment provided by the present application, by directly displaying the first account list to match with target data, with Reduction needs page turning to search the lookup time for receiving the object account of target data in the related technology, by from the first account The mode that object account is directly selected in list reaches the efficiency for improving data sharing.
As a kind of optional scheme, comprising:
1) the second display module, for being pressed in display interface after obtaining the first account list according to the result of comparison The second account list is shown according to matching degree, wherein the first account list is arranged in the preceding N in the second account list according to matching degree Position, N are the natural number more than or equal to 1.
By embodiment provided by the present application, by updating putting in order for the second account list, so that and target data The the first account list to match may be displayed on the top N of the second account list, need page turning to look into the related technology to reduce The lookup time for looking for the object account for receiving target data, by directly selecting object account from the first account list Mode reaches the efficiency for improving data sharing.
According to an embodiment of the invention, additionally providing a kind of data sharing device, as shown in figure 14, which includes:
1) receiving unit 1402, it is generated that the client for receiving the first application executes sharing operation to target data Share instruction;
2) first acquisition unit 1404, the first label letter for matching according to instruction acquisition is shared with target data Breath, wherein the first label information is used to indicate classification belonging to target data;
3) second acquisition unit 1406, for obtaining the first account list according to the first label information, wherein the first account Second label information of the account in list matches with the first label information;
4) third acquiring unit 1408, for obtaining pair for being used to receive target data selected from the first account list As account;
5) sharing unit 1410, for target data to be shared with object account.
Optionally, in the present embodiment, above-mentioned data sharing device can be, but not limited to the data applied to different application During sharing, for example, above-mentioned application can include but is not limited at least one of: video playing application, news application, i.e. When communication applications, shopping application etc., data sharing can shared between accounts different in same application, can also be Shared in different application.Wherein, the data mode of above-mentioned shared target data can include but is not limited to down toward It is one of few: text, picture, video, flash animation etc..Above-mentioned is only a kind of example, for other types the embodiment of the present application In do not do any restriction herein.
For example, target data is being got by taking article as an example to this article so that the first application is instant messaging application as an example After the sharing instruction for executing sharing operation, the first label information to match with this article, such as the first mark are obtained from server Label information indicates that this article belongs to economy class.Assuming that internal in instant communication applications shared, then it is available this immediately The second account list associated with the first account that request is shared, obtains the account in the second account list in communication applications Label information, and be compared with the first label information, to obtain the first account list that label information matches, wherein The label of account in first account list is also referred to as economy class.Object account is being obtained from the first account list, and will Above-mentioned target data is pushed to the object account.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It should be noted that being given birth in the target data execution sharing operation got in the display interface to the first application At sharing instruction after, by obtaining the first label information for matching with the target data to be shared from server, with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, and it is above-mentioned not only can to realize that the target data will be shared accurately is shared with needs The object account of target data, and the object that quick obtaining matches with the target data shared from the first account list Account will greatly reduce the time for searching object account from numerous accounts, and then realize the effect for improving the efficiency of data sharing Fruit.
By embodiment provided by the present application, sharing operation institute is executed to target data in the client that reception first is applied After the sharing instruction of generation, pass through the first label information to match according to instruction acquisition is shared with target data, wherein first Label information is used to indicate classification belonging to target data, obtains the first account list according to the first label information to realize, In, the second label information and the first label information of the account in above-mentioned first account list match, not only can be real The target data to be shared now accurately is shared with to the object account for needing above-mentioned target data, and from the first account list The object account that middle quick obtaining matches with the target data shared will greatly reduce the lookup object account from numerous accounts Number time, and then realize improve data sharing efficiency effect.
As a kind of optional scheme, second acquisition unit includes:
1) first obtain module, for obtains first application in shares instruction in request sharing target data first Account has the second account list of incidence relation;
2) the first comparison module, for comparing the label information and the first label information of the account in the second account list;
3) second module is obtained, for obtaining the first account list according to the result of comparison.
By embodiment provided by the present application, by directly displaying the first account list to match with target data, with Reduction needs page turning to search the lookup time for receiving the object account of target data in the related technology, by from the first account The mode that object account is directly selected in list reaches the efficiency for improving data sharing.
As a kind of optional scheme, second acquisition unit includes:
1) third obtain module, for obtains second application in shares instruction in request sharing target data first Account has the third account list of incidence relation, wherein the second application is answered for receiving target data, the first application with second With for associated application;
2) the second comparison module, for comparing the label information and the first label information of the account in third account list;
3) the 4th module is obtained, for obtaining the first account list according to the result of comparison.
By embodiment provided by the present application, have obtaining and sharing the first account that target data is shared in request in instruction After relevant account list, by comparing the label information and the first label information of the account in account list, with The first account list is obtained according to the result of comparison.It is available to arrive and target data to realize during data sharing The the first account list to match needs the first account list of above-mentioned target data by accurately providing, so that target data The object account for being used to receive target data for including in the first account list can be accurately shared with.
As a kind of optional scheme, second acquisition unit compares the label of the account in account list by following steps Information and the first label information:
S1 traverses account whole in account list, and account each in account list is successively executed as current account It operates below:
S12, indicated by least one account label indicated by the label information of current account and the first label information At least one data label match in the case where, judge that the label information of current account is matched with the first label information;
S14, using current account as the account in the first account list.
It will be indicated by the label information of current account by comparing label information by embodiment provided by the present application The case where at least one data label indicated by least one account label and the first label information matches is determined as current The label information of account is matched with the first label information, and then using current account as the account in the first account list, with reality Label information now is compared by fuzzy, reaches quick obtaining with what target data matched and is used for received first account list, And then realize the object account quickly and accurately obtained from the first account list for receiving target data.
As a kind of optional scheme, second acquisition unit compares the label of the account in account list by following steps Information and the first label information:
S1 traverses account whole in account list, and account each in account list is successively executed as current account It operates below:
S12, in account label indicated by the label information from current account, obtain with indicated by the first label information The number of labels for the label that data label matches;
S14 identifies the matching degree between the label information of current account and the first label information using number of labels;
S2 updates account list according to matching degree, wherein includes the first account list in account list.
By embodiment provided by the present application, by comparison label information, indicated by the label information from current account In account label, the number of labels of the label to match with data label indicated by the first label information is obtained, label is used Matching degree between the label information and the first label information of the current account of quantity identity is passed through accurately with realizing according to matching degree Compare label information, reach quick obtaining and target data matches for received first account list, so realize from The object account for receiving target data is quickly and accurately obtained in first account list.
Another aspect according to an embodiment of the present invention additionally provides a kind of data sharing device, optionally, such as Figure 15 institute Show, above-mentioned data sharing device includes:
(1) first acquisition unit 1502 execute sharing for obtaining the target data in the display interface to the first application Operate sharing instruction generated;
(2) second acquisition unit 1504 described share instruction and obtain match with the target data for responding One label information, wherein first label information is used to indicate classification belonging to the target data;
(3) third acquiring unit 1506, for obtaining and for sharing request in instruction and sharing the target data One account has the second account list of incidence relation;
(4) comparing unit 1508, for comparing label information and the institute of each of the second account list account The first label information is stated, the first account list is obtained according to comparison result;
(5) display unit 1510, for showing the first account list in the display interface;
(6) the 4th acquiring units 1512, for obtaining pair for receiving the target data from the first account list As account;
(7) sharing unit 1514, for the target data to be shared with the object account.
Optionally, the first account list can be shown according to predetermined order when showing the first account list in this programme. For example, being ranked up to the account in the first account list according to initial, then show, or will be in the first account list Account is shown according to frequency of use, or the account in the first account list is carried out according to the last using the time Sequence.
For example, for being ranked up according to initial, for example including account " Xiao Ming ", " Su Su " in the first account list , then can be as shown in figure 11 according to the result that initial is ranked up display with " spring ", according to the sequence of initial in Figure 11 Sequence shows three accounts in above-mentioned first account list.The first account list can be flexibly shown using above-mentioned display method In account, help user to find the object account of wanted sharing data as early as possible, to improve the display effect of the first account list Rate further improves the efficiency of data sharing process.
Optionally, determine that the first account list can be with the following method in this programme: will be in the second account list Account execute following operation: at least one account mark indicated by the label information of current account respectively as current account In the case that label belong to the label of same label type at least one data label indicated by the first label information, institute is determined The label information and first label information for stating current account match, using the current account as in the first account list Account.
That is, obtaining each account in the second account list in this programme after getting the second account list Number label information.It may include multiple labels in label information.And by the label information of above-mentioned account and the first label information It is compared, if there are identical labels, then it is assumed that the corresponding account of the label information is the first account.To by above-mentioned Method selects the first account list in the second account list.The account in the first account list selected at least one Account label is identical as the label in the first label information.
Optionally, in this programme when showing the first account list, the second account list can also be shown, and by the first account Number top N of the listing arrangement in the second account list, the N are the natural number more than or equal to 1.That is, for It is higher account a possibility that shared target data by the first account list selected, and in the second account list Other accounts there is also by sharing target data a possibility that.Therefore it needs to also show out by the second account list.In addition, By the first account list display in the top N of the second account list, it ensure that becoming apparent from for the first account list display, improve The efficiency of data sharing.For example, as shown in figure 12, account " small red " and " small China " are the account in the first account list, and " small Soviet Union " is the account in the second account list.Except display " small red " and " small China ", it is also necessary to show " little Su ", the position " little Su " After " small red " and " small China ".
It optionally, can be according to the account of the account in the first account list in the present solution, when showing the first account list The matching degree of number label and the first label information determines the display order of account in the first account list.For example, matching degree is big The first account list display in the top N of the second account list, N is positive integer.
It optionally, can also be by the account in the second account list point in this programme before showing the second account list Following operation is not executed as current account: in account label indicated by the label information from current account, being obtained and first Data label indicated by label information is the number of labels of same label;Believed using the label that number of labels identifies current account Matching degree between breath and the first label information.By the above method, available each account into the second account list Matching degree between label information and the first label information.Each of the second account list account is shown according to above-mentioned matching degree Number.By the above method, in the account that display may be implemented, more forward account and the relevance of the first label information are higher, So as to make the quick selecting object account of user, the efficiency of data sharing is improved.
Optionally, in the present solution, being obtained and the target data phase in the response sharing instruction from server Before the first label information matched, further includes: Xiang Suoshu server sends the attribute information of the target data, so that the clothes Business device obtains first label information to match with the target data according to the attribute information, wherein the attribute Information includes at least one of: the title of the target data, the target data abstract, the target data link Address.
Optionally, example of other examples in this programme during reference can be made to the above method embodiment, the present embodiment is herein It does not repeat them here.
Through this embodiment, by executing sharing operation in the target data got in the display interface to the first application After sharing instruction generated, the first label information to match with the target data to be shared is obtained, from server with reality The first account list is now obtained according to the first label information, wherein the second label of the account in above-mentioned first account list is believed Breath matches with the first label information, meanwhile, pass through the first account list of display and obtains the object for receiving target data The method of account, so that the target data will be shared, which not only may be implemented, is accurately shared with pair for needing above-mentioned target data As account, and the object account that quick obtaining matches with the target data shared from the first account list, it will significantly The time for searching object account from numerous accounts is reduced, data sharing efficiency is improved.
According to embodiments of the present invention, additionally provide it is a kind of for implementing the data sharing terminal of above-mentioned data sharing method, As shown in figure 16, which includes:
1) communication interface 1602, the target data for being set as obtaining in the display interface to the first application execute sharing operation Sharing instruction generated;The first label that response sharing instruction is obtained from server and target data matches is also configured to believe Breath, wherein the first label information is used to indicate classification belonging to target data;
2) processor 1604 are connect with communication interface 1602, are set as obtaining the first account column according to the first label information Table, wherein the second label information of the account in the first account list matches with the first label information;
Above-mentioned communication interface 1602 is also configured to obtain the object account for receiving target data from the first account list; It is also configured to for target data to be shared with object account;
3) memory 1606 are connect with communication interface 1602 and processor 1604, be set as storage the first label information and First account list.
According to embodiments of the present invention, it additionally provides a kind of for implementing the data sharing service of above-mentioned data sharing method Device, as shown in figure 17, which includes:
1) communication interface 1702, the client for being set as receiving the first application generate target data execution sharing operation Sharing instruction;
2) processor 1704 are connect with communication interface 1702, are set as according to sharing instruction acquisition and target data phase The first label information matched, wherein the first label information is used to indicate classification belonging to target data;It is also configured to according to first Label information obtains the first account list, wherein the second label information of the account in the first account list and the first label are believed Manner of breathing matching;
Communication interface 1702 is also configured to obtain the object for being used to receive target data selected from the first account list Account;It is also configured to for target data to be shared with object account.
3) memory 1706 are connect with communication interface 1702 and processor 1704, be set as storage the first label information and First account list.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the electricity of above-mentioned data sharing method Sub-device, as shown in figure 18, the electronic device include memory 1802 and processor 1804, are stored with meter in the memory 1802 Calculation machine program, the processor 1804 are arranged to execute the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains the target data in the display interface to the first application and executes sharing operation sharing instruction generated;
S2 responds first label information sharing instruction and matching from server acquisition with the target data, In, first label information is used to indicate classification belonging to the target data;
S3 obtains the with first account for sharing the request sharing target data in instruction with incidence relation Two account lists;
S4 compares each of the second account list label information of account and first label information, root The first account list is obtained according to comparison result;
S5 shows the first account list in the display interface;
S6 obtains the object account for receiving the target data from the first account list;
The target data is shared with the object account by S7.
Optionally, it will appreciated by the skilled person that structure shown in Figure 18 is only to illustrate, electronic device can also To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, MID), PAD.Figure 18 it does not make to the structure of above-mentioned electronic device At restriction.For example, electronic device may also include than shown in Figure 18 more perhaps less component (such as network interface) or With the configuration different from shown in Figure 18.
Wherein, memory 1802 can be used for storing software program and module, such as the data sharing in the embodiment of the present invention Corresponding program instruction/the module of method and apparatus, the software program that processor 1804 is stored in memory 1802 by operation And module realizes above-mentioned data sharing method thereby executing various function application and data processing.Memory 1802 It may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, memory 1802 can further comprise relative to processor 1804 remotely located memories, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Wherein, memory 1802 specifically can with but It is not limited to use in the storage information such as the first account list and the second account list.As an example, as shown in figure 18, above-mentioned to deposit It can be, but not limited to include first acquisition unit 1502 in above-mentioned data sharing device, second acquisition unit in reservoir 1802 1504, third acquiring unit 1506, comparing unit 1508, the 4th acquiring unit 1510 and sharing unit 1512.Further, it is also possible to Other modular units in including but not limited to above-mentioned data sharing device repeat no more in this example.
Optionally, above-mentioned transmitting device 1806 is used to that data to be received or sent via a network.Above-mentioned network Specific example may include cable network and wireless network.In an example, transmitting device 1806 includes a network adapter (Network Interface Controller, NIC), can be connected by cable with other network equipments with router to It can be communicated with internet or local area network.In an example, transmitting device 1806 be radio frequency (Radio Frequency, RF) module is used to wirelessly be communicated with internet.
In addition, above-mentioned electronic device further include: display 1808, for showing that the second account list and the first account arrange Table;With connection bus 1810, for connecting the modules component in above-mentioned electronic device.
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With at least one network equipment in multiple network equipments in the network that is located at.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1 obtains the target data in the display interface to the first application and executes sharing operation sharing instruction generated;
S2, response share instruction and obtain the first label information to match with target data from server, wherein the first mark Label information is used to indicate classification belonging to target data;
S3 obtains the first account list according to the first label information, wherein the second mark of the account in the first account list Label information matches with the first label information;
S4 obtains the object account for receiving target data from the first account list;
Target data is shared with object account by S5.
Alternatively, optionally, in the present embodiment, storage medium is arranged to store the program generation for executing following steps Code:
S1, the client for receiving the first application execute sharing operation sharing generated to target data and instruct;
S2 obtains the first label information to match with target data according to instruction is shared, wherein the first label information is used The classification belonging to instruction target data;
S3 obtains the first account list according to the first label information, wherein the second mark of the account in the first account list Label information matches with the first label information;
S4 obtains the object account for being used to receive target data selected from the first account list;
Target data is shared with object account by S5.
Alternatively, optionally, in the present embodiment, storage medium is arranged to store the program generation for executing following steps Code:
S1 obtains the target data in the display interface to the first application and executes sharing operation sharing instruction generated;
S2 responds first label information sharing instruction and matching from server acquisition with the target data, In, first label information is used to indicate classification belonging to the target data;
S3 obtains the with first account for sharing the request sharing target data in instruction with incidence relation Two account lists;
S4 compares each of the second account list label information of account and first label information, root The first account list is obtained according to comparison result;
S5 shows the first account list in the display interface;
S6 obtains the object account for receiving the target data from the first account list;
The target data is shared with the object account by S7.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of data sharing method characterized by comprising
It obtains the target data in the display interface to the first application and executes sharing operation sharing instruction generated;
Respond first label information sharing instruction acquisition and matching with the target data, wherein first label Information is used to indicate classification belonging to the target data;
It obtains and second account of first account with incidence relation shared request in instruction and share the target data List;
Each of the second account list label information of account and first label information are compared, is tied according to comparing Fruit obtains the first account list;
The first account list is shown in the display interface;
The object account for receiving the target data is obtained from the first account list;
The target data is shared with the object account.
2. the method according to claim 1, wherein described compare each of the second account list account Number label information and first label information, obtaining the first account list according to comparison result includes:
Following operation is executed using the account in the second account list as current account: being believed in the label of current account At least one data label indicated by breath indicated at least one account label and the first label information belongs to same label In the case where the label of type, determine that the label information of the current account matches with first label information, it will be described Current account is as the account in the first account list.
3. the method according to claim 1, wherein described show the first account list in the display interface Include:
Display is according to initial or frequency of use or recently using time etc. for according to after being arranged on the display interface The first account list.
4. the method according to claim 1, wherein described show the first account list in the display interface Include:
The second account list is shown on the display interface, wherein the second account list includes first account Number list, top N of the first account listing arrangement in the second account list, the N are positive integer.
5. according to the method described in claim 4, it is characterized in that, described show second account on the display interface List includes:
Account in the first account list is shown according to matching degree to the top N in the second account list.
6. according to the method described in claim 4, it is characterized in that,
Before showing the second account list in the display interface, further includes: make the account in the second account list respectively Following operation is executed for current account: in account label indicated by the label information from current account, being obtained and the first label Data label indicated by information is the number of labels of same label;Using number of labels identify the label information of current account with Matching degree between first label information;
It is described to show that the second account list includes: to show the second account column according to the matching degree in the display interface Table.
7. according to claim 1 to method described in 6 any one, which is characterized in that obtained in the response sharing instruction Before taking the first label information to match with the target data, further includes:
The attribute information of the target data is sent to server, so that the server is obtained according to the attribute information and institute State first label information that target data matches, wherein the attribute information includes at least one of: the target The title of data, the abstract of the target data, the target data chained address.
8. a kind of data sharing device characterized by comprising
First acquisition unit, it is generated for obtaining the target data execution sharing operation in the display interface to the first application Share instruction;
Second acquisition unit, for responding first label information sharing instruction acquisition and matching with the target data, Wherein, first label information is used to indicate classification belonging to the target data;
Third acquiring unit is closed for obtaining to have with first account for sharing the request sharing target data in instruction Second account list of connection relationship;
Comparing unit, label information and first label for comparing each of the second account list account are believed Breath, obtains the first account list according to comparison result;
Display unit, for showing the first account list in the display interface;
4th acquiring unit, for obtaining the object account for receiving the target data from the first account list;
Sharing unit, for the target data to be shared with the object account.
9. device according to claim 8, which is characterized in that the comparing unit includes:
First execution module, for executing following operation for the account in the second account list as current account: At least one is counted indicated by least one account label indicated by the label information of current account and the first label information In the case where the label for belonging to same label type according to label, the label information and first label of the current account are determined Information matches, using the current account as the account in the first account list.
10. device according to claim 8, which is characterized in that the display unit includes:
First display module, for being shown on the display interface according to initial or frequency of use or recently using time etc. For according to the first account list after being arranged.
11. device according to claim 8, which is characterized in that the display unit includes:
Second display module, for showing the second account list on the display interface, wherein the second account column Table includes the first account list, top N of the first account listing arrangement in the second account list, the N For positive integer.
12. device according to claim 11, which is characterized in that second display module includes:
First display sub-module, for showing the account in the first account list according to matching degree in second account The top N of list.
13. device according to claim 11, which is characterized in that
The display unit further include: the second execution module, for before showing the second account list in the display interface, Following operation is executed using the account in the second account list as current account: indicated by the label information from current account Account label in, obtain with the first label information indicated by data label be same label number of labels;Use label Matching degree between the label information and the first label information of the current account of quantity identity;
Second display module includes: the second display sub-module, for showing that second account arranges according to the matching degree Table.
14. a kind of storage medium, the storage medium is stored with computer program, which is characterized in that the computer program fortune Method described in any one of claim 1 to 7 is executed when row.
15. a kind of electronic device, including memory and processor, which is characterized in that it is stored with computer program in the memory, The processor is arranged to execute method described in any one of claim 1 to 7 by the computer program.
CN201910642581.1A 2017-04-12 2017-04-12 Data sharing method and device, storage medium and electronic device Active CN110380954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910642581.1A CN110380954B (en) 2017-04-12 2017-04-12 Data sharing method and device, storage medium and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710238292.6A CN107147560A (en) 2017-04-12 2017-04-12 Data sharing method and device
CN201910642581.1A CN110380954B (en) 2017-04-12 2017-04-12 Data sharing method and device, storage medium and electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710238292.6A Division CN107147560A (en) 2017-04-12 2017-04-12 Data sharing method and device

Publications (2)

Publication Number Publication Date
CN110380954A true CN110380954A (en) 2019-10-25
CN110380954B CN110380954B (en) 2021-01-15

Family

ID=59773519

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710238292.6A Pending CN107147560A (en) 2017-04-12 2017-04-12 Data sharing method and device
CN201910642581.1A Active CN110380954B (en) 2017-04-12 2017-04-12 Data sharing method and device, storage medium and electronic device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710238292.6A Pending CN107147560A (en) 2017-04-12 2017-04-12 Data sharing method and device

Country Status (2)

Country Link
CN (2) CN107147560A (en)
WO (1) WO2018188460A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740896A (en) * 2020-07-07 2020-10-02 腾讯科技(深圳)有限公司 Content sharing control method and device, electronic equipment and storage medium
WO2022068456A1 (en) * 2020-09-30 2022-04-07 京东方科技集团股份有限公司 Information sharing method and apparatus, electronic device, and readable storage medium
CN114895991A (en) * 2021-02-05 2022-08-12 华为技术有限公司 Content sharing method and electronic equipment

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147560A (en) * 2017-04-12 2017-09-08 腾讯科技(深圳)有限公司 Data sharing method and device
CN108551419A (en) * 2018-03-19 2018-09-18 联想(北京)有限公司 A kind of information processing method and device
CN108616448B (en) * 2018-04-26 2020-04-14 维沃移动通信有限公司 Information sharing path recommendation method and mobile terminal
CN108664288A (en) * 2018-05-14 2018-10-16 维沃移动通信有限公司 A kind of image interception method and mobile terminal
CN109245989A (en) * 2018-08-15 2019-01-18 咪咕动漫有限公司 A kind of processing method, device and computer readable storage medium shared based on information
CN110609816B (en) * 2019-08-30 2022-12-20 维沃移动通信有限公司 Information sharing method, information sharing device and terminal
CN111143421A (en) * 2019-12-26 2020-05-12 杭州数梦工场科技有限公司 Data sharing method and device, electronic equipment and storage medium
CN111429200B (en) * 2020-02-24 2023-04-28 浙江口碑网络技术有限公司 Content association method and device, storage medium and computer equipment
CN112399216B (en) * 2020-10-27 2023-05-09 维沃移动通信(杭州)有限公司 Resource sharing method and device and electronic equipment
CN113285940B (en) * 2021-05-17 2023-09-19 深圳Tcl新技术有限公司 Equipment connection method and device
CN112994997B (en) * 2021-05-21 2022-07-29 深圳传音控股股份有限公司 Processing method, processing apparatus, and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002013A (en) * 2012-11-06 2013-03-27 深圳中兴网信科技有限公司 Social music query system and social music query method
CN103577537A (en) * 2013-09-24 2014-02-12 上海交通大学 Image sharing website picture-oriented multi-pairing similarity determining method
CN103914559A (en) * 2014-04-14 2014-07-09 小米科技有限责任公司 Network user screening method and network user screening device
CN103970972A (en) * 2013-01-31 2014-08-06 中国移动通信集团公司 Motion information processing method and device
CN104144196A (en) * 2013-07-05 2014-11-12 腾讯科技(深圳)有限公司 Webpage information sharing method, device and server
US20150186014A1 (en) * 2013-12-30 2015-07-02 Tencent Technology (Shenzhen) Company Limited Information Input Method, Account Information Input Method And Terminal
CN105282010A (en) * 2015-09-14 2016-01-27 小米科技有限责任公司 Information sharing processing method, device, and server
CN105721283A (en) * 2016-01-26 2016-06-29 北京小米移动软件有限公司 Method and device for sending screenshot message and equipment
CN105872593A (en) * 2016-03-21 2016-08-17 乐视网信息技术(北京)股份有限公司 Barrage pushing method and device
CN106055538A (en) * 2016-05-26 2016-10-26 达而观信息科技(上海)有限公司 Automatic extraction method for text labels in combination with theme model and semantic analyses
WO2017011549A1 (en) * 2015-07-15 2017-01-19 Becton, Dickinson And Company System and method for label selection
CN106446191A (en) * 2016-09-30 2017-02-22 浙江工业大学 Logistic regression based multi-feature network popular tag prediction method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9111255B2 (en) * 2010-08-31 2015-08-18 Nokia Technologies Oy Methods, apparatuses and computer program products for determining shared friends of individuals
US20120158499A1 (en) * 2010-12-21 2012-06-21 Google Inc. Providing Advertisements on a Social Network
CN104317932B (en) * 2014-10-31 2018-04-27 小米科技有限责任公司 Method for picture sharing and device
CN105591763B (en) * 2014-11-18 2019-05-21 华为终端(东莞)有限公司 A kind of method and terminal for distributing photo
CN107147560A (en) * 2017-04-12 2017-09-08 腾讯科技(深圳)有限公司 Data sharing method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002013A (en) * 2012-11-06 2013-03-27 深圳中兴网信科技有限公司 Social music query system and social music query method
CN103970972A (en) * 2013-01-31 2014-08-06 中国移动通信集团公司 Motion information processing method and device
CN104144196A (en) * 2013-07-05 2014-11-12 腾讯科技(深圳)有限公司 Webpage information sharing method, device and server
CN103577537A (en) * 2013-09-24 2014-02-12 上海交通大学 Image sharing website picture-oriented multi-pairing similarity determining method
US20150186014A1 (en) * 2013-12-30 2015-07-02 Tencent Technology (Shenzhen) Company Limited Information Input Method, Account Information Input Method And Terminal
CN103914559A (en) * 2014-04-14 2014-07-09 小米科技有限责任公司 Network user screening method and network user screening device
WO2017011549A1 (en) * 2015-07-15 2017-01-19 Becton, Dickinson And Company System and method for label selection
CN105282010A (en) * 2015-09-14 2016-01-27 小米科技有限责任公司 Information sharing processing method, device, and server
CN105721283A (en) * 2016-01-26 2016-06-29 北京小米移动软件有限公司 Method and device for sending screenshot message and equipment
CN105872593A (en) * 2016-03-21 2016-08-17 乐视网信息技术(北京)股份有限公司 Barrage pushing method and device
CN106055538A (en) * 2016-05-26 2016-10-26 达而观信息科技(上海)有限公司 Automatic extraction method for text labels in combination with theme model and semantic analyses
CN106446191A (en) * 2016-09-30 2017-02-22 浙江工业大学 Logistic regression based multi-feature network popular tag prediction method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740896A (en) * 2020-07-07 2020-10-02 腾讯科技(深圳)有限公司 Content sharing control method and device, electronic equipment and storage medium
WO2022068456A1 (en) * 2020-09-30 2022-04-07 京东方科技集团股份有限公司 Information sharing method and apparatus, electronic device, and readable storage medium
US11989209B2 (en) 2020-09-30 2024-05-21 Boe Technology Group Co., Ltd. Electronic device, and computer-readable storage medium
CN114895991A (en) * 2021-02-05 2022-08-12 华为技术有限公司 Content sharing method and electronic equipment

Also Published As

Publication number Publication date
CN110380954B (en) 2021-01-15
CN107147560A (en) 2017-09-08
WO2018188460A1 (en) 2018-10-18

Similar Documents

Publication Publication Date Title
CN110380954A (en) Data sharing method and device, storage medium and electronic device
CN105320706B (en) The treating method and apparatus of search result
CN104537115B (en) The heuristic approach and device of user interest
CN105095219B (en) Micro-blog recommendation method and terminal
CN102982178B (en) A kind of image searching method, device and system
CN110020094A (en) A kind of methods of exhibiting and relevant apparatus of search result
CN109033149A (en) Information recommendation method, device, server and storage medium
CN107071554B (en) Method for recognizing semantics and device
CN103942221B (en) Search method and equipment
CN108595493A (en) Method for pushing and device, storage medium, the electronic device of media content
CN108536414A (en) Method of speech processing, device and system, mobile terminal
CN103455587B (en) Obtain and push the method and device of content, receive the method and device for pushing content
CN108829868A (en) data display method and device, storage medium and electronic device
CN109889864A (en) Video pushing method, device, equipment and storage medium
CN107977678A (en) Method and apparatus for output information
CN110032678A (en) Service resources method for pushing and device, storage medium and electronic device
CN109873756A (en) Method and apparatus for sending information
CN110149551A (en) Media file playing method and device, storage medium and electronic device
CN109829073A (en) A kind of method and device of picture search
CN109413056A (en) Method and apparatus for handling information
CN109087172A (en) Commodity identifying processing method and device
CN110209921A (en) The method for pushing and device and storage medium and electronic device of media resource
CN110895602B (en) Identity authentication method and device, electronic equipment and storage medium
CN109992325A (en) Information display method, device, storage medium and electronic device
CN109889878A (en) Video information processing method, device, equipment and computer readable storage medium

Legal Events

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