WO2018188460A1 - Data sharing method and device - Google Patents
Data sharing method and device Download PDFInfo
- Publication number
- WO2018188460A1 WO2018188460A1 PCT/CN2018/079776 CN2018079776W WO2018188460A1 WO 2018188460 A1 WO2018188460 A1 WO 2018188460A1 CN 2018079776 W CN2018079776 W CN 2018079776W WO 2018188460 A1 WO2018188460 A1 WO 2018188460A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- account
- label
- target data
- list
- information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/48—Message addressing, e.g. address format or anonymous messages, aliases
Definitions
- the present application relates to the field of computers, and in particular, to a data sharing method and apparatus.
- the shared objects that receive the shared data are often arranged in a fixed order in the buddy list, for example, in alphabetical order according to the buddy name, or in accordance with the frequency of the interaction.
- the embodiment of the present application provides a data sharing method and device, so as to at least solve the technical problem that the data sharing efficiency existing in the current related data sharing mode is low.
- a data sharing method includes: acquiring a sharing instruction generated by performing a sharing operation on target data in a display interface of a first application; and acquiring the target from the server in response to the sharing instruction
- the first tag information that is matched by the data, wherein the first tag information is used to indicate a category to which the target data belongs; and the first account list is obtained according to the first tag information, where the account number in the first account list is
- the second tag information is matched with the first tag information; the target account that receives the target data is obtained from the first account list; and the target data is shared with the target account.
- a data sharing method including: receiving a sharing instruction generated by a client of a first application to perform a sharing operation on the target data; and acquiring, according to the sharing instruction, the target data And matching the first label information, wherein the first label information is used to indicate a category to which the target data belongs; and the first account list is obtained according to the first label information, wherein the second label of the account in the first account list The information is matched with the first label information; the object account selected from the first account list for receiving the target data is acquired; and the target data is shared with the target account.
- a data sharing apparatus including: a first acquiring unit, configured to acquire a sharing instruction generated by performing a sharing operation on target data in a display interface of the first application;
- the second obtaining unit is configured to obtain, from the server, the first tag information that matches the target data, in response to the sharing instruction, wherein the first tag information is used to indicate a category to which the target data belongs; and the third acquiring unit is configured to The first tag information is used to obtain a first account list, where the second tag information of the account in the first account list matches the first tag information; and the fourth acquiring unit is configured to obtain the first account list.
- Receiving the target account of the target data; the sharing unit is configured to share the target data to the target account.
- a data sharing apparatus including: a receiving unit, configured to receive a sharing instruction generated by a client of the first application to perform a sharing operation on the target data; and a first acquiring unit, And the first label information is used to obtain the first label information that matches the target data, wherein the first label information is used to indicate the category to which the target data belongs; and the second obtaining unit is configured to obtain the first label information according to the first label information.
- the third obtaining unit is configured to obtain the selected one of the first account lists for receiving The target account of the target data; the sharing unit is configured to share the target data to the target account.
- a storage medium having stored therein a computer program, wherein the computer program is configured to execute the data sharing method at runtime.
- an electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above by using a computer program Data sharing method.
- the first tag information matching the target data to be shared is acquired from the server, Acquiring the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared,
- the object account of the target data, and quickly obtaining the object account matching the shared target data from the first account list greatly reduces the time for finding the target account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
- FIG. 1 is a schematic diagram of a data sharing method according to the related art
- FIG. 2 is a schematic diagram of an application environment of an optional data sharing method according to an embodiment of the present application
- FIG. 3 is a flowchart of an optional data sharing method according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of an optional data sharing method according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of another optional data sharing method according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of still another optional data sharing method according to an embodiment of the present application.
- FIG. 7 is a flow chart of another alternative data sharing method according to an embodiment of the present application.
- FIG. 8 is a flowchart of still another optional data sharing method according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of an optional data sharing apparatus according to an embodiment of the present application.
- FIG. 11 is a schematic diagram of another optional data sharing device according to an embodiment of the present application.
- FIG. 12 is a schematic diagram of an alternative electronic device in accordance with an embodiment of the present application.
- FIG. 13 is a schematic diagram of another alternative electronic device in accordance with an embodiment of the present application.
- the interaction resource pushing method may be, but is not limited to, being applied to an application environment as shown in FIG. 2, where the terminal 202 runs a first application, and the terminal 202 acquires a display interface for the first application.
- the first tag information matching the target data is acquired from the server 206 via the network 204 in response to the sharing instruction, wherein the first tag information is used to indicate the target
- the first tag list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information; and the first account list is obtained.
- the first tag information matching the target data to be shared is acquired from the server, so as to achieve Acquiring the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared to the required target.
- the foregoing terminal may include, but is not limited to, at least one of the following: a mobile phone, a tablet computer, a notebook computer, a desktop PC, a digital television, and other hardware devices for sharing data.
- the above network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The above is only an example, and the embodiment does not limit this.
- a data sharing method is provided. As shown in FIG. 3, the method includes:
- the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information.
- the foregoing data sharing method may be, but is not limited to, being applied to a data sharing process of different applications.
- the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant.
- Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications.
- the data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
- the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class.
- the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class.
- the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data.
- the object account, and quickly obtaining the object account matching the shared target data from the first account list greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
- the foregoing first label information that matches the target data may be, but is not limited to, generated by the server according to the attribute information of the acquired target data, where the attribute information includes at least one of the following: : The title of the target data, the summary of the target data, and the link address of the target data.
- the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL).
- the server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result.
- the first label information may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
- acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
- the foregoing first account may include, but is not limited to, at least one of the following: an account used for logging in to the first application, an account formed by the terminal identifier of the terminal where the first application is located, and a terminal IP of the terminal where the first application is located. Account number and more. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account.
- the data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application.
- the data interface for example, the terminal identifier or the terminal indicated by the terminal IP
- the friend account in the second application after logging in to the second application List.
- the process of acquiring the first account list according to the first tag information may be performed in the client of the first application, that is, after acquiring the first tag information sent by the server in the client,
- the client can use the tag information of the account in the cached second account list to compare with the first tag information, and the client performs the comparison operation to obtain the aligned first account list;
- the process of obtaining the first account list by the information may be performed in the server, that is, the tag information of the account in the second account list having the association relationship with the first account is directly compared with the first tag information in the server, and the client The terminal can directly receive the first account list sent by the server.
- the above is only an example, and is not limited in this embodiment.
- the label information of the account in the second account list may be, but is not limited to, label information pre-configured on the client, and may be, but not limited to, receiving the obtained label according to a predetermined period of time. information.
- label information pre-configured on the client may be, but not limited to, receiving the obtained label according to a predetermined period of time. information.
- the label indicated by the first label information may include, but is not limited to, one or more data labels
- the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
- the label information and the first label information of the account in the second account list may include, but are not limited to:
- the account in the second account list is respectively performed as the current account: the at least one account label indicated by the label information of the current account and the at least one data label indicated by the first label information belong to the same label type.
- the label it is determined that the label information of the account matches the first label information, and the account is used as the account in the first account list;
- the account in the second account list is respectively used as the current account to perform the following operations: obtaining the same label as the data label indicated by the first label information from the account label indicated by the label information of the current account.
- the number of tags is used to identify the degree of matching between the tag information of the current account and the first tag information, so as to update the second account list according to the matching degree, wherein the second account list includes the first account list.
- the comparison type may be determined according to different label types, for example, for the technical professional type, but not limited to adopting an exact comparison, and the interest type may be, but is not limited to, adopting a fuzzy
- the foregoing is only an example, and different comparison manners may be configured according to different user requirements, which is not limited in this embodiment.
- the method further includes:
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C.
- the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that If the target account is the account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C.
- the accounts in the second account list may be reordered, as shown in FIG. 5(b), the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account. C, account A.
- the first account list that matches the first tag information includes: account B and account C
- the first account list is located in the first two of the updated second account list.
- the first account list that matches the first tag information may be displayed, but is not limited to the first tag list.
- the display is performed in a predetermined order, for example, based on the initials or the frequency of use or the most recently used time, and the like, which is not limited in this embodiment.
- the second account list may also be displayed according to the matching degree, wherein the first account list is located in the first N digits of the second account list. In other words, all the accounts in the second account list are displayed, but according to the matching degree, the first account list matching the first tag information is displayed in the first N bits, so as to quickly acquire the target account.
- the present application after acquiring the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, by acquiring the first tag information that matches the target data to be shared from the server, Obtaining the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared to the need.
- the target account of the target data, and quickly obtaining the target account matching the shared target data from the first account list greatly reduces the time for searching the target account from the plurality of accounts, thereby improving the efficiency of data sharing. .
- obtaining the first account list according to the first tag information includes:
- the second account list may be, but is not limited to, an account list that has an association relationship with the first account in the first application; and may be, but is not limited to, a second associated with the first application.
- the second account list may be, but is not limited to, a second account list having an association relationship with the first account in the first application, for example, in the application App-1.
- the second account list includes: account A, account B, and account C; and the first account list obtained by comparison includes: account B, account C, and selects the target account (account C) from the first account list to share the target data.
- the second account list may also be, but not limited to, having an association relationship with the first account in the second application.
- the second account list for example, as shown in FIG.
- the second account list includes: an account A, an account B, and an account C; and the first account list is obtained by comparing: the account B, the account C, and the object account (account C) is selected from the first account list. Share target data.
- the label information and the first label information of the account in the second account list are compared: a fuzzy comparison, and an exact comparison.
- the fuzzy comparison is used to indicate that at least one pair of labels belonging to the same category exists in the account label and the data label, and the account identified by the account label is matched with the target data identified by the data label, thereby realizing Use this account as the account number in the first account list.
- the exact comparison is used to indicate that the number of labels belonging to the same label in the data label is obtained in the account label, and the matching degree of the two labels is determined according to the number of labels of the same label, so as to obtain the first account list according to the matching degree. account number. For example, an account with a matching degree greater than a predetermined threshold in the second account list is used as an account in the first account list.
- the tag information and the first tag information of the account in the second account list are compared. To obtain a first account list based on the results of the comparison. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list.
- the object account used to receive the target data is not limited to the object account used to receive the target data.
- the label information and the first label information of the account in the second account list are compared:
- S1 traverse all the accounts in the second account list, and perform the following operations by using each account in the second account list as the current account in sequence:
- S12 The current account is used as an account in the first account list.
- the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, which may include, but is not limited to, the label information indicated by the current account.
- the at least one account label and the at least one data label indicated by the first label information belong to the label of the same label type; further, the at least one account label indicated by the label information of the current account is compared with the at least one data label indicated by the first label information.
- the matching may include, but is not limited to, at least one account label indicated by the label information of the current account and a label of the same label as the at least one data label indicated by the first label information.
- the label indicated by the first label information may include, but is not limited to, one or more data labels
- the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
- a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
- the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined.
- the information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
- the label information and the first label information of the account in the second account list are compared:
- S1 traverse all the accounts in the second account list, and perform the following operations by using each account in the second account list as the current account in sequence:
- the number of labels is used to identify a matching degree between the label information of the current account and the first label information.
- the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account.
- the number of tags that get the matching tag is used to identify the degree of matching.
- the account in the first account list is obtained according to the matching degree.
- the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
- the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree.
- Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
- the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account.
- the label information of the current account by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used.
- the degree of matching between the label information of the current account and the first label information so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
- the method further includes:
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C.
- the first account list matching the first tag information includes: account B and account C
- the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that the object is acquired. If the account number is account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
- the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
- the method includes:
- the second account list is displayed according to the matching degree on the display interface, wherein the first account list is arranged in the first N bits in the second account list according to the matching degree, and N is a natural number greater than or equal to 1.
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C.
- the accounts in the second account list may be reordered.
- the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account C. , account A. If the first account list that matches the first tag information includes: account B and account C, the first account list is located in the first two of the updated second account list.
- the first account list matching the target data can be displayed in the first N bits of the second account list, so as to reduce the need to turn pages in the related art.
- the search time of the object account for receiving the target data is searched, and the efficiency of data sharing is improved by directly selecting the object account from the first account list.
- a data sharing method is further provided. As shown in FIG. 7, the method includes:
- the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
- the foregoing data sharing method may be, but is not limited to, being applied to a data sharing process of different applications.
- the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant.
- Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications.
- the data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
- the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class.
- the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class.
- the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data.
- the object account, and quickly obtaining the object account matching the shared target data from the first account list greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
- the foregoing first label information that matches the target data may be, but is not limited to, generated by the server according to the attribute information of the acquired target data, where the attribute information includes at least one of the following: : The title of the target data, the summary of the target data, and the link address of the target data.
- the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL).
- the server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result.
- the first label information may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
- the target data may be, but is not limited to, matching one or more data tags according to the keyword library in the thesaurus.
- the server analysis is corresponding to the article S.
- the label information includes:
- the label indicated by the first label information may be determined according to the foregoing content, and the label indicated by the first label information of the article S includes: label 1 and label 2.
- the server may The label indicated by the first label information is sent to the client to perform matching with the label information of the second account list, so as to accurately obtain the first account list for receiving the target data, thereby obtaining the target account for quickly and accurately obtaining the receiving target data. The effect is to avoid repeated searches.
- acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
- the label information of the account in the second account list may be, but is not limited to, the label information pre-configured on the client, and may be, but not limited to, being sent to the client by the server according to a predetermined period.
- Label Information The server may determine, but is not limited to, determining tag information of the account in the second account list according to at least one of the following data of the account: a data sharing history, a data access history, and the like. That is to say, the historical data of the account is collected to analyze the application preference of the account, thereby achieving the purpose of accurately matching the corresponding tag for the account.
- the foregoing process of acquiring the first account list according to the first tag information may be performed in a server, that is, directly, in the server, the second account list having an association relationship with the first account.
- the tag information of the account in the middle is compared with the first tag information, and the client can directly receive the first account list obtained by the comparison sent by the server.
- the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data
- the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then And acquiring, according to the first label information, the first account list from the second account list having the association relationship with the first account, and sending the first account list to the client of the first application in the terminal 802, where the terminal 802 is
- the display interface displays the first account list, and obtains the target account from the first account list, so as to realize sharing the target data to the target account by the server 804.
- the process of acquiring the first account list according to the first tag information may be performed in a client of the first application, that is, acquiring the first tag information sent by the server in the client. Afterwards, the client can compare the tag information of the account in the cached second account list with the first tag information, and the client performs the comparison operation to obtain the aligned first account list.
- the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data
- the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then Sending the first label information to the terminal 802
- the terminal 802 obtains the first account list from the second account list having the association relationship with the first account, and displays the first account list on the display interface.
- obtaining the object account from the first account list so as to share the target data to the target account by the server 804.
- the foregoing target data may be shared by the server 804 to the same application or different applications in the terminal 802. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account.
- the data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application.
- the data interface for example, the terminal identifier or the terminal indicated by the terminal IP
- the friend account in the second application after logging in to the second application List.
- the first label information matching the target data is obtained according to the sharing instruction, where the first label The information is used to indicate the category to which the target data belongs, so as to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information, so that the Accurately sharing the target data to be shared to the target account that needs the target data, and quickly obtaining the target account matching the shared target data from the first account list, which greatly reduces the time for finding the target account from the plurality of accounts. To achieve the effect of improving the efficiency of data sharing.
- obtaining the first account list according to the first tag information includes:
- the second account list in the first application App-1 having an association relationship with the first account is as shown in FIG. 4(a).
- the account A, the account B, and the account C are selected.
- the first account list that matches the first tag information includes: account B and account C, and can be displayed in a predetermined order on the display interface.
- the first account list as shown in FIG. 4(b), assumes that the target account is the account C, and the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
- the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
- obtaining the first account list according to the first tag information includes:
- S1 Obtain a third account list that has an association relationship with the first account that requests sharing of the target data in the sharing instruction, where the second application is used to receive the target data, and the first application and the second application are associated applications. ;
- the second account list may also be limited to being in the second application.
- the first account has a second account list associated with the relationship, for example, as shown in FIG. 6(a)-(c), jump from the application App-1 to the application App-2, and obtain the application App-2 and the first A second account list having an associated relationship, wherein the second account list includes: account A, account B, and account C; and obtaining the first account list by comparing: account B, account C, from the first account list Select the target account (account C) to share the target data.
- the present application after obtaining the account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction, comparing the tag information of the account in the account list with the first tag information, The result of the pair gets the first account list. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list.
- the label information and the first label information of the account in the comparison account list include:
- S1 traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in sequence:
- the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, which may include, but is not limited to, the label information indicated by the current account.
- the at least one account label and the at least one data label indicated by the first label information belong to the label of the same label type; further, the at least one account label indicated by the label information of the current account is compared with the at least one data label indicated by the first label information.
- the matching may include, but is not limited to, at least one account label indicated by the label information of the current account and a label of the same label as the at least one data label indicated by the first label information.
- the label indicated by the first label information may include, but is not limited to, one or more data labels
- the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
- a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
- the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined.
- the information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
- the label information and the first label information of the account in the comparison account list include:
- S1 traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in sequence:
- the number of labels is used to identify a matching degree between the label information of the current account and the first label information.
- the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account.
- the number of tags that get the matching tag is used to identify the degree of matching.
- the account in the first account list is obtained according to the matching degree.
- the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
- the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree.
- Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
- the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account.
- the label information of the current account by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used.
- the degree of matching between the label information of the current account and the first label information so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
- a data sharing apparatus for implementing the data sharing method is further provided. As shown in FIG. 10, the apparatus includes:
- the first obtaining unit 1002 is configured to acquire a sharing instruction generated by performing a sharing operation on the target data in the display interface of the first application;
- the second obtaining unit 1004 is configured to obtain first tag information that matches the target data from the server in response to the sharing instruction, where the first tag information is used to indicate a category to which the target data belongs;
- the third obtaining unit 1006 is configured to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
- the fourth obtaining unit 1008 is configured to obtain an object account that receives the target data from the first account list
- the sharing unit 1010 is configured to share the target data to the target account.
- the data sharing device may be, but is not limited to, being applied to a data sharing process of different applications.
- the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant.
- Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications.
- the data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
- the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class.
- the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class.
- the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data.
- the object account, and quickly obtaining the object account matching the shared target data from the first account list greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
- the foregoing apparatus further includes: a sending unit, configured to send the attribute information of the target data to the server, before acquiring the first label information that is matched by the server in response to the sharing instruction And causing the server to acquire first tag information that matches the target data according to the attribute information, wherein the attribute information includes at least one of the following: a title of the target data, a summary of the target data, and a link address of the target data.
- a sending unit configured to send the attribute information of the target data to the server, before acquiring the first label information that is matched by the server in response to the sharing instruction And causing the server to acquire first tag information that matches the target data according to the attribute information, wherein the attribute information includes at least one of the following: a title of the target data, a summary of the target data, and a link address of the target data.
- the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL).
- the server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result.
- the first label information may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
- acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
- the foregoing first account may include, but is not limited to, at least one of the following: an account used for logging in to the first application, an account formed by the terminal identifier of the terminal where the first application is located, and a terminal IP of the terminal where the first application is located. Account number and more. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account.
- the data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application.
- the data interface for example, the terminal identifier or the terminal indicated by the terminal IP
- the friend account in the second application after logging in to the second application List.
- the process of acquiring the first account list according to the first tag information may be performed in the client of the first application, that is, after acquiring the first tag information sent by the server in the client,
- the client can use the tag information of the account in the cached second account list to compare with the first tag information, and the client performs the comparison operation to obtain the aligned first account list;
- the process of obtaining the first account list by the information may be performed in the server, that is, the tag information of the account in the second account list having the association relationship with the first account is directly compared with the first tag information in the server, and the client The terminal can directly receive the first account list sent by the server.
- the above is only an example, and is not limited in this embodiment.
- the foregoing apparatus further includes: a third obtaining module, configured to acquire the second account list after acquiring the second account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction The pre-configured tag information of the account in the account list; and/or the fourth obtaining module is configured to obtain the tag information of the account in the second account list from the server.
- a third obtaining module configured to acquire the second account list after acquiring the second account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction The pre-configured tag information of the account in the account list
- the fourth obtaining module is configured to obtain the tag information of the account in the second account list from the server.
- the label indicated by the first label information may include, but is not limited to, one or more data labels
- the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
- the label information and the first label information of the account in the second account list may include, but are not limited to:
- the account in the second account list is respectively performed as the current account: the at least one account label indicated by the label information of the current account and the at least one data label indicated by the first label information belong to the same label type.
- the label it is determined that the label information of the account matches the first label information, and the account is used as the account in the first account list;
- the account in the second account list is respectively used as the current account to perform the following operations: obtaining the same label as the data label indicated by the first label information from the account label indicated by the label information of the current account.
- the number of tags is used to identify the degree of matching between the tag information of the current account and the first tag information, so as to update the second account list according to the matching degree, wherein the second account list includes the first account list.
- the comparison type may be determined according to different label types, for example, for the technical professional type, but not limited to adopting an exact comparison, and the interest type may be, but is not limited to, adopting a fuzzy
- the foregoing is only an example, and different comparison manners may be configured according to different user requirements, which is not limited in this embodiment.
- the method further includes:
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C.
- the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that If the target account is the account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C.
- the accounts in the second account list may be reordered, as shown in FIG. 5(b), the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account. C, account A.
- the first account list that matches the first tag information includes: account B and account C
- the first account list is located in the first two of the updated second account list.
- the first account list that matches the first tag information may be displayed, but is not limited to the first tag list.
- the display is performed in a predetermined order, for example, based on the initials or the frequency of use or the most recently used time, and the like, which is not limited in this embodiment.
- the second account list may also be displayed according to the matching degree, wherein the first account list is located in the first N digits of the second account list. In other words, all the accounts in the second account list are displayed, but according to the matching degree, the first account list matching the first tag information is displayed in the first N bits, so as to quickly acquire the target account.
- the present application after acquiring the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, by acquiring the first tag information that matches the target data to be shared from the server, Obtaining the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared to the need.
- the target account of the target data, and quickly obtaining the target account matching the shared target data from the first account list greatly reduces the time for searching the target account from the plurality of accounts, thereby improving the efficiency of data sharing. .
- the third obtaining unit 1006 includes:
- the first obtaining module is configured to obtain a second account list that has an association relationship with the first account that requests sharing of the target data in the sharing instruction;
- the first comparison module is configured to compare the label information and the first label information of the account in the second account list
- the second obtaining module is configured to obtain the first account list according to the result of the comparison.
- the second account list may be, but is not limited to, an account list that has an association relationship with the first account in the first application; and may be, but is not limited to, a second associated with the first application.
- the second account list may be, but is not limited to, a second account list having an association relationship with the first account in the first application, for example, in the application App-1.
- the second account list includes: account A, account B, and account C; and the first account list obtained by comparison includes: account B, account C, and selects the target account (account C) from the first account list to share the target data.
- the second account list may also be, but not limited to, having an association relationship with the first account in the second application.
- the second account list for example, as shown in FIG.
- the second account list includes: an account A, an account B, and an account C; and the first account list is obtained by comparing: the account B, the account C, and the object account (account C) is selected from the first account list. Share target data.
- the label information and the first label information of the account in the second account list are compared: a fuzzy comparison, and an exact comparison.
- the fuzzy comparison is used to indicate that at least one pair of labels belonging to the same category exists in the account label and the data label, and the account identified by the account label is matched with the target data identified by the data label, thereby realizing Use this account as the account number in the first account list.
- the exact comparison is used to indicate that the number of labels belonging to the same label in the data label is obtained in the account label, and the matching degree of the two labels is determined according to the number of labels of the same label, so as to obtain the first account list according to the matching degree. account number. For example, an account with a matching degree greater than a predetermined threshold in the second account list is used as an account in the first account list.
- the tag information and the first tag information of the account in the second account list are compared. To obtain a first account list based on the results of the comparison. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list.
- the object account used to receive the target data is not limited to the object account used to receive the target data.
- the first comparison module includes:
- the first processing sub-module is configured to traverse all the accounts in the second account list, and each account in the second account list is sequentially used as the current account to perform the following operations: at least one account tag indicated by the tag information of the current account. If the at least one data tag indicated by the first tag information matches, the tag information of the current account is determined to match the first tag information; and the current account is used as the account in the first account list.
- the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, and includes: at least one account label indicated by the label information of the current account.
- the tag is not limited to: the at least one account tag indicated by the tag information of the current account is the tag of the same tag as the at least one data tag indicated by the first tag information.
- the label indicated by the first label information may include, but is not limited to, one or more data labels
- the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
- a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
- the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined.
- the information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
- the first comparison module includes:
- the first processing sub-module is configured to traverse all the accounts in the second account list, and each account in the second account list is sequentially used as the current account to perform the following operations: from the account tag indicated by the tag information of the current account, Obtaining a label quantity of the label matching the data label indicated by the first label information; using the label quantity to identify a matching degree between the label information of the current account and the first label information;
- the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account.
- the number of tags that get the matching tag is used to identify the degree of matching.
- the account in the first account list is obtained according to the matching degree.
- the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
- the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree.
- Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
- the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account.
- the label information of the current account by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used.
- the degree of matching between the label information of the current account and the first label information so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
- the first display module is configured to display the first account list in a predetermined order on the display interface after obtaining the first account list according to the result of the comparison.
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C.
- the first account list matching the first tag information includes: account B and account C
- the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that the object is acquired. If the account number is account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
- the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
- the second display module is configured to display the second account list according to the matching degree after the first account list is obtained according to the result of the comparison, wherein the first account list is arranged in the second account list according to the matching degree.
- the first N bits, N is a natural number greater than or equal to 1.
- the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C.
- the accounts in the second account list may be reordered.
- the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account C. , account A. If the first account list that matches the first tag information includes: account B and account C, the first account list is located in the first two of the updated second account list.
- the first account list matching the target data can be displayed in the first N bits of the second account list, so as to reduce the need to turn pages in the related art.
- the search time of the object account for receiving the target data is searched, and the efficiency of data sharing is improved by directly selecting the object account from the first account list.
- a data sharing device is further provided. As shown in FIG. 11, the device includes:
- the receiving unit 1102 is configured to receive a sharing instruction generated by the client of the first application to perform a sharing operation on the target data;
- the first obtaining unit 1104 is configured to acquire first label information that matches the target data according to the sharing instruction, where the first label information is used to indicate a category to which the target data belongs;
- the second obtaining unit 1106 is configured to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
- the third obtaining unit 1108 is configured to acquire an object account selected from the first account list for receiving target data
- the sharing unit 1110 is configured to share the target data to the target account.
- the data sharing device may be, but is not limited to, being applied to a data sharing process of different applications.
- the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant.
- Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications.
- the data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
- the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class.
- the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class.
- the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data.
- the object account, and quickly obtaining the object account matching the shared target data from the first account list greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
- the first acquiring unit includes: a fifth acquiring module, configured to acquire attribute information of the target data carried in the sharing instruction; and a sixth acquiring module, configured to acquire the target data according to the attribute information Matching first tag information, wherein the attribute information includes at least one of: a title of the target data, a digest of the target data, and a link address of the target data.
- the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL).
- the server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result.
- the first label information may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
- the target data may be, but is not limited to, matching one or more data tags according to the keyword library in the thesaurus.
- the server analysis is corresponding to the article S.
- the label information includes:
- the label indicated by the first label information may be determined according to the foregoing content, and the label indicated by the first label information of the article S includes: label 1 and label 2.
- the server may The label indicated by the first label information is sent to the client to perform matching with the label information of the second account list, so as to accurately obtain the first account list for receiving the target data, thereby obtaining the target account for quickly and accurately obtaining the receiving target data. The effect is to avoid repeated searches.
- acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
- the label information of the account in the second account list may be, but is not limited to, the label information pre-configured on the client, and may be, but not limited to, being sent to the client by the server according to a predetermined period.
- Label Information The server may determine, but is not limited to, determining tag information of the account in the second account list according to at least one of the following data of the account: a data sharing history, a data access history, and the like. That is to say, the historical data of the account is collected to analyze the application preference of the account, thereby achieving the purpose of accurately matching the corresponding tag for the account.
- the foregoing process of acquiring the first account list according to the first tag information may be performed in a server, that is, directly, in the server, the second account list having an association relationship with the first account.
- the tag information of the account in the middle is compared with the first tag information, and the client can directly receive the first account list obtained by the comparison sent by the server.
- the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data
- the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then And acquiring, according to the first label information, the first account list from the second account list having the association relationship with the first account, and sending the first account list to the client of the first application in the terminal 802, where the terminal 802 is
- the display interface displays the first account list, and obtains the target account from the first account list, so as to realize sharing the target data to the target account by the server 804.
- the process of acquiring the first account list according to the first tag information may be performed in a client of the first application, that is, acquiring the first tag information sent by the server in the client. Afterwards, the client can compare the tag information of the account in the cached second account list with the first tag information, and the client performs the comparison operation to obtain the aligned first account list.
- the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data
- the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then Sending the first label information to the terminal 802
- the terminal 802 obtains the first account list from the second account list having the association relationship with the first account, and displays the first account list on the display interface.
- obtaining the object account from the first account list so as to share the target data to the target account by the server 804.
- the foregoing target data may be shared by the server 804 to the same application or different applications in the terminal 802. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account.
- the data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application.
- the data interface for example, the terminal identifier or the terminal indicated by the terminal IP
- the friend account in the second application after logging in to the second application List.
- the first label information matching the target data is obtained according to the sharing instruction, where the first label The information is used to indicate the category to which the target data belongs, so as to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information, so that the Accurately sharing the target data to be shared to the target account that needs the target data, and quickly obtaining the target account matching the shared target data from the first account list, which greatly reduces the time for finding the target account from the plurality of accounts. To achieve the effect of improving the efficiency of data sharing.
- the second obtaining unit includes:
- the first obtaining module is configured to obtain a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction in the first application;
- the first comparison module is configured to compare the label information and the first label information of the account in the second account list
- the second obtaining module is configured to obtain the first account list according to the result of the comparison.
- the second account list in the first application App-1 having an association relationship with the first account is as shown in FIG. 4(a).
- the account A, the account B, and the account C are selected.
- the first account list that matches the first tag information includes: account B and account C, and can be displayed in a predetermined order on the display interface.
- the first account list as shown in FIG. 4(b), assumes that the target account is the account C, and the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
- the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
- the second obtaining unit includes:
- a third acquisition module configured to acquire a third account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction in the second application, where the second application is configured to receive the target data, the first application Associated with the second application;
- the second comparison module is configured to compare the label information and the first label information of the account in the third account list
- the fourth obtaining module is configured to obtain the first account list according to the result of the comparison.
- the second account list may also be limited to being in the second application.
- the first account has a second account list associated with the relationship, for example, as shown in FIG. 6(a)-(c), jump from the application App-1 to the application App-2, and obtain the application App-2 and the first A second account list having an associated relationship, wherein the second account list includes: account A, account B, and account C; and obtaining the first account list by comparing: account B, account C, from the first account list Select the target account (account C) to share the target data.
- the present application after obtaining the account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction, comparing the tag information of the account in the account list with the first tag information, The result of the pair gets the first account list. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list.
- the second obtaining unit compares the label information and the first label information of the account in the account list by the following steps:
- S1 traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in sequence:
- the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, which may include, but is not limited to, the label information indicated by the current account.
- the at least one account label and the at least one data label indicated by the first label information belong to the label of the same label type; further, the at least one account label indicated by the label information of the current account is compared with the at least one data label indicated by the first label information.
- the matching may include, but is not limited to, at least one account label indicated by the label information of the current account and a label of the same label as the at least one data label indicated by the first label information.
- the label indicated by the first label information may include, but is not limited to, one or more data labels
- the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
- a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
- the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined.
- the information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
- the second obtaining unit compares the label information and the first label information of the account in the account list by the following steps:
- the number of labels is used to identify a matching degree between the label information of the current account and the first label information.
- the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account.
- the number of tags that get the matching tag is used to identify the degree of matching.
- the account in the first account list is obtained according to the matching degree.
- the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
- the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree.
- Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
- the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account.
- the label information of the current account by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used.
- the degree of matching between the label information of the current account and the first label information so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
- an electronic device wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program.
- the electronic device may be a data sharing terminal for the user to implement the data sharing scenario of the data sharing method.
- the data sharing terminal includes:
- the communication interface 1202 is configured to acquire a sharing instruction generated by performing a sharing operation on the target data in the display interface of the first application, and further configured to acquire, from the server, the first tag information that matches the target data, in response to the sharing instruction, where The first tag information is used to indicate a category to which the target data belongs;
- the processor 1204 is connected to the communication interface 1202, and configured to acquire the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
- the communication interface 1202 is further configured to: obtain an object account that receives the target data from the first account list; and further set to share the target data to the target account;
- the memory 1206 is connected to the communication interface 1202 and the processor 1204, and is configured to store the first tag information and the first account list.
- FIG. 12 is only schematic, and the electronic device can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD.
- FIG. 12 does not limit the structure of the above electronic device.
- the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in Fig. 12, or have a different configuration than that shown in Fig. 12.
- the memory 1206 can be used to store software programs and modules, such as the data sharing method and the program instructions/modules corresponding to the device in the embodiment of the present invention.
- the processor 1204 executes the software programs and modules stored in the memory 1206, thereby executing each A functional application and data processing, that is, the above data sharing method is implemented.
- Memory 1206 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 1206 can further include memory remotely located relative to processor 1204, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the communication interface 1202 described above is for receiving or transmitting data via a network.
- Specific examples of the above network may include a wired network and a wireless network.
- communication interface 1202 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
- NIC Network Interface Controller
- the communication interface 1202 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
- RF Radio Frequency
- the memory 1206 is configured to store content such as sharing instructions and tag information.
- an electronic device comprising: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program.
- the electronic device may be a data sharing server for the user to implement the data sharing scenario of the data sharing method.
- the data sharing server includes:
- a communication interface 1302 configured to receive a sharing instruction generated by the client of the first application to perform a sharing operation on the target data
- the processor 1304 is connected to the communication interface 1302, and is configured to acquire first label information that matches the target data according to the sharing instruction, where the first label information is used to indicate a category to which the target data belongs;
- the tag information is used to obtain a first account list, where the second tag information of the account in the first account list matches the first tag information;
- the communication interface 1302 is further configured to acquire an object account selected from the first account list for receiving target data; and is further configured to share the target data to the target account.
- the memory 1306 is connected to the communication interface 1302 and the processor 1304, and is configured to store the first tag information and the first account list.
- FIG. 13 is only schematic, and the electronic device can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD.
- FIG. 13 does not limit the structure of the above electronic device.
- the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 13, or have a different configuration than that shown in FIG.
- the memory 1306 can be used to store software programs and modules, such as the data sharing method and the program instructions/modules corresponding to the device in the embodiment of the present invention.
- the processor 1304 executes each of the software programs and modules stored in the memory 1306.
- a functional application and data processing, that is, the above data sharing method is implemented.
- Memory 1306 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 1306 can further include memory remotely located relative to processor 1304, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the communication interface 1302 described above is for receiving or transmitting data via a network.
- Specific examples of the above network may include a wired network and a wireless network.
- the communication interface 1302 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
- NIC Network Interface Controller
- communication interface 1302 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
- RF Radio Frequency
- the memory 1306 is configured to store contents such as storage instructions and tag information.
- a storage medium is also provided.
- the foregoing storage medium may be located in at least one of the plurality of network devices in the network.
- the storage medium is arranged to store a computer program for performing the following steps:
- the first tag information that matches the target data is obtained from the server, where the first tag information is used to indicate the category to which the target data belongs.
- the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
- the storage medium is arranged to store a computer program for performing the following steps:
- the first tag information that matches the target data is obtained according to the sharing instruction, where the first tag information is used to indicate a category to which the target data belongs;
- the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
- the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including
- the instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
- the disclosed client may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the first tag information matching the target data to be shared is acquired from the server, Acquiring the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared,
- the object account of the target data, and quickly obtaining the object account matching the shared target data from the first account list greatly reduces the time for finding the target account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Disclosed are a data sharing method and device. The method comprises: acquiring a sharing instruction generated by executing a sharing operation on target data in a display interface of a first application; in response to the sharing instruction, acquiring, from a server, first label information matching the target data, wherein the first label information is used for indicating the category of the target data; acquiring a first list of account numbers according to the first label information, wherein second label information about an account number in the first list of account numbers matches the first label information; acquiring, from the first list of account numbers, an object account number for receiving the target data; and sharing the target data with the object account number. The present application solves the technical problem of a relatively low data sharing efficiency currently existing in a related data sharing method.
Description
本申请要求于2017年4月12日提交中国专利局、优先权号为2017102382926、发明名称为“数据分享方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. No. No. No. Publication No.
本申请涉及计算机领域,具体而言,涉及一种数据分享方法及装置。The present application relates to the field of computers, and in particular, to a data sharing method and apparatus.
在很多终端应用中都为用户提供了数据分享功能,以使用户可以将所关注的数据分享给自己的好友。其中,目前在分享账号执行数据分享的过程中,通常在选中所要分享的数据后,需先从与分享账号关联的好友列表中选择接收分享数据的分享对象,例如,如图1(a)-(c)所示,在应用App-1中分享文章S时,需先选中分享对象(如账号A),再将上述文章S推送给该分享对象账号A。In many end applications, users are provided with data sharing functions, so that users can share the data of interest to their friends. Currently, in the process of sharing account execution data sharing, after selecting the data to be shared, it is necessary to first select the shared object to receive the shared data from the list of friends associated with the shared account, for example, as shown in FIG. 1(a)- (c), when sharing the article S in the application App-1, it is necessary to first select the sharing object (such as account A), and then push the above article S to the sharing object account A.
然而,接收分享数据的分享对象在好友列表中,往往是按照固定顺序排列配置,例如,按照好友名称首字母顺序排列,或按照交互频率高低排列。也就是说,在执行数据分享时,需要在按照固定顺序配置的好友列表中,通过手动翻页的方式查找所要推送的分享对象,从而导致数据分享时间被延长,进而造成数据分享效率较低的问题。However, the shared objects that receive the shared data are often arranged in a fixed order in the buddy list, for example, in alphabetical order according to the buddy name, or in accordance with the frequency of the interaction. In other words, when performing data sharing, it is necessary to manually search for the shared object to be pushed in the buddy list configured in a fixed order, thereby causing the data sharing time to be extended, thereby resulting in low data sharing efficiency. problem.
针对上述的问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本申请实施例提供了一种数据分享方法及装置,以至少解决目前相关的数据分享方式中存在的数据分享效率较低的技术问题。The embodiment of the present application provides a data sharing method and device, so as to at least solve the technical problem that the data sharing efficiency existing in the current related data sharing mode is low.
根据本申请实施例的一个方面,提供了一种数据分享方法,包括:获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;响应上述分享指令从服务器获取与上述目标数据相匹配的第一标签信息,其中,上述第一标签信息用于指示上述目标数据所属的类别;根据上述第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与上述第一标签信息相匹配;从上述第一账号列表中获取接收上述目标数据的对象账号;将上述目标数据分享给上述对象账号。According to an aspect of the embodiments of the present application, a data sharing method includes: acquiring a sharing instruction generated by performing a sharing operation on target data in a display interface of a first application; and acquiring the target from the server in response to the sharing instruction The first tag information that is matched by the data, wherein the first tag information is used to indicate a category to which the target data belongs; and the first account list is obtained according to the first tag information, where the account number in the first account list is The second tag information is matched with the first tag information; the target account that receives the target data is obtained from the first account list; and the target data is shared with the target account.
根据本申请实施例的另一方面,还提供了一种数据分享方法,包括:接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;根据上述分享指令获取与上述目标数据相匹配的第一标签信息,其中,上述第一标签信息用于指示上述目标数据所属的类别;根据上述第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与上述第一标签信息相匹配;获取从上述第一账号列表中选出的用于接收上述目标数据的对象账号;将上述目标数据分享给上述对象账号。According to another aspect of the embodiments of the present application, a data sharing method is further provided, including: receiving a sharing instruction generated by a client of a first application to perform a sharing operation on the target data; and acquiring, according to the sharing instruction, the target data And matching the first label information, wherein the first label information is used to indicate a category to which the target data belongs; and the first account list is obtained according to the first label information, wherein the second label of the account in the first account list The information is matched with the first label information; the object account selected from the first account list for receiving the target data is acquired; and the target data is shared with the target account.
根据本申请实施例的又一方面,还提供了一种数据分享装置,包括:第一获取单元,设置为获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;第二获取单元,设置为响应上述分享指令从服务器获取与上述目标数据相匹配的第一标签信息,其中,上述第一标签信息用于指示上述目标数据所属的类别;第三获取单元,设置为根据上述第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与上述第一标签信息相匹配;第四获取单元,设置为从上述第一账号列表中获取接收上述目标数据的对象账号;分享单元,设置为将上述目标数据分享给上述对象账号。According to still another aspect of the embodiments of the present application, a data sharing apparatus is provided, including: a first acquiring unit, configured to acquire a sharing instruction generated by performing a sharing operation on target data in a display interface of the first application; The second obtaining unit is configured to obtain, from the server, the first tag information that matches the target data, in response to the sharing instruction, wherein the first tag information is used to indicate a category to which the target data belongs; and the third acquiring unit is configured to The first tag information is used to obtain a first account list, where the second tag information of the account in the first account list matches the first tag information; and the fourth acquiring unit is configured to obtain the first account list. Receiving the target account of the target data; the sharing unit is configured to share the target data to the target account.
根据本申请实施例的又一方面,还提供了一种数据分享装置,包括:接收单元,设置为接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;第一获取单元,设置为根据上述分享指令获取与上述目标数据相匹配的第一标签信息,其中,上述第一标签信息用于指示上述目标数据所属的类别;第二获取单元,设置为根据上述第一标签信息获取第一账 号列表,其中,上述第一账号列表中的账号的第二标签信息与上述第一标签信息相匹配;第三获取单元,设置为获取从上述第一账号列表中选出的用于接收上述目标数据的对象账号;分享单元,设置为将上述目标数据分享给上述对象账号。According to still another aspect of the embodiments of the present application, a data sharing apparatus is further provided, including: a receiving unit, configured to receive a sharing instruction generated by a client of the first application to perform a sharing operation on the target data; and a first acquiring unit, And the first label information is used to obtain the first label information that matches the target data, wherein the first label information is used to indicate the category to which the target data belongs; and the second obtaining unit is configured to obtain the first label information according to the first label information. a first account list, wherein the second tag information of the account in the first account list matches the first tag information; and the third obtaining unit is configured to obtain the selected one of the first account lists for receiving The target account of the target data; the sharing unit is configured to share the target data to the target account.
根据本发明的实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述数据分享方法。According to still another aspect of an embodiment of the present invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is configured to execute the data sharing method at runtime.
根据本发明实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的数据分享方法。According to still another aspect of the embodiments of the present invention, an electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above by using a computer program Data sharing method.
在本申请实施例中,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。In the embodiment of the present application, after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server, Acquiring the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared, The object account of the target data, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the target account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据相关技术的一种数据分享方法的示意图;1 is a schematic diagram of a data sharing method according to the related art;
图2是根据本申请实施例的一种可选的数据分享方法的应用环境示意图;2 is a schematic diagram of an application environment of an optional data sharing method according to an embodiment of the present application;
图3是根据本申请实施例的一种可选的数据分享方法的流程图;3 is a flowchart of an optional data sharing method according to an embodiment of the present application;
图4是根据本申请实施例的一种可选的数据分享方法的示意图;4 is a schematic diagram of an optional data sharing method according to an embodiment of the present application;
图5是根据本申请实施例的另一种可选的数据分享方法的示意图;FIG. 5 is a schematic diagram of another optional data sharing method according to an embodiment of the present application; FIG.
图6是根据本申请实施例的又一种可选的数据分享方法的示意图;6 is a schematic diagram of still another optional data sharing method according to an embodiment of the present application;
图7是根据本申请实施例的另一种可选的数据分享方法的流程图;7 is a flow chart of another alternative data sharing method according to an embodiment of the present application;
图8是根据本申请实施例的又一种可选的数据分享方法的流程图;FIG. 8 is a flowchart of still another optional data sharing method according to an embodiment of the present application; FIG.
图9是根据本申请实施例的又一种可选的数据分享方法的流程图;9 is a flowchart of still another alternative data sharing method according to an embodiment of the present application;
图10是根据本申请实施例的一种可选的数据分享装置的示意图;FIG. 10 is a schematic diagram of an optional data sharing apparatus according to an embodiment of the present application; FIG.
图11是根据本申请实施例的另一种可选的数据分享装置的示意图;11 is a schematic diagram of another optional data sharing device according to an embodiment of the present application;
图12是根据本申请实施例的一种可选的电子装置的示意图;12 is a schematic diagram of an alternative electronic device in accordance with an embodiment of the present application;
图13是根据本申请实施例的另一种可选的电子装置的示意图。13 is a schematic diagram of another alternative electronic device in accordance with an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出 的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
根据本申请实施例的一个方面,提供了一种上述交互资源推送方法的实施例。作为一种可选的实施方式,该交互资源推送方法可以但不限于应用于如图2所示的应用环境中,终端202中运行有第一应用,终端202在获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,响应该分享指令通过网络204从服务器206中获取与上述目标数据相匹配的第一标签信息,其中,该第一标签信息用于指示上述目标数据所属的类别;然后,根据该第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配;从该第一账号列表中获取接收上述目标数据的对象账号,并将上述目标数据分享给对象账号。According to an aspect of an embodiment of the present application, an embodiment of the foregoing interaction resource pushing method is provided. As an optional implementation manner, the interaction resource pushing method may be, but is not limited to, being applied to an application environment as shown in FIG. 2, where the terminal 202 runs a first application, and the terminal 202 acquires a display interface for the first application. After the target data in the target data performs the sharing instruction generated by the sharing operation, the first tag information matching the target data is acquired from the server 206 via the network 204 in response to the sharing instruction, wherein the first tag information is used to indicate the target And the first tag list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information; and the first account list is obtained. Receiving the target account of the target data, and sharing the target data to the target account.
在本实施例中,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。In this embodiment, after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server, so as to achieve Acquiring the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared to the required target The object account of the data, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
可选地,在本实施例中,上述终端可以包括但不限于以下至少之一:手机、平板电脑、笔记本电脑、台式PC机、数字电视及其他用于分享数据的硬件设备。上述网络可以包括但不限于以下至少之一:广域网、城域网、局域网。上述只是一种示例,本实施例对此不做任何限定。Optionally, in this embodiment, the foregoing terminal may include, but is not limited to, at least one of the following: a mobile phone, a tablet computer, a notebook computer, a desktop PC, a digital television, and other hardware devices for sharing data. The above network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The above is only an example, and the embodiment does not limit this.
根据本申请实施例,提供了一种数据分享方法,如图3所示,该方法包括:According to an embodiment of the present application, a data sharing method is provided. As shown in FIG. 3, the method includes:
S302,获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;S302. Acquire a sharing instruction generated by performing a sharing operation on target data in a display interface of the first application.
S304,响应分享指令从服务器获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;S304. Acquire first label information that matches the target data from the server, where the first label information is used to indicate a category to which the target data belongs.
S306,根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;S306. The first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information.
S308,从第一账号列表中获取接收目标数据的对象账号;S308. Obtain an object account that receives target data from the first account list.
S310,将目标数据分享给对象账号。S310, sharing the target data to the target account.
可选地,在本实施例中,上述数据分享方法可以但不限于应用于不同应用的数据分享过程中,例如,上述应用可以包括但不限于以下至少之一:视频播放应用、新闻应用、即时通讯应用、购物应用等等,数据分享可以在同一应用中不同账号之间进行分享,也可以在不同应用中进行分享。其中,上述所分享的目标数据的数据形式可以包括但不限于以下至少之一:文字、图片、视频、flash动画等等。上述仅是一种示例,对于其他类型本申请实施例中在此不做任何限定。Optionally, in this embodiment, the foregoing data sharing method may be, but is not limited to, being applied to a data sharing process of different applications. For example, the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant. Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications. The data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
例如,以第一应用为即时通讯应用为例,目标数据以文章为例,在获取到对该文章执行分享操作的分享指令后,从服务器获取与该文章相匹配的第一标签信息,例如第一标签信息指示该文章属于经济类。假设在即时通讯应用中内部进行分享,则可以获取该即时通讯应用中与请求分享的第一账号相关联的第二账号列表,获取该第二账号列表中的账号的标签信息,并与第一标签信息进行比对,以获取标签信息相匹配的第一账号列表,其中,第一账号列表中的账号的标签也指示为经济类。在从第一账号列表中获取对象账号,并将上述目标数据推送给该对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, taking the first application as an instant messaging application as an example, the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class. Assuming that the sharing is performed internally in the instant messaging application, the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class. Obtaining an object account from the first account list, and pushing the target data to the target account. The above is only an example, and is not limited in this embodiment.
需要说明的是,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相 匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。It should be noted that after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data. The object account, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
可选地,在本实施例中,上述与目标数据相匹配的第一标签信息可以但不限于为服务器根据获取到的目标数据的属性信息而生成的,其中,上述属性信息包括以下至少之一:目标数据的标题、目标数据的摘要、目标数据的链接地址。Optionally, in this embodiment, the foregoing first label information that matches the target data may be, but is not limited to, generated by the server according to the attribute information of the acquired target data, where the attribute information includes at least one of the following: : The title of the target data, the summary of the target data, and the link address of the target data.
例如,第一应用的客户端向服务器发送目标数据的标题,和/或,目标数据的摘要,和/或,统一资源符(Uniform Resource Locator,简称URL)等。其中,服务器可以通过URL打开对应链接,提取链接所指示的页面中的文字内容。然后,对上述标题、摘要及页面中的文字内容进行分词,并将上述得到的分词与预先通过学习得到的词库中的关键词进行比对匹配,以根据比对后的结果获取该目标数据的第一标签信息。其中,上述匹配方法可以但不限于采用相关技术中提供的文本主题聚类的LDA算法,文本分类的最大熵分类器等,本实施例中对此不做任何限定。For example, the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL). The server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result. The first label information. The foregoing matching method may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
可选地,在本实施例中,根据第一标签信息获取第一账号列表包括:获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;比对第二账号列表中的账号的标签信息与第一标签信息;根据比对的结果获取第一账号列表。Optionally, in this embodiment, acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
需要说明的是,上述第一账号可以包括但不限于以下至少之一:用于登陆第一应用的账号、第一应用所在终端的终端标识构成的账号、第一应用所在终端的终端IP构成的账号等等。也就是说,在同一应用内进行数据分享时,可以直接利用登陆账号获取具有关联关系的账号列表,例如第一账号的好友账号列表。而在不同应用之间进行数据分享时,可以但不限 于利用终端标识构成的账号和/或终端IP构成的账号,获取用于接收目标数据的第二应用为第一应用开放的数据接口,以通过调用该数据接口实现将第一应用中的数据分享给第二应用中的账号列表,例如,上述终端标识或终端IP所指示的终端,登陆第二应用后,在第二应用中的好友账号列表。上述仅是一种示例,本实施例中对此不做任何限定。It should be noted that the foregoing first account may include, but is not limited to, at least one of the following: an account used for logging in to the first application, an account formed by the terminal identifier of the terminal where the first application is located, and a terminal IP of the terminal where the first application is located. Account number and more. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account. The data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application. Sharing the data in the first application to the account list in the second application by calling the data interface, for example, the terminal identifier or the terminal indicated by the terminal IP, and the friend account in the second application after logging in to the second application List. The above is only an example, and is not limited in this embodiment.
此外,在本实施例中,上述根据第一标签信息获取第一账号列表的过程可以在第一应用的客户端中执行,也就是说,在客户端中获取服务器发送的第一标签信息后,客户端可以利用缓存的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端通过执行比对操作,以获取比对后的第一账号列表;此外,上述根据第一标签信息获取第一账号列表的过程可以在服务器中执行,也就是说,在服务器中直接对与第一账号具有关联关系的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端可以直接接收服务器发送的比对后的第一账号列表。上述仅是一种示例,本实施例中对此不做任何限定。In addition, in this embodiment, the process of acquiring the first account list according to the first tag information may be performed in the client of the first application, that is, after acquiring the first tag information sent by the server in the client, The client can use the tag information of the account in the cached second account list to compare with the first tag information, and the client performs the comparison operation to obtain the aligned first account list; The process of obtaining the first account list by the information may be performed in the server, that is, the tag information of the account in the second account list having the association relationship with the first account is directly compared with the first tag information in the server, and the client The terminal can directly receive the first account list sent by the server. The above is only an example, and is not limited in this embodiment.
可选地,在本实施例中,上述第二账号列表中的账号的标签信息可以但不限于为在客户端预配置的标签信息,也可以但不限于为按照预定周期服务器接收获取到的标签信息。上述仅是一种示例,本实施例中对此不做任何限定。Optionally, in this embodiment, the label information of the account in the second account list may be, but is not limited to, label information pre-configured on the client, and may be, but not limited to, receiving the obtained label according to a predetermined period of time. information. The above is only an example, and is not limited in this embodiment.
需要说明的是,在本实施例中,上述第一标签信息所指示的标签可以包括但不限于一个或多个数据标签,上述第二账号列表中的账号的标签信息所指示的标签可以包括但不限于一个或多个账号标签。也就是说,每条目标数据可以对应一个或多个数据标签,每个账号也可以对应配置一个或多个账号标签,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the label indicated by the first label information may include, but is not limited to, one or more data labels, and the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
可选地,在本实施例中,上述比对第二账号列表中的账号的标签信息与第一标签信息可以包括但不限于:Optionally, in this embodiment, the label information and the first label information of the account in the second account list may include, but are not limited to:
1)模糊比对,对第二账号列表中的账号分别作为当前账号执行以下操作:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所 指示的至少一个数据标签属于相同标签类型的标签的情况下,判定该账号的标签信息与目第一标签信息相匹配,可将该账号作为第一账号列表中的账号;1) The fuzzy comparison, the account in the second account list is respectively performed as the current account: the at least one account label indicated by the label information of the current account and the at least one data label indicated by the first label information belong to the same label type. In the case of the label, it is determined that the label information of the account matches the first label information, and the account is used as the account in the first account list;
2)精确比对,对第二账号列表中的账号分别作为当前账号执行以下操作:从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签为相同标签的标签数量;使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度;以实现根据上述匹配度更新第二账号列表,其中,第二账号列表中包括上述第一账号列表。2) Exact comparison, the account in the second account list is respectively used as the current account to perform the following operations: obtaining the same label as the data label indicated by the first label information from the account label indicated by the label information of the current account The number of tags is used to identify the degree of matching between the tag information of the current account and the first tag information, so as to update the second account list according to the matching degree, wherein the second account list includes the first account list.
需要说明的是,在本实施例中,可以但不限于根据不同的标签类型确定比对类型,例如,针对技术专业类型可以但不限于采用精确比对,针对爱好兴趣类型可以但不限于采用模糊比对,上述仅是一种示例,根据不同用户需求可以对应配置不同的比对方式,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the comparison type may be determined according to different label types, for example, for the technical professional type, but not limited to adopting an exact comparison, and the interest type may be, but is not limited to, adopting a fuzzy For the comparison, the foregoing is only an example, and different comparison manners may be configured according to different user requirements, which is not limited in this embodiment.
可选地,在本实施例中,在根据比对的结果获取第一账号列表之后,还包括:Optionally, in this embodiment, after obtaining the first account list according to the result of the comparison, the method further includes:
1)在显示界面按照预定顺序显示第一账号列表。1) Display the first account list in a predetermined order on the display interface.
例如,如图4所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图4(a)所示,包括账号A、账号B、账号C,在比对后,判断出与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则可以在显示界面按照预定顺序显示上述第一账号列表,如图4(b),假设获取到对象账号为账号C,则可向账号C推送所要分享的目标数据C,如图4(c)所示。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in FIG. 4, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C. After determining that the first account list matching the first tag information includes: account B and account C, the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that If the target account is the account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c). The above is only an example, and is not limited in this embodiment.
2)在显示界面按照匹配度显示第二账号列表,其中,第一账号列表按照匹配度排列在第二账号列表中的前N位,N为大于等于1的自然数。2) Displaying, in the display interface, the second account list according to the matching degree, wherein the first account list is arranged in the first N bits in the second account list according to the matching degree, and N is a natural number greater than or equal to 1.
例如,如图5所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图5(a)所示,包括账号A、账号B、账号C,在比对后,根据匹配度计算可以对上述第二账号列表中的账号进行重新排序,如 图5(b),在显示界面按照匹配度显示更新后的第二账号列表,显示顺序更新为账号B、账号C、账号A。其中,假设与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则上述第一账号列表位于上述更新后的第二账号列表中的前两位。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in FIG. 5, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C. After that, according to the matching degree calculation, the accounts in the second account list may be reordered, as shown in FIG. 5(b), the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account. C, account A. If the first account list that matches the first tag information includes: account B and account C, the first account list is located in the first two of the updated second account list. The above is only an example, and is not limited in this embodiment.
也就是说,在本实施例中,在获取到第一账号列表之后,可以但不限于仅显示标签信息与第一标签信息匹配的第一账号列表,需要说明的是,上述第一账号列表可以按照预定顺序显示,例如,根据首字母或使用频率或最近使用时间等为依据进行排列,本实施例中对此不做任何限定。此外,在本实施例中,在获取到第一账号列表之后,也可以但不限于按照匹配度显示第二账号列表中,其中,第一账号列表位于第二账号列表的前N位。换言之,显示第二账号列表中的全部账号,但按照匹配度,将与第一标签信息匹配的第一账号列表显示在前N位,以便于快速获取对象账号。That is, in this embodiment, after the first account list is obtained, the first account list that matches the first tag information may be displayed, but is not limited to the first tag list. The display is performed in a predetermined order, for example, based on the initials or the frequency of use or the most recently used time, and the like, which is not limited in this embodiment. In addition, in this embodiment, after obtaining the first account list, the second account list may also be displayed according to the matching degree, wherein the first account list is located in the first N digits of the second account list. In other words, all the accounts in the second account list are displayed, but according to the matching degree, the first account list matching the first tag information is displayed in the first N bits, so as to quickly acquire the target account.
通过本申请提供的实施例,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。With the embodiment provided by the present application, after acquiring the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, by acquiring the first tag information that matches the target data to be shared from the server, Obtaining the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared to the need The target account of the target data, and quickly obtaining the target account matching the shared target data from the first account list, greatly reduces the time for searching the target account from the plurality of accounts, thereby improving the efficiency of data sharing. .
作为一种可选的方案,根据第一标签信息获取第一账号列表包括:As an optional solution, obtaining the first account list according to the first tag information includes:
S1,获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;S1. Obtain a second account list that has an association relationship with the first account that requests sharing of the target data in the sharing instruction.
S2,比对第二账号列表中的账号的标签信息与第一标签信息;S2, comparing label information and first label information of the account in the second account list;
S3,根据比对的结果获取第一账号列表。S3. Obtain a first account list according to the result of the comparison.
需要说明的是,在本实施例中,上述第二账号列表可以但不限于为第一应用中与第一账号具有关联关系的账号列表;也可以但不限于为与第一应用关联的第二应用中与第一账号具有关联关系的账号列表。It should be noted that, in this embodiment, the second account list may be, but is not limited to, an account list that has an association relationship with the first account in the first application; and may be, but is not limited to, a second associated with the first application. A list of accounts in the application that have an association with the first account.
在应用App-1中内部分享目标数据的情况下,上述第二账号列表可以但不限于为在第一应用中与第一账号具有关联关系的第二账号列表,例如,在应用App-1中第二账号列表包括:账号A、账号B、账号C;经比对得到第一账号列表包括:账号B、账号C,从第一账号列表中选择对象账号(账号C)分享目标数据。此外,在将第一应用App-1中的目标数据分享至第二应用App-2的情况下,上述第二账号列表也可以但不限于为在第二应用中与第一账号具有关联关系的第二账号列表,例如,如图6(a)-(c)所示,从应用App-1中跳转至应用App-2中,获取应用App-2中与第一账号具有关联关系的第二账号列表,其中,第二账号列表包括:账号A、账号B、账号C;经比对得到第一账号列表包括:账号B、账号C,从第一账号列表中选择对象账号(账号C)分享目标数据。In the case that the target data is shared internally in the application App-1, the second account list may be, but is not limited to, a second account list having an association relationship with the first account in the first application, for example, in the application App-1. The second account list includes: account A, account B, and account C; and the first account list obtained by comparison includes: account B, account C, and selects the target account (account C) from the first account list to share the target data. In addition, in the case of sharing the target data in the first application App-1 to the second application App-2, the second account list may also be, but not limited to, having an association relationship with the first account in the second application. The second account list, for example, as shown in FIG. 6(a)-(c), jumps from the application App-1 to the application App-2, and acquires the first relationship of the application App-2 with the first account. The second account list includes: an account A, an account B, and an account C; and the first account list is obtained by comparing: the account B, the account C, and the object account (account C) is selected from the first account list. Share target data.
可选地,在本实施例中,比对第二账号列表中的账号的标签信息与第一标签信息包括:模糊比对、精确比对。其中,模糊比对,用于指示在账号标签与数据标签中存在至少一对属于相同类别的标签,就可以判定该账号标签所标识的账号与该数据标签所标识的目标数据相匹配,从而实现将该账号作为第一账号列表中的账号。其中,精确比对,用于指示在账号标签中获取与数据标签中属于相同标签的标签数量,根据相同标签的标签数量确定二者的匹配度,以实现按照匹配度获取第一账号列表中的账号。例如,将第二账号列表中匹配度大于预定阈值的账号作为第一账号列表中的账号。Optionally, in this embodiment, the label information and the first label information of the account in the second account list are compared: a fuzzy comparison, and an exact comparison. The fuzzy comparison is used to indicate that at least one pair of labels belonging to the same category exists in the account label and the data label, and the account identified by the account label is matched with the target data identified by the data label, thereby realizing Use this account as the account number in the first account list. The exact comparison is used to indicate that the number of labels belonging to the same label in the data label is obtained in the account label, and the matching degree of the two labels is determined according to the number of labels of the same label, so as to obtain the first account list according to the matching degree. account number. For example, an account with a matching degree greater than a predetermined threshold in the second account list is used as an account in the first account list.
通过本申请提供的实施例,在获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表之后,通过比对第二账号列表中的账号的标签信息与第一标签信息,以根据比对的结果获取第一账号列表。从而实现在数据分享过程中,可以获取到与目标数据相匹配的第一账号列 表,通过准确提供需要上述目标数据的第一账号列表,以使目标数据可以准确分享给第一账号列表中包括的用于接收目标数据的对象账号。After the second account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction is obtained, the tag information and the first tag information of the account in the second account list are compared. To obtain a first account list based on the results of the comparison. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list. The object account used to receive the target data.
作为一种可选的方案,比对第二账号列表中的账号的标签信息与第一标签信息包括:As an optional solution, the label information and the first label information of the account in the second account list are compared:
S1,遍历第二账号列表中全部的账号,将第二账号列表中每个账号依次作为当前账号执行以下操作:S1: traverse all the accounts in the second account list, and perform the following operations by using each account in the second account list as the current account in sequence:
S11,在当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出当前账号的标签信息与第一标签信息匹配;S11, if at least one account label indicated by the label information of the current account matches at least one data label indicated by the first label information, determining that the label information of the current account matches the first label information;
S12,将当前账号作为第一账号列表中的账号。S12: The current account is used as an account in the first account list.
可选地,在本实施例中,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签属于相同标签类型的标签;此外,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签为相同标签的标签。Optionally, in this embodiment, the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, which may include, but is not limited to, the label information indicated by the current account. The at least one account label and the at least one data label indicated by the first label information belong to the label of the same label type; further, the at least one account label indicated by the label information of the current account is compared with the at least one data label indicated by the first label information. The matching may include, but is not limited to, at least one account label indicated by the label information of the current account and a label of the same label as the at least one data label indicated by the first label information.
需要说明的是,在本实施例中,上述第一标签信息所指示的标签可以包括但不限于一个或多个数据标签,上述第二账号列表中的账号的标签信息所指示的标签可以包括但不限于一个或多个账号标签。也就是说,每条目标数据可以对应一个或多个数据标签,每个账号也可以对应配置一个或多个账号标签,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the label indicated by the first label information may include, but is not limited to, one or more data labels, and the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
也就是说,在本实施例中,比对第二账号列表中的账号的标签信息与第一标签信息时,可以采用模糊比对,在标签信息所指示的多个标签中,获取至少一对属于相同标签类型的标签,或至少一对为相同标签的标签,则可以判定该账号的标签信息与第一标签信息匹配,并可以将该账号作为 第一账号列表中的账号,以便于将其显示在显示界面中,方便用户快速选择接收目标数据的对象账号,达到提高数据分享的效率的效果。That is, in this embodiment, when comparing the label information of the account in the second account list with the first label information, a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
通过本申请提供的实施例,通过比对标签信息,将当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况,判定为当前账号的标签信息与第一标签信息匹配,进而将当前账号作为第一账号列表中的账号,以实现通过模糊比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。According to the embodiment provided by the present application, the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined. The information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
作为一种可选的方案,比对第二账号列表中的账号的标签信息与第一标签信息包括:As an optional solution, the label information and the first label information of the account in the second account list are compared:
S1,遍历第二账号列表中全部的账号,将第二账号列表中每个账号依次作为当前账号执行以下操作:S1: traverse all the accounts in the second account list, and perform the following operations by using each account in the second account list as the current account in sequence:
S11,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量;S11. Obtain, from the account label indicated by the label information of the current account, the number of labels of the label that matches the data label indicated by the first label information.
S12,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度;S12. The number of labels is used to identify a matching degree between the label information of the current account and the first label information.
S2,根据匹配度更新第二账号列表,其中,第二账号列表中包括第一账号列表。S2. Update the second account list according to the matching degree, where the second account list includes the first account list.
可选地,在本实施例中,在上述匹配判断过程中,将在当前账号的标签信息所指示的账号标签中,与第一标签信息所指示的数据标签为相同标签的标签判定为匹配标签,获取该匹配标签的标签数量用于标识匹配度。以实现按照匹配度获取第一账号列表中的账号。从而达到对账号的标签信息及目标数据的第一标签信息进行精确比对的目的。Optionally, in this embodiment, in the matching determination process, the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account. The number of tags that get the matching tag is used to identify the degree of matching. The account in the first account list is obtained according to the matching degree. Thereby, the purpose of accurately comparing the label information of the account and the first label information of the target data is achieved.
需要说明的是,在本实施例中,在获取到标签数量所标识的匹配度之后,可以但不限于将第二账号列表中匹配度大于预定阈值的账号作为第一账号列表中的账号,其中,第一账号列表中的账号为第二账号列表中的部 分账号。It should be noted that, in this embodiment, after obtaining the matching degree identified by the number of labels, the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
可选地,在本实施例中,可以但不限于单独获取上述第一账号列表,以将该第一账号列表显示在显示界面中,这里第一账号列表中的账号可以但不限于按照匹配度显示,也可以但不限于按照默认顺序显示。本实施例中对此不做任何限定。Optionally, in this embodiment, the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree. Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
可选地,在本实施例中,还可以但不限于按照匹配度更新第二账号列表中全部账号的排列顺序,其中,与目标数据相匹配的第一账号列表中的账号排列在第二账号列表中的前N位。也就是说,在第二账号列表中,与目标数据未匹配的其他账号也可以显示在显示界面中,且显示顺序位于第一账号列表中的账号之后。本实施例中对此不做任何限定。Optionally, in this embodiment, the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account. The first N digits in the list. That is to say, in the second account list, other accounts that do not match the target data may also be displayed in the display interface, and the display order is located after the account in the first account list. This embodiment does not limit this.
通过本申请提供的实施例,通过比对标签信息,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度,以实现根据匹配度通过精确比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。Through the embodiment provided by the present application, by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used. The degree of matching between the label information of the current account and the first label information, so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
作为一种可选的方案,在根据比对的结果获取第一账号列表之后,还包括:As an optional solution, after obtaining the first account list according to the result of the comparison, the method further includes:
S1,在显示界面按照预定顺序显示第一账号列表。S1. Display the first account list in a predetermined order on the display interface.
具体结合图4所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图4(a)所示,包括账号A、账号B、账号C,在比对后,判断出与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则可以在显示界面按照预定顺序显示上述第一账号列表,如图4(b),假设获取到对象账号为账号C,则可向账号C推送所要分享的目标数据C,如图4(c)所示。As shown in FIG. 4, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C. And determining that the first account list matching the first tag information includes: account B and account C, the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that the object is acquired. If the account number is account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
通过本申请提供的实施例,通过直接显示与目标数据相匹配的第一账 号列表,以减少相关技术中需要翻页查找用于接收目标数据的对象账号的查找时间,通过从第一账号列表中直接选择对象账号的方式,达到提高数据分享的效率。Through the embodiment provided by the present application, by directly displaying the first account list matching the target data, the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
作为一种可选的方案,在根据比对的结果获取第一账号列表之后,包括:As an optional solution, after obtaining the first account list according to the result of the comparison, the method includes:
S1,在显示界面按照匹配度显示第二账号列表,其中,第一账号列表按照匹配度排列在第二账号列表中的前N位,N为大于等于1的自然数。S1. The second account list is displayed according to the matching degree on the display interface, wherein the first account list is arranged in the first N bits in the second account list according to the matching degree, and N is a natural number greater than or equal to 1.
具体结合图5所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图5(a)所示,包括账号A、账号B、账号C,在比对后,根据匹配度计算可以对上述第二账号列表中的账号进行重新排序,如图5(b),在显示界面按照匹配度显示更新后的第二账号列表,显示顺序更新为账号B、账号C、账号A。其中,假设与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则上述第一账号列表位于上述更新后的第二账号列表中的前两位。As shown in FIG. 5, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C. According to the matching degree calculation, the accounts in the second account list may be reordered. As shown in FIG. 5(b), the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account C. , account A. If the first account list that matches the first tag information includes: account B and account C, the first account list is located in the first two of the updated second account list.
通过本申请提供的实施例,通过更新第二账号列表的排列顺序,以使与目标数据相匹配的第一账号列表可以显示在第二账号列表的前N位,以减少相关技术中需要翻页查找用于接收目标数据的对象账号的查找时间,通过从第一账号列表中直接选择对象账号的方式,达到提高数据分享的效率。Through the embodiment provided by the present application, by updating the order of the second account list, the first account list matching the target data can be displayed in the first N bits of the second account list, so as to reduce the need to turn pages in the related art. The search time of the object account for receiving the target data is searched, and the efficiency of data sharing is improved by directly selecting the object account from the first account list.
根据本申请的实施例的另一方面,还提供了一种数据分享方法,如图7所示,该方法包括:According to another aspect of the embodiments of the present application, a data sharing method is further provided. As shown in FIG. 7, the method includes:
S702,接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;S702. Receive a sharing instruction generated by a client of the first application to perform a sharing operation on the target data.
S704,根据分享指令获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;S704. Acquire first label information that matches the target data according to the sharing instruction, where the first label information is used to indicate a category to which the target data belongs;
S706,根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;S706, the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
S708,获取从第一账号列表中选出的用于接收目标数据的对象账号;S708. Acquire an object account selected from the first account list for receiving target data.
S710,将目标数据分享给对象账号。S710, sharing the target data to the target account.
可选地,在本实施例中,上述数据分享方法可以但不限于应用于不同应用的数据分享过程中,例如,上述应用可以包括但不限于以下至少之一:视频播放应用、新闻应用、即时通讯应用、购物应用等等,数据分享可以在同一应用中不同账号之间进行分享,也可以在不同应用中进行分享。其中,上述所分享的目标数据的数据形式可以包括但不限于以下至少之一:文字、图片、视频、flash动画等等。上述仅是一种示例,对于其他类型本申请实施例中在此不做任何限定。Optionally, in this embodiment, the foregoing data sharing method may be, but is not limited to, being applied to a data sharing process of different applications. For example, the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant. Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications. The data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
例如,以第一应用为即时通讯应用为例,目标数据以文章为例,在获取到对该文章执行分享操作的分享指令后,从服务器获取与该文章相匹配的第一标签信息,例如第一标签信息指示该文章属于经济类。假设在即时通讯应用中内部进行分享,则可以获取该即时通讯应用中与请求分享的第一账号相关联的第二账号列表,获取该第二账号列表中的账号的标签信息,并与第一标签信息进行比对,以获取标签信息相匹配的第一账号列表,其中,第一账号列表中的账号的标签也指示为经济类。在从第一账号列表中获取对象账号,并将上述目标数据推送给该对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, taking the first application as an instant messaging application as an example, the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class. Assuming that the sharing is performed internally in the instant messaging application, the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class. Obtaining an object account from the first account list, and pushing the target data to the target account. The above is only an example, and is not limited in this embodiment.
需要说明的是,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数 据分享的效率的效果。It should be noted that after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data. The object account, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
可选地,在本实施例中,上述与目标数据相匹配的第一标签信息可以但不限于为服务器根据获取到的目标数据的属性信息而生成的,其中,上述属性信息包括以下至少之一:目标数据的标题、目标数据的摘要、目标数据的链接地址。Optionally, in this embodiment, the foregoing first label information that matches the target data may be, but is not limited to, generated by the server according to the attribute information of the acquired target data, where the attribute information includes at least one of the following: : The title of the target data, the summary of the target data, and the link address of the target data.
例如,第一应用的客户端向服务器发送目标数据的标题,和/或,目标数据的摘要,和/或,统一资源符(Uniform Resource Locator,简称URL)等。其中,服务器可以通过URL打开对应链接,提取链接所指示的页面中的文字内容。然后,对上述标题、摘要及页面中的文字内容进行分词,并将上述得到的分词与预先通过学习得到的词库中的关键词进行比对匹配,以根据比对后的结果获取该目标数据的第一标签信息。其中,上述匹配方法可以但不限于采用相关技术中提供的文本主题聚类的LDA算法,文本分类的最大熵分类器等,本实施例中对此不做任何限定。For example, the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL). The server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result. The first label information. The foregoing matching method may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
需要说明的是,在本实施例中,目标数据可以但不限于根据词库中的关键词库匹配一个或多个数据标签,例如,假设所要分享的为文章S,服务器分析得到与文章S对应的标签信息包括:It should be noted that, in this embodiment, the target data may be, but is not limited to, matching one or more data tags according to the keyword library in the thesaurus. For example, if the article S is to be shared, the server analysis is corresponding to the article S. The label information includes:
标签1 匹配度 10分 Label 1 match 10 points
标签2 匹配度 8分 Label 2 match 8 points
标签3 匹配度 5分Label 3 match 5 points
此外,假设匹配度大于6分的作为第一标签信息所指示的标签,则根据上述内容可确定该文章S的第一标签信息所指示的标签包括:标签1和标签2,进一步,服务器可将上述第一标签信息所指示的标签发送给客户端进行与第二账号列表的标签信息的匹配,以准确获取用于接收目标数据的第一账号列表,进而达到快速准确获取接收目标数据的对象账号的效果,避免反复查找。In addition, assuming that the matching degree is greater than 6 points, the label indicated by the first label information may be determined according to the foregoing content, and the label indicated by the first label information of the article S includes: label 1 and label 2. Further, the server may The label indicated by the first label information is sent to the client to perform matching with the label information of the second account list, so as to accurately obtain the first account list for receiving the target data, thereby obtaining the target account for quickly and accurately obtaining the receiving target data. The effect is to avoid repeated searches.
可选地,在本实施例中,根据第一标签信息获取第一账号列表包括: 获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;比对第二账号列表中的账号的标签信息与第一标签信息;根据比对的结果获取第一账号列表。Optionally, in this embodiment, acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
需要说明的是,在本实施例中,上述第二账号列表中的账号的标签信息可以但不限于为在客户端预配置的标签信息,也可以但不限于为服务器按照预定周期发送给客户端的标签信息。其中,服务器可以但不限于根据账号的以下至少一种数据确定第二账号列表中的账号的标签信息:数据分享历史、数据访问历史等等。也就是说,通过收集账号的历史数据分析账号的应用喜好,从而实现为该账号准确匹配对应标签的目的。It should be noted that, in this embodiment, the label information of the account in the second account list may be, but is not limited to, the label information pre-configured on the client, and may be, but not limited to, being sent to the client by the server according to a predetermined period. Label Information. The server may determine, but is not limited to, determining tag information of the account in the second account list according to at least one of the following data of the account: a data sharing history, a data access history, and the like. That is to say, the historical data of the account is collected to analyze the application preference of the account, thereby achieving the purpose of accurately matching the corresponding tag for the account.
可选地,在本实施例中,上述根据第一标签信息获取第一账号列表的过程可以在服务器中执行,也就是说,在服务器中直接对与第一账号具有关联关系的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端可以直接接收服务器发送的比对后得到的第一账号列表。Optionally, in this embodiment, the foregoing process of acquiring the first account list according to the first tag information may be performed in a server, that is, directly, in the server, the second account list having an association relationship with the first account. The tag information of the account in the middle is compared with the first tag information, and the client can directly receive the first account list obtained by the comparison sent by the server.
例如,如图8中步骤S802-S812所示,通过终端802中的第一应用的客户端发送分享目标数据的分享指令,服务器804根据该分享指令获取与目标数据匹配的第一标签信息,然后再根据第一标签信息从与第一账号具有关联关系的第二账号列表中获取第一账号列表,并将该第一账号列表发送给终端802中的第一应用的客户端,终端802将在显示界面显示上述第一账号列表,并从第一账号列表中获取对象账号,以实现通过服务器804分享该目标数据给对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in steps S802-S812 of FIG. 8, the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data, and the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then And acquiring, according to the first label information, the first account list from the second account list having the association relationship with the first account, and sending the first account list to the client of the first application in the terminal 802, where the terminal 802 is The display interface displays the first account list, and obtains the target account from the first account list, so as to realize sharing the target data to the target account by the server 804. The above is only an example, and is not limited in this embodiment.
可选地,在本实施例中,上述根据第一标签信息获取第一账号列表的过程可以在第一应用的客户端中执行,也就是说,在客户端中获取服务器发送的第一标签信息后,客户端可以利用缓存的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端通过执行比对操作,以获取比对后的第一账号列表。Optionally, in this embodiment, the process of acquiring the first account list according to the first tag information may be performed in a client of the first application, that is, acquiring the first tag information sent by the server in the client. Afterwards, the client can compare the tag information of the account in the cached second account list with the first tag information, and the client performs the comparison operation to obtain the aligned first account list.
例如,如图9中步骤S902-S912所示,通过终端802中的第一应用的 客户端发送分享目标数据的分享指令,服务器804根据该分享指令获取与目标数据匹配的第一标签信息,然后将该第一标签信息发送给终端802,终端802根据该第一标签信息从与第一账号具有关联关系的第二账号列表中获取第一账号列表,将该第一账号列表显示在显示界面,并从第一账号列表中获取对象账号,以实现通过服务器804分享该目标数据给对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in steps S902-S912 of FIG. 9, the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data, and the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then Sending the first label information to the terminal 802, the terminal 802 obtains the first account list from the second account list having the association relationship with the first account, and displays the first account list on the display interface. And obtaining the object account from the first account list, so as to share the target data to the target account by the server 804. The above is only an example, and is not limited in this embodiment.
需要说明的是,上述目标数据可以通过服务器804分享给终端802中的同一应用或不同应用。也就是说,在同一应用内进行数据分享时,可以直接利用登陆账号获取具有关联关系的账号列表,例如第一账号的好友账号列表。而在不同应用之间进行数据分享时,可以但不限于利用终端标识构成的账号和/或终端IP构成的账号,获取用于接收目标数据的第二应用为第一应用开放的数据接口,以通过调用该数据接口实现将第一应用中的数据分享给第二应用中的账号列表,例如,上述终端标识或终端IP所指示的终端,登陆第二应用后,在第二应用中的好友账号列表。上述仅是一种示例,本实施例中对此不做任何限定。It should be noted that the foregoing target data may be shared by the server 804 to the same application or different applications in the terminal 802. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account. The data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application. Sharing the data in the first application to the account list in the second application by calling the data interface, for example, the terminal identifier or the terminal indicated by the terminal IP, and the friend account in the second application after logging in to the second application List. The above is only an example, and is not limited in this embodiment.
通过本申请提供的实施例,在接收第一应用的客户端对目标数据执行分享操作所生成的分享指令后,通过根据分享指令获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。With the embodiment provided by the present application, after receiving the sharing instruction generated by the sharing operation of the target data by the client of the first application, the first label information matching the target data is obtained according to the sharing instruction, where the first label The information is used to indicate the category to which the target data belongs, so as to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information, so that the Accurately sharing the target data to be shared to the target account that needs the target data, and quickly obtaining the target account matching the shared target data from the first account list, which greatly reduces the time for finding the target account from the plurality of accounts. To achieve the effect of improving the efficiency of data sharing.
作为一种可选的实施方案,根据第一标签信息获取第一账号列表包括:As an optional implementation, obtaining the first account list according to the first tag information includes:
S1,获取在第一应用中与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;S1. Obtain a second account list that has an association relationship with the first account that requests sharing of the target data in the sharing instruction in the first application.
S2,比对第二账号列表中的账号的标签信息与第一标签信息;S2, comparing label information and first label information of the account in the second account list;
S3,根据比对的结果获取第一账号列表。S3. Obtain a first account list according to the result of the comparison.
具体的结合图4所示进行说明,在应用App-1中内部分享目标数据的情况下,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图4(a)所示,包括账号A、账号B、账号C,在比对后,判断出与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则可以在显示界面按照预定顺序显示上述第一账号列表,如图4(b),假设获取到对象账号为账号C,则可向账号C推送所要分享的目标数据C,如图4(c)所示。Specifically, as shown in FIG. 4, in the case where the target data is shared internally in the application App-1, it is assumed that the second account list in the first application App-1 having an association relationship with the first account is as shown in FIG. 4(a). As shown, the account A, the account B, and the account C are selected. After the comparison, the first account list that matches the first tag information includes: account B and account C, and can be displayed in a predetermined order on the display interface. The first account list, as shown in FIG. 4(b), assumes that the target account is the account C, and the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
通过本申请提供的实施例,通过直接显示与目标数据相匹配的第一账号列表,以减少相关技术中需要翻页查找用于接收目标数据的对象账号的查找时间,通过从第一账号列表中直接选择对象账号的方式,达到提高数据分享的效率。Through the embodiment provided by the present application, by directly displaying the first account list matching the target data, the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
作为一种可选的实施方案,根据第一标签信息获取第一账号列表包括:As an optional implementation, obtaining the first account list according to the first tag information includes:
S1,获取在第二应用中与分享指令中请求分享目标数据的第一账号具有关联关系的第三账号列表,其中,第二应用用于接收目标数据,第一应用与第二应用为关联应用;S1: Obtain a third account list that has an association relationship with the first account that requests sharing of the target data in the sharing instruction, where the second application is used to receive the target data, and the first application and the second application are associated applications. ;
S2,比对第三账号列表中的账号的标签信息与第一标签信息;S2, comparing label information and first label information of the account in the third account list;
S3,根据比对的结果获取第一账号列表。S3. Obtain a first account list according to the result of the comparison.
具体结合图6所示进行说明,在将第一应用App-1中的目标数据分享至第二应用App-2的情况下,上述第二账号列表也可以但不限于为在第二应用中与第一账号具有关联关系的第二账号列表,例如,如图6(a)-(c)所示,从应用App-1中跳转至应用App-2中,获取应用App-2中与第一账号具有关联关系的第二账号列表,其中,第二账号列表包括:账号A、账号B、账号C;经比对得到第一账号列表包括:账号B、账号C,从第一账号列表中选择对象账号(账号C)分享目标数据。Specifically, as shown in FIG. 6 , in the case of sharing the target data in the first application App-1 to the second application App-2, the second account list may also be limited to being in the second application. The first account has a second account list associated with the relationship, for example, as shown in FIG. 6(a)-(c), jump from the application App-1 to the application App-2, and obtain the application App-2 and the first A second account list having an associated relationship, wherein the second account list includes: account A, account B, and account C; and obtaining the first account list by comparing: account B, account C, from the first account list Select the target account (account C) to share the target data.
通过本申请提供的实施例,在获取与分享指令中请求分享目标数据的 第一账号具有关联关系的账号列表之后,通过比对账号列表中的账号的标签信息与第一标签信息,以根据比对的结果获取第一账号列表。从而实现在数据分享过程中,可以获取到与目标数据相匹配的第一账号列表,通过准确提供需要上述目标数据的第一账号列表,以使目标数据可以准确分享给第一账号列表中包括的用于接收目标数据的对象账号。Through the embodiment provided by the present application, after obtaining the account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction, comparing the tag information of the account in the account list with the first tag information, The result of the pair gets the first account list. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list. The object account used to receive the target data.
作为一种可选的方案,比对账号列表中的账号的标签信息与第一标签信息包括:As an optional solution, the label information and the first label information of the account in the comparison account list include:
S1,遍历账号列表中全部的账号,将账号列表中每个账号依次作为当前账号执行以下操作:S1, traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in sequence:
S12,在当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出当前账号的标签信息与第一标签信息匹配;S12, if at least one account label indicated by the label information of the current account matches at least one data label indicated by the first label information, determining that the label information of the current account matches the first label information;
S14,将当前账号作为第一账号列表中的账号。S14: The current account is used as an account in the first account list.
可选地,在本实施例中,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签属于相同标签类型的标签;此外,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签为相同标签的标签。Optionally, in this embodiment, the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, which may include, but is not limited to, the label information indicated by the current account. The at least one account label and the at least one data label indicated by the first label information belong to the label of the same label type; further, the at least one account label indicated by the label information of the current account is compared with the at least one data label indicated by the first label information. The matching may include, but is not limited to, at least one account label indicated by the label information of the current account and a label of the same label as the at least one data label indicated by the first label information.
需要说明的是,在本实施例中,上述第一标签信息所指示的标签可以包括但不限于一个或多个数据标签,上述第二账号列表中的账号的标签信息所指示的标签可以包括但不限于一个或多个账号标签。也就是说,每条目标数据可以对应一个或多个数据标签,每个账号也可以对应配置一个或多个账号标签,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the label indicated by the first label information may include, but is not limited to, one or more data labels, and the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
也就是说,在本实施例中,比对第二账号列表中的账号的标签信息与 第一标签信息时,可以采用模糊比对,在标签信息所指示的多个标签中,获取至少一对属于相同标签类型的标签,或至少一对为相同标签的标签,则可以判定该账号的标签信息与第一标签信息匹配,并可以将该账号作为第一账号列表中的账号,以便于将其显示在显示界面中,方便用户快速选择接收目标数据的对象账号,达到提高数据分享的效率的效果。That is, in this embodiment, when comparing the label information of the account in the second account list with the first label information, a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
通过本申请提供的实施例,通过比对标签信息,将当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况,判定为当前账号的标签信息与第一标签信息匹配,进而将当前账号作为第一账号列表中的账号,以实现通过模糊比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。According to the embodiment provided by the present application, the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined. The information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
作为一种可选的方案,比对账号列表中的账号的标签信息与第一标签信息包括:As an optional solution, the label information and the first label information of the account in the comparison account list include:
S1,遍历账号列表中全部的账号,将账号列表中每个账号依次作为当前账号执行以下操作:S1, traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in sequence:
S12,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量;S12. Obtain, from the account label indicated by the label information of the current account, the number of labels of the label that matches the data label indicated by the first label information.
S14,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度;S14. The number of labels is used to identify a matching degree between the label information of the current account and the first label information.
S2,根据匹配度更新账号列表,其中,账号列表中包括第一账号列表。S2. Update the account list according to the matching degree, where the account list includes the first account list.
可选地,在本实施例中,在上述匹配判断过程中,将在当前账号的标签信息所指示的账号标签中,与第一标签信息所指示的数据标签为相同标签的标签判定为匹配标签,获取该匹配标签的标签数量用于标识匹配度。以实现按照匹配度获取第一账号列表中的账号。从而达到对账号的标签信息及目标数据的第一标签信息进行精确比对的目的。Optionally, in this embodiment, in the matching determination process, the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account. The number of tags that get the matching tag is used to identify the degree of matching. The account in the first account list is obtained according to the matching degree. Thereby, the purpose of accurately comparing the label information of the account and the first label information of the target data is achieved.
需要说明的是,在本实施例中,在获取到标签数量所标识的匹配度之 后,可以但不限于将第二账号列表中匹配度大于预定阈值的账号作为第一账号列表中的账号,其中,第一账号列表中的账号为第二账号列表中的部分账号。It should be noted that, in this embodiment, after obtaining the matching degree identified by the number of labels, the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
可选地,在本实施例中,可以但不限于单独获取上述第一账号列表,以将该第一账号列表显示在显示界面中,这里第一账号列表中的账号可以但不限于按照匹配度显示,也可以但不限于按照默认顺序显示。本实施例中对此不做任何限定。Optionally, in this embodiment, the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree. Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
可选地,在本实施例中,还可以但不限于按照匹配度更新第二账号列表中全部账号的排列顺序,其中,与目标数据相匹配的第一账号列表中的账号排列在第二账号列表中的前N位。也就是说,在第二账号列表中,与目标数据未匹配的其他账号也可以显示在显示界面中,且显示顺序位于第一账号列表中的账号之后。本实施例中对此不做任何限定。Optionally, in this embodiment, the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account. The first N digits in the list. That is to say, in the second account list, other accounts that do not match the target data may also be displayed in the display interface, and the display order is located after the account in the first account list. This embodiment does not limit this.
通过本申请提供的实施例,通过比对标签信息,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度,以实现根据匹配度通过精确比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。Through the embodiment provided by the present application, by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used. The degree of matching between the label information of the current account and the first label information, so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the present application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软 件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
根据本申请实施例的又一方面,还提供了一种用于实施上述数据分享方法的数据分享装置,如图10所示,该装置包括:According to still another aspect of the embodiments of the present application, a data sharing apparatus for implementing the data sharing method is further provided. As shown in FIG. 10, the apparatus includes:
1)第一获取单元1002,设置为获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;1) The first obtaining unit 1002 is configured to acquire a sharing instruction generated by performing a sharing operation on the target data in the display interface of the first application;
2)第二获取单元1004,设置为响应分享指令从服务器获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;2) The second obtaining unit 1004 is configured to obtain first tag information that matches the target data from the server in response to the sharing instruction, where the first tag information is used to indicate a category to which the target data belongs;
3)第三获取单元1006,设置为根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;The third obtaining unit 1006 is configured to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
4)第四获取单元1008,设置为从第一账号列表中获取接收目标数据的对象账号;4) The fourth obtaining unit 1008 is configured to obtain an object account that receives the target data from the first account list;
5)分享单元1010,设置为将目标数据分享给对象账号。5) The sharing unit 1010 is configured to share the target data to the target account.
可选地,在本实施例中,上述数据分享装置可以但不限于应用于不同应用的数据分享过程中,例如,上述应用可以包括但不限于以下至少之一:视频播放应用、新闻应用、即时通讯应用、购物应用等等,数据分享可以在同一应用中不同账号之间进行分享,也可以在不同应用中进行分享。其中,上述所分享的目标数据的数据形式可以包括但不限于以下至少之一:文字、图片、视频、flash动画等等。上述仅是一种示例,对于其他类型本申请实施例中在此不做任何限定。Optionally, in this embodiment, the data sharing device may be, but is not limited to, being applied to a data sharing process of different applications. For example, the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant. Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications. The data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
例如,以第一应用为即时通讯应用为例,目标数据以文章为例,在获 取到对该文章执行分享操作的分享指令后,从服务器获取与该文章相匹配的第一标签信息,例如第一标签信息指示该文章属于经济类。假设在即时通讯应用中内部进行分享,则可以获取该即时通讯应用中与请求分享的第一账号相关联的第二账号列表,获取该第二账号列表中的账号的标签信息,并与第一标签信息进行比对,以获取标签信息相匹配的第一账号列表,其中,第一账号列表中的账号的标签也指示为经济类。在从第一账号列表中获取对象账号,并将上述目标数据推送给该对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, taking the first application as an instant messaging application as an example, the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class. Assuming that the sharing is performed internally in the instant messaging application, the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class. Obtaining an object account from the first account list, and pushing the target data to the target account. The above is only an example, and is not limited in this embodiment.
需要说明的是,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。It should be noted that after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data. The object account, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
可选地,在本实施例中,上述装置还包括:发送单元,设置为在获取服务器响应分享指令发送的与目标数据相匹配的第一标签信息之前,向服务器发送目标数据的属性信息,以使服务器根据属性信息获取与目标数据相匹配的第一标签信息,其中,属性信息包括以下至少之一:目标数据的标题、目标数据的摘要、目标数据的链接地址。Optionally, in this embodiment, the foregoing apparatus further includes: a sending unit, configured to send the attribute information of the target data to the server, before acquiring the first label information that is matched by the server in response to the sharing instruction And causing the server to acquire first tag information that matches the target data according to the attribute information, wherein the attribute information includes at least one of the following: a title of the target data, a summary of the target data, and a link address of the target data.
例如,第一应用的客户端向服务器发送目标数据的标题,和/或,目标数据的摘要,和/或,统一资源符(Uniform Resource Locator,简称URL)等。其中,服务器可以通过URL打开对应链接,提取链接所指示的页面中的文字内容。然后,对上述标题、摘要及页面中的文字内容进行分词,并将上述得到的分词与预先通过学习得到的词库中的关键词进行比对匹配,以根据比对后的结果获取该目标数据的第一标签信息。其中,上述匹 配方法可以但不限于采用相关技术中提供的文本主题聚类的LDA算法,文本分类的最大熵分类器等,本实施例中对此不做任何限定。For example, the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL). The server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result. The first label information. The foregoing matching method may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
可选地,在本实施例中,根据第一标签信息获取第一账号列表包括:获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;比对第二账号列表中的账号的标签信息与第一标签信息;根据比对的结果获取第一账号列表。Optionally, in this embodiment, acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
需要说明的是,上述第一账号可以包括但不限于以下至少之一:用于登陆第一应用的账号、第一应用所在终端的终端标识构成的账号、第一应用所在终端的终端IP构成的账号等等。也就是说,在同一应用内进行数据分享时,可以直接利用登陆账号获取具有关联关系的账号列表,例如第一账号的好友账号列表。而在不同应用之间进行数据分享时,可以但不限于利用终端标识构成的账号和/或终端IP构成的账号,获取用于接收目标数据的第二应用为第一应用开放的数据接口,以通过调用该数据接口实现将第一应用中的数据分享给第二应用中的账号列表,例如,上述终端标识或终端IP所指示的终端,登陆第二应用后,在第二应用中的好友账号列表。上述仅是一种示例,本实施例中对此不做任何限定。It should be noted that the foregoing first account may include, but is not limited to, at least one of the following: an account used for logging in to the first application, an account formed by the terminal identifier of the terminal where the first application is located, and a terminal IP of the terminal where the first application is located. Account number and more. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account. The data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application. Sharing the data in the first application to the account list in the second application by calling the data interface, for example, the terminal identifier or the terminal indicated by the terminal IP, and the friend account in the second application after logging in to the second application List. The above is only an example, and is not limited in this embodiment.
此外,在本实施例中,上述根据第一标签信息获取第一账号列表的过程可以在第一应用的客户端中执行,也就是说,在客户端中获取服务器发送的第一标签信息后,客户端可以利用缓存的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端通过执行比对操作,以获取比对后的第一账号列表;此外,上述根据第一标签信息获取第一账号列表的过程可以在服务器中执行,也就是说,在服务器中直接对与第一账号具有关联关系的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端可以直接接收服务器发送的比对后的第一账号列表。上述仅是一种示例,本实施例中对此不做任何限定。In addition, in this embodiment, the process of acquiring the first account list according to the first tag information may be performed in the client of the first application, that is, after acquiring the first tag information sent by the server in the client, The client can use the tag information of the account in the cached second account list to compare with the first tag information, and the client performs the comparison operation to obtain the aligned first account list; The process of obtaining the first account list by the information may be performed in the server, that is, the tag information of the account in the second account list having the association relationship with the first account is directly compared with the first tag information in the server, and the client The terminal can directly receive the first account list sent by the server. The above is only an example, and is not limited in this embodiment.
可选地,在本实施例中,上述装置还包括:第三获取模块,设置为在获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账 号列表之后,获取为第二账号列表中的账号预配置的标签信息;和/或,第四获取模块,设置为从服务器获取第二账号列表中的账号的标签信息。Optionally, in this embodiment, the foregoing apparatus further includes: a third obtaining module, configured to acquire the second account list after acquiring the second account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction The pre-configured tag information of the account in the account list; and/or the fourth obtaining module is configured to obtain the tag information of the account in the second account list from the server.
需要说明的是,在本实施例中,上述第一标签信息所指示的标签可以包括但不限于一个或多个数据标签,上述第二账号列表中的账号的标签信息所指示的标签可以包括但不限于一个或多个账号标签。也就是说,每条目标数据可以对应一个或多个数据标签,每个账号也可以对应配置一个或多个账号标签,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the label indicated by the first label information may include, but is not limited to, one or more data labels, and the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
可选地,在本实施例中,上述比对第二账号列表中的账号的标签信息与第一标签信息可以包括但不限于:Optionally, in this embodiment, the label information and the first label information of the account in the second account list may include, but are not limited to:
1)模糊比对,对第二账号列表中的账号分别作为当前账号执行以下操作:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签属于相同标签类型的标签的情况下,判定该账号的标签信息与目第一标签信息相匹配,可将该账号作为第一账号列表中的账号;1) The fuzzy comparison, the account in the second account list is respectively performed as the current account: the at least one account label indicated by the label information of the current account and the at least one data label indicated by the first label information belong to the same label type. In the case of the label, it is determined that the label information of the account matches the first label information, and the account is used as the account in the first account list;
2)精确比对,对第二账号列表中的账号分别作为当前账号执行以下操作:从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签为相同标签的标签数量;使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度;以实现根据上述匹配度更新第二账号列表,其中,第二账号列表中包括上述第一账号列表。2) Exact comparison, the account in the second account list is respectively used as the current account to perform the following operations: obtaining the same label as the data label indicated by the first label information from the account label indicated by the label information of the current account The number of tags is used to identify the degree of matching between the tag information of the current account and the first tag information, so as to update the second account list according to the matching degree, wherein the second account list includes the first account list.
需要说明的是,在本实施例中,可以但不限于根据不同的标签类型确定比对类型,例如,针对技术专业类型可以但不限于采用精确比对,针对爱好兴趣类型可以但不限于采用模糊比对,上述仅是一种示例,根据不同用户需求可以对应配置不同的比对方式,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the comparison type may be determined according to different label types, for example, for the technical professional type, but not limited to adopting an exact comparison, and the interest type may be, but is not limited to, adopting a fuzzy For the comparison, the foregoing is only an example, and different comparison manners may be configured according to different user requirements, which is not limited in this embodiment.
可选地,在本实施例中,在根据比对的结果获取第一账号列表之后,还包括:Optionally, in this embodiment, after obtaining the first account list according to the result of the comparison, the method further includes:
1)在显示界面按照预定顺序显示第一账号列表。1) Display the first account list in a predetermined order on the display interface.
例如,如图4所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图4(a)所示,包括账号A、账号B、账号C,在比对后,判断出与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则可以在显示界面按照预定顺序显示上述第一账号列表,如图4(b),假设获取到对象账号为账号C,则可向账号C推送所要分享的目标数据C,如图4(c)所示。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in FIG. 4, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C. After determining that the first account list matching the first tag information includes: account B and account C, the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that If the target account is the account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c). The above is only an example, and is not limited in this embodiment.
2)在显示界面按照匹配度显示第二账号列表,其中,第一账号列表按照匹配度排列在第二账号列表中的前N位,N为大于等于1的自然数。2) Displaying, in the display interface, the second account list according to the matching degree, wherein the first account list is arranged in the first N bits in the second account list according to the matching degree, and N is a natural number greater than or equal to 1.
例如,如图5所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图5(a)所示,包括账号A、账号B、账号C,在比对后,根据匹配度计算可以对上述第二账号列表中的账号进行重新排序,如图5(b),在显示界面按照匹配度显示更新后的第二账号列表,显示顺序更新为账号B、账号C、账号A。其中,假设与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则上述第一账号列表位于上述更新后的第二账号列表中的前两位。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in FIG. 5, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C. After that, according to the matching degree calculation, the accounts in the second account list may be reordered, as shown in FIG. 5(b), the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account. C, account A. If the first account list that matches the first tag information includes: account B and account C, the first account list is located in the first two of the updated second account list. The above is only an example, and is not limited in this embodiment.
也就是说,在本实施例中,在获取到第一账号列表之后,可以但不限于仅显示标签信息与第一标签信息匹配的第一账号列表,需要说明的是,上述第一账号列表可以按照预定顺序显示,例如,根据首字母或使用频率或最近使用时间等为依据进行排列,本实施例中对此不做任何限定。此外,在本实施例中,在获取到第一账号列表之后,也可以但不限于按照匹配度显示第二账号列表中,其中,第一账号列表位于第二账号列表的前N位。换言之,显示第二账号列表中的全部账号,但按照匹配度,将与第一标签信息匹配的第一账号列表显示在前N位,以便于快速获取对象账号。That is, in this embodiment, after the first account list is obtained, the first account list that matches the first tag information may be displayed, but is not limited to the first tag list. The display is performed in a predetermined order, for example, based on the initials or the frequency of use or the most recently used time, and the like, which is not limited in this embodiment. In addition, in this embodiment, after obtaining the first account list, the second account list may also be displayed according to the matching degree, wherein the first account list is located in the first N digits of the second account list. In other words, all the accounts in the second account list are displayed, but according to the matching degree, the first account list matching the first tag information is displayed in the first N bits, so as to quickly acquire the target account.
通过本申请提供的实施例,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号 列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。With the embodiment provided by the present application, after acquiring the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, by acquiring the first tag information that matches the target data to be shared from the server, Obtaining the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared to the need The target account of the target data, and quickly obtaining the target account matching the shared target data from the first account list, greatly reduces the time for searching the target account from the plurality of accounts, thereby improving the efficiency of data sharing. .
作为一种可选的方案,第三获取单元1006包括:As an optional solution, the third obtaining unit 1006 includes:
1)第一获取模块,设置为获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;1) The first obtaining module is configured to obtain a second account list that has an association relationship with the first account that requests sharing of the target data in the sharing instruction;
2)第一比对模块,设置为比对第二账号列表中的账号的标签信息与第一标签信息;2) The first comparison module is configured to compare the label information and the first label information of the account in the second account list;
3)第二获取模块,设置为根据比对的结果获取第一账号列表。3) The second obtaining module is configured to obtain the first account list according to the result of the comparison.
需要说明的是,在本实施例中,上述第二账号列表可以但不限于为第一应用中与第一账号具有关联关系的账号列表;也可以但不限于为与第一应用关联的第二应用中与第一账号具有关联关系的账号列表。It should be noted that, in this embodiment, the second account list may be, but is not limited to, an account list that has an association relationship with the first account in the first application; and may be, but is not limited to, a second associated with the first application. A list of accounts in the application that have an association with the first account.
在应用App-1中内部分享目标数据的情况下,上述第二账号列表可以但不限于为在第一应用中与第一账号具有关联关系的第二账号列表,例如,在应用App-1中第二账号列表包括:账号A、账号B、账号C;经比对得到第一账号列表包括:账号B、账号C,从第一账号列表中选择对象账号(账号C)分享目标数据。此外,在将第一应用App-1中的目标数据分享至第二应用App-2的情况下,上述第二账号列表也可以但不限于为在第二应用中与第一账号具有关联关系的第二账号列表,例如,如图6(a)-(c)所示,从应用App-1中跳转至应用App-2中,获取应用App-2中与第一账号具有关联关系的第二账号列表,其中,第二账号列表包括:账号A、账号B、账号C;经比对得到第一账号列表包括:账号B、账号C,从第一账号列表中选择对象账号(账号C)分享目标数据。In the case that the target data is shared internally in the application App-1, the second account list may be, but is not limited to, a second account list having an association relationship with the first account in the first application, for example, in the application App-1. The second account list includes: account A, account B, and account C; and the first account list obtained by comparison includes: account B, account C, and selects the target account (account C) from the first account list to share the target data. In addition, in the case of sharing the target data in the first application App-1 to the second application App-2, the second account list may also be, but not limited to, having an association relationship with the first account in the second application. The second account list, for example, as shown in FIG. 6(a)-(c), jumps from the application App-1 to the application App-2, and acquires the first relationship of the application App-2 with the first account. The second account list includes: an account A, an account B, and an account C; and the first account list is obtained by comparing: the account B, the account C, and the object account (account C) is selected from the first account list. Share target data.
可选地,在本实施例中,比对第二账号列表中的账号的标签信息与第 一标签信息包括:模糊比对、精确比对。其中,模糊比对,用于指示在账号标签与数据标签中存在至少一对属于相同类别的标签,就可以判定该账号标签所标识的账号与该数据标签所标识的目标数据相匹配,从而实现将该账号作为第一账号列表中的账号。其中,精确比对,用于指示在账号标签中获取与数据标签中属于相同标签的标签数量,根据相同标签的标签数量确定二者的匹配度,以实现按照匹配度获取第一账号列表中的账号。例如,将第二账号列表中匹配度大于预定阈值的账号作为第一账号列表中的账号。Optionally, in this embodiment, the label information and the first label information of the account in the second account list are compared: a fuzzy comparison, and an exact comparison. The fuzzy comparison is used to indicate that at least one pair of labels belonging to the same category exists in the account label and the data label, and the account identified by the account label is matched with the target data identified by the data label, thereby realizing Use this account as the account number in the first account list. The exact comparison is used to indicate that the number of labels belonging to the same label in the data label is obtained in the account label, and the matching degree of the two labels is determined according to the number of labels of the same label, so as to obtain the first account list according to the matching degree. account number. For example, an account with a matching degree greater than a predetermined threshold in the second account list is used as an account in the first account list.
通过本申请提供的实施例,在获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表之后,通过比对第二账号列表中的账号的标签信息与第一标签信息,以根据比对的结果获取第一账号列表。从而实现在数据分享过程中,可以获取到与目标数据相匹配的第一账号列表,通过准确提供需要上述目标数据的第一账号列表,以使目标数据可以准确分享给第一账号列表中包括的用于接收目标数据的对象账号。After the second account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction is obtained, the tag information and the first tag information of the account in the second account list are compared. To obtain a first account list based on the results of the comparison. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list. The object account used to receive the target data.
作为一种可选的方案,第一比对模块包括:As an alternative, the first comparison module includes:
1)第一处理子模块,设置为遍历第二账号列表中全部的账号,将第二账号列表中每个账号依次作为当前账号执行以下操作:在当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出当前账号的标签信息与第一标签信息匹配;将当前账号作为第一账号列表中的账号。1) The first processing sub-module is configured to traverse all the accounts in the second account list, and each account in the second account list is sequentially used as the current account to perform the following operations: at least one account tag indicated by the tag information of the current account. If the at least one data tag indicated by the first tag information matches, the tag information of the current account is determined to match the first tag information; and the current account is used as the account in the first account list.
可选地,在本实施例中,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配包括:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签属于相同标签类型的标签;此外,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签为相同标签的标签。Optionally, in this embodiment, the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, and includes: at least one account label indicated by the label information of the current account. And the at least one data label indicated by the first label information belongs to the label of the same label type; further, the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information may include The tag is not limited to: the at least one account tag indicated by the tag information of the current account is the tag of the same tag as the at least one data tag indicated by the first tag information.
需要说明的是,在本实施例中,上述第一标签信息所指示的标签可以包括但不限于一个或多个数据标签,上述第二账号列表中的账号的标签信息所指示的标签可以包括但不限于一个或多个账号标签。也就是说,每条目标数据可以对应一个或多个数据标签,每个账号也可以对应配置一个或多个账号标签,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the label indicated by the first label information may include, but is not limited to, one or more data labels, and the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
也就是说,在本实施例中,比对第二账号列表中的账号的标签信息与第一标签信息时,可以采用模糊比对,在标签信息所指示的多个标签中,获取至少一对属于相同标签类型的标签,或至少一对为相同标签的标签,则可以判定该账号的标签信息与第一标签信息匹配,并可以将该账号作为第一账号列表中的账号,以便于将其显示在显示界面中,方便用户快速选择接收目标数据的对象账号,达到提高数据分享的效率的效果。That is, in this embodiment, when comparing the label information of the account in the second account list with the first label information, a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
通过本申请提供的实施例,通过比对标签信息,将当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况,判定为当前账号的标签信息与第一标签信息匹配,进而将当前账号作为第一账号列表中的账号,以实现通过模糊比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。According to the embodiment provided by the present application, the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined. The information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
作为一种可选的方案,第一比对模块包括:As an alternative, the first comparison module includes:
1)第一处理子模块,设置为遍历第二账号列表中全部的账号,将第二账号列表中每个账号依次作为当前账号执行以下操作:从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量;使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度;1) The first processing sub-module is configured to traverse all the accounts in the second account list, and each account in the second account list is sequentially used as the current account to perform the following operations: from the account tag indicated by the tag information of the current account, Obtaining a label quantity of the label matching the data label indicated by the first label information; using the label quantity to identify a matching degree between the label information of the current account and the first label information;
2)更新子模块,设置为根据匹配度更新第二账号列表,其中,第二账号列表中包括第一账号列表。2) Update the sub-module, and set to update the second account list according to the matching degree, wherein the second account list includes the first account list.
可选地,在本实施例中,在上述匹配判断过程中,将在当前账号的标 签信息所指示的账号标签中,与第一标签信息所指示的数据标签为相同标签的标签判定为匹配标签,获取该匹配标签的标签数量用于标识匹配度。以实现按照匹配度获取第一账号列表中的账号。从而达到对账号的标签信息及目标数据的第一标签信息进行精确比对的目的。Optionally, in this embodiment, in the matching determination process, the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account. The number of tags that get the matching tag is used to identify the degree of matching. The account in the first account list is obtained according to the matching degree. Thereby, the purpose of accurately comparing the label information of the account and the first label information of the target data is achieved.
需要说明的是,在本实施例中,在获取到标签数量所标识的匹配度之后,可以但不限于将第二账号列表中匹配度大于预定阈值的账号作为第一账号列表中的账号,其中,第一账号列表中的账号为第二账号列表中的部分账号。It should be noted that, in this embodiment, after obtaining the matching degree identified by the number of labels, the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
可选地,在本实施例中,可以但不限于单独获取上述第一账号列表,以将该第一账号列表显示在显示界面中,这里第一账号列表中的账号可以但不限于按照匹配度显示,也可以但不限于按照默认顺序显示。本实施例中对此不做任何限定。Optionally, in this embodiment, the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree. Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
可选地,在本实施例中,还可以但不限于按照匹配度更新第二账号列表中全部账号的排列顺序,其中,与目标数据相匹配的第一账号列表中的账号排列在第二账号列表中的前N位。也就是说,在第二账号列表中,与目标数据未匹配的其他账号也可以显示在显示界面中,且显示顺序位于第一账号列表中的账号之后。本实施例中对此不做任何限定。Optionally, in this embodiment, the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account. The first N digits in the list. That is to say, in the second account list, other accounts that do not match the target data may also be displayed in the display interface, and the display order is located after the account in the first account list. This embodiment does not limit this.
通过本申请提供的实施例,通过比对标签信息,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度,以实现根据匹配度通过精确比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。Through the embodiment provided by the present application, by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used. The degree of matching between the label information of the current account and the first label information, so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
作为一种可选的方案,还包括:As an alternative, it also includes:
1)第一显示模块,设置为在根据比对的结果获取第一账号列表之后,在显示界面按照预定顺序显示第一账号列表。1) The first display module is configured to display the first account list in a predetermined order on the display interface after obtaining the first account list according to the result of the comparison.
具体结合图4所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图4(a)所示,包括账号A、账号B、账号C,在比对后,判断出与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则可以在显示界面按照预定顺序显示上述第一账号列表,如图4(b),假设获取到对象账号为账号C,则可向账号C推送所要分享的目标数据C,如图4(c)所示。As shown in FIG. 4, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 4(a), including account A, account B, and account C. And determining that the first account list matching the first tag information includes: account B and account C, the first account list may be displayed in a predetermined order on the display interface, as shown in FIG. 4(b), assuming that the object is acquired. If the account number is account C, the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
通过本申请提供的实施例,通过直接显示与目标数据相匹配的第一账号列表,以减少相关技术中需要翻页查找用于接收目标数据的对象账号的查找时间,通过从第一账号列表中直接选择对象账号的方式,达到提高数据分享的效率。Through the embodiment provided by the present application, by directly displaying the first account list matching the target data, the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
作为一种可选的方案,包括:As an alternative, include:
1)第二显示模块,设置为在根据比对的结果获取第一账号列表之后,在显示界面按照匹配度显示第二账号列表,其中,第一账号列表按照匹配度排列在第二账号列表中的前N位,N为大于等于1的自然数。1) The second display module is configured to display the second account list according to the matching degree after the first account list is obtained according to the result of the comparison, wherein the first account list is arranged in the second account list according to the matching degree. The first N bits, N is a natural number greater than or equal to 1.
具体结合图5所示,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图5(a)所示,包括账号A、账号B、账号C,在比对后,根据匹配度计算可以对上述第二账号列表中的账号进行重新排序,如图5(b),在显示界面按照匹配度显示更新后的第二账号列表,显示顺序更新为账号B、账号C、账号A。其中,假设与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则上述第一账号列表位于上述更新后的第二账号列表中的前两位。As shown in FIG. 5, it is assumed that the second account list in the first application App-1 having the associated relationship with the first account is as shown in FIG. 5(a), including account A, account B, and account C. According to the matching degree calculation, the accounts in the second account list may be reordered. As shown in FIG. 5(b), the updated second account list is displayed according to the matching degree on the display interface, and the display order is updated to the account B and the account C. , account A. If the first account list that matches the first tag information includes: account B and account C, the first account list is located in the first two of the updated second account list.
通过本申请提供的实施例,通过更新第二账号列表的排列顺序,以使与目标数据相匹配的第一账号列表可以显示在第二账号列表的前N位,以减少相关技术中需要翻页查找用于接收目标数据的对象账号的查找时间,通过从第一账号列表中直接选择对象账号的方式,达到提高数据分享的效率。Through the embodiment provided by the present application, by updating the order of the second account list, the first account list matching the target data can be displayed in the first N bits of the second account list, so as to reduce the need to turn pages in the related art. The search time of the object account for receiving the target data is searched, and the efficiency of data sharing is improved by directly selecting the object account from the first account list.
根据本申请的实施例的又一方面,还提供了一种数据分享装置,如图11所示,该装置包括:According to still another aspect of the embodiments of the present application, a data sharing device is further provided. As shown in FIG. 11, the device includes:
1)接收单元1102,设置为接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;1) The receiving unit 1102 is configured to receive a sharing instruction generated by the client of the first application to perform a sharing operation on the target data;
2)第一获取单元1104,设置为根据分享指令获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;2) The first obtaining unit 1104 is configured to acquire first label information that matches the target data according to the sharing instruction, where the first label information is used to indicate a category to which the target data belongs;
3)第二获取单元1106,设置为根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;The second obtaining unit 1106 is configured to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
4)第三获取单元1108,设置为获取从第一账号列表中选出的用于接收目标数据的对象账号;4) The third obtaining unit 1108 is configured to acquire an object account selected from the first account list for receiving target data;
5)分享单元1110,设置为将目标数据分享给对象账号。5) The sharing unit 1110 is configured to share the target data to the target account.
可选地,在本实施例中,上述数据分享装置可以但不限于应用于不同应用的数据分享过程中,例如,上述应用可以包括但不限于以下至少之一:视频播放应用、新闻应用、即时通讯应用、购物应用等等,数据分享可以在同一应用中不同账号之间进行分享,也可以在不同应用中进行分享。其中,上述所分享的目标数据的数据形式可以包括但不限于以下至少之一:文字、图片、视频、flash动画等等。上述仅是一种示例,对于其他类型本申请实施例中在此不做任何限定。Optionally, in this embodiment, the data sharing device may be, but is not limited to, being applied to a data sharing process of different applications. For example, the foregoing application may include, but is not limited to, at least one of the following: a video playing application, a news application, and an instant. Communication applications, shopping applications, etc., data sharing can be shared between different accounts in the same application, or shared in different applications. The data form of the target data shared by the foregoing may include, but is not limited to, at least one of the following: text, picture, video, flash animation, and the like. The above is only an example, and is not limited herein to other types of embodiments of the present application.
例如,以第一应用为即时通讯应用为例,目标数据以文章为例,在获取到对该文章执行分享操作的分享指令后,从服务器获取与该文章相匹配的第一标签信息,例如第一标签信息指示该文章属于经济类。假设在即时通讯应用中内部进行分享,则可以获取该即时通讯应用中与请求分享的第一账号相关联的第二账号列表,获取该第二账号列表中的账号的标签信息,并与第一标签信息进行比对,以获取标签信息相匹配的第一账号列表,其中,第一账号列表中的账号的标签也指示为经济类。在从第一账号列表中 获取对象账号,并将上述目标数据推送给该对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, taking the first application as an instant messaging application as an example, the target data takes an article as an example, and after obtaining the sharing instruction for performing the sharing operation on the article, the first tag information matching the article is obtained from the server, for example, A tag information indicates that the article belongs to the economic class. Assuming that the sharing is performed internally in the instant messaging application, the second account list associated with the first account to be shared in the instant messaging application may be obtained, and the tag information of the account in the second account list is obtained, and the first The tag information is compared to obtain a first account list whose tag information matches, and the tag of the account number in the first account list is also indicated as an economy class. Obtaining an object account from the first account list, and pushing the target data to the target account. The above is only an example, and is not limited in this embodiment.
需要说明的是,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。It should be noted that after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server to implement the The first tag information is used to obtain the first account list, wherein the second tag information of the account in the first account list matches the first tag information, so that the target data to be shared can be accurately shared to the target data. The object account, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the object account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
可选地,在本实施例中,第一获取单元包括:第五获取模块,设置为获取分享指令中携带的目标数据的属性信息;第六获取模块,设置为根据属性信息获取与目标数据相匹配的第一标签信息,其中,属性信息包括以下至少之一:目标数据的标题、目标数据的摘要、目标数据的链接地址。Optionally, in this embodiment, the first acquiring unit includes: a fifth acquiring module, configured to acquire attribute information of the target data carried in the sharing instruction; and a sixth acquiring module, configured to acquire the target data according to the attribute information Matching first tag information, wherein the attribute information includes at least one of: a title of the target data, a digest of the target data, and a link address of the target data.
例如,第一应用的客户端向服务器发送目标数据的标题,和/或,目标数据的摘要,和/或,统一资源符(Uniform Resource Locator,简称URL)等。其中,服务器可以通过URL打开对应链接,提取链接所指示的页面中的文字内容。然后,对上述标题、摘要及页面中的文字内容进行分词,并将上述得到的分词与预先通过学习得到的词库中的关键词进行比对匹配,以根据比对后的结果获取该目标数据的第一标签信息。其中,上述匹配方法可以但不限于采用相关技术中提供的文本主题聚类的LDA算法,文本分类的最大熵分类器等,本实施例中对此不做任何限定。For example, the client of the first application sends a title of the target data to the server, and/or a summary of the target data, and/or a Uniform Resource Locator (URL). The server may open the corresponding link through the URL to extract the text content in the page indicated by the link. Then, the title, the abstract, and the text content in the page are segmented, and the word segment obtained above is matched and matched with the keyword in the vocabulary obtained in advance to obtain the target data according to the compared result. The first label information. The foregoing matching method may be, but not limited to, an LDA algorithm that uses text topic clustering provided in the related art, a maximum entropy classifier for text classification, and the like, which is not limited in this embodiment.
需要说明的是,在本实施例中,目标数据可以但不限于根据词库中的关键词库匹配一个或多个数据标签,例如,假设所要分享的为文章S,服务器分析得到与文章S对应的标签信息包括:It should be noted that, in this embodiment, the target data may be, but is not limited to, matching one or more data tags according to the keyword library in the thesaurus. For example, if the article S is to be shared, the server analysis is corresponding to the article S. The label information includes:
标签1 匹配度 10分 Label 1 match 10 points
标签2 匹配度 8分 Label 2 match 8 points
标签3 匹配度 5分Label 3 match 5 points
此外,假设匹配度大于6分的作为第一标签信息所指示的标签,则根据上述内容可确定该文章S的第一标签信息所指示的标签包括:标签1和标签2,进一步,服务器可将上述第一标签信息所指示的标签发送给客户端进行与第二账号列表的标签信息的匹配,以准确获取用于接收目标数据的第一账号列表,进而达到快速准确获取接收目标数据的对象账号的效果,避免反复查找。In addition, assuming that the matching degree is greater than 6 points, the label indicated by the first label information may be determined according to the foregoing content, and the label indicated by the first label information of the article S includes: label 1 and label 2. Further, the server may The label indicated by the first label information is sent to the client to perform matching with the label information of the second account list, so as to accurately obtain the first account list for receiving the target data, thereby obtaining the target account for quickly and accurately obtaining the receiving target data. The effect is to avoid repeated searches.
可选地,在本实施例中,根据第一标签信息获取第一账号列表包括:获取与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;比对第二账号列表中的账号的标签信息与第一标签信息;根据比对的结果获取第一账号列表。Optionally, in this embodiment, acquiring the first account list according to the first tag information includes: acquiring a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction; comparing the second account list The label information of the account in the first label information; and the first account list is obtained according to the result of the comparison.
需要说明的是,在本实施例中,上述第二账号列表中的账号的标签信息可以但不限于为在客户端预配置的标签信息,也可以但不限于为服务器按照预定周期发送给客户端的标签信息。其中,服务器可以但不限于根据账号的以下至少一种数据确定第二账号列表中的账号的标签信息:数据分享历史、数据访问历史等等。也就是说,通过收集账号的历史数据分析账号的应用喜好,从而实现为该账号准确匹配对应标签的目的。It should be noted that, in this embodiment, the label information of the account in the second account list may be, but is not limited to, the label information pre-configured on the client, and may be, but not limited to, being sent to the client by the server according to a predetermined period. Label Information. The server may determine, but is not limited to, determining tag information of the account in the second account list according to at least one of the following data of the account: a data sharing history, a data access history, and the like. That is to say, the historical data of the account is collected to analyze the application preference of the account, thereby achieving the purpose of accurately matching the corresponding tag for the account.
可选地,在本实施例中,上述根据第一标签信息获取第一账号列表的过程可以在服务器中执行,也就是说,在服务器中直接对与第一账号具有关联关系的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端可以直接接收服务器发送的比对后得到的第一账号列表。Optionally, in this embodiment, the foregoing process of acquiring the first account list according to the first tag information may be performed in a server, that is, directly, in the server, the second account list having an association relationship with the first account. The tag information of the account in the middle is compared with the first tag information, and the client can directly receive the first account list obtained by the comparison sent by the server.
例如,如图8中步骤S802-S812所示,通过终端802中的第一应用的客户端发送分享目标数据的分享指令,服务器804根据该分享指令获取与目标数据匹配的第一标签信息,然后再根据第一标签信息从与第一账号具有关联关系的第二账号列表中获取第一账号列表,并将该第一账号列表发 送给终端802中的第一应用的客户端,终端802将在显示界面显示上述第一账号列表,并从第一账号列表中获取对象账号,以实现通过服务器804分享该目标数据给对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in steps S802-S812 of FIG. 8, the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data, and the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then And acquiring, according to the first label information, the first account list from the second account list having the association relationship with the first account, and sending the first account list to the client of the first application in the terminal 802, where the terminal 802 is The display interface displays the first account list, and obtains the target account from the first account list, so as to realize sharing the target data to the target account by the server 804. The above is only an example, and is not limited in this embodiment.
可选地,在本实施例中,上述根据第一标签信息获取第一账号列表的过程可以在第一应用的客户端中执行,也就是说,在客户端中获取服务器发送的第一标签信息后,客户端可以利用缓存的第二账号列表中账号的标签信息与第一标签信息进行比对,客户端通过执行比对操作,以获取比对后的第一账号列表。Optionally, in this embodiment, the process of acquiring the first account list according to the first tag information may be performed in a client of the first application, that is, acquiring the first tag information sent by the server in the client. Afterwards, the client can compare the tag information of the account in the cached second account list with the first tag information, and the client performs the comparison operation to obtain the aligned first account list.
例如,如图9中步骤S902-S912所示,通过终端802中的第一应用的客户端发送分享目标数据的分享指令,服务器804根据该分享指令获取与目标数据匹配的第一标签信息,然后将该第一标签信息发送给终端802,终端802根据该第一标签信息从与第一账号具有关联关系的第二账号列表中获取第一账号列表,将该第一账号列表显示在显示界面,并从第一账号列表中获取对象账号,以实现通过服务器804分享该目标数据给对象账号。上述仅是一种示例,本实施例中对此不做任何限定。For example, as shown in steps S902-S912 of FIG. 9, the client of the first application in the terminal 802 sends a sharing instruction of the sharing target data, and the server 804 acquires the first tag information that matches the target data according to the sharing instruction, and then Sending the first label information to the terminal 802, the terminal 802 obtains the first account list from the second account list having the association relationship with the first account, and displays the first account list on the display interface. And obtaining the object account from the first account list, so as to share the target data to the target account by the server 804. The above is only an example, and is not limited in this embodiment.
需要说明的是,上述目标数据可以通过服务器804分享给终端802中的同一应用或不同应用。也就是说,在同一应用内进行数据分享时,可以直接利用登陆账号获取具有关联关系的账号列表,例如第一账号的好友账号列表。而在不同应用之间进行数据分享时,可以但不限于利用终端标识构成的账号和/或终端IP构成的账号,获取用于接收目标数据的第二应用为第一应用开放的数据接口,以通过调用该数据接口实现将第一应用中的数据分享给第二应用中的账号列表,例如,上述终端标识或终端IP所指示的终端,登陆第二应用后,在第二应用中的好友账号列表。上述仅是一种示例,本实施例中对此不做任何限定。It should be noted that the foregoing target data may be shared by the server 804 to the same application or different applications in the terminal 802. That is to say, when data sharing is performed in the same application, the login account can be directly used to obtain a list of accounts having an associated relationship, such as a list of friend accounts of the first account. The data sharing between the different applications may be, but is not limited to, using an account formed by the terminal identifier and/or an account formed by the terminal IP, and acquiring a data interface that is used by the second application for receiving the target data to be open to the first application. Sharing the data in the first application to the account list in the second application by calling the data interface, for example, the terminal identifier or the terminal indicated by the terminal IP, and the friend account in the second application after logging in to the second application List. The above is only an example, and is not limited in this embodiment.
通过本申请提供的实施例,在接收第一应用的客户端对目标数据执行分享操作所生成的分享指令后,通过根据分享指令获取与目标数据相匹配 的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。With the embodiment provided by the present application, after receiving the sharing instruction generated by the sharing operation of the target data by the client of the first application, the first label information matching the target data is obtained according to the sharing instruction, where the first label The information is used to indicate the category to which the target data belongs, so as to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information, so that the Accurately sharing the target data to be shared to the target account that needs the target data, and quickly obtaining the target account matching the shared target data from the first account list, which greatly reduces the time for finding the target account from the plurality of accounts. To achieve the effect of improving the efficiency of data sharing.
作为一种可选的方案,第二获取单元包括:As an optional solution, the second obtaining unit includes:
1)第一获取模块,设置为获取在第一应用中与分享指令中请求分享目标数据的第一账号具有关联关系的第二账号列表;1) The first obtaining module is configured to obtain a second account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction in the first application;
2)第一比对模块,设置为比对第二账号列表中的账号的标签信息与第一标签信息;2) The first comparison module is configured to compare the label information and the first label information of the account in the second account list;
3)第二获取模块,设置为根据比对的结果获取第一账号列表。3) The second obtaining module is configured to obtain the first account list according to the result of the comparison.
具体的结合图4所示进行说明,在应用App-1中内部分享目标数据的情况下,假设第一应用App-1中与第一账号具有关联关系的第二账号列表如图4(a)所示,包括账号A、账号B、账号C,在比对后,判断出与第一标签信息相匹配的第一账号列表中包括:账号B、账号C,则可以在显示界面按照预定顺序显示上述第一账号列表,如图4(b),假设获取到对象账号为账号C,则可向账号C推送所要分享的目标数据C,如图4(c)所示。Specifically, as shown in FIG. 4, in the case where the target data is shared internally in the application App-1, it is assumed that the second account list in the first application App-1 having an association relationship with the first account is as shown in FIG. 4(a). As shown, the account A, the account B, and the account C are selected. After the comparison, the first account list that matches the first tag information includes: account B and account C, and can be displayed in a predetermined order on the display interface. The first account list, as shown in FIG. 4(b), assumes that the target account is the account C, and the target data C to be shared can be pushed to the account C, as shown in FIG. 4(c).
通过本申请提供的实施例,通过直接显示与目标数据相匹配的第一账号列表,以减少相关技术中需要翻页查找用于接收目标数据的对象账号的查找时间,通过从第一账号列表中直接选择对象账号的方式,达到提高数据分享的效率。Through the embodiment provided by the present application, by directly displaying the first account list matching the target data, the search time of the target account for receiving the target data needs to be turned over in the related art, by using the first account list from the first account list. Directly select the way of the object account to improve the efficiency of data sharing.
作为一种可选的方案,第二获取单元包括:As an optional solution, the second obtaining unit includes:
1)第三获取模块,设置为获取在第二应用中与分享指令中请求分享目标数据的第一账号具有关联关系的第三账号列表,其中,第二应用用于 接收目标数据,第一应用与第二应用为关联应用;a third acquisition module, configured to acquire a third account list that has an association relationship with the first account that requests the sharing target data in the sharing instruction in the second application, where the second application is configured to receive the target data, the first application Associated with the second application;
2)第二比对模块,设置为比对第三账号列表中的账号的标签信息与第一标签信息;2) The second comparison module is configured to compare the label information and the first label information of the account in the third account list;
3)第四获取模块,设置为根据比对的结果获取第一账号列表。3) The fourth obtaining module is configured to obtain the first account list according to the result of the comparison.
具体结合图6所示进行说明,在将第一应用App-1中的目标数据分享至第二应用App-2的情况下,上述第二账号列表也可以但不限于为在第二应用中与第一账号具有关联关系的第二账号列表,例如,如图6(a)-(c)所示,从应用App-1中跳转至应用App-2中,获取应用App-2中与第一账号具有关联关系的第二账号列表,其中,第二账号列表包括:账号A、账号B、账号C;经比对得到第一账号列表包括:账号B、账号C,从第一账号列表中选择对象账号(账号C)分享目标数据。Specifically, as shown in FIG. 6 , in the case of sharing the target data in the first application App-1 to the second application App-2, the second account list may also be limited to being in the second application. The first account has a second account list associated with the relationship, for example, as shown in FIG. 6(a)-(c), jump from the application App-1 to the application App-2, and obtain the application App-2 and the first A second account list having an associated relationship, wherein the second account list includes: account A, account B, and account C; and obtaining the first account list by comparing: account B, account C, from the first account list Select the target account (account C) to share the target data.
通过本申请提供的实施例,在获取与分享指令中请求分享目标数据的第一账号具有关联关系的账号列表之后,通过比对账号列表中的账号的标签信息与第一标签信息,以根据比对的结果获取第一账号列表。从而实现在数据分享过程中,可以获取到与目标数据相匹配的第一账号列表,通过准确提供需要上述目标数据的第一账号列表,以使目标数据可以准确分享给第一账号列表中包括的用于接收目标数据的对象账号。Through the embodiment provided by the present application, after obtaining the account list having the associated relationship with the first account that requests the sharing target data in the sharing instruction, comparing the tag information of the account in the account list with the first tag information, The result of the pair gets the first account list. Therefore, in the data sharing process, the first account list matching the target data can be obtained, and the first account list that needs the target data is accurately provided, so that the target data can be accurately shared to the first account list. The object account used to receive the target data.
作为一种可选的方案,第二获取单元通过以下步骤比对账号列表中的账号的标签信息与第一标签信息:As an optional solution, the second obtaining unit compares the label information and the first label information of the account in the account list by the following steps:
S1,遍历账号列表中全部的账号,将账号列表中每个账号依次作为当前账号执行以下操作:S1, traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in sequence:
S12,在当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出当前账号的标签信息与第一标签信息匹配;S12, if at least one account label indicated by the label information of the current account matches at least one data label indicated by the first label information, determining that the label information of the current account matches the first label information;
S14,将当前账号作为第一账号列表中的账号。S14: The current account is used as an account in the first account list.
可选地,在本实施例中,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签属于相同标签类型的标签;此外,当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配可以包括但不限于:当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签为相同标签的标签。Optionally, in this embodiment, the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, which may include, but is not limited to, the label information indicated by the current account. The at least one account label and the at least one data label indicated by the first label information belong to the label of the same label type; further, the at least one account label indicated by the label information of the current account is compared with the at least one data label indicated by the first label information. The matching may include, but is not limited to, at least one account label indicated by the label information of the current account and a label of the same label as the at least one data label indicated by the first label information.
需要说明的是,在本实施例中,上述第一标签信息所指示的标签可以包括但不限于一个或多个数据标签,上述第二账号列表中的账号的标签信息所指示的标签可以包括但不限于一个或多个账号标签。也就是说,每条目标数据可以对应一个或多个数据标签,每个账号也可以对应配置一个或多个账号标签,本实施例中对此不做任何限定。It should be noted that, in this embodiment, the label indicated by the first label information may include, but is not limited to, one or more data labels, and the label indicated by the label information of the account number in the second account list may include but Not limited to one or more account labels. That is to say, each target data may correspond to one or more data labels, and each account may also be configured with one or more account labels, which is not limited in this embodiment.
也就是说,在本实施例中,比对第二账号列表中的账号的标签信息与第一标签信息时,可以采用模糊比对,在标签信息所指示的多个标签中,获取至少一对属于相同标签类型的标签,或至少一对为相同标签的标签,则可以判定该账号的标签信息与第一标签信息匹配,并可以将该账号作为第一账号列表中的账号,以便于将其显示在显示界面中,方便用户快速选择接收目标数据的对象账号,达到提高数据分享的效率的效果。That is, in this embodiment, when comparing the label information of the account in the second account list with the first label information, a fuzzy comparison may be adopted, and at least one pair is obtained in the plurality of labels indicated by the label information. Labels belonging to the same label type, or at least one pair of labels that are the same label, can determine that the label information of the account matches the first label information, and can use the account as an account number in the first account list, so as to facilitate Displayed in the display interface, it is convenient for the user to quickly select the object account that receives the target data, thereby achieving the effect of improving the efficiency of data sharing.
通过本申请提供的实施例,通过比对标签信息,将当前账号的标签信息所指示的至少一个账号标签与第一标签信息所指示的至少一个数据标签相匹配的情况,判定为当前账号的标签信息与第一标签信息匹配,进而将当前账号作为第一账号列表中的账号,以实现通过模糊比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。According to the embodiment provided by the present application, the at least one account label indicated by the label information of the current account is matched with the at least one data label indicated by the first label information by comparing the label information, and the label of the current account is determined. The information is matched with the first tag information, and the current account is used as the account in the first account list, so as to achieve the quick acquisition of the first account list for receiving and matching the target data by fuzzy matching the tag information, thereby realizing The object account for receiving the target data is accurately and quickly obtained from the first account list.
作为一种可选的方案,第二获取单元通过以下步骤比对账号列表中的账号的标签信息与第一标签信息:As an optional solution, the second obtaining unit compares the label information and the first label information of the account in the account list by the following steps:
S1,遍历账号列表中全部的账号,将账号列表中每个账号依次作为当 前账号执行以下操作:S1, traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in turn:
S12,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的标签的标签数量;S12. Obtain, from the account label indicated by the label information of the current account, the number of labels of the label that matches the data label indicated by the first label information.
S14,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度;S14. The number of labels is used to identify a matching degree between the label information of the current account and the first label information.
S2,根据匹配度更新账号列表,其中,账号列表中包括第一账号列表。S2. Update the account list according to the matching degree, where the account list includes the first account list.
可选地,在本实施例中,在上述匹配判断过程中,将在当前账号的标签信息所指示的账号标签中,与第一标签信息所指示的数据标签为相同标签的标签判定为匹配标签,获取该匹配标签的标签数量用于标识匹配度。以实现按照匹配度获取第一账号列表中的账号。从而达到对账号的标签信息及目标数据的第一标签信息进行精确比对的目的。Optionally, in this embodiment, in the matching determination process, the label of the same label as the data label indicated by the first label information is determined as a matching label in the account label indicated by the label information of the current account. The number of tags that get the matching tag is used to identify the degree of matching. The account in the first account list is obtained according to the matching degree. Thereby, the purpose of accurately comparing the label information of the account and the first label information of the target data is achieved.
需要说明的是,在本实施例中,在获取到标签数量所标识的匹配度之后,可以但不限于将第二账号列表中匹配度大于预定阈值的账号作为第一账号列表中的账号,其中,第一账号列表中的账号为第二账号列表中的部分账号。It should be noted that, in this embodiment, after obtaining the matching degree identified by the number of labels, the account number in the second account list whose matching degree is greater than a predetermined threshold may be used as the account in the first account list, where The account in the first account list is a part of the account in the second account list.
可选地,在本实施例中,可以但不限于单独获取上述第一账号列表,以将该第一账号列表显示在显示界面中,这里第一账号列表中的账号可以但不限于按照匹配度显示,也可以但不限于按照默认顺序显示。本实施例中对此不做任何限定。Optionally, in this embodiment, the foregoing first account list may be separately obtained, so that the first account list is displayed in the display interface, where the account number in the first account list may be, but is not limited to, according to the matching degree. Display can also be, but is not limited to, displayed in the default order. This embodiment does not limit this.
可选地,在本实施例中,还可以但不限于按照匹配度更新第二账号列表中全部账号的排列顺序,其中,与目标数据相匹配的第一账号列表中的账号排列在第二账号列表中的前N位。也就是说,在第二账号列表中,与目标数据未匹配的其他账号也可以显示在显示界面中,且显示顺序位于第一账号列表中的账号之后。本实施例中对此不做任何限定。Optionally, in this embodiment, the order of all the accounts in the second account list may be updated according to the matching degree, wherein the accounts in the first account list that match the target data are arranged in the second account. The first N digits in the list. That is to say, in the second account list, other accounts that do not match the target data may also be displayed in the display interface, and the display order is located after the account in the first account list. This embodiment does not limit this.
通过本申请提供的实施例,通过比对标签信息,从当前账号的标签信息所指示的账号标签中,获取与第一标签信息所指示的数据标签相匹配的 标签的标签数量,使用标签数量标识当前账号的标签信息与第一标签信息之间的匹配度,以实现根据匹配度通过精确比对标签信息,达到快速获取与目标数据相匹配的用于接收的第一账号列表,进而实现从第一账号列表中准确快速地获取用于接收目标数据的对象账号。Through the embodiment provided by the present application, by comparing the label information, the number of labels of the label matching the data label indicated by the first label information is obtained from the account label indicated by the label information of the current account, and the label number is used. The degree of matching between the label information of the current account and the first label information, so as to accurately obtain the first account list for receiving by matching the target data according to the matching degree, thereby implementing the first An account number for receiving target data is accurately and quickly obtained in an account list.
根据本申请实施例的又一方面,还提供了一种电子装置,其中该电子装置包括:存储器和处理器,存储器存储有计算机程序,处理器被设置为通过计算机程序执行上述的数据分享方法。例如,电子装置可以为用户实现上述数据分享方法的数据分享场景的数据分享终端,作为一种可选的实施方式,如图12所示,该数据分享终端包括:According to still another aspect of embodiments of the present application, there is also provided an electronic device, wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program. For example, the electronic device may be a data sharing terminal for the user to implement the data sharing scenario of the data sharing method. As an optional implementation manner, as shown in FIG. 12, the data sharing terminal includes:
1)通讯接口1202,设置为获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;还设置为响应分享指令从服务器获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;1) The communication interface 1202 is configured to acquire a sharing instruction generated by performing a sharing operation on the target data in the display interface of the first application, and further configured to acquire, from the server, the first tag information that matches the target data, in response to the sharing instruction, where The first tag information is used to indicate a category to which the target data belongs;
2)处理器1204,与通讯接口1202连接,设置为根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;2) The processor 1204 is connected to the communication interface 1202, and configured to acquire the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
上述通讯接口1202,还设置为从第一账号列表中获取接收目标数据的对象账号;还设置为将目标数据分享给对象账号;The communication interface 1202 is further configured to: obtain an object account that receives the target data from the first account list; and further set to share the target data to the target account;
3)存储器1206,与通讯接口1202及处理器1204连接,设置为存储第一标签信息及第一账号列表。3) The memory 1206 is connected to the communication interface 1202 and the processor 1204, and is configured to store the first tag information and the first account list.
可选地,本领域普通技术人员可以理解,图12所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图12其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图12中所示更多或者更少的组件(如网络接口、显示装置 等),或者具有与图12所示不同的配置。Optionally, those skilled in the art can understand that the structure shown in FIG. 12 is only schematic, and the electronic device can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD. FIG. 12 does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in Fig. 12, or have a different configuration than that shown in Fig. 12.
其中,存储器1206可用于存储软件程序以及模块,如本发明实施例中的数据分享方法和装置对应的程序指令/模块,处理器1204通过运行存储在存储器1206内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的数据分享方法。存储器1206可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1206可进一步包括相对于处理器1204远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1206 can be used to store software programs and modules, such as the data sharing method and the program instructions/modules corresponding to the device in the embodiment of the present invention. The processor 1204 executes the software programs and modules stored in the memory 1206, thereby executing each A functional application and data processing, that is, the above data sharing method is implemented. Memory 1206 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 1206 can further include memory remotely located relative to processor 1204, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
上述的通讯接口1202用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,通讯接口1202包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,通讯接口1202为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The communication interface 1202 described above is for receiving or transmitting data via a network. Specific examples of the above network may include a wired network and a wireless network. In one example, communication interface 1202 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, the communication interface 1202 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
其中,具体地,存储器1206用于存储分享指令与标签信息等内容。Specifically, the memory 1206 is configured to store content such as sharing instructions and tag information.
根据本申请实施例的又一方面,还提供了一种电子装置,其中该电子装置包括:存储器和处理器,存储器存储有计算机程序,处理器被设置为通过计算机程序执行上述的数据分享方法。例如,电子装置可以为用户实现上述数据分享方法的数据分享场景的数据分享服务器,作为一种可选的实施方式,如图12所示,该数据分享服务器包括:According to still another aspect of embodiments of the present application, there is also provided an electronic device, wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program. For example, the electronic device may be a data sharing server for the user to implement the data sharing scenario of the data sharing method. As an optional implementation manner, as shown in FIG. 12, the data sharing server includes:
1)通讯接口1302,设置为接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;1) a communication interface 1302, configured to receive a sharing instruction generated by the client of the first application to perform a sharing operation on the target data;
2)处理器1304,与通讯接口1302连接,设置为根据分享指令获取与 目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;还设置为根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;2) The processor 1304 is connected to the communication interface 1302, and is configured to acquire first label information that matches the target data according to the sharing instruction, where the first label information is used to indicate a category to which the target data belongs; The tag information is used to obtain a first account list, where the second tag information of the account in the first account list matches the first tag information;
通讯接口1302,还设置为获取从第一账号列表中选出的用于接收目标数据的对象账号;还设置为将目标数据分享给对象账号。The communication interface 1302 is further configured to acquire an object account selected from the first account list for receiving target data; and is further configured to share the target data to the target account.
3)存储器1306,与通讯接口1302及处理器1304连接,设置为存储第一标签信息及第一账号列表。3) The memory 1306 is connected to the communication interface 1302 and the processor 1304, and is configured to store the first tag information and the first account list.
可选地,本领域普通技术人员可以理解,图13所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图13其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图13中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图13所示不同的配置。Optionally, those skilled in the art can understand that the structure shown in FIG. 13 is only schematic, and the electronic device can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD. FIG. 13 does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 13, or have a different configuration than that shown in FIG.
其中,存储器1306可用于存储软件程序以及模块,如本发明实施例中的数据分享方法和装置对应的程序指令/模块,处理器1304通过运行存储在存储器1306内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的数据分享方法。存储器1306可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1306可进一步包括相对于处理器1304远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1306 can be used to store software programs and modules, such as the data sharing method and the program instructions/modules corresponding to the device in the embodiment of the present invention. The processor 1304 executes each of the software programs and modules stored in the memory 1306. A functional application and data processing, that is, the above data sharing method is implemented. Memory 1306 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 1306 can further include memory remotely located relative to processor 1304, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
上述的通讯接口1302用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,通讯接口1302包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,通讯接口1302为射频(Radio Frequency,RF)模块,其用于通 过无线方式与互联网进行通讯。The communication interface 1302 described above is for receiving or transmitting data via a network. Specific examples of the above network may include a wired network and a wireless network. In one example, the communication interface 1302 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, communication interface 1302 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
其中,具体地,存储器1306用于存储存储指令与标签信息等内容。Specifically, the memory 1306 is configured to store contents such as storage instructions and tag information.
根据本申请的实施例的又一方面,还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以位于的网络中的多个网络设备中的至少一个网络设备。According to still another aspect of an embodiment of the present application, a storage medium is also provided. Optionally, in this embodiment, the foregoing storage medium may be located in at least one of the plurality of network devices in the network.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:Optionally, in the present embodiment, the storage medium is arranged to store a computer program for performing the following steps:
S1,获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;S1. Acquire a sharing instruction generated by performing a sharing operation on target data in a display interface of the first application.
S2,响应分享指令从服务器获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;S2. The first tag information that matches the target data is obtained from the server, where the first tag information is used to indicate the category to which the target data belongs.
S3,根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;S3, the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
S4,从第一账号列表中获取接收目标数据的对象账号;S4. Obtain an object account that receives target data from the first account list.
S5,将目标数据分享给对象账号。S5, sharing the target data to the target account.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:Optionally, in the present embodiment, the storage medium is arranged to store a computer program for performing the following steps:
S1,接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;S1. Receive a sharing instruction generated by a client of the first application to perform a sharing operation on the target data.
S2,根据分享指令获取与目标数据相匹配的第一标签信息,其中,第一标签信息用于指示目标数据所属的类别;S2, the first tag information that matches the target data is obtained according to the sharing instruction, where the first tag information is used to indicate a category to which the target data belongs;
S3,根据第一标签信息获取第一账号列表,其中,第一账号列表中的账号的第二标签信息与第一标签信息相匹配;S3, the first account list is obtained according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;
S4,获取从第一账号列表中选出的用于接收目标数据的对象账号;S4. Obtain an object account selected from the first account list for receiving target data.
S5,将目标数据分享给对象账号。S5, sharing the target data to the target account.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例1和实施例2中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in Embodiment 1 and Embodiment 2, and details are not described herein again.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The integrated unit in the above embodiment, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including The instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述仅是本申请的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only an alternative embodiment of the present application, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present application. It should also be considered as the scope of protection of this application.
在本发明实施例中,在获取到对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令后,通过从服务器获取与所要分享的目标数据相匹配的第一标签信息,以实现根据第一标签信息获取第一账号列表,其中,上述第一账号列表中的账号的第二标签信息与第一标签信息相匹配,这样不仅可以实现将所要分享的目标数据准确分享给需要上述目标数据的对象账号,而且从第一账号列表中快速获取与所分享的目标数据相匹配的对象账号,将大大减少从众多账号中查找对象账号的时间,进而实现提高数据分享的效率的效果。In the embodiment of the present invention, after obtaining the sharing instruction generated by the sharing operation on the target data in the display interface of the first application, the first tag information matching the target data to be shared is acquired from the server, Acquiring the first account list according to the first tag information, wherein the second tag information of the account in the first account list matches the first tag information, so that not only the target data to be shared can be accurately shared, The object account of the target data, and quickly obtaining the object account matching the shared target data from the first account list, greatly reduces the time for finding the target account from the plurality of accounts, thereby achieving the effect of improving the efficiency of data sharing.
Claims (25)
- 一种数据分享方法,包括:A data sharing method, including:获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;Obtaining a sharing instruction generated by performing a sharing operation on the target data in the display interface of the first application;响应所述分享指令从服务器获取与所述目标数据相匹配的第一标签信息,其中,所述第一标签信息用于指示所述目标数据所属的类别;Acquiring, in response to the sharing instruction, the first tag information that matches the target data from the server, where the first tag information is used to indicate a category to which the target data belongs;根据所述第一标签信息获取第一账号列表,其中,所述第一账号列表中的账号的第二标签信息与所述第一标签信息相匹配;Obtaining, according to the first label information, a first account list, where the second tag information of the account in the first account list matches the first tag information;从所述第一账号列表中获取接收所述目标数据的对象账号;Obtaining, from the first account list, an object account that receives the target data;将所述目标数据分享给所述对象账号。Sharing the target data to the target account.
- 根据权利要求1所述的方法,其中,所述根据所述第一标签信息获取第一账号列表包括:The method of claim 1, wherein the obtaining the first account list according to the first tag information comprises:获取与所述分享指令中请求分享所述目标数据的第一账号具有关联关系的第二账号列表;Obtaining a second account list that has an association relationship with the first account that requests to share the target data in the sharing instruction;比对所述第二账号列表中的账号的标签信息与所述第一标签信息;Comparing the tag information of the account in the second account list with the first tag information;根据比对的结果获取所述第一账号列表。Obtaining the first account list according to the result of the comparison.
- 根据权利要求2所述的方法,其中,所述比对所述第二账号列表中的账号的标签信息与所述第一标签信息包括:The method according to claim 2, wherein the comparing the tag information of the account in the second account list with the first tag information comprises:遍历所述第二账号列表中全部的账号,将所述第二账号列表中每个账号依次作为当前账号执行以下操作:Traverse all the accounts in the second account list, and perform the following operations by using each account in the second account list as the current account in sequence:在所述当前账号的标签信息所指示的至少一个账号标签与所述第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出所述当前账号的标签信息与所述第一标签信息匹配;When the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, determining the label information of the current account and the first label Information matching将所述当前账号作为所述第一账号列表中的账号。The current account is used as an account in the first account list.
- 根据权利要求3所述的方法,其中,所述当前账号的标签信息所指示的至少一个账号标签与所述第一标签信息所指示的至少一个数据标签相匹配包括:所述当前账号的标签信息所指示的所述至少一个账号标签与所述第一标签信息所指示的所述至少一个数据标签属于相同标签类型的标签。The method according to claim 3, wherein the matching of the at least one account label indicated by the label information of the current account with the at least one data label indicated by the first label information comprises: label information of the current account The indicated at least one account label and the at least one data label indicated by the first label information belong to a label of the same label type.
- 根据权利要求2所述的方法,其中,所述比对所述第二账号列表中的账号的标签信息与所述第一标签信息包括:The method according to claim 2, wherein the comparing the tag information of the account in the second account list with the first tag information comprises:遍历所述第二账号列表中全部的账号,将所述第二账号列表中每个账号依次作为当前账号执行以下操作:Traverse all the accounts in the second account list, and perform the following operations by using each account in the second account list as the current account in sequence:从所述当前账号的标签信息所指示的账号标签中,获取与所述第一标签信息所指示的数据标签相匹配的标签的标签数量;Obtaining, from the account label indicated by the label information of the current account, the number of labels of the label matching the data label indicated by the first label information;使用所述标签数量标识所述当前账号的标签信息与所述第一标签信息之间的匹配度;Using the number of tags to identify a degree of matching between the tag information of the current account and the first tag information;根据所述匹配度更新所述第二账号列表,其中,所述第二账号列表中包括所述第一账号列表。Updating the second account list according to the matching degree, wherein the second account list includes the first account list.
- 根据权利要求5所述的方法,其中,所述获取与所述第一标签信息所指示的数据标签相匹配的标签的标签数量包括:The method of claim 5, wherein the obtaining the number of tags of the tag that matches the data tag indicated by the first tag information comprises:在所述当前账号的标签信息所指示的账号标签中,获取与所述第一标签信息所指示的数据标签为相同标签的标签数量。Obtaining, in the account label indicated by the label information of the current account, the number of labels that are the same label as the data label indicated by the first label information.
- 根据权利要求1所述的方法,其中,在所述响应所述分享指令从服务器获取与所述目标数据相匹配的第一标签信息之前,还包括:The method of claim 1, wherein before the obtaining the first tag information that matches the target data from the server in response to the sharing instruction, the method further comprises:向所述服务器发送所述目标数据的属性信息,以使所述服务器根据所述属性信息获取与所述目标数据相匹配的所述第一标签信息,其中,所述属性信息包括以下至少之一:所述目标数据的标题、所述目标数据的摘要、所述目标数据的链接地址。And sending the attribute information of the target data to the server, so that the server acquires the first label information that matches the target data according to the attribute information, where the attribute information includes at least one of the following: : a title of the target data, a summary of the target data, and a link address of the target data.
- 一种数据分享方法,包括:A data sharing method, including:接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;Receiving a sharing instruction generated by the client of the first application to perform a sharing operation on the target data;根据所述分享指令获取与所述目标数据相匹配的第一标签信息,其中,所述第一标签信息用于指示所述目标数据所属的类别;Acquiring, according to the sharing instruction, first tag information that matches the target data, where the first tag information is used to indicate a category to which the target data belongs;根据所述第一标签信息获取第一账号列表,其中,所述第一账号列表中的账号的第二标签信息与所述第一标签信息相匹配;Obtaining, according to the first label information, a first account list, where the second tag information of the account in the first account list matches the first tag information;获取从所述第一账号列表中选出的用于接收所述目标数据的对象账号;Obtaining an object account selected from the first account list for receiving the target data;将所述目标数据分享给所述对象账号。Sharing the target data to the target account.
- 根据权利要求8所述的方法,其中,所述根据所述第一标签信息获取第一账号列表包括:The method according to claim 8, wherein the obtaining the first account list according to the first tag information comprises:获取在所述第一应用中与所述分享指令中请求分享所述目标数据的第一账号具有关联关系的第二账号列表;Obtaining, in the first application, a second account list having an association relationship with a first account that requests to share the target data in the sharing instruction;比对所述第二账号列表中的账号的标签信息与所述第一标签信息;Comparing the tag information of the account in the second account list with the first tag information;根据比对的结果获取所述第一账号列表。Obtaining the first account list according to the result of the comparison.
- 根据权利要求8所述的方法,其中,所述根据所述第一标签信息获取第一账号列表包括:The method according to claim 8, wherein the obtaining the first account list according to the first tag information comprises:获取在第二应用中与所述分享指令中请求分享所述目标数据的第一账号具有关联关系的第三账号列表,其中,所述第二应用用于接收所述目标数据,所述第一应用与所述第二应用为关联应用;Obtaining, in the second application, a third account list that has an association relationship with the first account that requests to share the target data in the sharing instruction, where the second application is configured to receive the target data, the first The application and the second application are associated applications;比对所述第三账号列表中的账号的标签信息与所述第一标签信息;Comparing the tag information of the account in the third account list with the first tag information;根据比对的结果获取所述第一账号列表。Obtaining the first account list according to the result of the comparison.
- 根据权利要求9或10所述的方法,其中,比对账号列表中的所述账号的标签信息与所述第一标签信息包括:The method according to claim 9 or 10, wherein the label information and the first label information of the account number in the comparison account list comprises:遍历所述账号列表中全部的账号,将所述账号列表中每个账号依 次作为当前账号执行以下操作:Traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account:在所述当前账号的标签信息所指示的至少一个账号标签与所述第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出所述当前账号的标签信息与所述第一标签信息匹配;When the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information, determining the label information of the current account and the first label Information matching将所述当前账号作为所述第一账号列表中的账号。The current account is used as an account in the first account list.
- 根据权利要求9或10所述的方法,其中,比对账号列表中的所述账号的标签信息与所述第一标签信息包括:The method according to claim 9 or 10, wherein the label information and the first label information of the account number in the comparison account list comprises:遍历所述账号列表中全部的账号,将所述账号列表中每个账号依次作为当前账号执行以下操作:Traverse all the accounts in the account list, and perform the following operations by using each account in the account list as the current account in turn:从所述当前账号的标签信息所指示的账号标签中,获取与所述第一标签信息所指示的数据标签相匹配的标签的标签数量;Obtaining, from the account label indicated by the label information of the current account, the number of labels of the label matching the data label indicated by the first label information;使用所述标签数量标识所述当前账号的标签信息与所述第一标签信息之间的匹配度;Using the number of tags to identify a degree of matching between the tag information of the current account and the first tag information;根据所述匹配度更新所述账号列表,其中,所述账号列表中包括所述第一账号列表。And updating the account list according to the matching degree, wherein the first account list is included in the account list.
- 根据权利要求8所述的方法,其中,所述根据所述分享指令获取与所述目标数据相匹配的第一标签信息包括:The method according to claim 8, wherein the obtaining, by the sharing instruction, the first tag information that matches the target data comprises:获取所述分享指令中携带的所述目标数据的属性信息;Obtaining attribute information of the target data carried in the sharing instruction;根据所述属性信息获取与所述目标数据相匹配的所述第一标签信息,其中,所述属性信息包括以下至少之一:所述目标数据的标题、所述目标数据的摘要、所述目标数据的链接地址。Acquiring the first tag information that matches the target data according to the attribute information, where the attribute information includes at least one of: a title of the target data, a summary of the target data, the target The link address of the data.
- 一种数据分享装置,包括:A data sharing device comprising:第一获取单元,设置为获取对第一应用的显示界面中的目标数据执行分享操作所生成的分享指令;a first obtaining unit, configured to acquire a sharing instruction generated by performing a sharing operation on the target data in the display interface of the first application;第二获取单元,设置为响应所述分享指令从服务器获取与所述目标数据相匹配的第一标签信息,其中,所述第一标签信息用于指示所述目标数据所属的类别;a second acquiring unit, configured to acquire first tag information that matches the target data from the server, in response to the sharing instruction, where the first tag information is used to indicate a category to which the target data belongs;第三获取单元,设置为根据所述第一标签信息获取第一账号列表,其中,所述第一账号列表中的账号的第二标签信息与所述第一标签信息相匹配;The third obtaining unit is configured to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;第四获取单元,设置为从所述第一账号列表中获取接收所述目标数据的对象账号;a fourth obtaining unit, configured to acquire, from the first account list, an object account that receives the target data;分享单元,设置为将所述目标数据分享给所述对象账号。a sharing unit configured to share the target data to the target account.
- 根据权利要求14所述的装置,其中,所述第三获取单元包括:The apparatus of claim 14, wherein the third obtaining unit comprises:第一获取模块,设置为获取与所述分享指令中请求分享所述目标数据的第一账号具有关联关系的第二账号列表;a first acquiring module, configured to acquire a second account list that has an association relationship with a first account that requests to share the target data in the sharing instruction;第一比对模块,设置为比对所述第二账号列表中的账号的标签信息与所述第一标签信息;The first comparison module is configured to compare the label information of the account in the second account list with the first label information;第二获取模块,设置为根据比对的结果获取所述第一账号列表。The second obtaining module is configured to obtain the first account list according to the result of the comparison.
- 根据权利要求15所述的装置,其中,所述第一比对模块包括:The apparatus of claim 15, wherein the first comparison module comprises:第一处理子模块,设置为遍历所述第二账号列表中全部的账号,将所述第二账号列表中每个账号依次作为当前账号执行以下操作:在所述当前账号的标签信息所指示的至少一个账号标签与所述第一标签信息所指示的至少一个数据标签相匹配的情况下,判断出所述当前账号的标签信息与所述第一标签信息匹配;将所述当前账号作为所述第一账号列表中的账号。The first processing sub-module is configured to traverse all the accounts in the second account list, and each account in the second account list is sequentially used as the current account to perform the following operations: the label information indicated by the current account If the at least one account label matches the at least one data label indicated by the first label information, determining that the label information of the current account matches the first label information; using the current account as the The account number in the first account list.
- 根据权利要求16所述的装置,其中,所述当前账号的标签信息所指示的至少一个账号标签与所述第一标签信息所指示的至少一个数据标签相匹配包括:所述当前账号的标签信息所指示的所述至少一个账号标签与所述第一标签信息所指示的所述至少一个数据标签属于相同标签类型的标签。The device according to claim 16, wherein the at least one account label indicated by the label information of the current account matches the at least one data label indicated by the first label information comprises: label information of the current account The indicated at least one account label and the at least one data label indicated by the first label information belong to a label of the same label type.
- 根据权利要求15所述的装置,其中,所述第一比对模块包括:The apparatus of claim 15, wherein the first comparison module comprises:第一处理子模块,设置为遍历所述第二账号列表中全部的账号,将所述第二账号列表中每个账号依次作为当前账号执行以下操作:从 所述当前账号的标签信息所指示的账号标签中,获取与所述第一标签信息所指示的数据标签相匹配的标签的标签数量;使用所述标签数量标识所述当前账号的标签信息与所述第一标签信息之间的匹配度;The first processing sub-module is configured to traverse all the accounts in the second account list, and each account in the second account list is sequentially used as the current account to perform the following operations: indicating from the label information of the current account In the account label, the number of tags of the tag matching the data tag indicated by the first tag information is obtained; and the number of tags is used to identify the matching degree between the tag information of the current account and the first tag information. ;更新子模块,设置为根据所述匹配度更新所述第二账号列表,其中,所述第二账号列表中包括所述第一账号列表。And updating, by the sub-module, the second account list is updated according to the matching degree, wherein the second account list includes the first account list.
- 根据权利要求14所述的装置,其中,还包括:The apparatus according to claim 14, further comprising:发送单元,设置为在所述响应所述分享指令从服务器获取与所述目标数据相匹配的第一标签信息之前,向所述服务器发送所述目标数据的属性信息,以使所述服务器根据所述属性信息获取与所述目标数据相匹配的所述第一标签信息,其中,所述属性信息包括以下至少之一:所述目标数据的标题、所述目标数据的摘要、所述目标数据的链接地址。a sending unit, configured to send attribute information of the target data to the server before the first tag information matching the target data is acquired from the server in response to the sharing instruction, so that the server is configured according to the The attribute information acquires the first tag information that matches the target data, wherein the attribute information includes at least one of: a title of the target data, a summary of the target data, and a target data. link address.
- 一种数据分享装置,包括:A data sharing device comprising:接收单元,设置为接收第一应用的客户端对目标数据执行分享操作所生成的分享指令;a receiving unit, configured to receive a sharing instruction generated by the client of the first application to perform a sharing operation on the target data;第一获取单元,设置为根据所述分享指令获取与所述目标数据相匹配的第一标签信息,其中,所述第一标签信息用于指示所述目标数据所属的类别;a first acquiring unit, configured to acquire, according to the sharing instruction, first tag information that matches the target data, where the first tag information is used to indicate a category to which the target data belongs;第二获取单元,设置为根据所述第一标签信息获取第一账号列表,其中,所述第一账号列表中的账号的第二标签信息与所述第一标签信息相匹配;The second obtaining unit is configured to obtain the first account list according to the first tag information, where the second tag information of the account in the first account list matches the first tag information;第三获取单元,设置为获取从所述第一账号列表中选出的用于接收所述目标数据的对象账号;a third acquiring unit, configured to acquire an object account selected from the first account list for receiving the target data;分享单元,设置为将所述目标数据分享给所述对象账号。a sharing unit configured to share the target data to the target account.
- 根据权利要求20所述的装置,其中,所述第二获取单元包括:The apparatus of claim 20, wherein the second obtaining unit comprises:第一获取模块,设置为获取在所述第一应用中与所述分享指令中请求分享所述目标数据的第一账号具有关联关系的第二账号列表;a first acquiring module, configured to acquire a second account list that has an association relationship with the first account that requests to share the target data in the sharing instruction in the first application;第一比对模块,设置为比对所述第二账号列表中的账号的标签信息与所述第一标签信息;The first comparison module is configured to compare the label information of the account in the second account list with the first label information;第二获取模块,设置为根据比对的结果获取所述第一账号列表。The second obtaining module is configured to obtain the first account list according to the result of the comparison.
- 根据权利要求20所述的装置,其中,所述第二获取单元包括:The apparatus of claim 20, wherein the second obtaining unit comprises:第三获取模块,设置为获取在第二应用中与所述分享指令中请求分享所述目标数据的第一账号具有关联关系的第三账号列表,其中,所述第二应用用于接收所述目标数据,所述第一应用与所述第二应用为关联应用;a third acquiring module, configured to obtain a third account list that has an association relationship with the first account that requests the sharing of the target data in the sharing instruction in the second application, where the second application is configured to receive the Target data, the first application and the second application are associated applications;第二比对模块,设置为比对所述第三账号列表中的账号的标签信息与所述第一标签信息;The second comparison module is configured to compare the label information of the account in the third account list with the first label information;第四获取模块,设置为根据比对的结果获取所述第一账号列表。The fourth obtaining module is configured to obtain the first account list according to the result of the comparison.
- 根据权利要求20所述的装置,其中,所述第一获取单元包括:The apparatus of claim 20, wherein the first obtaining unit comprises:第五获取模块,设置为获取所述分享指令中携带的所述目标数据的属性信息;a fifth obtaining module, configured to acquire attribute information of the target data carried in the sharing instruction;第六获取模块,设置为根据所述属性信息获取与所述目标数据相匹配的所述第一标签信息,其中,所述属性信息包括以下至少之一:所述目标数据的标题、所述目标数据的摘要、所述目标数据的链接地址。a sixth obtaining module, configured to acquire, according to the attribute information, the first tag information that matches the target data, where the attribute information includes at least one of: a title of the target data, the target A summary of the data, a link address of the target data.
- 一种存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至7或8至13任一项中所述的方法。A storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute the method of any one of claims 1 to 7 or 8 to 13 at runtime .
- 一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至7或8至13任一项中所述的方法An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the claims 1 to 7 or 8 to 13 by the computer program Method described in the item
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 |
CN201710238292.6 | 2017-04-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018188460A1 true WO2018188460A1 (en) | 2018-10-18 |
Family
ID=59773519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/079776 WO2018188460A1 (en) | 2017-04-12 | 2018-03-21 | Data sharing method and device |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN110380954B (en) |
WO (1) | WO2018188460A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143421A (en) * | 2019-12-26 | 2020-05-12 | 杭州数梦工场科技有限公司 | Data sharing method and device, electronic equipment and storage medium |
CN111429200A (en) * | 2020-02-24 | 2020-07-17 | 浙江口碑网络技术有限公司 | Content association method and device, storage medium and computer equipment |
CN112399216A (en) * | 2020-10-27 | 2021-02-23 | 维沃移动通信(杭州)有限公司 | Resource sharing method and device and electronic equipment |
CN112994997A (en) * | 2021-05-21 | 2021-06-18 | 深圳传音控股股份有限公司 | Processing method, processing apparatus, and storage medium |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110380954B (en) * | 2017-04-12 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Data sharing method and device, storage medium and electronic 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 | 维沃移动通信有限公司 | Route recommendation method and mobile terminal for information sharing |
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 | 咪咕动漫有限公司 | Processing method and device based on information sharing and computer readable storage medium |
CN110609816B (en) * | 2019-08-30 | 2022-12-20 | 维沃移动通信有限公司 | An information sharing method, information sharing device and terminal |
CN111740896B (en) * | 2020-07-07 | 2023-07-25 | 腾讯科技(深圳)有限公司 | Content sharing control method and device, electronic equipment and storage medium |
CN118296645A (en) * | 2020-09-30 | 2024-07-05 | 京东方科技集团股份有限公司 | Information sharing method, electronic device and readable storage medium |
CN114895991B (en) * | 2021-02-05 | 2024-06-25 | 华为技术有限公司 | Content sharing method and electronic equipment |
CN113285940B (en) * | 2021-05-17 | 2023-09-19 | 深圳Tcl新技术有限公司 | Equipment connection method and device |
CN114356307A (en) * | 2021-12-17 | 2022-04-15 | 上海浦东发展银行股份有限公司 | Service interaction method and device, electronic equipment and storage medium |
CN114821405A (en) * | 2022-04-12 | 2022-07-29 | 咪咕文化科技有限公司 | Key point determination method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012028926A1 (en) * | 2010-08-31 | 2012-03-08 | Nokia Corporation | Methods and apparatuses for determining shared friends in images or videos |
CN105282010A (en) * | 2015-09-14 | 2016-01-27 | 小米科技有限责任公司 | Information sharing processing method, device, and server |
CN105872593A (en) * | 2016-03-21 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Barrage pushing method and device |
CN107147560A (en) * | 2017-04-12 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Data sharing method and device |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120158499A1 (en) * | 2010-12-21 | 2012-06-21 | Google Inc. | Providing Advertisements on a Social Network |
CN103002013B (en) * | 2012-11-06 | 2016-12-21 | 深圳中兴网信科技有限公司 | Social order programme and social method for ordering song |
CN103970972B (en) * | 2013-01-31 | 2018-08-17 | 中国移动通信集团公司 | Movable information treating method and apparatus |
CN104144196A (en) * | 2013-07-05 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Webpage information sharing method, device and server |
CN103577537B (en) * | 2013-09-24 | 2016-08-17 | 上海交通大学 | Multiplex paring similarity towards images share website picture determines method |
US9940664B2 (en) * | 2013-12-30 | 2018-04-10 | 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 |
CN104317932B (en) * | 2014-10-31 | 2018-04-27 | 小米科技有限责任公司 | Method for picture sharing and device |
CN110266506A (en) * | 2014-11-18 | 2019-09-20 | 华为终端有限公司 | A kind of method and terminal for distributing photo |
WO2017011549A1 (en) * | 2015-07-15 | 2017-01-19 | Becton, Dickinson And Company | System and method for label selection |
CN105721283B (en) * | 2016-01-26 | 2020-03-17 | 北京小米移动软件有限公司 | Method, device and equipment for sending screenshot message |
CN106055538B (en) * | 2016-05-26 | 2019-03-08 | 达而观信息科技(上海)有限公司 | The automatic abstracting method of the text label that topic model and semantic analysis combine |
CN106446191B (en) * | 2016-09-30 | 2019-11-05 | 浙江工业大学 | A kind of multiple features network flow row label prediction technique returned based on Logistic |
-
2017
- 2017-04-12 CN CN201910642581.1A patent/CN110380954B/en active Active
- 2017-04-12 CN CN201710238292.6A patent/CN107147560A/en active Pending
-
2018
- 2018-03-21 WO PCT/CN2018/079776 patent/WO2018188460A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012028926A1 (en) * | 2010-08-31 | 2012-03-08 | Nokia Corporation | Methods and apparatuses for determining shared friends in images or videos |
CN105282010A (en) * | 2015-09-14 | 2016-01-27 | 小米科技有限责任公司 | Information sharing processing method, device, and server |
CN105872593A (en) * | 2016-03-21 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Barrage pushing method and device |
CN107147560A (en) * | 2017-04-12 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Data sharing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143421A (en) * | 2019-12-26 | 2020-05-12 | 杭州数梦工场科技有限公司 | Data sharing method and device, electronic equipment and storage medium |
CN111429200A (en) * | 2020-02-24 | 2020-07-17 | 浙江口碑网络技术有限公司 | Content association method and device, storage medium and computer equipment |
CN111429200B (en) * | 2020-02-24 | 2023-04-28 | 浙江口碑网络技术有限公司 | Content association method and device, storage medium and computer equipment |
CN112399216A (en) * | 2020-10-27 | 2021-02-23 | 维沃移动通信(杭州)有限公司 | Resource sharing method and device and electronic equipment |
CN112399216B (en) * | 2020-10-27 | 2023-05-09 | 维沃移动通信(杭州)有限公司 | Resource sharing method and device and electronic equipment |
CN112994997A (en) * | 2021-05-21 | 2021-06-18 | 深圳传音控股股份有限公司 | Processing method, processing apparatus, and storage medium |
CN112994997B (en) * | 2021-05-21 | 2022-07-29 | 深圳传音控股股份有限公司 | Processing method, processing apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110380954B (en) | 2021-01-15 |
CN107147560A (en) | 2017-09-08 |
CN110380954A (en) | 2019-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018188460A1 (en) | Data sharing method and device | |
CN109819284B (en) | Short video recommendation method and device, computer equipment and storage medium | |
CN112930669B (en) | Content recommendation method, device, mobile terminal and server | |
US20170228428A1 (en) | Systems and Methods for Filtering Application Search Results | |
CN109104354B (en) | Grouping and establishing method and equipment thereof | |
US20140095308A1 (en) | Advertisement distribution apparatus and advertisement distribution method | |
CN108334632B (en) | Entity recommendation method and device, computer equipment and computer-readable storage medium | |
CN112818224B (en) | Information recommendation method and device, electronic equipment and readable storage medium | |
WO2017143930A1 (en) | Method of sorting search results, and device for same | |
US20160098416A1 (en) | Auto complete search box based on the user's context to reduce user's input | |
US20230281391A1 (en) | Systems and methods for biomedical information extraction, analytic generation and visual representation thereof | |
CN107562847B (en) | Information processing methods and related products | |
US20160012130A1 (en) | Aiding composition of themed articles about popular and novel topics and offering users a navigable experience of associated content | |
CN107562432B (en) | Information processing methods and related products | |
WO2023051440A1 (en) | Information display method and apparatus, and electronic device and readable storage medium | |
CN106899755B (en) | Information sharing method, information sharing device and terminal | |
US10318573B2 (en) | Generic card feature extraction based on card rendering as an image | |
CN105589873B (en) | Data searching method, terminal and server | |
CN110785752A (en) | Resource searching method and related product | |
US9824149B2 (en) | Opportunistically solving search use cases | |
CN112615958A (en) | Contact person display method and device and electronic equipment | |
US10459959B2 (en) | Top-k query processing with conditional skips | |
CN116016421A (en) | Method, computing device readable storage medium, and computing device for facilitating media-based content sharing performed in a computing device | |
CN113282209B (en) | Electronic book information display method, electronic device and computer storage medium | |
US20160210335A1 (en) | Server and service searching method of the server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18784454 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18784454 Country of ref document: EP Kind code of ref document: A1 |