WO2021129541A1 - Synchronization of identity data - Google Patents

Synchronization of identity data Download PDF

Info

Publication number
WO2021129541A1
WO2021129541A1 PCT/CN2020/137756 CN2020137756W WO2021129541A1 WO 2021129541 A1 WO2021129541 A1 WO 2021129541A1 CN 2020137756 W CN2020137756 W CN 2020137756W WO 2021129541 A1 WO2021129541 A1 WO 2021129541A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
identity data
user
channel user
user accounts
Prior art date
Application number
PCT/CN2020/137756
Other languages
French (fr)
Chinese (zh)
Inventor
方思维
Original Assignee
浙江口碑网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江口碑网络技术有限公司 filed Critical 浙江口碑网络技术有限公司
Publication of WO2021129541A1 publication Critical patent/WO2021129541A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Definitions

  • the present disclosure relates to the field of Internet technology, and in particular to a method and device for synchronizing identity data.
  • the user With the continuous development of Internet technology, it has become more and more common to meet daily needs through Internet platforms or clients.
  • an Internet platform or client especially an Internet platform or client that contains multiple brand objects
  • the user’s membership for a certain brand in the platform or client can be used as a way for the user to complete consumption activities. Records and vouchers, in turn, facilitate the user's consumption behavior.
  • the membership identities of users on different Internet platforms or clients are completely isolated and are not related to each other.
  • the membership identities on platform A and the membership identities on platform B are independent systems of their respective platforms.
  • the membership identities of the independent systems of the two platforms cannot be connected.
  • the member identity management method in the prior art has at least the following problem: the membership identities between the platforms are isolated from each other, so that the identity data between the platforms cannot be communicated. Facilitate the unified analysis and processing of identity data.
  • a method for synchronizing identity data including: acquiring historical identity data of at least one member user, and storing the historical identity data of the at least one member user in a shared storage system; member;
  • the user’s historical identity data includes: a member user account, a first channel user account bound to a member user account, and/or at least one second channel user account associated with the first channel user account; according to the shared storage system
  • the historical identity data of any one group of channel user accounts to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, multiple channel user accounts in a group of channel user accounts
  • an identity data synchronization device which includes a storage module, a detection module, and a historical member synchronization module.
  • the storage module is adapted to obtain the historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system;
  • the historical identity data of the member user includes: a member user account, which is tied to a member user account A predetermined first channel user account, and/or at least one second channel user account associated with the first channel user account.
  • the detection module is adapted to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts based on the historical identity data in the shared storage system; among them, one group
  • the multiple channel user accounts in the channel user accounts have a direct or indirect relationship between each other.
  • the historical member synchronization module is suitable for if there are one or more channel user accounts bound to any one or more member user accounts, according to the one or more channel user accounts bound to the one or more channel user accounts in the shared storage system.
  • the historical identity data of each member user is synchronized to update the historical identity data of the member user for the group of channel user accounts.
  • a computing device including: a processor, a memory, a communication interface, and a communication bus.
  • the processor, the memory, and the communication interface complete each other through the communication bus.
  • Inter-communication; the memory is used to store executable instructions, and the executable instructions cause the processor to perform operations corresponding to the aforementioned identity data synchronization method.
  • a computer storage medium is provided, and executable instructions are stored in the storage medium, and the executable instructions cause a processor to perform operations corresponding to the aforementioned identity data synchronization method.
  • Fig. 1 shows a flowchart of a method for synchronizing identity data provided by an embodiment of the present disclosure
  • Figure 2 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure
  • FIG. 3 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure
  • Fig. 4 shows a schematic structural diagram of a device for synchronizing identity data provided by an embodiment of the present disclosure.
  • Fig. 5 shows a schematic structural diagram of a computing device provided by an embodiment of the present disclosure.
  • Fig. 1 shows a flowchart of a method for synchronizing identity data provided by an embodiment of the present disclosure. As shown in Figure 1, the method includes the following steps.
  • Step S110 Obtain the historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: a member user account, and the first member user account bound to the member user account. A channel user account and/or at least one second channel user account associated with the first channel user account.
  • the historical identity data of at least one member user in the channel is obtained from each channel and stored in the shared storage system, so that the historical identity data of one or more channels can be aggregated.
  • the historical identity data obtained here is the identity data historically generated in each channel before synchronization.
  • the first channel user account is the channel account of the source channel to which the member user account belongs
  • the second channel user account is a channel account that is different from the source channel and is associated with the first channel user account.
  • the second channel user account may be directly associated with the first channel user account.
  • the second channel user account may be directly and indirectly associated with the first channel user account.
  • the channel user account of the user in channel 1 is channel user 11
  • the channel user account of channel 2 associated with the channel user 11 is channel user 22
  • the channel user 11 has registered a member of a certain brand on channel 1 and is a member If the user account is the member user 111, the first channel user account is the channel user 11, and the second channel user account is the channel user 22.
  • Step S120 According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts. Among them, there is a direct or indirect correlation between multiple channel user accounts in a group of channel user accounts; if so, step S130 is executed; if not, the method ends.
  • the direct association relationship refers to the direct association of channel user accounts established
  • the indirect association relationship refers to the association between at least two accounts that are not directly associated but can be connected through direct association.
  • channel 1 an association between channel user 11 of this channel 1 and channel user 22 of another channel 2 is established, and at the same time, the relationship between channel user 22 of this channel 2 and channel user 33 of another channel 3 is established in channel 2.
  • channel user 11 and channel user 22, and channel user 22 and channel user 33 respectively have a direct relationship
  • channel user 11 and channel user 33 have an indirect relationship
  • channel user 11, channel user 22, and channel user 33 constitutes a set of channel user accounts.
  • the shared storage system stores the historical identity data of each member user. Based on this, it detects whether there is a channel user account bound to a member user account in any group of channel user accounts. Because the historical identity data is maintained by each channel, and If it is not connected, if the detection result is existence, it indicates that there is a need for historical identity data synchronization in the group of channel user accounts. At this time, step S130 is performed to perform synchronization update processing; if the detection result is non-existence, it indicates that the group of channel user accounts There is no need for historical data synchronization, and this method ends.
  • Step S130 According to the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system, the group of channel user accounts are synchronized to update the historical identity data of the member users.
  • the historical identity data of the member users is synchronized and updated for the group of channel user accounts, so that the member users bound to each channel user account in the group of channel user accounts are kept in sync, and then can be used in each channel user account
  • the member user For example, channel user 11, channel user 22, and channel user 33 are a set of channel user accounts, where channel user 11 is bound to KFC member users, while channel user 22 and channel user 33 are not bound to KFC members
  • the user can synchronize the historical identity data of the KFC member user bound to the channel user 11 to the channel user 22 and the channel user 33, so that the channel user 22 and the channel user 33 can also use the member user.
  • synchronous update processing can be performed on the member object; or, if the member There are multiple users, and the multiple member users belong to at least two member objects.
  • the synchronization update process can be performed sequentially for each member object in the same manner as the same member object, or for each member object according to the same member object.
  • the way that the object undergoes synchronous update processing at the same time carries out synchronous update processing.
  • the member object refers to the entity to which the member user belongs, for example, the brand or shop to which the member user belongs.
  • This embodiment can be implemented by a synchronization system, which can communicate with various channel systems, obtain the identity data of each channel, and synchronize the identity data to the channel user accounts of each channel; and, the synchronization system can share storage Perform operations on the identity data stored in the system, for example, modify or delete identity data.
  • the historical identity data of at least one member user is obtained from various channels and stored in a shared storage system; and, for any group of channel user accounts, based on the shared storage system
  • the historical identity data in the group of channel user accounts detects whether there are one or more member users that need to be synchronized update processing, and accurately detects the synchronization update requirements of historical members; and, when a group of channel user accounts are detected with If one or more channel user accounts are bound to any one or more member user accounts, if it is determined that there is a synchronization update requirement, then based on the one or more member users bound to the one or more channel user accounts in the shared storage system
  • the historical identity data performs synchronous update processing of the historical identity data of the member users on the group of channel user accounts, so that the member users bound to each channel user account in the group of channel user accounts are kept synchronized.
  • this embodiment can complete the synchronization of the historical identity data of historical member users in any group of channel user accounts, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is conducive to more historical member data.
  • Channel integration analysis and processing can complete the synchronization of the historical identity data of historical member users in any group of channel user accounts, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is conducive to more historical member data.
  • Fig. 2 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure.
  • description is made for the case where there are multiple channel user accounts bound to any multiple member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object.
  • the method includes the following steps:
  • Step S210 Obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system.
  • the historical identity data of the member user includes: a member user account, a first channel user account bound to the member user account, and/or at least one second channel user account associated with the first channel user account.
  • the historical identity data of the member user also includes member resource information and/or object information of the member object.
  • the member resource information refers to the information reflecting the membership level, points and/or rights and interests
  • the member object is the entity to which the member user belongs.
  • the object information of the member object refers to the identification information of the entity, such as brand name, brand code, etc. Wait.
  • the above-defined data items in the historical identity data are just examples. During specific implementation, those skilled in the art can add other data items to the historical identity data according to actual needs, for example, adding the channel identifier of the source channel of the member user.
  • the identity data when it is synchronized, it is usually carried out between several target channels.
  • the historical identity data of at least one member user is obtained from the several target channels and stored in the shared storage system .
  • Step S220 According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, a group of channel users The multiple channel user accounts in the account have a direct or indirect association relationship; if so, step S230 is executed; if not, the method ends.
  • each group of channel user accounts is determined.
  • the first channel user account and at least one second channel user account in the historical identity data of the member user can be queried.
  • Channel user accounts are used to determine each group of channel user accounts; alternatively, each group of channel user accounts can be determined by querying the channel user account association table.
  • any group of channel user accounts detect from the historical identity data in the shared storage system whether the first channel user account is any channel in the group of channel user accounts If the historical identity data of the user account exists, then there are one or more channel user accounts bound to any one or more member user accounts in the group of channel user accounts.
  • the historical identity data in the shared storage system includes a piece of historical identity data of channel user 11 as the first channel user account a, and containing a piece of historical identity data b that the first channel user account is the channel user 22, then there are two channel user accounts bound to the two member user accounts in the group of channel user accounts.
  • step S230 needs to be performed to perform a synchronous update process, so that the historical identity data of the bound member user is bound to multiple channel user accounts in the group of channel user accounts.
  • the historical identity data of member users is kept in sync. On the contrary, there is no need to perform synchronization update processing.
  • Step S230 Send a member selection request to the client corresponding to at least one channel user account, and receive the member selection result fed back by the client; according to the member selection result, perform integration processing on the historical identity data of multiple member users;
  • the historical identity data of member users is synchronized to all channel user accounts in the group of channel user accounts.
  • This embodiment mainly takes a case where it is detected that there are multiple channel user accounts bound to multiple member user accounts in a group of channel user accounts, and the multiple member user accounts belong to the same member object.
  • This situation mainly refers to that at least two channel user accounts in the group of channel user accounts are respectively bound to different member user accounts of the same member object. Table 1 below shows a specific example of this situation.
  • the association between channel user 11 of this channel 1 and channel user 22 of another channel 2 is established in channel 1, and at the same time, channel user 22 of this channel 2 and channel 3 of another channel are established in channel 2.
  • Association of user 33; channel user 11 and channel user 22, and channel user 22 and channel user 33 respectively have a direct relationship, channel user 11 and channel user 33 have an indirect relationship, channel user 11, channel user 22 and channel user 33 It constitutes a set of channel user accounts.
  • the channel user 11 and the channel user 22 are respectively bound to the member user 111 and the member user 222, and the member user 111 and the member user 222 belong to the brand m, which conforms to the situation targeted by this embodiment.
  • a member selection request is sent to the client corresponding to at least one channel user account in the group of channel user accounts, where the at least one channel user account can be any one or more of the group of channel user accounts.
  • a channel user account optionally, in response to a member user viewing request initiated by a client corresponding to one or more channel user accounts in the group of channel users, sending a member selection request to the client that initiated the member user viewing request; or , Can send a member selection request to the client corresponding to each channel user account in the group of channel user accounts.
  • the member selection request carries one or more of the historical identity data of multiple member users, so that the client can display the information of multiple member users for selection on the client after receiving the member selection request.
  • Card information for example, display member user account, membership level, etc. information.
  • the client terminal receives the user's selection operation, and feeds back the result of the member selection to the execution system of the present disclosure; after receiving the result of the member selection, determines the selected target member user; and then performs the historical identity data of multiple member users Integrated processing, integrating the historical identity data of multiple member users into the historical identity data of the target user member, and specifically integrate the member resource information in the historical identity data of multiple member users as the historical identity data of the target member user Member resource information in, for example, accumulate member points to get updated member points.
  • the updated historical identity data of the target member user is synchronized to all channel user accounts in the group of channel user accounts.
  • Table 1 takes Table 1 as an example to specifically describe the above synchronization update process.
  • the channel user 33 returns the member selection result of the member user 111, that is, the target member user is the member user 111; the member user 111 and the member user
  • the member resource information of 222 is integrated. For example, if the resource s1 and the resource s2 are accumulated to obtain the updated member resource information of the member user 111, the integrated historical member data can be obtained as shown in Table 2.
  • the integrated historical member data is synchronized to the channel user 11, the channel user 22, and the channel user 33, and the synchronization update process between the group of channel users is completed.
  • the binding relationship between each channel user account in the group of channel user accounts and the selected member user account is established in the shared storage system, and then the above-mentioned synchronization in the shared storage system can be synchronized to each channel.
  • the historical identity data of the member user of the user account is updated, the updated message is sent to each channel user account bound to the member user account in the historical identity data in a timely manner, and the historical identity data of the member user is updated in a timely manner.
  • the synchronization update process is completed, for each channel, it is determined whether multiple channel user accounts in any channel have the same historical identity data of member users; if so, the multiple channel user accounts are retained The historical identity data of member users of one channel user account, and the historical identity data of member users of other channel user accounts in multiple channel user accounts are deleted.
  • different channel user accounts of the same channel can only be bound to different member users of the same member object.
  • channel user 11 and channel user 11' in channel 1 can only be bound to different members User 111 and member user 111' cannot be bound to member user 111 at the same time; at the same time, among historical member users, there are at least two channel user accounts from different channels to register or bind the same member user, and the at least two The channel user account does not have a direct or indirect relationship. For example, on the basis of Table 1 above, if there is also a piece of historical member data as shown in Table 3 below.
  • the channel user 33' is the channel user account of channel 3, and the channel user 33' has no direct or indirect relationship with the channel user 11.
  • the channel users 33 and channel 3 are all bound to the member user 111. In this case, it violates the principle that different channel user accounts of the same channel can only be bound to different member users of the same member object.
  • the process of judging duplicate member users in the same channel can be performed after the synchronization update processing of each group of channel user accounts is completed to ensure that the synchronization update process does not violate the above principles at all times; or, it can also be performed in all groups.
  • the channel user account synchronization update process is executed after the completion of the process, in order to reduce the frequency of data processing.
  • step S240 is to further add real-time data after the synchronization of the historical identity data is completed.
  • Step S240 According to a member registration request initiated by any channel user account, the channel user account that has a direct or indirect association relationship with the channel user account is synchronized to update the real-time identity data of the member user.
  • composition of the identity data of the newly registered member user is similar to the historical identity data, and so is the identity data of the newly bound member user hereinafter.
  • a request for adding a member user of a target member object is initiated in the client of any channel user account, and the channel user account has not been bound to the member user account of the member object (indicating that a member user account containing the channel user account is included) If the group channel user account is not bound to the member user account of the member object), a member registration request will be initiated to the execution system of this disclosure through the channel user account. For example, channel user account 11 has not been bound to a member user account of brand n. If a member user of brand n is registered on the client side of channel user account 11, a member registration request will be initiated to the execution system.
  • the execution system receives a member registration request initiated by any channel user account, and the member registration request contains the identity data of the newly registered member user; it is determined whether there is a channel user account directly related to the identity data of the newly registered member user. Or at least one channel user account to be synchronized in an indirect relationship, where, if it exists, it indicates that there is a need to synchronize and update the identity data of the newly registered member user, and the identity data of the newly registered member user is synchronized to The at least one channel user account to be synchronized; if it does not exist, it means that although there is a newly registered member user, but there is no need for synchronization update processing, only the identity data of the newly registered member user will be saved in the shared storage system Just medium.
  • a member swap request initiated by any channel user account is received,
  • the member rebinding request contains the identity data of the newly bound member user, where a request to add a member user of the target member object is initiated in the client of any channel user account, and the channel user account has been bound with
  • the member user account of the member object indicates that the member user account bound to the channel user account history needs to be replaced with a newly-added member user account, and then a member replacement request is initiated to the execution system of this disclosure through the channel user account ;
  • the execution system receives the request for rebinding of the member, and judges whether there is at least one channel user account to be rebinding that has a direct or indirect relationship with the channel user account in the identity data of the newly bound member user, and if it exists, it indicates There is a channel user account that needs to be re-bonded simultaneously, and the at least one
  • Step S250 Receive the resource update data of the member user returned from any channel user account; perform update processing of the member user resource information on the corresponding member user in the shared storage system according to the resource update data.
  • the new The interface is used to update the synchronized identity data, where the new interface refers to the channel interface corresponding to the synchronized user account of each channel.
  • the historical identity data corresponding to the member user 111 can only be updated through channel 1, and the historical identity data of the member user 111 is synchronized to the channel user account 11.
  • the member resource information can be updated through any channel user account, for example, the member points are updated, and the resource update data is returned to the execution system of the present disclosure; the execution system of the present disclosure is receiving After the resource is updated, the member resource information in the historical identity data of the corresponding member user in the shared storage system is updated, so that the member resource information in the shared storage system is kept as the latest data in real time, so that Each channel monitors the latest member resource information from the shared storage system and updates the member resource information of the member user account bound to the channel user account of the same group in the respective channel.
  • the user account of the second channel in the synchronized identity data can also be updated through the user account of any channel.
  • the second channel user account in the synchronized identity data is updated, and the channel account data is updated Feedback to the execution system of the present disclosure; after receiving the channel account update data, the execution system of the present disclosure updates the second channel user account in the identity data of the corresponding member user in the shared storage system, and adds (or deletes) the The binding relationship between the newly added (or reduced) second channel user account and the member user account of the corresponding member user, so as to send updated historical identity data only to the channel user account that has a direct or indirect connection.
  • the second channel user account in the synchronized member user s identity data in the shared storage system is added, and the newly added second channel user account and The binding relationship of the member user account of the synchronized member user is synchronized, and the historical identity data of the member user is synchronized to the newly added second channel user account.
  • the unbinding request when an unbinding request initiated by any channel user account is received, the unbinding request carries the channel user account requested to initiate and the member user account requesting unbinding; Binding request queries a group of channel user accounts where the channel user account initiated by the request is located, unbinds each channel user account in the group of channel user accounts in the shared storage system with the member user account requesting to unbind, and submits the request to the In the group channel user account, other channel user accounts except the channel user account that requested to initiate send an unbinding instruction, and the unbinding instruction carries the member user account that requests unbinding.
  • the historical identity data of at least one member user is obtained from various channels and stored in a shared storage system; and, for any group of channel user accounts, based on the shared storage system
  • the historical identity data in the group of channel user accounts detects whether there are one or more member users that need to be synchronized update processing, and accurately detects the synchronization update needs of historical members.
  • the synchronization update processing is performed, and the process is completed.
  • the identity data in the shared storage system is updated, so that each channel can monitor the updated identity data and obtain it for use. It can be seen that this embodiment can perform synchronous update processing on historical identity data and new identity data generated in real time, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is conducive to the multi-channel integration of member data. .
  • Fig. 3 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure.
  • description is made for the case where there are one or more channel user accounts bound to any member user account in any group of channel user accounts.
  • the method includes the following steps.
  • Step S310 Obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system.
  • the historical identity data of the member user includes: a member user account, a first channel user account bound to the member user account, and/or at least one second channel user account associated with the first channel user account.
  • the historical identity data of the member user also includes member resource information and/or object information of the member object.
  • Step S320 According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts. Among them, there is a direct or indirect correlation between multiple channel user accounts in a group of channel user accounts; if so, step S230 is executed; if not, the method ends.
  • Step S330 Synchronize the historical identity data of a member user to channel user accounts other than the one or more channel user accounts in the group of channel user accounts.
  • This embodiment is mainly described based on the case where one or more channel user accounts bound to a member user account are detected in a group of channel user accounts.
  • This situation mainly refers to the group of channel user accounts that are bound to only one member user account. Specifically, it can be that only one channel user account in the group of channel user accounts is bound to the one member user account, or it can be the group of channel users Multiple channel user accounts in the account are bound to the one member user account.
  • the historical identity data of the member user can be synchronized to the channel user account of the group of channel user accounts that is not bound to the member user account.
  • a binding relationship between channel user accounts in the group of channel user accounts other than the one or more channel user accounts and the member user account of the member user is established in the shared storage system, That is, the binding relationship between the channel user account that is not bound to the member user account in the group of channel user accounts and the member user account is established, so that the shared storage system stores each channel user account in the group of channel user accounts and the member
  • the binding relationship of the user accounts further facilitates subsequent sending of update messages of the member user's identity data to each channel user account in the group of channel user accounts.
  • the synchronization update process is completed, for each channel, it is determined whether multiple channel user accounts in any channel have the same historical identity data of member users; if so, the multiple channel user accounts are retained The historical identity data of the member user possessed by one channel user account is deleted, and the historical identity data of the member user possessed by other channel user accounts in multiple channel user accounts is deleted.
  • Step S340 According to the member registration request initiated by any channel user account, the channel user account that has a direct or indirect association relationship with the channel user account is synchronized to update the real-time identity data of the member user.
  • a member swap request initiated by a user account of any channel is received, and the member swap request includes the identity data of the newly bound member user; and at least one member is paired according to the identity data of the newly bound member user.
  • the user account of the channel to be re-bonded performs the re-bonding process of the member user's identity data.
  • Step S350 Receive the resource update data of the member user returned from any channel user account; perform update processing of the member user resource information on the corresponding member user in the shared storage system according to the resource update data.
  • the historical identity data and the new identity data generated in real time can be synchronized and updated, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is beneficial to the members.
  • Multi-channel integration of data Multi-channel integration of data.
  • synchronous update processing is performed according to the member object. Specifically, for each member object, if the member object’s If there are multiple member user accounts, the method of the embodiment in FIG. 2 is used to perform synchronization update processing. If the member user account of the member object is one, the method of the embodiment in FIG. 3 is used to perform synchronization update processing.
  • Fig. 4 shows a schematic structural diagram of a device for synchronizing identity data provided by an embodiment of the present disclosure.
  • the device includes: a storage module 410, a detection module 420, and a historical member synchronization module 430.
  • the storage module 410 is adapted to obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: member user account, and member user account The bound first channel user account and/or at least one second channel user account associated with the first channel user account.
  • the detection module 420 is adapted to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts based on the historical identity data in the shared storage system; among them, one Multiple channel user accounts in a group channel user account have a direct or indirect relationship between each other.
  • the historical member synchronization module 430 is adapted to, if there are one or more channel user accounts bound to any one or more member user accounts, according to the one or more channel user accounts bound to the one or more channel user accounts in the shared storage system
  • the historical identity data of multiple member users performs a synchronous update process of the historical identity data of the member users on the group of channel user accounts.
  • the historical identity data of the member user also includes member resource information and/or object information of the member object.
  • the synchronization module is further adapted to: if one or more channel user accounts bound to a member user account are detected in a group of channel user accounts, then the historical identity of the member user The data is synchronized to channel user accounts other than the one or more channel user accounts in the group of channel user accounts.
  • the device further includes: a binding module, adapted to establish channel user accounts in the group of channel user accounts other than the one or more channel user accounts in the shared storage system, and The binding relationship of the member user account of the one member user.
  • a binding module adapted to establish channel user accounts in the group of channel user accounts other than the one or more channel user accounts in the shared storage system, and The binding relationship of the member user account of the one member user.
  • the synchronization module is further adapted to: if it is detected that there are multiple channel user accounts bound to multiple member user accounts in a group of channel user accounts, and the multiple member user accounts belong to the same member object Send a member selection request to the client corresponding to at least one of the channel user accounts, and receive the member selection result fed back by the client; according to the member selection result, perform integration processing on the historical identity data of multiple member users; The historical identity data of the member users is synchronized to all channel user accounts in the group of channel user accounts.
  • the device further includes a binding module, adapted to establish a binding relationship between each channel user account in the group of channel user accounts and the selected member user account in the shared storage system.
  • the device further includes: a binding correction module, adapted to determine whether multiple channel user accounts in any channel have the same historical identity data of member users for each channel; if so, keep it The historical identity data of member users of one channel user account in multiple channel user accounts, and the historical identity data of member users of other channel user accounts in multiple channel user accounts are deleted.
  • a binding correction module adapted to determine whether multiple channel user accounts in any channel have the same historical identity data of member users for each channel; if so, keep it The historical identity data of member users of one channel user account in multiple channel user accounts, and the historical identity data of member users of other channel user accounts in multiple channel user accounts are deleted.
  • the device further includes: a newly-added member synchronization module, adapted to receive a member registration request initiated by a user account of any channel, the member registration request including the identity data of the newly registered member user; to determine whether There is at least one channel user account to be synchronized that has a direct or indirect association relationship with the channel user account in the identity data of the newly registered member user; if so, the identity data of the newly registered member user is synchronized to the At least one user account of the channel to be synchronized.
  • a newly-added member synchronization module adapted to receive a member registration request initiated by a user account of any channel, the member registration request including the identity data of the newly registered member user; to determine whether There is at least one channel user account to be synchronized that has a direct or indirect association relationship with the channel user account in the identity data of the newly registered member user; if so, the identity data of the newly registered member user is synchronized to the At least one user account of the channel to be synchronized.
  • the device further includes: a binding swap module, adapted to receive a member swap request initiated by a user account of any channel, and the member swap request includes the identity data of the newly bound member user; Determine whether there is at least one channel user account that is directly or indirectly associated with the channel user account in the identity data of the newly bound member user; if so, according to the identity of the newly bound member user The data performs an exchange process of the identity data of the member user on the at least one channel user account to be exchanged.
  • a binding swap module adapted to receive a member swap request initiated by a user account of any channel, and the member swap request includes the identity data of the newly bound member user; Determine whether there is at least one channel user account that is directly or indirectly associated with the channel user account in the identity data of the newly bound member user; if so, according to the identity of the newly bound member user The data performs an exchange process of the identity data of the member user on the at least one channel user account to be exchanged.
  • the device further includes: an update module, adapted to receive resource update data of member users returned from user accounts of any channel; and perform membership of corresponding member users in the shared storage system according to the resource update data. Update processing of user resource information.
  • the embodiment of the present disclosure provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the identity data synchronization method in any of the foregoing method embodiments.
  • FIG. 5 shows a schematic structural diagram of a computing device provided by an embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
  • the computing device may include: a processor (processor) 502, a communication interface (Communications Interface) 504, a memory (memory) 506, and a communication bus 508.
  • the processor 502, the communication interface 504, and the memory 506 communicate with each other through the communication bus 508.
  • the communication interface 504 is used to communicate with other devices, such as network elements such as clients or other servers.
  • the processor 502 is configured to execute executable instructions 510, and specifically can execute relevant steps in the foregoing embodiment of the method for synchronizing identity data of a computing device.
  • the executable instruction 510 may include a program code, and the program code includes a computer operation instruction.
  • the processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure.
  • the one or more processors included in the computing device may be the same type of processor, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 506 is used to store executable instructions 510.
  • the memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
  • the executable instruction 510 may specifically be used to cause the processor 502 to perform the following operations: obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; historical identity data of the member user Including: a member user account, a first channel user account bound to a member user account, and/or at least one second channel user account associated with the first channel user account; according to the historical identity data in the shared storage system, Detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, multiple channel user accounts in a group of channel user accounts have two Direct or indirect association relationship; if yes, synchronize the historical identity data of member users for the group of channel user accounts based on the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system Update processing.
  • the historical identity data of the member user also includes member resource information and/or object information of the member object.
  • the executable instruction 510 causes the processor to perform the following operations: if it is detected that there are one or more channel user accounts bound to a member user account in a group of channel user accounts, then The historical identity data of the member user is synchronized to channel user accounts other than the one or more channel user accounts in the group of channel user accounts.
  • the executable instruction 510 causes the processor to perform the following operations: establish channel users in the set of channel user accounts other than the one or more channel user accounts in the shared storage system Account, the binding relationship with the member user account of the one member user.
  • the executable instruction 510 causes the processor to perform the following operations: if it is detected that there are multiple channel user accounts bound to multiple member user accounts in a group of channel user accounts, and multiple The member user account belongs to the same member object, sends a member selection request to at least one client corresponding to the channel user account, and receives the member selection result fed back by the client; according to the member selection result, the historical identity data of multiple member users Perform integration processing; synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.
  • the executable instruction 510 causes the processor to perform the following operations: establishing a binding relationship between each channel user account in the set of channel user accounts and the selected member user account in the shared storage system.
  • the executable instruction 510 causes the processor to perform the following operations: for each channel, determine whether multiple channel user accounts in any channel have the same historical identity data of the member user; if so, Then, the historical identity data of the member user of one channel user account in the multiple channel user accounts is retained, and the historical identity data of the member user of the other channel user accounts in the multiple channel user accounts is deleted.
  • the executable instruction 510 causes the processor to perform the following operations: receiving a member registration request initiated by a user account of any channel, the member registration request containing the identity data of the newly registered member user; and determining; Whether there is at least one channel user account to be synchronized that has a direct or indirect association relationship with the channel user account in the identity data of the newly registered member user; if so, synchronize the identity data of the newly registered member user to all At least one user account of the channel to be synchronized.
  • the executable instruction 510 causes the processor to perform the following operations: receiving a member swap request initiated by a user account of any channel, and the member swap request includes the information of the newly bound member user.
  • Identity data determine whether there is at least one channel user account that is directly or indirectly associated with the channel user account in the identity data of the newly bound member user; if so, based on the newly bound member
  • the user's identity data performs a rebinding process of the member user's identity data on the at least one channel user account to be rebated.
  • the executable instruction 510 causes the processor to perform the following operations: receive resource update data of a member user returned by a user account of any channel; The member user updates the member user resource information.
  • modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive, any combination can be used to compare all the features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or methods disclosed in this manner or All the processes or units of the equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
  • the various component embodiments of the present disclosure may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present disclosure.
  • the embodiments of the present disclosure may also be implemented as a device or device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein.
  • Such a program for implementing the embodiments of the present disclosure may be stored on a computer-readable medium, or may have the form of one or more signals.
  • Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

Abstract

Provided are a method and device for synchronization of identity data. The method comprises: acquiring historical identity data of at least one member user, and storing the historical identity data of the at least one member user in a sharable storage system; performing, according to the historical identity data in the sharable storage system, detection on any group of channel user accounts to determine whether there is one or more channel user accounts bound to any one or more member user accounts; and if so, then on the basis of the historical identity data of the one or more member users to which the one or more channel user accounts are bound, perform synchronous updating of historical identity data of a member user of a channel user account.

Description

同步身份数据Sync identity data 技术领域Technical field
本公开涉及互联网技术领域,具体涉及一种身份数据的同步方法及装置。The present disclosure relates to the field of Internet technology, and in particular to a method and device for synchronizing identity data.
背景技术Background technique
随着互联网技术的不断发展,通过互联网平台或客户端来满足日常需求已越来越普遍。与此同时,在互联网平台或客户端,尤其是包含有多种品牌对象的互联网平台或客户端中,用户在该平台或客户端中针对某一品牌的会员身份可作为该用户完成消费活动的记录和凭证,进而利于用户消费行为的进行。在现有技术中,不同互联网平台或者客户端中用户的会员身份是完全隔离开的,互相之间没有关联,例如,A平台中的会员身份与B平台中的会员身份由各自平台独立的系统进行管理,两个平台独立的系统的会员身份无法打通。With the continuous development of Internet technology, it has become more and more common to meet daily needs through Internet platforms or clients. At the same time, on an Internet platform or client, especially an Internet platform or client that contains multiple brand objects, the user’s membership for a certain brand in the platform or client can be used as a way for the user to complete consumption activities. Records and vouchers, in turn, facilitate the user's consumption behavior. In the prior art, the membership identities of users on different Internet platforms or clients are completely isolated and are not related to each other. For example, the membership identities on platform A and the membership identities on platform B are independent systems of their respective platforms. For management, the membership identities of the independent systems of the two platforms cannot be connected.
然而,发明人在实施本公开实施例的过程中发现,现有技术中的会员身份管理方式至少存在如下问题:各平台之间的会员身份互相隔离,使得平台之间的身份数据无法互通,不便于对身份数据的统一分析与处理。However, the inventor discovered in the process of implementing the embodiments of the present disclosure that the member identity management method in the prior art has at least the following problem: the membership identities between the platforms are isolated from each other, so that the identity data between the platforms cannot be communicated. Facilitate the unified analysis and processing of identity data.
发明内容Summary of the invention
根据本公开实施例的一个方面,提供了一种身份数据的同步方法,包括:获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。According to one aspect of the embodiments of the present disclosure, there is provided a method for synchronizing identity data, including: acquiring historical identity data of at least one member user, and storing the historical identity data of the at least one member user in a shared storage system; member; The user’s historical identity data includes: a member user account, a first channel user account bound to a member user account, and/or at least one second channel user account associated with the first channel user account; according to the shared storage system The historical identity data of any one group of channel user accounts, to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, multiple channel user accounts in a group of channel user accounts There is a direct or indirect relationship between the two; if it is, the member user’s account of the channel user account of the group of channel users is determined based on the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system. Synchronous update processing of historical identity data.
根据本公开实施例的另一方面,提供了一种身份数据的同步装置,包括:存储模块、检测模块和历史会员同步模块。According to another aspect of the embodiments of the present disclosure, there is provided an identity data synchronization device, which includes a storage module, a detection module, and a historical member synchronization module.
存储模块,适于获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号。The storage module is adapted to obtain the historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: a member user account, which is tied to a member user account A predetermined first channel user account, and/or at least one second channel user account associated with the first channel user account.
检测模块,适于根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系。The detection module is adapted to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts based on the historical identity data in the shared storage system; among them, one group The multiple channel user accounts in the channel user accounts have a direct or indirect relationship between each other.
历史会员同步模块,适于若存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新。The historical member synchronization module is suitable for if there are one or more channel user accounts bound to any one or more member user accounts, according to the one or more channel user accounts bound to the one or more channel user accounts in the shared storage system. The historical identity data of each member user is synchronized to update the historical identity data of the member user for the group of channel user accounts.
根据本公开实施例的又一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;所述存储器用于存储可执行指令,所述可执行指令使所述处理器执行上述 身份数据的同步方法对应的操作。According to another aspect of the embodiments of the present disclosure, there is provided a computing device, including: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete each other through the communication bus. Inter-communication; the memory is used to store executable instructions, and the executable instructions cause the processor to perform operations corresponding to the aforementioned identity data synchronization method.
根据本公开实施例的再一方面,提供了一种计算机存储介质,所述存储介质中存储有可执行指令,所述可执行指令使处理器执行如上述身份数据的同步方法对应的操作。According to another aspect of the embodiments of the present disclosure, a computer storage medium is provided, and executable instructions are stored in the storage medium, and the executable instructions cause a processor to perform operations corresponding to the aforementioned identity data synchronization method.
附图说明Description of the drawings
通过阅读下文一些实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出一些实施方式的目的,而并不认为是对本公开实施例的限制。而且在整个附图中,用相同的参考符号表示相同的部件。By reading the detailed description of some embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only used for the purpose of illustrating some embodiments, and are not considered as a limitation to the embodiments of the present disclosure. Also, throughout the drawings, the same reference symbols are used to denote the same components.
图1示出了本公开实施例提供的身份数据的同步方法的流程图;Fig. 1 shows a flowchart of a method for synchronizing identity data provided by an embodiment of the present disclosure;
图2示出了本公开另一个实施例提供的身份数据的同步方法的流程图;Figure 2 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure;
图3示出了本公开又一个实施例提供的身份数据的同步方法的流程图;FIG. 3 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure;
图4示出了本公开实施例提供的身份数据的同步装置的结构示意图。Fig. 4 shows a schematic structural diagram of a device for synchronizing identity data provided by an embodiment of the present disclosure.
图5示出了本公开实施例提供的计算设备的结构示意图。Fig. 5 shows a schematic structural diagram of a computing device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the drawings show exemplary embodiments of the present disclosure, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了本公开实施例提供的身份数据的同步方法的流程图。如图1所示,该方法包括以下步骤。Fig. 1 shows a flowchart of a method for synchronizing identity data provided by an embodiment of the present disclosure. As shown in Figure 1, the method includes the following steps.
步骤S110:获取至少一个会员用户的历史身份数据,将该至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与该第一渠道用户账号关联的至少一个第二渠道用户账号。Step S110: Obtain the historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: a member user account, and the first member user account bound to the member user account. A channel user account and/or at least one second channel user account associated with the first channel user account.
具体地,从各个渠道中获取到该渠道中至少一个会员用户的历史身份数据,并存储至共享存储系统中,实现将一个或多个渠道的历史身份数据进行汇总。其中,此处获取的历史身份数据为未同步前各个渠道中历史产生的身份数据。其中,第一渠道用户账号为会员用户账号所属来源渠道的渠道账号,第二渠道用户账号为异于来源渠道、且与第一渠道用户账号关联的渠道账号。例如,该第二渠道用户账号可与第一渠道用户账号直接关联,又例如,该第二渠道用户账号可与第一渠道用户账号直接以及间接关联。举例说明,用户在渠道1中的渠道用户账号为渠道用户11,该渠道用户11关联的渠道2的渠道用户账号为渠道用户22,该渠道用户11在渠道1上注册了某品牌的会员且会员用户账号为会员用户111,则第一渠道用户账号为渠道用户11,第二渠道用户账户为渠道用户22。Specifically, the historical identity data of at least one member user in the channel is obtained from each channel and stored in the shared storage system, so that the historical identity data of one or more channels can be aggregated. Among them, the historical identity data obtained here is the identity data historically generated in each channel before synchronization. Among them, the first channel user account is the channel account of the source channel to which the member user account belongs, and the second channel user account is a channel account that is different from the source channel and is associated with the first channel user account. For example, the second channel user account may be directly associated with the first channel user account. For another example, the second channel user account may be directly and indirectly associated with the first channel user account. For example, the channel user account of the user in channel 1 is channel user 11, the channel user account of channel 2 associated with the channel user 11 is channel user 22, and the channel user 11 has registered a member of a certain brand on channel 1 and is a member If the user account is the member user 111, the first channel user account is the channel user 11, and the second channel user account is the channel user 22.
步骤S120:根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号。其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则执行步骤S130;若否,则本方法结束。Step S120: According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts. Among them, there is a direct or indirect correlation between multiple channel user accounts in a group of channel user accounts; if so, step S130 is executed; if not, the method ends.
其中,直接关联关系是指建立的渠道用户账号的直接关联,间接关联关系是指未建立直接关联,但可通过直接关联连接的至少两个账号之间的关联。例如,在渠道1中建 立该渠道1的渠道用户11与另一渠道2的渠道用户22的关联,同时,在渠道2中建立该渠道2的渠道用户22与另一渠道3的渠道用户33的关联,则渠道用户11和渠道用户22,以及渠道用户22和渠道用户33分别具有直接关联关系,而渠道用户11和渠道用户33具有间接关联关系,并且,渠道用户11、渠道用户22和渠道用户33构成了一组渠道用户账户。The direct association relationship refers to the direct association of channel user accounts established, and the indirect association relationship refers to the association between at least two accounts that are not directly associated but can be connected through direct association. For example, in channel 1, an association between channel user 11 of this channel 1 and channel user 22 of another channel 2 is established, and at the same time, the relationship between channel user 22 of this channel 2 and channel user 33 of another channel 3 is established in channel 2. Associated, channel user 11 and channel user 22, and channel user 22 and channel user 33 respectively have a direct relationship, while channel user 11 and channel user 33 have an indirect relationship, and channel user 11, channel user 22, and channel user 33 constitutes a set of channel user accounts.
共享存储系统中存储有各个会员用户的历史身份数据,基于此,检测任一组渠道用户账号中是否存在绑定有会员用户账号的渠道用户账号,由于历史身份数据是各个渠道各自维护的,并未打通,则若检测结果为存在,表明该组渠道用户账号存在历史身份数据同步的需求,此时则执行步骤S130以进行同步更新处理;若检测结果为不存在,则表明该组渠道用户账号不存在历史数据同步的需求,本方法结束。The shared storage system stores the historical identity data of each member user. Based on this, it detects whether there is a channel user account bound to a member user account in any group of channel user accounts. Because the historical identity data is maintained by each channel, and If it is not connected, if the detection result is existence, it indicates that there is a need for historical identity data synchronization in the group of channel user accounts. At this time, step S130 is performed to perform synchronization update processing; if the detection result is non-existence, it indicates that the group of channel user accounts There is no need for historical data synchronization, and this method ends.
步骤S130:根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。Step S130: According to the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system, the group of channel user accounts are synchronized to update the historical identity data of the member users.
具体地,对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理,使该组渠道用户账号中各个渠道用户账号绑定的会员用户保持同步,进而可在各个渠道用户账号中均使用该会员用户。举例来说,渠道用户11、渠道用户22和渠道用户33为一组渠道用户账号,其中,渠道用户11绑定有肯德基的会员用户,而渠道用户22和渠道用户33并未绑定肯德基的会员用户,则可通过将渠道用户11绑定的肯德基的会员用户的历史身份数据同步给渠道用户22和渠道用户33,以使得渠道用户22和渠道用户33也可使用该会员用户。Specifically, the historical identity data of the member users is synchronized and updated for the group of channel user accounts, so that the member users bound to each channel user account in the group of channel user accounts are kept in sync, and then can be used in each channel user account The member user. For example, channel user 11, channel user 22, and channel user 33 are a set of channel user accounts, where channel user 11 is bound to KFC member users, while channel user 22 and channel user 33 are not bound to KFC members The user can synchronize the historical identity data of the KFC member user bound to the channel user 11 to the channel user 22 and the channel user 33, so that the channel user 22 and the channel user 33 can also use the member user.
进一步的,若会员用户为一个(显然属于一个会员对象),或者,会员用户为多个且该多个会员用户属于同一会员对象,则针对该会员对象进行同步更新处理即可;或者,若会员用户为多个,且该多个会员用户属于至少两个会员对象,可针对各个会员对象按照对同一会员对象进行同步更新处理的方式依次进行同步更新处理,也可以针对各个会员对象按照对同一会员对象进行同步更新处理的方式同时进行同步更新处理。其中,会员对象即会员用户所属的实体,例如,会员用户所属的品牌或者店铺等。Further, if there is one member user (obviously belonging to one member object), or if there are multiple member users and the multiple member users belong to the same member object, then synchronous update processing can be performed on the member object; or, if the member There are multiple users, and the multiple member users belong to at least two member objects. The synchronization update process can be performed sequentially for each member object in the same manner as the same member object, or for each member object according to the same member object. The way that the object undergoes synchronous update processing at the same time carries out synchronous update processing. Among them, the member object refers to the entity to which the member user belongs, for example, the brand or shop to which the member user belongs.
本实施例可由同步系统来执行,该同步系统可与各个渠道系统之间进行通信,获取各个渠道的身份数据,并向各个渠道的渠道用户账户同步身份数据;以及,该同步系统可对共享存储系统中存储的身份数据进行操作,例如,进行身份数据的修改、删除等。This embodiment can be implemented by a synchronization system, which can communicate with various channel systems, obtain the identity data of each channel, and synchronize the identity data to the channel user accounts of each channel; and, the synchronization system can share storage Perform operations on the identity data stored in the system, for example, modify or delete identity data.
根据本实施例提供的身份数据的同步方法,首先从各个渠道中获取至少一个会员用户的历史身份数据,并汇总存储到共享存储系统中;以及,针对任一组渠道用户账号,基于共享存储系统中的历史身份数据检测该组渠道用户账号是否存在需要进行同步更新处理的一个或多个会员用户,准确的检测出历史会员的同步更新需求;并且,当检测出一组渠道用户账号中存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,判定存在同步更新需求,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理,以使该组渠道用户账号中各个渠道用户账号绑定的会员用户保持同步。由此可见,本实施例可以完成历史会员用户的历史身份数据在任一组渠道用户账号中的同步,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于历史会员数据的多渠道融合分析与处理。According to the method for synchronizing identity data provided in this embodiment, the historical identity data of at least one member user is obtained from various channels and stored in a shared storage system; and, for any group of channel user accounts, based on the shared storage system The historical identity data in the group of channel user accounts detects whether there are one or more member users that need to be synchronized update processing, and accurately detects the synchronization update requirements of historical members; and, when a group of channel user accounts are detected with If one or more channel user accounts are bound to any one or more member user accounts, if it is determined that there is a synchronization update requirement, then based on the one or more member users bound to the one or more channel user accounts in the shared storage system The historical identity data performs synchronous update processing of the historical identity data of the member users on the group of channel user accounts, so that the member users bound to each channel user account in the group of channel user accounts are kept synchronized. It can be seen that this embodiment can complete the synchronization of the historical identity data of historical member users in any group of channel user accounts, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is conducive to more historical member data. Channel integration analysis and processing.
图2示出了本公开另一个实施例提供的身份数据的同步方法的流程图。在本实施例中,针对任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象的情况进行说明。如图2所示,该方法包括以下步骤:Fig. 2 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure. In this embodiment, description is made for the case where there are multiple channel user accounts bound to any multiple member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object. As shown in Figure 2, the method includes the following steps:
步骤S210:获取至少一个会员用户的历史身份数据,将该至少一个会员用户的历史身份数据存储至共享存储系统中。会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与该第一渠道用户账号关联的至少一个第二渠道用户账号。Step S210: Obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system. The historical identity data of the member user includes: a member user account, a first channel user account bound to the member user account, and/or at least one second channel user account associated with the first channel user account.
在一些实施例中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。其中,会员资源信息是指反映会员等级、积分和/或权益的信息,以及会员对象即会员用户所属的实体,会员对象的对象信息是指该实体的标识信息,例如,品牌名称、品牌编码等等。上述限定的历史身份数据中的数据项仅为举例说明,具体实施时,本领域技术人员可根据实际需求,在历史身份数据中添加其他的数据项,例如,加入会员用户来源渠道的渠道标识。In some embodiments, the historical identity data of the member user also includes member resource information and/or object information of the member object. Among them, the member resource information refers to the information reflecting the membership level, points and/or rights and interests, and the member object is the entity to which the member user belongs. The object information of the member object refers to the identification information of the entity, such as brand name, brand code, etc. Wait. The above-defined data items in the historical identity data are just examples. During specific implementation, those skilled in the art can add other data items to the historical identity data according to actual needs, for example, adding the channel identifier of the source channel of the member user.
具体地,在进行身份数据同步时,通常是在若干个目标渠道之间进行的,相应的,则从该若干个目标渠道中获取至少一个会员用户的历史身份数据,并存储至共享存储系统中。Specifically, when the identity data is synchronized, it is usually carried out between several target channels. Correspondingly, the historical identity data of at least one member user is obtained from the several target channels and stored in the shared storage system .
步骤S220:根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则执行步骤S230;若否,则本方法结束。Step S220: According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, a group of channel users The multiple channel user accounts in the account have a direct or indirect association relationship; if so, step S230 is executed; if not, the method ends.
具体地,根据若干个目标渠道中的渠道用户账号之间的关联关系,确定出各组渠道用户账号,其中,可通过查询会员用户的历史身份数据中的第一渠道用户账号和至少一个第二渠道用户账号来确定各组渠道用户账号;或者,可通过查询渠道用户账号关联表来确定各组渠道用户账号。Specifically, according to the association relationship between channel user accounts in several target channels, each group of channel user accounts is determined. Among them, the first channel user account and at least one second channel user account in the historical identity data of the member user can be queried. Channel user accounts are used to determine each group of channel user accounts; alternatively, each group of channel user accounts can be determined by querying the channel user account association table.
进一步的,在确定出各组渠道用户账号后,针对任一组渠道用户账号,从共享存储系统中的历史身份数据中检测是否存在第一渠道用户账号为该组渠道用户账号中的任一渠道用户账号的历史身份数据,若存在,则该组渠道用户账号中存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号。Further, after determining each group of channel user accounts, for any group of channel user accounts, detect from the historical identity data in the shared storage system whether the first channel user account is any channel in the group of channel user accounts If the historical identity data of the user account exists, then there are one or more channel user accounts bound to any one or more member user accounts in the group of channel user accounts.
仍以渠道用户11、渠道用户22和渠道用户33构成的一组渠道用户账号为例进行说明,若共享存储系统中的历史身份数据中包含一条第一渠道用户账号为渠道用户11的历史身份数据a,以及包含一条第一渠道用户账号为渠道用户22的历史身份数据b,则该组渠道用户账号中存在与两个会员用户账号绑定的两个渠道用户账号。Still taking a group of channel user accounts composed of channel user 11, channel user 22, and channel user 33 as an example, if the historical identity data in the shared storage system includes a piece of historical identity data of channel user 11 as the first channel user account a, and containing a piece of historical identity data b that the first channel user account is the channel user 22, then there are two channel user accounts bound to the two member user accounts in the group of channel user accounts.
若检测出该组渠道用户账号中存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,则表明在进行同步更新处理前,该组渠道用户账号中至少有一个渠道用户账号已绑定会员用户,此时则需执行步骤S230来进行同步更新处理,以使已绑定的会员用户的历史身份数据与在该组渠道用户账号中的多个渠道用户账号绑定的会员用户的历史身份数据保持同步。反之,则无需进行同步更新处理。If it is detected that there are one or more channel user accounts bound to any one or more member user accounts in the group of channel user accounts, it indicates that there is at least one channel in the group of channel user accounts before the synchronization update process The user account has been bound to the member user. At this time, step S230 needs to be performed to perform a synchronous update process, so that the historical identity data of the bound member user is bound to multiple channel user accounts in the group of channel user accounts. The historical identity data of member users is kept in sync. On the contrary, there is no need to perform synchronization update processing.
步骤S230:向至少一个渠道用户账号对应的客户端发送会员选择请求,接收该客户端反馈的会员选择结果;根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Step S230: Send a member selection request to the client corresponding to at least one channel user account, and receive the member selection result fed back by the client; according to the member selection result, perform integration processing on the historical identity data of multiple member users; The historical identity data of member users is synchronized to all channel user accounts in the group of channel user accounts.
本实施例主要以检测出一组渠道用户账号中存在与多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象的情况进行举例说明。这种情况主要是指该组渠道用户账号中有至少两个渠道用户账号分别绑定有同一会员对象的不同会员用户账号。如下表1示出了此种情况的一种具体示例。This embodiment mainly takes a case where it is detected that there are multiple channel user accounts bound to multiple member user accounts in a group of channel user accounts, and the multiple member user accounts belong to the same member object. This situation mainly refers to that at least two channel user accounts in the group of channel user accounts are respectively bound to different member user accounts of the same member object. Table 1 below shows a specific example of this situation.
Figure PCTCN2020137756-appb-000001
Figure PCTCN2020137756-appb-000001
表1Table 1
在表1中,在渠道1中建立该渠道1的渠道用户11与另一渠道2的渠道用户22的关联,同时,在渠道2中建立该渠道2的渠道用户22与另一渠道3的渠道用户33的关联;渠道用户11和渠道用户22,以及渠道用户22和渠道用户33分别具有直接关联关系,渠道用户11和渠道用户33具有间接关联关系,渠道用户11、渠道用户22和渠道用户33构成了一组渠道用户账户。在表1中,渠道用户11和渠道用户22分别绑定会员用户111和会员用户222,并且会员用户111和会员用户222均属于品牌m,符合本实施例针对的情况。In Table 1, the association between channel user 11 of this channel 1 and channel user 22 of another channel 2 is established in channel 1, and at the same time, channel user 22 of this channel 2 and channel 3 of another channel are established in channel 2. Association of user 33; channel user 11 and channel user 22, and channel user 22 and channel user 33 respectively have a direct relationship, channel user 11 and channel user 33 have an indirect relationship, channel user 11, channel user 22 and channel user 33 It constitutes a set of channel user accounts. In Table 1, the channel user 11 and the channel user 22 are respectively bound to the member user 111 and the member user 222, and the member user 111 and the member user 222 belong to the brand m, which conforms to the situation targeted by this embodiment.
具体地,针对上述情况,向该组渠道用户账号中的至少一个渠道用户账号对应的客户端发送会员选择请求,其中,该至少一个渠道用户账号可以为该组渠道用户账号的任一个或任多个渠道用户账号,可选的,响应于该组渠道用户中一个或多个渠道用户账号对应的客户端发起的会员用户查看请求,向该发起会员用户查看请求的客户端发送会员选择请求;或者,可向该组渠道用户账号中的各个渠道用户账号对应的客户端均发送会员选择请求。其中,在客户端上打开会员中心页面可发起会员用户查看请求。并且,会员选择请求中携带有多个会员用户的历史身份数据中的一项或多项数据,以使客户端在接收到会员选择请求后可以在客户端上显示供选择的多个会员用户的卡片信息,例如,显示会员用户账号、会员等级等等信息。Specifically, in response to the above situation, a member selection request is sent to the client corresponding to at least one channel user account in the group of channel user accounts, where the at least one channel user account can be any one or more of the group of channel user accounts. A channel user account, optionally, in response to a member user viewing request initiated by a client corresponding to one or more channel user accounts in the group of channel users, sending a member selection request to the client that initiated the member user viewing request; or , Can send a member selection request to the client corresponding to each channel user account in the group of channel user accounts. Among them, open the member center page on the client to initiate a request for member users to view. In addition, the member selection request carries one or more of the historical identity data of multiple member users, so that the client can display the information of multiple member users for selection on the client after receiving the member selection request. Card information, for example, display member user account, membership level, etc. information.
进一步的,客户端接收用户的选择操作,并将会员选择结果反馈给本公开的执行系统;在接收到会员选择结果后,确定选择的目标会员用户;然后对多个会员用户的历史身份数据进行整合处理,将多个会员用户的历史身份数据整合到目标用户会员的历史身份数据中,具体将多个会员用户的历史身份数据中的会员资源信息进行整合处理后作为目标会员用户的历史身份数据中的会员资源信息,例如,对会员积分进行累加处理得到更新后的会员积分。在完成上述整合处理后,将目标会员用户更新后的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。下面以表1为例来具体说明上述同步更新处理的过程。Further, the client terminal receives the user's selection operation, and feeds back the result of the member selection to the execution system of the present disclosure; after receiving the result of the member selection, determines the selected target member user; and then performs the historical identity data of multiple member users Integrated processing, integrating the historical identity data of multiple member users into the historical identity data of the target user member, and specifically integrate the member resource information in the historical identity data of multiple member users as the historical identity data of the target member user Member resource information in, for example, accumulate member points to get updated member points. After completing the above-mentioned integration processing, the updated historical identity data of the target member user is synchronized to all channel user accounts in the group of channel user accounts. The following takes Table 1 as an example to specifically describe the above synchronization update process.
假设向渠道用户33的客户端发送会员用户111和会员用户222的会员选择请求,渠道用户33返回选择会员用户111的会员选择结果,即目标会员用户为会员用户111;将会员用户111和会员用户222的会员资源信息进行整合处理,例如将资源s1和资源s2累加得到会员用户111更新后的会员资源信息,则可得到整合后的历史会员数据如下表2。Suppose that the member selection request of the member user 111 and the member user 222 is sent to the client of the channel user 33, the channel user 33 returns the member selection result of the member user 111, that is, the target member user is the member user 111; the member user 111 and the member user The member resource information of 222 is integrated. For example, if the resource s1 and the resource s2 are accumulated to obtain the updated member resource information of the member user 111, the integrated historical member data can be obtained as shown in Table 2.
Figure PCTCN2020137756-appb-000002
Figure PCTCN2020137756-appb-000002
表2Table 2
表2中,将该整合后的历史会员数据同步给渠道用户11、渠道用户22以及渠道用户33,则完成了该组渠道用户之间的同步更新处理。In Table 2, the integrated historical member data is synchronized to the channel user 11, the channel user 22, and the channel user 33, and the synchronization update process between the group of channel users is completed.
在本公开的一些实施例中,在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系,进而可在共享存储系统中的上述同步给各个渠道用户账号的会员用户的历史身份数据发生更新时,及时向该历史身份数据中的会员用户账号绑定的各个渠道用户账号发送更新的消息,以及时进行会员用户的历史身份数据的更新。In some embodiments of the present disclosure, the binding relationship between each channel user account in the group of channel user accounts and the selected member user account is established in the shared storage system, and then the above-mentioned synchronization in the shared storage system can be synchronized to each channel. When the historical identity data of the member user of the user account is updated, the updated message is sent to each channel user account bound to the member user account in the historical identity data in a timely manner, and the historical identity data of the member user is updated in a timely manner.
在一些实施方式中,在完成上述同步更新处理后,针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。在一示例中,同一渠道的不同渠道用户账号仅可绑定同一个会员对象的不同会员用户,例如,针对品牌m,渠道1中的渠道用户11和渠道用户11’只能绑定不同的会员用户111和会员用户111’,而不能同时绑定会员用户111;同时,在历史的会员用户中,存在来自不同渠道的至少两个渠道用户账号注册或绑定同一会员用户,且该至少两个渠道用户账号不具有直接或间接关联关系的情况,例如,在上文中表1的基础上,若还同时存在一条历史会员数据如下表3。In some implementations, after the synchronization update process is completed, for each channel, it is determined whether multiple channel user accounts in any channel have the same historical identity data of member users; if so, the multiple channel user accounts are retained The historical identity data of member users of one channel user account, and the historical identity data of member users of other channel user accounts in multiple channel user accounts are deleted. In an example, different channel user accounts of the same channel can only be bound to different member users of the same member object. For example, for brand m, channel user 11 and channel user 11' in channel 1 can only be bound to different members User 111 and member user 111' cannot be bound to member user 111 at the same time; at the same time, among historical member users, there are at least two channel user accounts from different channels to register or bind the same member user, and the at least two The channel user account does not have a direct or indirect relationship. For example, on the basis of Table 1 above, if there is also a piece of historical member data as shown in Table 3 below.
Figure PCTCN2020137756-appb-000003
Figure PCTCN2020137756-appb-000003
表3table 3
表3中,渠道用户33’为渠道3的渠道用户账号,而渠道用户33’与渠道用户11并无直接或间接关联关系,则在完成上述同步更新处理后,渠道3中存在渠道用户33和渠道用户33’均绑定会员用户111,此时则违背了同一渠道的不同渠道用户账号仅可绑定同一个会员对象的不同会员用户的原则。In Table 3, the channel user 33' is the channel user account of channel 3, and the channel user 33' has no direct or indirect relationship with the channel user 11. After the synchronization update process is completed, there are channel users 33 and channel 3 The channel users 33' are all bound to the member user 111. In this case, it violates the principle that different channel user accounts of the same channel can only be bound to different member users of the same member object.
基于上述情况,在一些实施例中,在完成同步更新后,针对选择的目标用户会员的非来源渠道(来源渠道中不会存在违背上述原则的情况),判断每个非来源渠道的多个渠道用户账号中是否存在两个渠道用户账号绑定有相同会员用户账号,若是,则进行绑定关系的保留和删除处理,以使同一渠道的不同渠道用户账号仅可绑定同一个会员对象的不同会员用户。在实际实施时,该判断同一渠道中的重复会员用户的过程可在每组渠道用户账号同步更新处理完成后执行,以确保同步更新处理过程中时刻不违背上述原则;或者,也可以在所有组渠道用户账号同步更新处理完成后执行,以减少数据处理频次。Based on the above situation, in some embodiments, after the synchronization update is completed, for the non-source channel of the selected target user member (the source channel will not violate the above principles), multiple channels of each non-source channel are judged Whether there are two channel user accounts in the user account that are bound to the same member user account, if so, the binding relationship is retained and deleted, so that different channel user accounts of the same channel can only be bound to different members of the same member object Member user. In actual implementation, the process of judging duplicate member users in the same channel can be performed after the synchronization update processing of each group of channel user accounts is completed to ensure that the synchronization update process does not violate the above principles at all times; or, it can also be performed in all groups. The channel user account synchronization update process is executed after the completion of the process, in order to reduce the frequency of data processing.
经过上述步骤S210至步骤S230,则对历史会员用户完成了历史身份数据在各组渠道用户账号之间的同步;下述步骤S240,则是在完成历史身份数据的同步之后,进一步对实时新增的注册会员用户进行同步更新处理。After the above steps S210 to S230, the synchronization of the historical identity data between the user accounts of each group of channels is completed for the historical member users; the following step S240 is to further add real-time data after the synchronization of the historical identity data is completed. The registered member users of the synchronizing update process.
步骤S240:根据任一渠道用户账号发起的会员注册请求,对与该渠道用户账号具有直接或间接关联关系的渠道用户账号进行会员用户的实时身份数据的同步更新处理。Step S240: According to a member registration request initiated by any channel user account, the channel user account that has a direct or indirect association relationship with the channel user account is synchronized to update the real-time identity data of the member user.
在本实施例中,新注册的会员用户的身份数据的组成与历史身份数据相似,下文中新绑定的会员用户的身份数据也如此。In this embodiment, the composition of the identity data of the newly registered member user is similar to the historical identity data, and so is the identity data of the newly bound member user hereinafter.
具体地,在任一渠道用户账号的客户端中发起新增一目标会员对象的会员用户的请求,且该渠道用户账号还未绑定该会员对象的会员用户账号(表明包含该渠道用户账号的一组渠道用户账号均未绑定该会员对象的会员用户账号),则会通过该渠道用户账号向本公开的执行系统发起会员注册请求。例如,渠道用户账号11还未绑定品牌n的会 员用户账号,若在渠道用户账号11的客户端注册该品牌n的会员用户,则会向执行系统发起会员注册请求。以及,执行系统接收任一渠道用户账号发起的会员注册请求,该会员注册请求包含新注册的会员用户的身份数据;判断是否存在与该新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号,其中,若存在,则表明存在对该新注册的会员用户的身份数据进行同步更新处理的需求,将该新注册的会员用户的身份数据同步给该至少一个待同步渠道用户账号;若不存在,则表明虽有新注册的会员用户,而并不存在同步更新处理的需求,则仅将该新注册的会员用户的身份数据保存在共享存储系统中即可。Specifically, a request for adding a member user of a target member object is initiated in the client of any channel user account, and the channel user account has not been bound to the member user account of the member object (indicating that a member user account containing the channel user account is included) If the group channel user account is not bound to the member user account of the member object), a member registration request will be initiated to the execution system of this disclosure through the channel user account. For example, channel user account 11 has not been bound to a member user account of brand n. If a member user of brand n is registered on the client side of channel user account 11, a member registration request will be initiated to the execution system. And, the execution system receives a member registration request initiated by any channel user account, and the member registration request contains the identity data of the newly registered member user; it is determined whether there is a channel user account directly related to the identity data of the newly registered member user. Or at least one channel user account to be synchronized in an indirect relationship, where, if it exists, it indicates that there is a need to synchronize and update the identity data of the newly registered member user, and the identity data of the newly registered member user is synchronized to The at least one channel user account to be synchronized; if it does not exist, it means that although there is a newly registered member user, but there is no need for synchronization update processing, only the identity data of the newly registered member user will be saved in the shared storage system Just medium.
另外,在本公开的一些实施例中,在完成历史会员用户的历史身份数据和/或新注册的会员用户的身份数据的同步更新处理后,接收任一渠道用户账号发起的会员换绑请求,该会员换绑请求中包含新绑定的会员用户的身份数据,其中,在任一渠道用户账号的客户端中发起新增一目标会员对象的会员用户的请求,且该渠道用户账号已绑定有该会员对象的会员用户账号,即表明需要将该渠道用户账号历史绑定的会员用户账号换绑为新增的会员用户账号,则通过该渠道用户账号向本公开的执行系统发起会员换绑请求;执行系统接收该会员换绑请求,判断是否存在与该新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号,若存在,则表明存在需要进行同步换绑的渠道用户账号,根据该新绑定的会员用户的身份数据对该至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理,其中,在换绑处理的过程中,将新绑定的会员用户的身份数据同步给至少一个待换绑渠道用户账号,以使至少一个待换绑渠道用户账号将绑定的该会员对象的会员用户账号进行更换。In addition, in some embodiments of the present disclosure, after completing the synchronization update processing of the historical identity data of historical member users and/or the identity data of newly registered member users, a member swap request initiated by any channel user account is received, The member rebinding request contains the identity data of the newly bound member user, where a request to add a member user of the target member object is initiated in the client of any channel user account, and the channel user account has been bound with The member user account of the member object indicates that the member user account bound to the channel user account history needs to be replaced with a newly-added member user account, and then a member replacement request is initiated to the execution system of this disclosure through the channel user account ; The execution system receives the request for rebinding of the member, and judges whether there is at least one channel user account to be rebinding that has a direct or indirect relationship with the channel user account in the identity data of the newly bound member user, and if it exists, it indicates There is a channel user account that needs to be re-bonded simultaneously, and the at least one channel user account to be re-bonded is re-bonded according to the identity data of the newly-bound member user. In the process, the identity data of the newly bound member user is synchronized to at least one channel user account to be re-bonded, so that at least one channel user account to be re-bonded replaces the bound member user account of the member object.
步骤S250:接收任一渠道用户账号返回的会员用户的资源更新数据;根据该资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。Step S250: Receive the resource update data of the member user returned from any channel user account; perform update processing of the member user resource information on the corresponding member user in the shared storage system according to the resource update data.
具体地,在完成历史会员用户的历史身份数据、新注册的会员用户的身份数据、和/或新绑定的会员用户的身份数据在各组渠道用户账号之间的同步后,则可通过新接口来更新这些同步后的身份数据,其中,新接口是指同步到的各个渠道用户账号对应的渠道接口。仍以表1为例,在进行同步更新处理前,只能通过渠道1对会员用户111对应的历史身份数据进行更新,而在将会员用户111的历史身份数据同步到渠道用户账号11,渠道用户账号22和渠道用户账号33后,则可分别通过渠道1,渠道2和渠道3来对该历史会员数据更新,并通过共享存储系统将这些更新的数据然后同步给其它未更新的各个渠道中的渠道用户账号。Specifically, after completing the synchronization of the historical identity data of historical member users, the identity data of newly registered member users, and/or the identity data of newly bound member users among the user accounts of each group of channels, the new The interface is used to update the synchronized identity data, where the new interface refers to the channel interface corresponding to the synchronized user account of each channel. Still taking Table 1 as an example, before the synchronization update process, the historical identity data corresponding to the member user 111 can only be updated through channel 1, and the historical identity data of the member user 111 is synchronized to the channel user account 11. After account number 22 and channel user account 33, you can update the historical member data through channel 1, channel 2 and channel 3, and synchronize these updated data to other unupdated channels through the shared storage system. Channel user account.
进一步的,在完成同步后,可通过任一渠道用户账号对会员资源信息进行更新,例如,对会员积分进行更新,并将资源更新数据返回给本公开的执行系统;本公开的执行系统在接收到该资源更新数据后,对共享存储系统中该对应的会员用户的历史身份数据中的会员资源信息进行更新处理,以使共享存储系统中的会员资源信息实时保持为最新的数据,进而可以使各个渠道从共享存储系统中监听到最新的会员资源信息并对各自渠道中同组的渠道用户账号绑定的会员用户账号的会员资源信息进行更新处理。Further, after the synchronization is completed, the member resource information can be updated through any channel user account, for example, the member points are updated, and the resource update data is returned to the execution system of the present disclosure; the execution system of the present disclosure is receiving After the resource is updated, the member resource information in the historical identity data of the corresponding member user in the shared storage system is updated, so that the member resource information in the shared storage system is kept as the latest data in real time, so that Each channel monitors the latest member resource information from the shared storage system and updates the member resource information of the member user account bound to the channel user account of the same group in the respective channel.
以及,在完成同步后,也可通过任一渠道用户账号对同步的身份数据中的第二渠道用户账号进行更新。当某组渠道用户账号中的任一渠道用户账号直接或间接关联的渠道用户账号发生新增或减少时,则对同步的身份数据中的第二渠道用户账号进行更新,并将渠道账号更新数据反馈给本公开的执行系统;本公开的执行系统在接收到该渠道账号更新数据后,更新共享存储系统中对应会员用户的身份数据中的第二渠道用户账号,以及新增(或删除)该新增(或减少)的第二渠道用户账号与对应会员用户的会员用户账号的绑定关系,以便仅对具有直接或间接关联的渠道用户账号发送更新的历史身份数据。其中,若更新情况为第二渠道用户账号增加,则对共享存储系统中该同步的会员用户的 身份数据中的第二渠道用户账号进行新增处理,建立该新增的第二渠道用户账号和该同步的会员用户的会员用户账号的绑定关系,并将该会员用户的历史身份数据同步给新增的第二渠道用户账号。And, after the synchronization is completed, the user account of the second channel in the synchronized identity data can also be updated through the user account of any channel. When any channel user account directly or indirectly associated with a channel user account in a certain group of channel user accounts is newly added or decreased, the second channel user account in the synchronized identity data is updated, and the channel account data is updated Feedback to the execution system of the present disclosure; after receiving the channel account update data, the execution system of the present disclosure updates the second channel user account in the identity data of the corresponding member user in the shared storage system, and adds (or deletes) the The binding relationship between the newly added (or reduced) second channel user account and the member user account of the corresponding member user, so as to send updated historical identity data only to the channel user account that has a direct or indirect connection. Among them, if the update situation is that the second channel user account is increased, the second channel user account in the synchronized member user’s identity data in the shared storage system is added, and the newly added second channel user account and The binding relationship of the member user account of the synchronized member user is synchronized, and the historical identity data of the member user is synchronized to the newly added second channel user account.
另外,在本公开的一些实施例中,当接收到任一渠道用户账号发起的解绑请求,该解绑请求中携带有请求发起的渠道用户账号以及请求解绑的会员用户账号;根据该解绑请求查询请求发起的渠道用户账号所在的一组渠道用户账号,解除共享存储系统中该组渠道用户账号中的每个渠道用户账号与请求解绑的会员用户账号的绑定关系,并向该组渠道用户账号中除请求发起的渠道用户账号之外的其它渠道用户账号发送解绑指令,该解绑指令携带请求解绑的会员用户账号。通过这种方式,可在一个渠道用户账号中完成会员用户账号的解绑定后,完成一组渠道用户账号中各个渠道用户账号与请求解绑的会员用户账号的解绑定,实现同一会员用户账号在多个渠道的渠道用户账号中的快速解绑。In addition, in some embodiments of the present disclosure, when an unbinding request initiated by any channel user account is received, the unbinding request carries the channel user account requested to initiate and the member user account requesting unbinding; Binding request queries a group of channel user accounts where the channel user account initiated by the request is located, unbinds each channel user account in the group of channel user accounts in the shared storage system with the member user account requesting to unbind, and submits the request to the In the group channel user account, other channel user accounts except the channel user account that requested to initiate send an unbinding instruction, and the unbinding instruction carries the member user account that requests unbinding. In this way, after completing the unbinding of the member user account in a channel user account, the unbinding of each channel user account in a group of channel user accounts and the member user account requesting to unbind can be completed to realize the same member user. Quick unbinding of accounts in channel user accounts of multiple channels.
根据本实施例提供的身份数据的同步方法,首先从各个渠道中获取至少一个会员用户的历史身份数据,并汇总存储到共享存储系统中;以及,针对任一组渠道用户账号,基于共享存储系统中的历史身份数据检测该组渠道用户账号是否存在需要进行同步更新处理的一个或多个会员用户,准确的检测出历史会员的同步更新需求当判定存在同步更新需求,则进行同步更新处理,完成历史身份数据的同步;并且,进一步对实时新注册的会员用户的身份数据进行同步更新处理,使得同组渠道用户账号绑定的会员用户账号实时保持同步;而且,在完成同步更新处理后,可通过接收任一渠道用户账号发起的更新请求,对共享存储系统中的身份数据进行更新,以便于各个渠道监听到更新的身份数据并获取使用。由此可见,本实施例可以对历史身份数据以及实时产生的新的身份数据进行同步更新处理,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于会员数据的多渠道融合。According to the method for synchronizing identity data provided in this embodiment, the historical identity data of at least one member user is obtained from various channels and stored in a shared storage system; and, for any group of channel user accounts, based on the shared storage system The historical identity data in the group of channel user accounts detects whether there are one or more member users that need to be synchronized update processing, and accurately detects the synchronization update needs of historical members. When it is determined that there is a synchronization update need, the synchronization update processing is performed, and the process is completed. Synchronization of historical identity data; and further synchronization update processing of the identity data of newly registered member users in real time, so that the member user accounts bound to the same group of channel user accounts can be synchronized in real time; moreover, after the synchronization update processing is completed, By receiving an update request initiated by a user account of any channel, the identity data in the shared storage system is updated, so that each channel can monitor the updated identity data and obtain it for use. It can be seen that this embodiment can perform synchronous update processing on historical identity data and new identity data generated in real time, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is conducive to the multi-channel integration of member data. .
图3示出了本公开又一个实施例提供的身份数据的同步方法的流程图。在本实施例中,针对任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号的情况进行说明。如图3所示,该方法包括以下步骤。Fig. 3 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present disclosure. In this embodiment, description is made for the case where there are one or more channel user accounts bound to any member user account in any group of channel user accounts. As shown in Figure 3, the method includes the following steps.
步骤S310:获取至少一个会员用户的历史身份数据,将该至少一个会员用户的历史身份数据存储至共享存储系统中。会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与该第一渠道用户账号关联的至少一个第二渠道用户账号。Step S310: Obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system. The historical identity data of the member user includes: a member user account, a first channel user account bound to the member user account, and/or at least one second channel user account associated with the first channel user account.
其中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。Among them, the historical identity data of the member user also includes member resource information and/or object information of the member object.
步骤S320:根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号。其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则执行步骤S230;若否,则本方法结束。Step S320: According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts. Among them, there is a direct or indirect correlation between multiple channel user accounts in a group of channel user accounts; if so, step S230 is executed; if not, the method ends.
步骤S330:将一个会员用户的历史身份数据同步给对该组渠道用户账号中除了该一个或多个渠道用户账号以外的渠道用户账号。Step S330: Synchronize the historical identity data of a member user to channel user accounts other than the one or more channel user accounts in the group of channel user accounts.
本实施例主要是以检测出一组渠道用户账号中存在与一个会员用户账号绑定的一个或多个渠道用户账号的情况进行说明。这种情况主要是指该组渠道用户账号仅绑定有一个会员用户账号,具体可以是该组渠道用户账号中仅有一个渠道用户账号绑定该一个会员用户账号,也可以是该组渠道用户账号中的多个渠道用户账号绑定该一个会员用户账号。This embodiment is mainly described based on the case where one or more channel user accounts bound to a member user account are detected in a group of channel user accounts. This situation mainly refers to the group of channel user accounts that are bound to only one member user account. Specifically, it can be that only one channel user account in the group of channel user accounts is bound to the one member user account, or it can be the group of channel users Multiple channel user accounts in the account are bound to the one member user account.
具体地,针对上述情况,在进行同步更新处理时,则将该一个会员用户的历史身份数据同步给该组渠道用户账号中未绑定该会员用户账号的渠道用户账号即可。同时,在 一种实施方式中,在共享存储系统中建立该组渠道用户账号中除了该一个或多个渠道用户账号以外的渠道用户账号,与该一个会员用户的会员用户账号的绑定关系,即建立该组渠道用户账号中未绑定该会员用户账号的渠道用户账号与该会员用户账号的绑定关系,使得共享存储系统中存储有该组渠道用户账号中的各个渠道用户账号与该会员用户账号的绑定关系,进而有利于后续向该组渠道用户账号中的各个渠道用户账号发送该会员用户的身份数据的更新消息。Specifically, in view of the above situation, when the synchronization update process is performed, the historical identity data of the member user can be synchronized to the channel user account of the group of channel user accounts that is not bound to the member user account. At the same time, in an embodiment, a binding relationship between channel user accounts in the group of channel user accounts other than the one or more channel user accounts and the member user account of the member user is established in the shared storage system, That is, the binding relationship between the channel user account that is not bound to the member user account in the group of channel user accounts and the member user account is established, so that the shared storage system stores each channel user account in the group of channel user accounts and the member The binding relationship of the user accounts further facilitates subsequent sending of update messages of the member user's identity data to each channel user account in the group of channel user accounts.
在一些实施方式中,在完成上述同步更新处理后,针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号具有的该会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号具有的该会员用户的历史身份数据。In some implementations, after the synchronization update process is completed, for each channel, it is determined whether multiple channel user accounts in any channel have the same historical identity data of member users; if so, the multiple channel user accounts are retained The historical identity data of the member user possessed by one channel user account is deleted, and the historical identity data of the member user possessed by other channel user accounts in multiple channel user accounts is deleted.
步骤S340:根据任一渠道用户账号发起的会员注册请求,对与该渠道用户账号具有直接或间接关联关系的渠道用户账号进行会员用户的实时身份数据的同步更新处理。Step S340: According to the member registration request initiated by any channel user account, the channel user account that has a direct or indirect association relationship with the channel user account is synchronized to update the real-time identity data of the member user.
在一些实施方式中,接收任一渠道用户账号发起的会员换绑请求,该会员换绑请求中包含新绑定的会员用户的身份数据;根据该新绑定的会员用户的身份数据对至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。In some embodiments, a member swap request initiated by a user account of any channel is received, and the member swap request includes the identity data of the newly bound member user; and at least one member is paired according to the identity data of the newly bound member user. The user account of the channel to be re-bonded performs the re-bonding process of the member user's identity data.
步骤S350:接收任一渠道用户账号返回的会员用户的资源更新数据;根据该资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。Step S350: Receive the resource update data of the member user returned from any channel user account; perform update processing of the member user resource information on the corresponding member user in the shared storage system according to the resource update data.
在上文中图3的实施例中,仅针对与图2的实施例的不同之处进行了详细的说明,而其余未详细说明的部分与图2的实施例中相应部分的实施原理及过程相同,此处不再赘述。In the above embodiment of FIG. 3, only the differences from the embodiment of FIG. 2 are described in detail, and the remaining parts that are not described in detail are the same as the implementation principles and processes of the corresponding parts in the embodiment of FIG. 2 , I won’t repeat it here.
根据本实施例提供的身份数据的同步方法,可以对历史身份数据以及实时产生的新的身份数据进行同步更新处理,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于会员数据的多渠道融合。According to the identity data synchronization method provided in this embodiment, the historical identity data and the new identity data generated in real time can be synchronized and updated, so that the member users bound to the channel user accounts of the same user in each channel are consistent, which is beneficial to the members. Multi-channel integration of data.
另外,在本公开的一些其它实施例中,针对任多个会员用户账号属于多个会员对象的情况,则按照会员对象进行同步更新处理,具体地,针对每个会员对象,若该会员对象的会员用户账号为多个,则利用图2实施例的方法进行同步更新处理,若该会员对象的会员用户账号为一个,则利用图3实施例的方法进行同步更新处理。In addition, in some other embodiments of the present disclosure, for any number of member user accounts belonging to multiple member objects, synchronous update processing is performed according to the member object. Specifically, for each member object, if the member object’s If there are multiple member user accounts, the method of the embodiment in FIG. 2 is used to perform synchronization update processing. If the member user account of the member object is one, the method of the embodiment in FIG. 3 is used to perform synchronization update processing.
图4示出了本公开实施例提供的身份数据的同步装置的结构示意图。如图4所示,该装置包括:存储模块410、检测模块420和历史会员同步模块430。Fig. 4 shows a schematic structural diagram of a device for synchronizing identity data provided by an embodiment of the present disclosure. As shown in FIG. 4, the device includes: a storage module 410, a detection module 420, and a historical member synchronization module 430.
存储模块410,适于获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号。The storage module 410 is adapted to obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: member user account, and member user account The bound first channel user account and/or at least one second channel user account associated with the first channel user account.
检测模块420,适于根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系。The detection module 420 is adapted to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts based on the historical identity data in the shared storage system; among them, one Multiple channel user accounts in a group channel user account have a direct or indirect relationship between each other.
历史会员同步模块430,适于若存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。The historical member synchronization module 430 is adapted to, if there are one or more channel user accounts bound to any one or more member user accounts, according to the one or more channel user accounts bound to the one or more channel user accounts in the shared storage system The historical identity data of multiple member users performs a synchronous update process of the historical identity data of the member users on the group of channel user accounts.
在一种实施方式中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。In an embodiment, the historical identity data of the member user also includes member resource information and/or object information of the member object.
在一种实施方式中,所述同步模块进一步适于:若检测出一组渠道用户账号中存在与一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。In an embodiment, the synchronization module is further adapted to: if one or more channel user accounts bound to a member user account are detected in a group of channel user accounts, then the historical identity of the member user The data is synchronized to channel user accounts other than the one or more channel user accounts in the group of channel user accounts.
在一种实施方式中,所述装置还包括:绑定模块,适于在共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。In an embodiment, the device further includes: a binding module, adapted to establish channel user accounts in the group of channel user accounts other than the one or more channel user accounts in the shared storage system, and The binding relationship of the member user account of the one member user.
在一种实施方式中,所述同步模块进一步适于:若检测出一组渠道用户账号中存在与多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象,向至少一个所述渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。In an embodiment, the synchronization module is further adapted to: if it is detected that there are multiple channel user accounts bound to multiple member user accounts in a group of channel user accounts, and the multiple member user accounts belong to the same member object Send a member selection request to the client corresponding to at least one of the channel user accounts, and receive the member selection result fed back by the client; according to the member selection result, perform integration processing on the historical identity data of multiple member users; The historical identity data of the member users is synchronized to all channel user accounts in the group of channel user accounts.
在一种实施方式中,所述装置还包括:绑定模块,适于在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。In an embodiment, the device further includes a binding module, adapted to establish a binding relationship between each channel user account in the group of channel user accounts and the selected member user account in the shared storage system.
在一种实施方式中,所述装置还包括:绑定修正模块,适于针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。In one embodiment, the device further includes: a binding correction module, adapted to determine whether multiple channel user accounts in any channel have the same historical identity data of member users for each channel; if so, keep it The historical identity data of member users of one channel user account in multiple channel user accounts, and the historical identity data of member users of other channel user accounts in multiple channel user accounts are deleted.
在一种实施方式中,所述装置还包括:新增会员同步模块,适于接收任一渠道用户账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;判断是否存在与所述新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号;若是,则将所述新注册的会员用户的身份数据同步给所述至少一个待同步渠道用户账号。In one embodiment, the device further includes: a newly-added member synchronization module, adapted to receive a member registration request initiated by a user account of any channel, the member registration request including the identity data of the newly registered member user; to determine whether There is at least one channel user account to be synchronized that has a direct or indirect association relationship with the channel user account in the identity data of the newly registered member user; if so, the identity data of the newly registered member user is synchronized to the At least one user account of the channel to be synchronized.
在一种实施方式中,所述装置还包括:换绑模块,适于接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。In an embodiment, the device further includes: a binding swap module, adapted to receive a member swap request initiated by a user account of any channel, and the member swap request includes the identity data of the newly bound member user; Determine whether there is at least one channel user account that is directly or indirectly associated with the channel user account in the identity data of the newly bound member user; if so, according to the identity of the newly bound member user The data performs an exchange process of the identity data of the member user on the at least one channel user account to be exchanged.
在一种实施方式中,所述装置还包括:更新模块,适于接收任一渠道用户账号返回的会员用户的资源更新数据;根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。In one embodiment, the device further includes: an update module, adapted to receive resource update data of member users returned from user accounts of any channel; and perform membership of corresponding member users in the shared storage system according to the resource update data. Update processing of user resource information.
本公开实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的身份数据的同步方法。The embodiment of the present disclosure provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the identity data synchronization method in any of the foregoing method embodiments.
图5示出了本公开实施例提供的计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。FIG. 5 shows a schematic structural diagram of a computing device provided by an embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
如图5所示,该计算设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。处理器502,用于执行可执行指令510,具体可以执行上述用于计算设备的身份数据的同步方法实施例中的相关步骤。As shown in FIG. 5, the computing device may include: a processor (processor) 502, a communication interface (Communications Interface) 504, a memory (memory) 506, and a communication bus 508. Among them, the processor 502, the communication interface 504, and the memory 506 communicate with each other through the communication bus 508. The communication interface 504 is used to communicate with other devices, such as network elements such as clients or other servers. The processor 502 is configured to execute executable instructions 510, and specifically can execute relevant steps in the foregoing embodiment of the method for synchronizing identity data of a computing device.
具体地,可执行指令510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the executable instruction 510 may include a program code, and the program code includes a computer operation instruction.
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The one or more processors included in the computing device may be the same type of processor, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
存储器506,用于存储可执行指令510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is used to store executable instructions 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
可执行指令510具体可以用于使得处理器502执行以下操作:获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。The executable instruction 510 may specifically be used to cause the processor 502 to perform the following operations: obtain historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; historical identity data of the member user Including: a member user account, a first channel user account bound to a member user account, and/or at least one second channel user account associated with the first channel user account; according to the historical identity data in the shared storage system, Detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, multiple channel user accounts in a group of channel user accounts have two Direct or indirect association relationship; if yes, synchronize the historical identity data of member users for the group of channel user accounts based on the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system Update processing.
在一种实施方式中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。In an embodiment, the historical identity data of the member user also includes member resource information and/or object information of the member object.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:若检测出一组渠道用户账号中存在与一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: if it is detected that there are one or more channel user accounts bound to a member user account in a group of channel user accounts, then The historical identity data of the member user is synchronized to channel user accounts other than the one or more channel user accounts in the group of channel user accounts.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:在共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: establish channel users in the set of channel user accounts other than the one or more channel user accounts in the shared storage system Account, the binding relationship with the member user account of the one member user.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:若检测出一组渠道用户账号中存在与多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象,向至少一个所述渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: if it is detected that there are multiple channel user accounts bound to multiple member user accounts in a group of channel user accounts, and multiple The member user account belongs to the same member object, sends a member selection request to at least one client corresponding to the channel user account, and receives the member selection result fed back by the client; according to the member selection result, the historical identity data of multiple member users Perform integration processing; synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: establishing a binding relationship between each channel user account in the set of channel user accounts and the selected member user account in the shared storage system.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: for each channel, determine whether multiple channel user accounts in any channel have the same historical identity data of the member user; if so, Then, the historical identity data of the member user of one channel user account in the multiple channel user accounts is retained, and the historical identity data of the member user of the other channel user accounts in the multiple channel user accounts is deleted.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:接收任一渠道用户账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;判断是否存在与所述新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号;若是,则将所述新注册的会员用户的身份数据同步给所述至少一个待同步渠道用户账号。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: receiving a member registration request initiated by a user account of any channel, the member registration request containing the identity data of the newly registered member user; and determining; Whether there is at least one channel user account to be synchronized that has a direct or indirect association relationship with the channel user account in the identity data of the newly registered member user; if so, synchronize the identity data of the newly registered member user to all At least one user account of the channel to be synchronized.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:接收任 一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: receiving a member swap request initiated by a user account of any channel, and the member swap request includes the information of the newly bound member user. Identity data; determine whether there is at least one channel user account that is directly or indirectly associated with the channel user account in the identity data of the newly bound member user; if so, based on the newly bound member The user's identity data performs a rebinding process of the member user's identity data on the at least one channel user account to be rebated.
在一种实施方式中,所述可执行指令510使所述处理器执行以下操作:接收任一渠道用户账号返回的会员用户的资源更新数据;根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。In one embodiment, the executable instruction 510 causes the processor to perform the following operations: receive resource update data of a member user returned by a user account of any channel; The member user updates the member user resource information.
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开实施例的内容,并且上面对特定语言所做的描述是为了披露本公开实施例的最佳实施方式。The algorithms or displays provided here are not inherently related to any particular computer, virtual system or other equipment. Various general-purpose systems can also be used with the teaching based on this. Based on the above description, the structure required to construct this type of system is obvious. In addition, the embodiments of the present disclosure are not directed to any specific programming language. It should be understood that various programming languages can be used to implement the content of the embodiments of the present disclosure described herein, and the above description of specific languages is for the purpose of disclosing the best implementation of the embodiments of the present disclosure.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the instructions provided here, a lot of specific details are explained. However, it can be understood that the embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and technologies are not shown in detail, so as not to obscure the understanding of this specification.
类似地,应当理解,为了精简本公开实施例并帮助理解各个发明方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开实施例要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。Similarly, it should be understood that, in order to simplify the embodiments of the present disclosure and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the embodiments of the present disclosure are sometimes grouped together into Single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the intention that the claimed embodiments of the present disclosure require more features than those explicitly recorded in each claim. More precisely, as reflected in the following claims, the inventive aspect lies in less than all the features of a single embodiment disclosed previously. Therefore, the claims following the specific embodiment are thus explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that it is possible to adaptively change the modules in the device in the embodiment and set them in one or more devices different from the embodiment. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive, any combination can be used to compare all the features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or methods disclosed in this manner or All the processes or units of the equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art can understand that although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments means that they are within the scope of the present disclosure. And form different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本公开的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本公开实施例的一些或者全部部件的一些或者全部功能。本公开实施例还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本公开实施例的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present disclosure may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present disclosure. The embodiments of the present disclosure may also be implemented as a device or device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the embodiments of the present disclosure may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本公开实施例进行说明而不是对本公开进行限制, 并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开实施例可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-mentioned embodiments illustrate the embodiments of the present disclosure rather than limit the present disclosure, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of multiple such elements. The embodiments of the present disclosure can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims listing several devices, several of these devices may be embodied in the same hardware item. The use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names. Unless otherwise specified, the steps in the foregoing embodiment should not be understood as a limitation on the execution order.

Claims (22)

  1. 一种身份数据的同步方法,包括:A method for synchronizing identity data, including:
    获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;所述会员用户的历史身份数据包含:会员用户账号、与所述会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;Obtain the historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: a member user account, which is bound to the member user account The first channel user account and/or at least one second channel user account associated with the first channel user account;
    根据所述共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;According to the historical identity data in the shared storage system, detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; among them, a group of channel user accounts There is a direct or indirect relationship between multiple channel user accounts in
    若是,则根据所述共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。If so, according to the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system, the historical identity data of the member users is synchronously updated for the group of channel user accounts.
  2. 根据权利要求1所述的方法,其中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。The method according to claim 1, wherein the historical identity data of the member user further includes member resource information and/or object information of the member object.
  3. 根据权利要求1所述的方法,其中,所述根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对所述该组渠道用户账号进行会员用户的历史身份数据的同步更新处理进一步包括:The method according to claim 1, wherein the group of channel user accounts is registered on the group of channel user accounts based on the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system. The synchronization update processing of historical identity data further includes:
    若检测出该组渠道用户账号中存在与一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。If it is detected that there are one or more channel user accounts bound to a member user account in the group of channel user accounts, the historical identity data of the member user will be synchronized to the group of channel user accounts except for the one or Channel user accounts other than multiple channel user accounts.
  4. 根据权利要求3所述的方法,其中,若检测出具有直接或间接关联关系的该组渠道用户账号中存在与一个会员用户账号绑定的一个或多个渠道用户账号,所述方法还包括:The method according to claim 3, wherein if it is detected that there are one or more channel user accounts bound to a member user account in the group of channel user accounts that have a direct or indirect association relationship, the method further comprises:
    在所述共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。A binding relationship between channel user accounts other than the one or more channel user accounts in the group of channel user accounts and the member user account of the one member user is established in the shared storage system.
  5. 根据权利要求1所述的方法,其中,所述根据所述共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理进一步包括:The method according to claim 1, wherein the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system is performed on the group of channel user accounts. The synchronization update processing of historical identity data further includes:
    若检测出该组渠道用户账号中存在与多个会员用户账号绑定的多个渠道用户账号,并且所述多个会员用户账号属于同一会员对象,向至少一个所述渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;If it is detected that there are multiple channel user accounts that are bound to multiple member user accounts in the group of channel user accounts, and the multiple member user accounts belong to the same member object, report to the client corresponding to at least one of the channel user accounts Sending a member selection request, and receiving the member selection result fed back by the client;
    根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;According to the result of member selection, the historical identity data of multiple member users will be integrated and processed;
    将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.
  6. 根据权利要求5所述的方法,其中,在所述对多个会员用户的历史身份数据进行整合处理之后,所述方法还包括:The method according to claim 5, wherein, after the integrated processing of the historical identity data of multiple member users, the method further comprises:
    在所述共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。A binding relationship between each channel user account in the group of channel user accounts and the selected member user account is established in the shared storage system.
  7. 根据权利要求1-6任一项所述的方法,其中,在所述根据所述共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理之后,所述方法还包括:The method according to any one of claims 1 to 6, wherein the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system is for the group After the channel user account performs the synchronization update processing of the historical identity data of the member user, the method further includes:
    针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;For each channel, determine whether multiple channel user accounts in any channel have the same historical identity data of member users;
    若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。If so, the historical identity data of the member user of one channel user account in the multiple channel user accounts is retained, and the historical identity data of the member user of the other channel user accounts in the multiple channel user accounts is deleted.
  8. 根据权利要求1-7任一项所述的方法,其中,在所述根据所述共享存储系统中 该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理之后,所述方法还包括:The method according to any one of claims 1-7, wherein the historical identity data of one or more member users bound to the one or more channel user accounts in the shared storage system is for the group After the channel user account performs the synchronization update processing of the historical identity data of the member user, the method further includes:
    接收任一渠道用户账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;Receiving a member registration request initiated by a user account of any channel, the member registration request including the identity data of the newly registered member user;
    判断是否存在与所述新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号;若是,则将所述新注册的会员用户的身份数据同步给所述至少一个待同步渠道用户账号。Determine whether there is at least one channel user account to be synchronized that has a direct or indirect association relationship with the channel user account in the identity data of the newly registered member user; if so, synchronize the identity data of the newly registered member user to The at least one channel user account to be synchronized.
  9. 根据权利要求1-8任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1-8, wherein the method further comprises:
    接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;Receiving a member swap request initiated by a user account of any channel, where the member swap request includes the identity data of the newly bound member user;
    判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。Determine whether there is at least one channel user account that is directly or indirectly associated with the channel user account in the identity data of the newly bound member user; if so, according to the identity of the newly bound member user The data performs an exchange process of the identity data of the member user on the at least one channel user account to be exchanged.
  10. 根据权利要求1-9任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1-9, wherein the method further comprises:
    接收任一渠道用户账号返回的会员用户的资源更新数据;Receive resource update data of member users returned from user accounts of any channel;
    根据所述资源更新数据对所述共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。According to the resource update data, the corresponding member user in the shared storage system is updated with member user resource information.
  11. 一种身份数据的同步装置,包括:A device for synchronizing identity data includes:
    存储模块,适于获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;所述会员用户的历史身份数据包含:会员用户账号、与所述会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;The storage module is adapted to obtain the historical identity data of at least one member user, and store the historical identity data of the at least one member user in a shared storage system; the historical identity data of the member user includes: a member user account, and A first channel user account bound to a member user account, and/or at least one second channel user account associated with the first channel user account;
    检测模块,适于根据所述共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道用户账号中的多个渠道用户账号两两之间具有直接或间接关联关系;The detection module is adapted to detect whether there are one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts based on the historical identity data in the shared storage system; wherein, Multiple channel user accounts in a group of channel user accounts are directly or indirectly related to each other;
    历史会员同步模块,适于若存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,则根据所述共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。The historical member synchronization module is adapted to, if there are one or more channel user accounts bound to any one or more member user accounts, according to the one or more channel user accounts bound to the one or more channel user accounts in the shared storage system Or the historical identity data of multiple member users performs synchronous update processing of the historical identity data of the member users on the channel user account of the group.
  12. 根据权利要求11所述的装置,其中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。The device according to claim 11, wherein the historical identity data of the member user further includes member resource information and/or object information of the member object.
  13. 根据权利要求11所述的装置,其中,所述同步模块进一步适于:The device according to claim 11, wherein the synchronization module is further adapted to:
    若检测出一组渠道用户账号中存在与一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。If it is detected that there are one or more channel user accounts bound to a member user account in a group of channel user accounts, the historical identity data of the member user will be synchronized to the group of channel user accounts except for the one or Channel user accounts other than multiple channel user accounts.
  14. 根据权利要求13所述的装置,其中,所述装置还包括:绑定模块,适于在所述共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。The device according to claim 13, wherein the device further comprises: a binding module, adapted to establish in the shared storage system in addition to the one or more channel user accounts of the group of channel user accounts The binding relationship between the channel user account of the member user account and the member user account of the member user.
  15. 根据权利要求11所述的装置,其中,所述同步模块进一步适于:The device according to claim 11, wherein the synchronization module is further adapted to:
    若检测出一组渠道用户账号中存在与多个会员用户账号绑定的多个渠道用户账号,并且所述多个会员用户账号属于同一会员对象,向至少一个所述渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;If it is detected that there are multiple channel user accounts that are bound to multiple member user accounts in a group of channel user accounts, and the multiple member user accounts belong to the same member object, report to at least one client corresponding to the channel user account Sending a member selection request, and receiving the member selection result fed back by the client;
    根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;According to the result of member selection, the historical identity data of multiple member users will be integrated and processed;
    将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.
  16. 根据权利要求15所述的装置,其中,所述装置还包括:绑定模块,适于在所述 共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。The device according to claim 15, wherein the device further comprises: a binding module, adapted to establish a binding between each channel user account in the set of channel user accounts and the selected member user account in the shared storage system Definite relationship.
  17. 根据权利要求11-16任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 11-16, wherein the device further comprises:
    绑定修正模块,适于针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。The binding correction module is suitable for each channel to determine whether multiple channel user accounts in any channel have the same historical identity data of member users; if so, retain the member users of one channel user account among multiple channel user accounts The historical identity data of multiple channel user accounts is deleted, and the historical identity data of member users of other channel user accounts in multiple channel user accounts is deleted.
  18. 根据权利要求11-17任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 11-17, wherein the device further comprises:
    新增会员同步模块,适于接收任一渠道用户账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;判断是否存在与所述新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号;若是,则将所述新注册的会员用户的身份数据同步给所述至少一个待同步渠道用户账号。A newly-added member synchronization module is suitable for receiving member registration requests initiated by user accounts of any channel. The member registration request contains the identity data of the newly registered member user; it is judged whether there is any identity data with the newly registered member user. The channel user account of has at least one channel user account to be synchronized with a direct or indirect association relationship; if so, the identity data of the newly registered member user is synchronized to the at least one channel user account to be synchronized.
  19. 根据权利要求11-18任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 11-18, wherein the device further comprises:
    换绑模块,适于接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。The rebinding module is adapted to receive a member rebinding request initiated by a user account of any channel, and the member rebinding request includes the identity data of the newly bound member user; and judging whether there is any connection with the newly bound member user The channel user account in the identity data has at least one channel user account to be swapped with a direct or indirect association; if so, the at least one channel user account to be swapped is performed according to the identity data of the newly bound member user Re-binding processing of member user's identity data.
  20. 根据权利要求11-19任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 11-19, wherein the device further comprises:
    更新模块,适于接收任一渠道用户账号返回的会员用户的资源更新数据;根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。The update module is adapted to receive the resource update data of the member user returned by any channel user account; according to the resource update data, update the member user resource information on the corresponding member user in the shared storage system.
  21. 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device includes: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus;
    所述存储器用于存储可执行指令,所述可执行指令使所述处理器执行如权利要求1-10中任一项所述的身份数据的同步方法对应的操作。The memory is used to store executable instructions, and the executable instructions cause the processor to perform operations corresponding to the identity data synchronization method according to any one of claims 1-10.
  22. 一种计算机存储介质,所述存储介质中存储有可执行指令,所述可执行指令使处理器执行如权利要求1-10中任一项所述的身份数据的同步方法对应的操作。A computer storage medium in which executable instructions are stored, and the executable instructions cause a processor to perform operations corresponding to the method for synchronizing identity data according to any one of claims 1-10.
PCT/CN2020/137756 2019-12-23 2020-12-18 Synchronization of identity data WO2021129541A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911340496.6A CN111147568B (en) 2019-12-23 2019-12-23 Identity data synchronization method and device
CN201911340496.6 2019-12-23

Publications (1)

Publication Number Publication Date
WO2021129541A1 true WO2021129541A1 (en) 2021-07-01

Family

ID=70519355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/137756 WO2021129541A1 (en) 2019-12-23 2020-12-18 Synchronization of identity data

Country Status (2)

Country Link
CN (1) CN111147568B (en)
WO (1) WO2021129541A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147568B (en) * 2019-12-23 2020-08-25 浙江口碑网络技术有限公司 Identity data synchronization method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580451A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Method and system for achieving account number synchronization among multiple platforms, and electronic device
CN104978383A (en) * 2015-02-12 2015-10-14 腾讯科技(深圳)有限公司 Data interworking method and data interworking equipment
CN105701239A (en) * 2016-02-24 2016-06-22 北京京东尚科信息技术有限公司 Account information sharing method and device
WO2018144612A1 (en) * 2017-01-31 2018-08-09 Experian Information Solutions, Inc. Massive scale heterogeneous data ingestion and user resolution
CN108876429A (en) * 2018-01-03 2018-11-23 上海指旺信息科技有限公司 Integral based on block chain circulates platform and method
TW201939396A (en) * 2018-03-07 2019-10-01 全家便利商店股份有限公司 Member virtual account system and method
CN111147568A (en) * 2019-12-23 2020-05-12 浙江口碑网络技术有限公司 Identity data synchronization method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580451A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Method and system for achieving account number synchronization among multiple platforms, and electronic device
CN104978383A (en) * 2015-02-12 2015-10-14 腾讯科技(深圳)有限公司 Data interworking method and data interworking equipment
CN105701239A (en) * 2016-02-24 2016-06-22 北京京东尚科信息技术有限公司 Account information sharing method and device
WO2018144612A1 (en) * 2017-01-31 2018-08-09 Experian Information Solutions, Inc. Massive scale heterogeneous data ingestion and user resolution
CN108876429A (en) * 2018-01-03 2018-11-23 上海指旺信息科技有限公司 Integral based on block chain circulates platform and method
TW201939396A (en) * 2018-03-07 2019-10-01 全家便利商店股份有限公司 Member virtual account system and method
CN111147568A (en) * 2019-12-23 2020-05-12 浙江口碑网络技术有限公司 Identity data synchronization method and device

Also Published As

Publication number Publication date
CN111147568B (en) 2020-08-25
CN111147568A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
US11030217B2 (en) Blockchain implementing cross-chain transactions
US11336451B2 (en) Cross-blockchain resource transmission
WO2019042101A1 (en) Cross-chain trading method and apparatus
TWI727467B (en) Trustworthiness verification method, system, device and equipment of alliance chain
WO2017114205A1 (en) Short link processing method, device and server
CN109547512B (en) NoSQL-based distributed Session management method and device
WO2020114385A1 (en) Trusted node determining method and apparatus based on block chain network
JP5741150B2 (en) Relay device, relay program, and relay method
JP2009538475A5 (en)
CN107197036A (en) A kind of consistent processing method of information based on block chain and terminal
US8095495B2 (en) Exchange of syncronization data and metadata
CN110011930B (en) Load balancing method and device for multi-union chain in block chain
WO2020173502A1 (en) Block chain-based transaction system and transaction method
US10873640B2 (en) Information exchange method and server
US10474185B2 (en) Timestamp alignment across a plurality of computing devices
TWI716822B (en) Method and device for correcting transaction causality, and electronic equipment
WO2022134797A1 (en) Data fragmentation storage method and apparatus, a computer device, and a storage medium
JP2019519975A (en) Resource subscription method, resource subscription apparatus, and resource subscription system
US20160241649A1 (en) Directory service discovery and/or learning
CN111611321A (en) Data storage method and device and block chain system
WO2023040453A1 (en) Transaction information processing method and apparatus
WO2021129541A1 (en) Synchronization of identity data
WO2016101759A1 (en) Data routing method, data management device and distributed storage system
CN105373563B (en) Database switching method and device
CN113377817A (en) Data processing method, system, device and storage medium

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: 20906429

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: 20906429

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20906429

Country of ref document: EP

Kind code of ref document: A1