Method and device for generating device identification, electronic device, and storage medium

By obtaining device attribute data and establishing association relationships, device identification is generated, which solves the problem of being unable to distinguish devices under device privacy protection and improves data management efficiency and uniqueness.

CN114339729BActive Publication Date: 2024-09-17ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011066133.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2024-09-17
Estimated Expiration
2040-09-30

AI Technical Summary

Technical Problem

With the consideration of device privacy protection, hardware information cannot be obtained, making it difficult to accurately distinguish different devices, which in turn affects the generation of device identifiers and the efficiency of data management.

Method used

By obtaining the attribute data of the device, establishing an association relationship, dividing the client identifiers into the same collection, generating device identifiers, and assigning them to the corresponding client programs, the unique identification between devices is achieved.

Benefits of technology

It improves the data management efficiency and data utilization between devices, ensures the uniqueness and accuracy of device identification, and solves the difficulty of device differentiation caused by the inability to obtain hardware information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114339729B
    Figure CN114339729B
Patent Text Reader

Abstract

One or more embodiments of the present specification provide a method and apparatus for generating a device identifier, an electronic device, and a storage medium; the method may include: obtaining attribute data pairs of multiple devices, each attribute data pair being related to a client program of at least one application on the corresponding device, the attribute data pair related to any client program including a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs; establishing an association relationship between attribute data pairs that meet the conditions for establishing an association relationship, so as to divide the client identifiers contained in the attribute data pairs with an association relationship into the same set; and generating corresponding device identifiers for each of the divided sets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of communication technology, and in particular, to a method and apparatus for generating a device identification, an electronic device, and a storage medium. Background Art

[0002] The device ID (identity document) is a unique identifier of a device, used to indicate the identity of the device, thereby distinguishing it from other devices. In related technologies, the hardware information of the device can usually be used as the device ID; for example, the MAC address, serial number, etc. of the device.

[0003] However, due to privacy protection considerations, there may be situations where hardware information cannot be obtained, making it difficult to accurately distinguish between different devices. Summary of the invention

[0004] In view of this, one or more embodiments of the present specification provide a method and apparatus for generating a device identifier, an electronic device, and a storage medium.

[0005] To achieve the above objectives, one or more embodiments of this specification provide the following technical solutions:

[0006] According to a first aspect of one or more embodiments of this specification, a method for generating a device identification is proposed, including:

[0007] Acquire attribute data pairs of multiple devices, each attribute data pair being related to a client program of at least one application on a corresponding device, and the attribute data pair related to any client program including a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs;

[0008] Establishing an association relationship between attribute data pairs that meet the association relationship establishment condition, so as to classify the client identifiers contained in the attribute data pairs that have an association relationship into the same set;

[0009] A corresponding device identification is generated for each of the divided sets.

[0010] According to a second aspect of one or more embodiments of this specification, a method for generating a device identification is proposed, including:

[0011] Acquire a pair of attribute data related to a client program of at least one application on a device, wherein the pair of attribute data related to any client program includes a client identifier corresponding to the any client program on the device and device status information of the device;

[0012] Sending the acquired attribute data pairs to the server, so that the server, after acquiring the attribute data pairs uploaded by the device and other devices respectively, establishes an association relationship between the attribute data pairs that meet the association relationship establishment condition, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set;

[0013] The device identification generated by the server for the set to which the client identification of the client program on the device belongs is received, and the received device identification is allocated to the client program on the device.

[0014] According to a third aspect of one or more embodiments of this specification, a data sharing method is proposed, which is applied to a first server corresponding to a first application; the method includes:

[0015] Receive target data uploaded by a first client program of a first application, the target data including a device identifier of a device to which the first client program belongs, the device identifier being obtained by the server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, the attribute data pairs being related to the device to which the first client program belongs and client programs of at least one application on other devices, the attribute data pairs related to any client program including a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, the client identifiers contained in the attribute data pairs having an association relationship being divided into the same set, and each of the divided sets having a corresponding device identifier;

[0016] The target data is shared with a second server corresponding to a second application so that the second server obtains associated data corresponding to the target data and sends the associated data to a second client program, which is a client program corresponding to a client identifier in a set to which a device identifier contained in the target data belongs.

[0017] According to a fourth aspect of one or more embodiments of this specification, a data sharing method is proposed, which is applied to a second server corresponding to a second application; the method includes:

[0018] Receive target data uploaded by a first client program of the first application and shared by a first server corresponding to the first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by the server by establishing an association relationship between attribute data pairs that meet an association relationship establishment condition, wherein the attribute data pair is related to the device to which the first client program belongs and the client program of at least one application on other devices, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier;

[0019] The associated data corresponding to the target data is obtained, and the associated data is sent to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs.

[0020] According to a fifth aspect of one or more embodiments of this specification, a device for generating a device identification is provided, including:

[0021] An attribute data acquisition unit is configured to acquire attribute data pairs uploaded by multiple devices, each attribute data pair being related to a client program of at least one application on a corresponding device, and an attribute data pair related to any client program including a client identifier corresponding to the client program on the device to which it belongs and device status information of the device to which it belongs;

[0022] A division unit, which establishes an association relationship between attribute data pairs that meet the association relationship establishment condition, so as to divide the client identifiers contained in the attribute data pairs that have the association relationship into the same set;

[0023] The identification generating unit generates corresponding device identifications for each set obtained by the division.

[0024] According to a sixth aspect of one or more embodiments of this specification, a device for generating a device identification is provided, including:

[0025] An attribute data acquisition unit is configured to acquire an attribute data pair related to a client program of at least one application on a device, wherein the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device and device status information of the device;

[0026] The attribute data sending unit sends the acquired attribute data pairs to the server, so that the server can establish an association relationship between the attribute data pairs that meet the association relationship establishment conditions after acquiring the attribute data pairs uploaded by the device and other devices respectively, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set;

[0027] The receiving unit receives a device identifier generated by the server for the set to which the client identifier of the client program on the device belongs, and allocates the received device identifier to the client program on the device.

[0028] According to a seventh aspect of one or more embodiments of this specification, a data sharing device is provided, which is applied to a first server corresponding to a first application; the device includes:

[0029] A receiving unit receives target data uploaded by a first client program of a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, the device identifier is obtained by a server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, the attribute data pairs are related to the device to which the first client program belongs and the client programs of at least one application on other devices, the attribute data pairs related to any client program include a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier;

[0030] A sharing unit shares the target data with a second server corresponding to a second application, so that the second server obtains associated data corresponding to the target data, and sends the associated data to a second client program, which is a client program corresponding to a client identifier in a set to which a device identifier contained in the target data belongs.

[0031] According to an eighth aspect of one or more embodiments of this specification, a data sharing device is provided, which is applied to a second server corresponding to a second application; the device includes:

[0032] A receiving unit receives target data uploaded by a first client program of a first application and shared by a first server corresponding to a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by the server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, wherein the attribute data pair is related to the device to which the first client program belongs and the client program of at least one application on other devices, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier;

[0033] The acquiring unit acquires the associated data corresponding to the target data, and sends the associated data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs.

[0034] According to a ninth aspect of one or more embodiments of this specification, an electronic device is provided, including:

[0035] processor;

[0036] a memory for storing processor-executable instructions;

[0037] The processor implements any of the methods described in the above embodiments by running the executable instructions.

[0038] According to a tenth aspect of one or more embodiments of the present specification, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the architecture of a system for generating a device identification provided by an exemplary embodiment.

[0040] Figure 2 The present invention is a flowchart of a method for generating a device identification provided by an exemplary embodiment.

[0041] Figure 3 It is a flowchart of a set partitioning method provided by an exemplary embodiment.

[0042] Figure 4 It is a flowchart of another set partitioning method provided by an exemplary embodiment.

[0043] Figure 5A-5B It is a schematic diagram of a partition set provided by an exemplary embodiment.

[0044] Figure 6 It is a flowchart of another method for generating a device identification provided by an exemplary embodiment.

[0045] Figure 7 It is a schematic diagram of the architecture of a data sharing system provided by an exemplary embodiment.

[0046] Figure 8 It is a flowchart of a data sharing method provided by an exemplary embodiment.

[0047] Fig. 9 It is an interaction diagram of a data sharing method provided by an exemplary embodiment.

[0048] Fig.10 is a flowchart of another data sharing method provided by an exemplary embodiment.

[0049] Fig.11 It is a structural schematic diagram of a device provided by an exemplary embodiment.

[0050] Fig.12 It is a block diagram of a device for generating a device identification provided by an exemplary embodiment.

[0051] Fig.13 It is a block diagram of another device identification generating apparatus provided by an exemplary embodiment.

[0052] Fig.14 It is a schematic structural diagram of another device provided by an exemplary embodiment.

[0053] Fig.15 It is a block diagram of a data sharing device provided by an exemplary embodiment.

[0054] Fig.16 It is a block diagram of another data sharing device provided by an exemplary embodiment. DETAILED DESCRIPTION

[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.

[0056] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0057] Figure 1 FIG. 1 is a schematic diagram of the architecture of a system for generating a device identification provided by an exemplary embodiment. Figure 1 As shown, the system may include a server 11 , several electronic devices such as mobile phones 12 - 14 , and a network 15 .

[0058] The server 11 may be a physical server including an independent host, or the server 11 may be a virtual server hosted by a host cluster. In the technical solutions of one or more embodiments of the present specification, the server 11 may cooperate with the client program running on the mobile phones 12-14 to generate corresponding device identifiers for the mobile phones 12-14.

[0059] Mobile phones 12-14 are just one type of electronic device that users can use. In fact, users can obviously also use electronic devices such as tablet devices, laptops, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, smart watches, etc.), etc., and one or more embodiments of this specification do not limit this. During operation, the electronic device can run one or more client programs of applications to implement the relevant business functions of the application; that is, at least one client program is installed on the electronic device such as mobile phones 12-14.

[0060] The network 15 for interaction between the mobile phones 12-14 and the server 11 may include various types of wired or wireless networks. In one embodiment, the network 15 may include a public switched telephone network (PSTN) and the Internet. A long connection may be established between the server 11 and the mobile phones 12-14 via the network 15, so that data may be transmitted between the server 11 and the mobile phones 12-14 via the long connection.

[0061] The service provider of the application develops a corresponding client program for its own application, and the device can use the corresponding function by installing and running the client program. Among them, the client program of at least one application can be installed on the device.

[0062] The device ID is a unique identifier of the device, used to indicate the identity of the device and distinguish it from other devices. Taking smartphones as an example, for Android phones, the MAC address, IMEI (International Mobile Equipment Identity, i.e. the phone serial number) and other unique hardware addresses can be used as the device ID; for iOS phones, IDFA (Identifier For Advertising) can be used as the device ID.

[0063] However, due to the operating system's permission control over device privacy, the client program on the device may not have permission to read the device hardware address, or may require operating system authorization, resulting in the client program being unable to add the device ID to the generated data, and the data recipient cannot confirm the device source of the data. In addition, multiple client programs of different applications can be installed on the device, and the data generated by these client programs are actually associated with the device. Since the device ID cannot be obtained, the data generated by each client program on the device cannot be associated, resulting in inefficient data management and low data utilization.

[0064] Accordingly, this specification provides a device identification generation scheme, whereby a corresponding device identification is generated for each device when at least one client program of an application is installed on each device, so that the device identification can be assigned to the client program on the corresponding device.

[0065] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a method for generating a device identification provided by an exemplary embodiment. Figure 2 As shown, the method is applied to the server and may include the following steps:

[0066] Step 202, obtaining attribute data pairs of multiple devices, each attribute data pair is related to a client program of at least one application on the corresponding device, and the attribute data pair related to any client program includes the client identifier corresponding to the client program on the device to which it belongs and the device status information of the device to which it belongs.

[0067] In this embodiment, the client program on each device can generate an attribute data pair and send it to the server through the device to which it belongs, so that the server can group the client programs based on the attribute data pair to obtain various sets. The set and the device have a "one-to-one correspondence" relationship, so that a device ID can be generated for each set, and then the client programs in each set (installed on the same device) can share the device ID.

[0068] For any client program, the attribute data pair generated by the client program includes the client identifier corresponding to the client program on the device to which it belongs and the device status information of the device to which it belongs. In other words, there is an association between the client identifier and the device status information in the same attribute data pair. Among them, based on the uniqueness of the identifier, the client identifiers of the client programs of the same application on different devices are different, and the client identifiers of the client programs of different applications on the same device are also different.

[0069] For example, the client identifiers of the client programs of various applications on device 00-03 are shown in Table 1:

[0070] equipment Client Identification Device 00 Application a: APP1; Application b: APP2 Equipment 01 Application a: APP3; Application b: APP4; Application c: APP5 Equipment 02 Application a: APP6; Application b: APP7 Equipment 03 Application a: APP8 …… ……

[0071] Table 1

[0072] It should be noted that when actually selecting parameters as the client identifier, they can be flexibly selected based on the operating system installed on the device. As long as the above requirements for the client identifier are met, this manual does not impose any restrictions on this.

[0073] As for the device status information, it indicates the device status of the device, so all client programs on each device share the same device status information, while the device status information of different devices at the same time is different from each other.

[0074] For example, the device status information may include the network address of the device and / or the location information of the device. For example, the network address may be the logical address of the device, i.e., the IP address. In one case, the IPv6 (Internet Protocol Version 6) address of the device may be used as the device status information. The number of IPv6 network address resources is huge. In a network environment using IPv6, each device may be assigned a distinct IPv6 address, and the client program on each device may communicate using the IPv6 address of the device to which it belongs. In another case, the location information of the device may be used as the device status information. For example, the GPS (Global Positioning System) data of the device, the data of the Beidou satellite navigation system, the data of the Galileo positioning system, etc. may be used. Since different devices are usually in different spatial positions, the location information of each device at the same time is distinct from each other, and all client programs on each device share the location information of the device to which it belongs. In another case, the device status information may also be generated based on the network address and location information of the device at the same time. For example, the network address and location information are first concatenated, and then the concatenated data is hashed, so that the calculated hash value is used as the device status information. Of course, any other device parameters that meet the above requirements for device status information may also be used, and this specification does not limit this.

[0075] Step 204: Establish an association relationship between the attribute data pairs that meet the association relationship establishment condition, so as to classify the client identifiers contained in the attribute data pairs that have an association relationship into the same set.

[0076] In this embodiment, based on the above-mentioned characteristics of the device status information, the client programs can be grouped according to whether the attribute data pairs have the same device status information, that is, the conditions for establishing an association relationship can include having the same device status information. Specifically, an association relationship can be established for the attribute data pairs that meet the above-mentioned conditions for establishing an association relationship, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set. By the above-mentioned method of dividing sets based on device status information, client programs with the same device status can be divided into the same set, and client programs with the same device status are all installed on the same device, so a "one-to-one correspondence" relationship between the set and the device can be achieved. Then, a corresponding device identifier can be generated for each set, and the generated device identifier can be configured to the client program in the corresponding set.

[0077] Step 206: Generate corresponding device identifications for each of the divided sets.

[0078] In one case, all attribute data pairs uploaded by each device contain the same device status information of the corresponding device. In other words, the client program only generates a pair of attribute data pairs, which contain a client identifier and unique device status information. In this case, the conditions for establishing an association relationship may include having the same device status information. In another case, based on the "transient" characteristics of device status information, the attribute data pairs uploaded by some devices may involve multiple device status information of the device. The understanding of "transient" is, for example, all client programs on the device share the same network address, but the network address is exclusively occupied by the device in a certain period of time, and is switched to other devices in other time periods; for another example, the device is at position a in a certain period of time, and when the device is carried to other areas by the user, position a may be exclusively occupied by other devices. In other words, "transient" can be understood as the state being shared by all client programs on the device, and only one device is exclusive to the state in a certain period of time.

[0079] Furthermore, in the case where the attribute data uploaded by at least one device involves multiple device status information of the at least one device, in order to further improve the accuracy of the division set, the above-mentioned association relationship establishment condition may further include having the same client identifier, that is, the client identifier is also used as the basis for dividing the client program; in other words, the association relationship establishment condition includes having the same device status information or having the same client identifier.

[0080] Based on the original association between the client identification and the device status information contained in the attribute data pair, the attribute data pair is further associated according to the relationship establishment condition (having the same device status information or having the same client identification). Figure 3-4 The process of partitioning a set is described in detail.

[0081] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of a set partitioning method provided by an exemplary embodiment. Figure 3 As shown, the method is applied to the server and may include the following steps:

[0082] Step 302, read each attribute data pair in sequence.

[0083] In this embodiment, after acquiring the attribute data pairs uploaded by multiple devices, the server may read each attribute data pair in sequence to group the client identifiers included in all the attribute data pairs.

[0084] Step 304 , if there is an association relationship between the currently read attribute data pair and any attribute data pair previously read, proceed to step 306 ; otherwise, proceed to step 308 .

[0085] Step 306: classify the client identifier in the current attribute data pair into the set to which the client identifier in any attribute data pair belongs.

[0086] Step 308: Divide into a newly created set.

[0087] Step 310: If the division is completed, proceed to step 312; otherwise, return to step 302.

[0088] Step 312, end the division.

[0089] For example, a1...an represents the client identifier, and t1...tn represents the device status information. Assume that the attribute data pairs received by the server are as shown in Table 2:

[0090] Client Program Attribute data pair Client program 1 <a1,t1> Client program 2 <a2,t1、t2> Client program 3 <a3,t2> Client program 4 <a4,t3> Client program 5 <a5,t3>

[0091] Table 2

[0092] The server first reads the attribute data pair generated by client program 1<a1,t1> , a1 can be divided into set x. Then, continue to read the attribute data pairs generated by client program 2<a1,t1、t2> , it can be seen that the attribute data is<a1,t1、t2> It involves device state t1 and device state t2 (i.e., device states at different times).<a1,t1> If the device status information t1 in is the same, then it can be determined that the attribute data is<a1,t1、t2> With attribute data<a1,t1> There is an association relationship, that is, the two are associated. At this time, there is an association relationship between a1, a2, t1 and t2, and a2 can be divided into the set x.

[0093] Further, continue to read the attribute data generated by client program 3<a3,t2> , since t2 in the attribute data pair is<a2,t1、t2> If the device status information t2 in is the same, then it can be determined that the attribute data is<a3,t2> With attribute data<a2,t1、t2> There is an association relationship. At this time, there is an association relationship between a1, a2, a3, t1 and t2, and a3 can be divided into the set x.

[0094] Similarly, we can determine the attribute data pair<a4,t3> With attribute data<a5,t3> There is an association relationship. At this time, there is an association relationship between a4, a5 and t3, and a new set y can be created to classify a4 and a5 into set y.

[0095] In summary, a1-a3 are divided into set x, and a4-a5 are divided into set y. Then, a device id d1 can be generated for set x, and a device id d2 can be generated for set y. When generating device ids, the uniqueness of the device ids must be guaranteed. The algorithm for generating device ids can refer to the records in the relevant technology, which will not be repeated here.

[0096] See also Figure 4 , Figure 4 FIG. 1 is a flowchart of another set partitioning method provided by an exemplary embodiment. Figure 4 As shown, the method is applied to the server and may include the following steps:

[0097] Step 402: Aggregate each attribute data pair to obtain an undirected graph.

[0098] In this embodiment, the specific process of aggregation may be: taking the client identifier and the device status information as vertices of an undirected graph, and taking the association between the client identifier and the device status information as an edge of the undirected graph. That is, the association between the client identifier and the device status information is represented by the edge of the undirected graph (representing the connectivity between the vertices).

[0099] Step 404, determine the maximal connected subgraph of the undirected graph.

[0100] Step 406: assign a device ID to each maximal connected subgraph.

[0101] In this embodiment, the client identifiers belonging to the same maximal connected subgraph are divided into the same set.

[0102] Based on the example in Table 2 above, Figure 5A-5B The process of allocating device IDs based on an undirected graph is described.

[0103] like Figure 5A As shown in , based on the acquired attribute data pairs, the following relationship pairs can be obtained: a1-t1, a2-t1, a2-t2, a3-t2, a4-t3, a5-t3. Further, according to the above aggregation method, the following relationship pairs can be obtained: Figure 5B The undirected graph shown. In this undirected graph, a maximal connected subgraph 51 and a maximal connected subgraph 52 are included. Therefore, a1-a3 included in the maximal connected subgraph 51 can be divided into set x, and a4-a5 included in the maximal connected subgraph 52 can be divided into set y. Similarly, a device id - d1 can be generated for set x, and a device id - d2 can be generated for set y. It should be noted that the algorithm for solving the maximal connected subgraph of an undirected graph can be flexibly selected according to actual needs, and this specification does not limit this. For example, algorithms such as depth-first traversal, breadth-first traversal, and union-find can be used.

[0104] In the device identification generation scheme of this specification, in addition to using the above-mentioned attribute data pair method to generate the device ID, it is also compatible with the method of using the device's hardware identification information to generate the device ID. For example, some client programs on the device have the authority to obtain the hardware identification information of the device to which they belong. Specifically, the server can obtain hardware data pairs uploaded by multiple devices. Similarly, each hardware data pair is generated by a client program of at least one application on the corresponding device. Any hardware data pair generated by a client program includes a corresponding client identifier and the hardware identification information of the device to which it belongs. Based on the hardware identification information of the device collected by the client program, the server can divide the client identifiers with the same corresponding hardware identification information into the same set.

[0105] For example, the server obtains hardware data for<a6,h1> ,<a7,h1> ,<a8,h2> ; where h1...hn represents the hardware identification information of the device. Then, the server can classify a6 into the same set and a8 into another set.

[0106] The server can send the generated device identification to the client program corresponding to the client identification in the corresponding set, so that the target data sent by the client program to the recipient contains its own device identification. Since the target data contains the device identification, the receiver can determine which device the target data comes from based on the device identification contained in the target data. It can be seen that when there are multiple client programs of different applications installed on the device, the client program can associate the data generated by all client programs on the same device with the device by adding the device identification to the generated data, thereby improving the management efficiency and data utilization of the data.

[0107] Corresponding to the above-mentioned server-side embodiments, this specification also proposes device-side embodiments. The description involved in the server-side embodiments can also be applied to the device-side embodiments, which will not be repeated below.

[0108] For details, see Figure 6 , Figure 6 FIG. 1 is a flow chart of another method for generating a device identification provided by an exemplary embodiment. Figure 6 As shown, the method is applied to the device and may include the following steps:

[0109] Step 602: Acquire a pair of attribute data related to a client program of at least one application on a device. The pair of attribute data related to any client program includes a client identifier corresponding to the any client program on the device and device status information of the device.

[0110] Step 604, sending the acquired attribute data pairs to the server, so that the server can establish an association relationship between the attribute data pairs that meet the association relationship establishment conditions after acquiring the attribute data pairs uploaded by the device and other devices respectively, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set.

[0111] Step 606: Receive the device identification generated by the server for the set to which the client identification of the client program on the device belongs, and assign the received device identification to the client program on the device.

[0112] As mentioned above, the target data generated by the client program on the device can be obtained, and the target data includes a device identifier assigned to the client program on the device; then, the target data is sent to the recipient so that the recipient determines that the target data comes from the device based on the device identifier included in the target data.

[0113] In the technical solution of this specification, based on the server assigning the device identifier of the device to the client program, when the client program sends the target data to the data recipient, the device identifier can be added to the target data. Then the recipient can determine which device the target data comes from based on the device identifier contained in the target data, and then the data generated by all client programs on the same device can be associated with and shared with the device. Figure 7-10 Provide explanation.

[0114] Figure 7 FIG. 1 is a schematic diagram of the architecture of a data sharing system provided by an exemplary embodiment. Figure 7 As shown, the system may include several servers (such as server 71, server 72, etc.), device 73 and network 74. The client programs of the first application and the second application are respectively installed on the device 73, the server 71 serves as the first server of the first application, and the server 72 serves as the second server of the second application.

[0115] Based on the above system architecture, please refer to Figure 8 , Figure 8 FIG. 1 is a flow chart of a data sharing method provided by an exemplary embodiment. Figure 8 As shown, the method is applied to the first server corresponding to the first application, and may include the following steps:

[0116] Step 802, receiving target data uploaded by a first client program of a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by the server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, and the attribute data pair is related to the device to which the first client program belongs and the client program of at least one application on other devices, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each set obtained by the division has a corresponding device identifier.

[0117] In this embodiment, the process of generating the device identification can refer to the above Figure 1-6 The corresponding embodiments will not be described in detail here.

[0118] Step 804, sharing the target data with a second server corresponding to a second application, so that the second server obtains associated data corresponding to the target data, and sends the associated data to a second client program, which is a client program corresponding to a client identifier in a set to which a device identifier contained in the target data belongs.

[0119] In this embodiment, when the first client program corresponding to the first application and the second client program corresponding to the second application are installed on the device at the same time, the user of the device will generate data when using the first client program and the second client program. Since the user is associated with the device, the data generated by the first client program and the second client program are associated with the user. Therefore, the data generated by the first client program and the second client program can be associated through the device identification. For example, after the user generates the target data using the first client program, the target data is shared with the second server. Then, when the user uses the second client program, the second server can return data to the second client program in combination with the target data, that is, obtain the associated data corresponding to the target data, and then send the associated data to the second client program to provide users with better services.

[0120] For example, the target data is the search record when the user uses the first client program. Through the above-mentioned data sharing process, the first server shares the search record to the second server. The second server can obtain the corresponding search results based on the search record, and then send the search results to the second client program for the same user to view. For another example, the target data is the user's purchase record, and the associated data is the product that the user is interested in; the target data is the conversation record between the user and the customer service, and the associated data is the user's potential business handling needs. For another example, the associated data can also be the target data itself, so as to achieve synchronization of data between different client programs on the same device. It should be noted that when the second server determines the associated data corresponding to the target data, in addition to the target data itself, it can also determine the associated data based on the data generated by the second client program. In other words, the specific implementation process of determining the associated data can be flexibly changed according to the application scenario, and this specification does not limit this.

[0121] For ease of understanding, the following is a detailed explanation combined with application scenarios and interaction diagrams.

[0122] See also Fig. 9 , Fig. 9 FIG. 1 is an interactive diagram of a data sharing method provided by an exemplary embodiment. Fig. 9 As shown, the interaction process may include the following steps:

[0123] Step 902: APP1 generates user data.

[0124] In this embodiment, the device 73 is installed with APP1 of application a and APP2 of application b as an example for explanation. The server of application a is server 1, and the server of application b is server 2. APP1 of application a provides search services to users, and APP2 of application b provides shopping services to users. Then, when the user uses APP1 on the device 73 to search, APP1 can generate user data, which can be the user's search records, browsing records, etc. At the same time, APP1 adds the device id of device 73 to the user data.

[0125] Step 904, APP1 uploads user data to the corresponding server 1.

[0126] Step 906: Server 1 shares user data with server 2 that has been connected in advance.

[0127] In this embodiment, the server 1 and the server 2 complete access in advance, so that data can be shared between the server 1 and the server 2.

[0128] Step 908, server 2 reads the device ID.

[0129] Step 910, the server 2 determines the corresponding APP in the set.

[0130] From the above process of generating device ID, it can be seen that since APP1 and APP2 are both installed on device 73, the client program identifiers of APP1 and APP2 must be divided into the same set. Then, the server can determine the set corresponding to the device ID contained in the user data (the server generating the device ID can synchronize the divided set and the corresponding device ID to each server), thereby determining other client programs installed on device 73. In this embodiment, taking APP2 as an example, the server 2 can determine the client identifier of the client program corresponding to application b installed on device 73, that is, the client identifier of APP2.

[0131] Step 912: Server 2 generates user recommendation information.

[0132] Server 2 can generate user recommendation information based on the search records, browsing records and other data in the user data. For example, if application b is used to provide shopping services to users, then a corresponding purchase recommendation list can be generated based on the user's search records and browsing records on APP1, and sent to APP2 for display to the user, thereby simplifying the user's operation of purchasing items on APP2.

[0133] Step 914: Server 2 sends user recommendation information to APP2.

[0134] Step 916, APP2 displays user recommendation information.

[0135] Corresponding to the above-mentioned embodiment of the first server side, this specification also proposes an embodiment of the second server side. The description involved in the embodiment of the first server side is also applicable to the embodiment of the second server side, and will not be repeated below.

[0136] For details, see Fig.10 , Fig.10 FIG. 1 is a flow chart of another data sharing method provided by an exemplary embodiment. Fig.10 As shown, the method is applied to the second server corresponding to the second application, and may include the following steps:

[0137] Step 1002, receiving target data uploaded by the first client program of the first application and shared by the first server corresponding to the first application, the target data including the device identification of the device to which the first client program belongs, the device identification being obtained by the server by establishing an association relationship between attribute data pairs that satisfy the conditions for establishing an association relationship, the attribute data pairs being related to the device to which the first client program belongs and the client programs of at least one application on other devices, the attribute data pairs related to any client program including the client identification corresponding to any client program on the device to which it belongs and the device status information of the device to which it belongs, the client identification contained in the attribute data pairs with an association relationship being divided into the same set, and each of the divided sets has a corresponding device identification.

[0138] Step 1004: Acquire associated data corresponding to the target data, and send the associated data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs.

[0139] Corresponding to the above method embodiment, this specification also provides an embodiment of a device for generating a device identification.

[0140] Fig.11 is a schematic structural diagram of a device provided by an exemplary embodiment. Fig.11 At the hardware level, the device includes a processor 1102, an internal bus 1104, a network interface 1106, a memory 1108, and a non-volatile memory 1110, and may also include hardware required for other services. The processor 1102 reads the corresponding computer program from the non-volatile memory 1110 into the memory 1108 and then runs it, forming a device for generating a device identifier at the logical level. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0141] Please refer to Fig.12 In a software implementation, the device identification generating means may include:

[0142] The attribute data acquisition unit 1201 acquires attribute data pairs uploaded by multiple devices, each attribute data pair being related to a client program of at least one application on a corresponding device, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs;

[0143] A division unit 1202 establishes associations between attribute data pairs that meet the association establishment condition, so as to divide the client identifiers contained in the attribute data pairs that have the association into the same set;

[0144] The identification generating unit 1203 generates corresponding device identifications for each set obtained by the division.

[0145] Optional,

[0146] In the case where all attribute data pairs of each device contain the same device status information of the corresponding device, the association relationship establishment condition includes having the same device status information; or,

[0147] In the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

[0148] Optionally, the dividing unit 1202 is specifically configured to:

[0149] Read each attribute data pair in sequence;

[0150] If there is an association relationship between the currently read attribute data pair and any previously read attribute data pair, the client identifier in the current attribute data pair is divided into the set to which the client identifier in any attribute data pair belongs.

[0151] Optionally, the dividing unit 1202 is specifically configured to:

[0152] Aggregating each attribute data pair to obtain an undirected graph; wherein the client identifier and the device status information are vertices of the undirected graph, and the association relationship between the client identifier and the device status information is an edge of the undirected graph;

[0153] A maximal connected subgraph of the undirected graph is determined, and client identifiers belonging to the same maximal connected subgraph are divided into the same set.

[0154] Optionally, all client programs on each device share the same device status information, and the device status information of different devices at the same time is distinguishable from each other.

[0155] Optionally, the device status information includes:

[0156] The network address of the device and / or the location information of the device.

[0157] Optionally, also include:

[0158] The hardware data acquisition unit 1204 acquires hardware data pairs uploaded by multiple devices, each of which is generated by a client program of at least one application on a corresponding device, and any hardware data pair generated by a client program includes a corresponding client identifier and hardware identifier information of the device to which it belongs;

[0159] The division unit 1202 is further configured to divide the client identifiers having the same corresponding hardware identification information into the same set.

[0160] Optionally, also include:

[0161] The sending unit 1205 sends the generated device identification to the client program corresponding to the client identification in the corresponding set, so that the target data sent by the client program to the receiver includes its own device identification.

[0162] Please refer to Fig.13 In another software implementation, the device identification generating means may include:

[0163] The attribute data acquisition unit 1301 acquires an attribute data pair related to a client program of at least one application on a device, wherein the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device and device status information of the device;

[0164] The attribute data sending unit 1302 sends the acquired attribute data pairs to the server, so that the server can establish an association relationship between the attribute data pairs that meet the association relationship establishment conditions after acquiring the attribute data pairs uploaded by the device and other devices, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set;

[0165] The receiving unit 1303 receives a device identifier generated by the server for the set to which the client identifier of the client program on the device belongs, and allocates the received device identifier to the client program on the device.

[0166] Optionally, also include:

[0167] A target data acquisition unit 1304 acquires target data generated by the client program on the device, wherein the target data includes a device identifier assigned to the client program on the device;

[0168] The target data sending unit 1305 sends the target data to a receiver, so that the receiver determines that the target data comes from the device according to the device identifier included in the target data.

[0169] Fig.14 is a schematic structural diagram of another device provided by an exemplary embodiment. Fig.14At the hardware level, the device includes a processor 1402, an internal bus 1404, a network interface 1406, a memory 1408, and a non-volatile memory 1410, and may also include hardware required for other services. The processor 1402 reads the corresponding computer program from the non-volatile memory 1410 into the memory 1408 and then runs it, forming a data sharing device at the logical level. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0170] Please refer to Fig.15 In a software implementation, the data sharing device is applied to the first server corresponding to the first application, and may include:

[0171] A receiving unit 1501 receives target data uploaded by a first client program of a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by a server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, wherein the attribute data pairs are related to the device to which the first client program belongs and the client programs of at least one application on other devices, and the attribute data pairs related to any client program include the client identifier corresponding to the any client program on the device to which it belongs and the device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier;

[0172] Sharing unit 1502 shares the target data with a second server corresponding to a second application, so that the second server obtains associated data corresponding to the target data, and sends the associated data to a second client program, which is a client program corresponding to a client identifier in a set to which a device identifier contained in the target data belongs.

[0173] Please refer to Fig.16 In another software implementation, the data sharing device is applied to the second server corresponding to the second application, and may include:

[0174] A receiving unit 1601 receives target data uploaded by a first client program of a first application and shared by a first server corresponding to a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by the server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, wherein the attribute data pair is related to the device to which the first client program belongs and the client program of at least one application on other devices, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier;

[0175] The acquiring unit 1602 acquires associated data corresponding to the target data, and sends the associated data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs.

[0176] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0177] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0178] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0179] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0180] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0181] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0182] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0183] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of this specification, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0184] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.

Claims

1. A method for generating a device identification, characterized in that: include: Acquire attribute data pairs of multiple devices, each attribute data pair being related to a client program of at least one application on a corresponding device, and the attribute data pair related to any client program including a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs; Establishing an association relationship between attribute data pairs that meet the association relationship establishment condition, so as to classify the client identifiers contained in the attribute data pairs that have an association relationship into the same set; Generate corresponding device identifications for each of the divided sets; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

2. The method according to claim 1, characterized in that In the case where all pairs of attribute data of each device contain the same device status information of the corresponding device, the association relationship establishment condition includes having the same device status information.

3. The method according to claim 1 or 2, characterized in that: The step of dividing the client identifiers contained in the attribute data pairs having an associated relationship into the same set includes: Read each attribute data pair in sequence; If there is an association relationship between the currently read attribute data pair and any previously read attribute data pair, the client identifier in the currently read attribute data pair is divided into the set to which the client identifier in any attribute data pair belongs.

4. The method according to claim 1 or 2, characterized in that: The step of dividing the client identifiers contained in the attribute data pairs having an associated relationship into the same set includes: Aggregating each attribute data pair to obtain an undirected graph; wherein the client identifier and the device status information are vertices of the undirected graph, and the association relationship between the client identifier and the device status information is an edge of the undirected graph; A maximal connected subgraph of the undirected graph is determined, and client identifiers belonging to the same maximal connected subgraph are divided into the same set.

5. The method according to claim 1, characterized in that All client programs on each device share the same device status information, and the device status information of different devices at the same time is different from each other.

6. The method according to claim 1, characterized in that Device status information includes: The network address of the device and / or the location information of the device.

7. The method according to claim 1, characterized in that Also includes: Acquire hardware data pairs uploaded by multiple devices, each hardware data pair is generated by a client program of at least one application on a corresponding device, and the hardware data pair generated by any client program includes a corresponding client identifier and hardware identifier information of the corresponding device; Client IDs with the same corresponding hardware identification information are grouped into the same set.

8. The method according to claim 1, characterized in that: Also includes: The generated device identification is sent to the client program corresponding to the client identification in the corresponding set, so that the target data sent by the client program to the recipient includes its own device identification.

9. A method for generating a device identification, characterized in that: include: Acquire a pair of attribute data related to a client program of at least one application on a device, wherein the pair of attribute data related to any client program includes a client identifier corresponding to the any client program on the device and device status information of the device; Sending the acquired attribute data pairs to the server, so that the server, after acquiring the attribute data pairs uploaded by the device and other devices respectively, establishes an association relationship between the attribute data pairs that meet the association relationship establishment condition, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set; Receiving a device identifier generated by the server for the set to which the client identifier of the client program on the device belongs, and assigning the received device identifier to the client program on the device; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

10. The method according to claim 9, characterized in that Also includes: Acquire target data generated by the client program on the device, wherein the target data includes a device identifier assigned to the client program on the device; The target data is sent to a receiver, so that the receiver determines that the target data comes from the device according to the device identifier included in the target data.

11. A data sharing method, characterized in that: Applied to a first server corresponding to a first application; the method comprises: Receive target data uploaded by a first client program of a first application, the target data including a device identifier of a device to which the first client program belongs, the device identifier being obtained by the server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, the attribute data pairs being related to the device to which the first client program belongs and client programs of at least one application on other devices, the attribute data pairs related to any client program including a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, the client identifiers contained in the attribute data pairs having an association relationship being divided into the same set, and each of the divided sets having a corresponding device identifier; Sharing the target data with a second server corresponding to a second application, so that the second server obtains associated data corresponding to the target data, and sends the associated data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

12. A data sharing method, characterized in that: Applied to a second server corresponding to a second application; the method comprises: Receive target data uploaded by a first client program of the first application and shared by a first server corresponding to the first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by the server by establishing an association relationship between attribute data pairs that meet an association relationship establishment condition, wherein the attribute data pair is related to the device to which the first client program belongs and the client program of at least one application on other devices, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier; Acquire association data corresponding to the target data, and send the association data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

13. A device for generating a device identification, characterized in that: include: An attribute data acquisition unit is configured to acquire attribute data pairs uploaded by multiple devices, each attribute data pair being related to a client program of at least one application on a corresponding device, and an attribute data pair related to any client program including a client identifier corresponding to the client program on the device to which it belongs and device status information of the device to which it belongs; A division unit, which establishes an association relationship between attribute data pairs that meet the association relationship establishment condition, so as to divide the client identifiers contained in the attribute data pairs that have the association relationship into the same set; An identification generating unit generates corresponding device identifications for each of the divided sets; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

14. A device for generating a device identification, characterized in that: include: An attribute data acquisition unit is configured to acquire an attribute data pair related to a client program of at least one application on a device, wherein the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device and device status information of the device; The attribute data sending unit sends the acquired attribute data pairs to the server, so that the server can establish an association relationship between the attribute data pairs that meet the association relationship establishment conditions after acquiring the attribute data pairs uploaded by the device and other devices respectively, so that the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set; A receiving unit, receiving a device identifier generated by the server for the set to which the client identifier of the client program on the device belongs, and assigning the received device identifier to the client program on the device; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

15. A data sharing device, characterized in that: Applied to a first server corresponding to a first application; the device comprises: A receiving unit receives target data uploaded by a first client program of a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, the device identifier is obtained by a server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, the attribute data pairs are related to the device to which the first client program belongs and the client programs of at least one application on other devices, the attribute data pairs related to any client program include a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier; A sharing unit, sharing the target data with a second server corresponding to a second application, so that the second server obtains associated data corresponding to the target data, and sends the associated data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

16. A data sharing device, characterized in that: Applied to a second server corresponding to a second application; the device comprises: A receiving unit receives target data uploaded by a first client program of a first application and shared by a first server corresponding to a first application, wherein the target data includes a device identifier of a device to which the first client program belongs, and the device identifier is obtained by the server by establishing an association relationship between attribute data pairs that satisfy an association relationship establishment condition, wherein the attribute data pair is related to the device to which the first client program belongs and the client program of at least one application on other devices, and the attribute data pair related to any client program includes a client identifier corresponding to the any client program on the device to which it belongs and device status information of the device to which it belongs, and the client identifiers contained in the attribute data pairs with an association relationship are divided into the same set, and each of the divided sets has a corresponding device identifier; an acquiring unit, which acquires associated data corresponding to the target data, and sends the associated data to a second client program, where the second client program is a client program corresponding to a client identifier in a set to which a device identifier included in the target data belongs; Wherein, in the case where the attribute data pair of at least one device involves multiple device status information of the at least one device, the association relationship establishment condition includes having the same device status information or having the same client identifier.

17. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 12 by running the executable instructions.

18. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.