[go: up one dir, main page]

CN111147568B - Method and device for synchronizing identity data - Google Patents

Method and device for synchronizing identity data Download PDF

Info

Publication number
CN111147568B
CN111147568B CN201911340496.6A CN201911340496A CN111147568B CN 111147568 B CN111147568 B CN 111147568B CN 201911340496 A CN201911340496 A CN 201911340496A CN 111147568 B CN111147568 B CN 111147568B
Authority
CN
China
Prior art keywords
channel
identity data
user
user accounts
channel user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911340496.6A
Other languages
Chinese (zh)
Other versions
CN111147568A (en
Inventor
方思维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lazas Network Technology Shanghai Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201911340496.6A priority Critical patent/CN111147568B/en
Publication of CN111147568A publication Critical patent/CN111147568A/en
Application granted granted Critical
Publication of CN111147568B publication Critical patent/CN111147568B/en
Priority to PCT/CN2020/137756 priority patent/WO2021129541A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for synchronizing identity data, wherein the method comprises the following steps: acquiring historical identity data of at least one member user, and storing the historical identity data of the at least one member user into a shared storage system; detecting whether one or more channel user accounts bound with any one or more member user accounts exist in any group of channel user accounts according to historical identity data in the shared storage system; and if so, synchronously updating the historical identity data of the member users for any group of channel user accounts according to the historical identity data of one or more member users bound by the one or more channel user accounts. Therefore, the method and the device can synchronize the member user accounts bound by the group of channel user accounts with direct or indirect incidence relation, so that the member user accounts of the same user in a plurality of channels are kept consistent.

Description

身份数据的同步方法及装置Method and device for synchronizing identity data

技术领域technical field

本发明涉及互联网技术领域,具体涉及一种身份数据的同步方法及装置。The present invention relates to the field of Internet technologies, 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 on the platform or client can be used as the basis for the user to complete consumption activities. Records and credentials, which are conducive to the user's consumption behavior. In the prior art, the membership identities of users in different Internet platforms or clients are completely isolated and not related to each other. For example, the membership identities in platform A and the membership identities in platform B are determined by the independent systems of the respective platforms. For management, the membership of the independent systems of the two platforms cannot be connected.

然而,发明人在实施本发明实施例的过程中发现,现有技术中的会员身份管理方式至少存在如下问题:各平台之间的会员身份互相隔离,使得平台之间的身份数据无法互通,不便于对身份数据的统一分析与处理。However, in the process of implementing the embodiments of the present invention, the inventor found that there are at least the following problems in the membership management method in the prior art: the membership identities between the platforms are isolated from each other, so that the identity data between the platforms cannot be communicated with each other. It is convenient for unified analysis and processing of identity data.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的身份数据的同步方法及装置。In view of the above problems, embodiments of the present invention are proposed to provide a method and apparatus for synchronizing identity data that overcome the above problems or at least partially solve the above problems.

根据本发明实施例的一个方面,提供了一种身份数据的同步方法,包括:According to an aspect of the embodiments of the present invention, a method for synchronizing identity data is provided, 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 the shared storage system; the historical identity data of the member user includes: the member user account, the first channel bound with the member user account 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 is one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; There is a direct or indirect relationship between each channel user account;

若是,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。If it is, then 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, synchronously update the historical identity data of the member users for the group of channel user accounts.

可选的,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。Optionally, the historical identity data of the member user also includes member resource information and/or object information of member objects.

可选的,所述根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对所述任一组渠道用户账号进行会员用户的历史身份数据的同步更新处理进一步包括:Optionally, 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 synchronization of the historical identity data of the member user is performed on the any group of channel user accounts. The update process further includes:

若检测出任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。If it is detected that there are one or more channel user accounts bound to any member user account in any group of channel user accounts, the historical identity data of the one member user will be synchronized to the group of channel user accounts except for the one or a channel user account other than multiple channel user accounts.

可选的,若检测出具有直接或间接关联关系的任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号,所述方法还包括:Optionally, if it is detected that there is one or more channel user accounts bound to any member user account in any group of channel user accounts with direct or indirect association, the method further includes:

在共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。A binding relationship between the 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.

可选的,所述根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对所述任一组渠道用户账号进行会员用户的历史身份数据的同步更新处理进一步包括:Optionally, 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 synchronization of the historical identity data of the member user is performed on the any group of channel user accounts. The update process further includes:

若检测出任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象,向至少一个渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;If it is detected that there are multiple channel user accounts bound to any number of member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object, send the member selection to the client corresponding to at least one channel user account request, and receive the member selection result fed back by the client;

根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;According to the result of member selection, integrate the historical identity data of multiple member users;

将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.

可选的,在所述对多个会员用户的历史身份数据进行整合处理之后,所述方法还包括:Optionally, after the integrated processing of the historical identity data of the multiple member users, the method further includes:

在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。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.

可选的,在所述根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对所述任一组渠道用户账号进行会员用户的历史身份数据的同步更新处理之后,所述方法还包括:Optionally, 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 user is performed on the any group of channel user accounts. After the synchronization update process, 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, keep the historical identity data of the member users of one channel user account among the multiple channel user accounts, and delete the historical identity data of the member users of other channel user accounts among the multiple channel user accounts.

可选的,在所述根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对所述任一组渠道用户账号进行会员用户的历史身份数据的同步更新处理之后,所述方法还包括:Optionally, 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 user is performed on the any group of channel user accounts. After the synchronization update process, the method further includes:

接收任一渠道账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;Receive a member registration request initiated by any channel account, where the member registration request includes 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 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.

可选的,所述方法还包括:Optionally, the method further includes:

接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;Receive a membership rebinding request initiated by a user account of any channel, where the membership rebinding request includes the identity data of the newly bound member user;

判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。Determine whether there is at least one channel user account to be bound that has a direct or indirect relationship with the channel user account in the identity data of the newly bound member user; if so, then according to the identity of the newly bound member user The data performs the exchange and binding process of the identity data of the member user for the at least one channel user account to be exchanged and bound.

可选的,所述方法还包括:Optionally, the method further includes:

接收任一渠道用户账号返回的会员用户的资源更新数据;Receive the resource update data of member users returned by the user account of any channel;

根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。The member user resource information update process is performed on the corresponding member user in the shared storage system according to the resource update data.

根据本发明实施例的另一方面,提供了一种身份数据的同步装置,包括:According to another aspect of the embodiments of the present invention, an apparatus for synchronizing identity data is provided, including:

存储模块,适于获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;The storage module is suitable for acquiring the historical identity data of at least one member user, and storing the historical identity data of the at least one member user in the shared storage system; the historical identity data of the member user includes: 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 is one or more channel user accounts bound to any one or any plurality of member user accounts in any group of channel user accounts according to the historical identity data in the shared storage system; There is a direct or indirect relationship between multiple channel user accounts in the channel account;

历史会员同步模块,适于若存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。The historical member synchronization module is adapted to, if there is one or more channel user accounts bound to any one or more member user accounts, then 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 subjected to synchronous update processing of the historical identity data of the member user for the group of channel user accounts.

可选的,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。Optionally, the historical identity data of the member user also includes member resource information and/or object information of member objects.

可选的,所述同步模块进一步适于:Optionally, the synchronization module is further adapted to:

若检测出任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。If it is detected that there are one or more channel user accounts bound to any member user account in any group of channel user accounts, the historical identity data of the one member user will be synchronized to the group of channel user accounts except for the one or a channel user account other than multiple channel user accounts.

可选的,所述装置还包括:绑定模块,适于在共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。Optionally, the device further includes: a binding module, adapted to establish in the shared storage system channel user accounts other than the one or more channel user accounts in the group of channel user accounts, and the one or more channel user accounts. The binding relationship of the member user account of the member user.

可选的,所述同步模块进一步适于:Optionally, the synchronization module is further adapted to:

若检测出任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象,向至少一个渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;If it is detected that there are multiple channel user accounts bound to any number of member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object, send the member selection to the client corresponding to at least one channel user account request, and receive the member selection result fed back by the client;

根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;According to the result of member selection, integrate the historical identity data of multiple member users;

将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.

可选的,所述装置还包括:绑定模块,适于在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。Optionally, 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.

可选的,所述装置还包括:Optionally, the device further includes:

绑定修正模块,适于针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。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 the member user; if so, retain the member user of one channel user account among the multiple channel user accounts and delete the historical identity data of member users of other channel user accounts in multiple channel user accounts.

可选的,所述装置还包括:Optionally, the device further includes:

新增会员同步模块,适于接收任一渠道账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;判断是否存在与所述新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号;若是,则将所述新注册的会员用户的身份数据同步给所述至少一个待同步渠道用户账号。The newly added member synchronization module is suitable for receiving a member registration request initiated by any channel account, and the member registration request includes the identity data of the newly registered member user; it is judged whether there is an identity data related to the newly registered member user. The channel user account has at least one to-be-synchronized channel user account with a direct or indirect association; if so, synchronize the identity data of the newly registered member user to the at least one to-be-synchronized channel user account.

可选的,所述装置还包括:Optionally, the device further includes:

换绑模块,适于接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。The binding exchange module is suitable for receiving a member exchange binding request initiated by a user account of any channel, and the member exchange binding request contains the identity data of the newly bound member user; judges whether there is a relationship with the newly bound member user. The channel user account in the identity data has at least one channel user account to be exchanged and bound with a direct or indirect relationship; if so, the at least one channel user account to be exchanged and bound is performed according to the identity data of the newly bound member user. Binding processing of identity data of member users.

可选的,所述装置还包括:Optionally, the device further includes:

更新模块,适于接收任一渠道用户账号返回的会员用户的资源更新数据;根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。The update module is adapted to receive the resource update data of the member user returned by the user account of any channel; according to the resource update data, the update process of the member user resource information is performed on the corresponding member user in the shared storage system.

根据本发明实施例的又一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to yet another aspect of the embodiments of the present invention, a computing device is provided, including: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete each other through the communication bus communication between;

所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述身份数据的同步方法对应的操作。The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the above-mentioned method for synchronizing the identity data.

根据本发明实施例的再一方面,提供了一种计算机存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如上述身份数据的同步方法对应的操作。According to yet another aspect of the embodiments of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform operations corresponding to the above-mentioned method for synchronizing identity data .

根据本发明实施例的身份数据的同步方法及装置,首先从各个渠道中获取至少一个会员用户的历史身份数据,并汇总存储到共享存储系统中;以及,针对任一组渠道用户账号,基于共享存储系统中的历史身份数据检测该组渠道用户账号是否存在需要进行同步更新处理的一个或多个会员用户,准确的检测出历史会员的同步更新需求;并且,当检测出任一组渠道用户账号中存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,判定存在同步更新需求,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理,以使该组渠道用户账号中各个渠道用户账号绑定的会员用户保持同步。由此可见,本实施例方案,可以完成历史会员用户的历史身份数据在任一组渠道用户账号中的同步,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于历史会员数据的多渠道融合分析与处理。According to the method and device for synchronizing identity data according to the embodiments of the present invention, the historical identity data of at least one member user is firstly obtained from each channel, and stored in a shared storage system in a aggregated manner; and, for any group of channel user accounts, based on shared The historical identity data in the storage system detects whether there are one or more member users that need to be synchronously updated in the group of channel user accounts, and accurately detects the synchronous update requirements of historical members; If there is one or more channel user accounts bound to any one or more member user accounts, and it is determined that there is a need for synchronous update, then according to the one or more members bound to the one or more channel user accounts in the shared storage system The historical identity data of the user is subjected to synchronous update processing of the historical identity data of the member users for the group of channel user accounts, so as to keep the member users bound to each channel user account in the group of channel user accounts synchronized. It can be seen that the solution of 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 beneficial to the historical member data. Multi-channel fusion analysis and processing.

上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明实施例的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to understand the technical means of the embodiments of the present invention more clearly, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and The advantages can be more obvious and easy to understand, and the following specific implementations of the embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明实施例的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for the purpose of illustrating the preferred embodiments, and are not considered to be limitations of the embodiments of the present invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了本发明实施例提供的身份数据的同步方法的流程图;1 shows a flowchart of a method for synchronizing identity data provided by an embodiment of the present invention;

图2示出了本发明另一个实施例提供的身份数据的同步方法的流程图;2 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present invention;

图3示出了本发明又一个实施例提供的身份数据的同步方法的流程图;3 shows a flowchart of a method for synchronizing identity data provided by yet another embodiment of the present invention;

图4示出了本发明实施例提供的身份数据的同步装置的结构示意图;4 shows a schematic structural diagram of an apparatus for synchronizing identity data provided by an embodiment of the present invention;

图5示出了本发明实施例提供的计算设备的结构示意图。FIG. 5 shows a schematic structural diagram of a computing device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention 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 invention. 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 the shared storage system; 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 as to realize the aggregation of the historical identity data of one or more channels, wherein the historical identity data obtained here is Identity data is the identity data historically generated in each channel before synchronization. Wherein, the first channel account is the channel account of the source channel to which the member user account belongs, and the second channel account is the channel account that is different from the source channel and is associated with the first channel account, and the second channel account may only be related to the first channel. The channel account directly associated with the account, or the channel account directly or indirectly associated with the first channel 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, the channel user 11 has registered a member of a certain brand on channel 1 and the member If the user account is member user 111 , the first channel user account is channel user 11 , and the second channel user account is channel user 22 .

步骤S120:根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则执行步骤S130;若否,则本方法结束。Step S120: According to the historical identity data in the shared storage system, detect whether there is one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; wherein, a group of channel accounts There is a direct or indirect association relationship between the multiple channel user accounts in ; if yes, step S130 is executed; if not, the method ends.

其中,直接关联关系是指建立的渠道用户账号的直接关联,间接关联关系是指未建立直接关联,但可通过直接关联连接的至少两个账号之间的关联。例如,在渠道1中建立该渠道1的渠道用户11与另一渠道2的渠道用户22的关联,同时,在渠道2中建立该平台的渠道用户22与另一渠道3的渠道用户33的关联,则渠道用户11和渠道用户22,以及渠道用户22和渠道用户33分别具有直接关联关系,而渠道用户11和渠道用户33具有间接关联关系,并且,渠道用户11、渠道用户22和渠道用户33构成了一组渠道用户账户。The direct association relationship refers to the established direct association of channel user accounts, 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, establish an association between channel user 11 of this channel 1 and channel user 22 of another channel 2 in channel 1, and at the same time establish an association between channel user 22 of this platform and channel user 33 of another channel 3 in channel 2 , then the channel user 11 and the channel user 22, and the channel user 22 and the channel user 33 have a direct relationship respectively, while the channel user 11 and the channel user 33 have an indirect relationship, and the channel user 11, the channel user 22 and the channel user 33 have an indirect relationship. Forms a set of channel user accounts.

共享存储系统中存储有各个会员用户的历史身份数据,基于此,检测任一组渠道用户账号中是否存在绑定有会员用户账号的渠道用户账号,由于历史身份数据是各个渠道各自维护的,并未打通,则若检测结果为存在,表明该组渠道用户账号存在历史身份数据同步的需求,此时则执行步骤S130以进行同步更新处理;若检测结果为不存在,则表明该组渠道用户账号不存在历史数据同步的需求,本方法结束。The shared storage system stores the historical identity data of each member user. Based on this, it is detected whether there is a channel user account bound to a member user account in any group of channel user accounts. Since the historical identity data is maintained by each channel, and If not connected, if the detection result is existence, it indicates that there is a need for historical identity data synchronization in this group of channel user accounts. At this time, step S130 is performed to perform synchronous update processing; if the detection result is nonexistent, it indicates that this group of channel user accounts There is no requirement for historical data synchronization, and the method ends.

步骤S130:根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。Step S130: Synchronize and update the historical identity data of the member users for the group of channel user accounts according to the historical identity data of the one or more member users bound to the one or more channel user accounts in the shared storage system.

具体地,对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理,使该组渠道用户账号中各个渠道用户账号绑定的会员用户保持同步,进而可在各个渠道用户账号中均使用该会员用户。举例来说,渠道账号11、渠道用户22和渠道用户33为一组渠道用户账号,其中,渠道用户11绑定有肯德基的会员用户,而渠道用户22和渠道用户33并未绑定肯德基的会员用户,则可通过将渠道用户11绑定的肯德基的会员用户的历史身份数据同步给渠道用户22和渠道用户33,以使得渠道用户22和渠道用户33也可使用该会员用户。Specifically, the historical identity data of member users is synchronously 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 synchronized, and can be used in all channel user accounts. the member user. For example, channel account 11, channel user 22 and channel user 33 are a group of channel user accounts, wherein channel user 11 is bound to a member of KFC, while channel user 22 and channel user 33 are not bound to a member of KFC user, by synchronizing the historical identity data of the KFC member user bound by 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 one or more member users are one (obviously a member object), or, if one or more member users are multiple and the multiple member users belong to the same member object, then synchronously update the member object. Or, if there are multiple one or more member users, and the multiple member users belong to at least two member objects, synchronous update can be performed for each member object in turn according to the method of synchronous update processing for the same member object. The synchronous update processing can also be performed simultaneously for each member object in the manner of performing synchronous update processing on the same member object. The member object is the entity to which the member user belongs, for example, the brand or store to which the member user belongs.

本实施例方案,可由同步系统来执行,该同步系统可与各个渠道系统之间进行通信,获取各个渠道的身份数据,并向各个渠道的渠道用户账户同步身份数据;以及,该同步系统可对共享存储系统中存储的身份数据进行操作,例如,进行身份数据的修改、删除等。The solution of this embodiment can be implemented by a synchronization system, which can communicate with each channel system, obtain the identity data of each channel, and synchronize the identity data with the channel user accounts of each channel; The identity data stored in the shared storage system is operated, for example, the modification and deletion of the identity data are performed.

根据本实施例提供的身份数据的同步方法,首先从各个渠道中获取至少一个会员用户的历史身份数据,并汇总存储到共享存储系统中;以及,针对任一组渠道用户账号,基于共享存储系统中的历史身份数据检测该组渠道用户账号是否存在需要进行同步更新处理的一个或多个会员用户,准确的检测出历史会员的同步更新需求;并且,当检测出任一组渠道用户账号中存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,判定存在同步更新需求,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理,以使该组渠道用户账号中各个渠道用户账号绑定的会员用户保持同步。由此可见,本实施例方案,可以完成历史会员用户的历史身份数据在任一组渠道用户账号中的同步,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于历史会员数据的多渠道融合分析与处理。According to the method for synchronizing identity data provided by this embodiment, the historical identity data of at least one member user is firstly obtained from each channel, and stored in a shared storage system in aggregate; and, for any group of channel user accounts, based on the shared storage system The historical identity data in Detect whether there are one or more member users that need to be synchronously updated in this group of channel user accounts, and accurately detect the synchronous update requirements of historical members; One or more channel user accounts bound to any one or more member user accounts, and it is determined that there is a need for synchronous update, then according to the one or more member users bound to the one or more channel user accounts in the shared storage system. The historical identity data is used to synchronize and update the historical identity data of the member users for the group of channel user accounts, so as to keep the member users bound to each channel user account in the group of channel user accounts synchronized. It can be seen that the solution of 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 beneficial to the historical member data. Multi-channel fusion analysis and processing.

图2示出了本发明另一个实施例提供的身份数据的同步方法的流程图。在本实施例中,针对任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象的情况进行说明。如图2所示,该方法包括以下步骤:FIG. 2 shows a flowchart of a method for synchronizing identity data provided by another embodiment of the present invention. In this embodiment, description will be given for a situation 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 the historical identity data of at least one member user, and store the historical identity data of the at least one member user in the shared storage system; A channel user account, and/or at least one second channel user account associated with the first channel user account.

在一些可选的实施例中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。其中,会员资源信息是指反映会员等级、积分和/或权益的信息,以及会员对象即会员用户所属的实体,会员对象的对象信息是指该实体的标识信息,例如,品牌名称、品牌编码等等。需要在此说明的是,本发明并不以上述限定的历史身份数据中的数据项为例,具体实施时,本领域技术人员可根据实际需求,在历史身份数据中添加其他的数据项,例如,加入会员用户来源渠道的渠道标识。In some optional embodiments, the member user's historical identity data further includes member resource information and/or member object object information. 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, and the object information of the member object refers to the identification information of the entity, such as brand name, brand code, etc. Wait. It should be noted here that the present invention does not take the data items in the above-defined historical identity data as an example. During specific implementation, those skilled in the art can add other data items to the historical identity data according to actual needs, such as , and add the channel ID of the source channel of the member user.

具体地,在进行身份数据同步时,通常是在若干个目标渠道之间进行的,相应的,则从该若干个目标渠道中获取至少一个会员用户的历史身份数据,并存储至共享存储系统中。Specifically, when synchronizing the identity data, it is usually performed 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 is one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; wherein, a group of channel accounts There is a direct or indirect association relationship between the multiple channel user accounts in ; if yes, step S230 is executed; if not, the method ends.

具体地,根据若干个目标渠道中的渠道用户账号之间的关联关系,确定出各组渠道用户账号,其中,可通过查询会员用户的历史身份数据中的第一渠道用户账号和至少一个第二渠道用户账号来确定各组渠道用户账号;或者,可通过查询渠道用户账号关联表来确定各组渠道用户账号。Specifically, each group of channel user accounts is determined according to the association relationship between channel user accounts in several target channels, wherein the first channel user account and at least one second channel user account in the historical identity data of the member users can be queried. channel user accounts 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, it is detected 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, there is one or more channel user accounts bound to any one or more member user accounts in this 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 for illustration, if the historical identity data in the shared storage system includes a first channel user account as channel user 11 The historical identity data a, and include 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 means that there is at least one channel in the group of channel user accounts before the synchronization update process is performed. If the user account has been bound to a member user, then step S230 needs to be executed to perform synchronous update processing, so that the historical identity data of the bound member user is bound to the members of the multiple channel user accounts in the group of channel user accounts. The user's historical identity data is kept in sync. On the contrary, there is no need to perform synchronous update processing.

步骤S230:向至少一个渠道用户账号对应的客户端发送会员选择请求,接收该客户端反馈的会员选择结果;根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Step S230: Send a member selection request to the client terminal 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, integrate the historical identity data of multiple member users; The historical identity data of member users is synchronized to all channel user accounts in this group of channel user accounts.

本实施例主要以检测出任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象的情况进行说明。这种情况主要是指该组渠道用户账号中有至少两个渠道用户账号分别绑定有同一会员对象的不同会员用户账号。如下表1示出了此种情况的一种具体示例:This embodiment is mainly described by detecting that there are multiple channel user accounts bound to any number of member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object. This situation mainly means that there are at least two channel user accounts in the group of channel user accounts respectively bound to different member user accounts of the same member object. A specific example of this situation is shown in Table 1 below:

Figure BDA0002332127260000111
Figure BDA0002332127260000111

Figure BDA0002332127260000121
Figure BDA0002332127260000121

在上表1中,渠道用户11和渠道用户22分别绑定会员用户111和会员用户222,并且会员用户111和会员用户222均属于品牌m,符合本实施例针对的情况。In Table 1 above, channel user 11 and channel user 22 are bound to member user 111 and member user 222 respectively, and both member user 111 and member user 222 belong to 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 terminal corresponding to at least one channel user account in the group of channel user accounts, wherein the at least one channel user account may be any one or any number of channel user accounts in the group a channel user account, optionally, according to a member user viewing request initiated by a client corresponding to one or more channel user accounts in the group of channel users, a member selection request is sent to the client that initiated the member user viewing request, wherein, Open the member center page on the client to initiate a member user viewing request; or, send a member selection request to the client corresponding to each channel user account in the group of channel user accounts. In addition, the member selection request carries one or more pieces of data in the historical identity data of multiple member users, so that the client can display the data of the multiple member users for selection on the client after receiving the member selection request. Card information, for example, displays information such as member user account, membership level and so on.

进一步的,客户端接收用户的选择操作,并将会员选择结果反馈给本方案的执行系统;在接收到会员选择结果后,确定选择的目标会员用户;然后对多个会员用户的历史身份数据进行整合处理,将多个会员用户的历史身份数据整合到目标用户会员的历史身份数据中,具体将多个会员用户的历史身份数据中的会员资源信息进行整合处理后作为目标会员用户的历史身份数据中的会员资源信息,例如,对会员积分进行累加处理得到更新后的会员积分。在完成上述整合处理后,将目标会员用户更新后的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。下面以表1为例来具体说明上述同步更新处理的过程:Further, the client terminal receives the user's selection operation, and feeds back the member selection result to the execution system of the scheme; after receiving the member selection result, determines the selected target member user; Integrate processing, integrate 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 the , for example, accumulating member points to obtain updated member points. After the above integration processing is completed, 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 process of the above-mentioned synchronous update processing:

假设向渠道用户33的客户端发送会员用户111和会员用户222的会员选择请求,渠道用户33返回选择会员用户111的会员选择结果,即目标会员用户为会员用户111;将会员用户111和会员用户222的会员资源信息进行整合处理,例如将资源s1和资源s2累加得到会员用户111更新后的会员资源信息,则可得到整合后的历史会员数据如下:Suppose that a member selection request of member user 111 and member user 222 is sent to the client of channel user 33, and channel user 33 returns the member selection result of selecting member user 111, that is, the target member user is member user 111; The member resource information of 222 is integrated and processed. For example, by accumulating the resource s1 and the resource s2 to obtain the member resource information updated by the member user 111, the integrated historical member data can be obtained as follows:

Figure BDA0002332127260000131
Figure BDA0002332127260000131

将该整合后的历史会员数据同步给渠道用户11、渠道用户22以及渠道用户33,则完成了该组渠道用户之间的同步更新处理。Synchronizing the integrated historical membership data to the channel user 11 , the channel user 22 and the channel user 33 completes the synchronization update process among the group of channel users.

在本发明的一些可选的实施例中,在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系,进而可在共享存储系统中的上述同步给各个渠道用户账号的会员用户的历史身份数据发生更新时,及时向该历史身份数据中的会员用户账号绑定的各个渠道用户账号发送更新的消息,以及时进行会员用户的历史身份数据的更新。In some optional embodiments of the present invention, 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, and then the above synchronization in the shared storage system can be performed. When the historical identity data of the member users of each channel user account is updated, timely send an update message to each channel user account bound to the member user account in the historical identity data, and update the historical identity data of the member user in time .

在一些可选的实施方式中,在完成上述同步更新处理后,针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。在实际中,同一渠道的不同渠道用户账号仅可绑定同一个会员对象的不同会员用户,例如,针对品牌m,渠道1中的渠道用户11和渠道用户11’只能绑定不同的会员用户111和会员用户111’,而不能同时绑定会员用户111;同时,在历史的会员用户中,存在至少两个渠道的至少两个渠道用户账号注册或绑定同一会员用户,且该至少两个渠道用户账号不具有直接或间接关联关系的情况,例如,在上文中表1的基础上,若还同时存在一条历史会员数据如下:In some optional implementations, after completing the above synchronization update process, for each channel, it is determined whether multiple channel user accounts in any channel have the same historical identity data of the member user; if so, keep multiple channels The historical identity data of member users of one channel user account in the user account, delete the historical identity data of member users of other channel user accounts in multiple channel user accounts. In practice, 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 member users 111 and member user 111', but cannot be bound to member user 111 at the same time; at the same time, among the historical member users, there are at least two channel user accounts of at least two channels registered or bound to 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 membership data as follows:

Figure BDA0002332127260000132
Figure BDA0002332127260000132

Figure BDA0002332127260000141
Figure BDA0002332127260000141

其中,渠道用户33’为渠道3的渠道用户账号,而渠道用户33’与渠道用户11并无直接或间接关联关系,则在完成上述同步更新处理后,渠道3中存在渠道用户33和渠道用户33’均绑定会员用户111,此时则违背了同一渠道的不同渠道用户账号仅可绑定同一个会员对象的不同会员用户的原则。Among them, channel user 33' is the channel user account of channel 3, and channel user 33' has no direct or indirect relationship with channel user 11. After the above synchronization update process is completed, there are channel user 33 and channel user in channel 3. 33' is bound to member user 111, which 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 these optional embodiments, after the synchronization update is completed, for the non-source channels of the selected target user members (there is no situation that violates the above principles in the source channels), determine the Whether there are two channel user accounts in multiple channel user accounts bound to the same member user account, if so, retain and delete the binding relationship, so that different channel user accounts of the same channel can only be bound to the same member Different member users of the object. It should be noted here that, in actual implementation, the process of judging duplicate member users in the same channel can be performed after the synchronization update process of each group of channel user accounts is completed, so as to ensure that the above principles are not violated during the synchronization update process at all times; Alternatively, it can also be executed after all group channel user accounts are updated synchronously to reduce the frequency of data processing.

经过上述步骤S210至步骤S230,则对历史会员用户完成了历史身份数据在各组渠道用户账号之间的同步;下述步骤S240,则是在完成历史身份数据的同步之后,进一步对实时新增的注册会员用户进行同步更新处理。After the above steps S210 to S230, the historical identity data is synchronized between the accounts of each group of channel users for the historical member users; in the following step S240, after the synchronization of the historical identity data is completed, the real-time new identity data is further synchronized. The registered member users will be updated synchronously.

步骤S240:根据任一渠道用户账号发起的会员注册请求,对与该渠道账号具有直接或间接关联关系的渠道用户账号进行会员用户的实时身份数据的同步更新处理。Step S240: According to the member registration request initiated by any channel user account, perform synchronization update processing of the real-time identity data of the member user on the channel user account that has a direct or indirect relationship with the channel account.

首先需要在此说明的是,在本实施例中,新注册的会员用户的身份数据的组成与历史身份数据相似,下文中新绑定的会员用户的身份数据也如此。First of all, it should be noted here that, in this embodiment, the composition of the identity data of the newly registered member user is similar to the historical identity data, and the same is true of the identity data of the newly bound member user in the following.

具体地,在任一渠道用户账号的客户端中发起新增一目标会员对象的会员用户的请求,且该渠道用户账号还未绑定该会员对象的会员用户账号(表明包含该渠道用户账号的一组渠道用户账号均未绑定该会员对象的会员用户账号),则会通过该渠道用户账号向本方案的执行系统发起会员注册请求。例如,渠道用户账号11还未绑定品牌n的会员用户账号,若在渠道用户账号11的客户端注册该品牌n的会员用户,则会向执行系统发起会员注册请求。以及,接收任一渠道账号发起的会员注册请求,该会员注册请求包含新注册的会员用户的身份数据;判断是否存在与该新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号,其中,若存在,则表明存在对该新注册的会员用户的身份数据进行同步更新处理的需求,将该新注册的会员用户的身份数据同步给该至少一个待同步渠道用户账号;若不存在,则表明虽有新注册的会员用户,而并不存在同步更新处理的需求,则仅将该新注册的会员用户的身份数据保存在共享存储系统中即可。Specifically, a request to add 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 including 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 scheme through the channel user account. For example, the channel user account 11 has not been bound to the member user account of brand n. If a member user of the brand n is registered on the client terminal of the channel user account 11, a member registration request will be initiated to the execution system. And, receive a member registration request initiated by any channel account, the member registration request contains the identity data of the newly registered member user; determine whether there is a direct or indirect association with the channel user account in the identity data of the newly registered member user At least one channel user account of the relationship to be synchronized, wherein, if there is, it indicates that there is a need for synchronous update processing of 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 The user account of the channel 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 synchronous update processing, only the identity data of the newly registered member user can be stored in the shared storage system. .

另外,在本发明的一些可选的实施例中,在完成历史会员用户的历史身份数据和/或新注册的会员用户的身份数据的同步更新处理后,接收任一渠道用户账号发起的会员换绑请求,该会员换绑请求中包含新绑定的会员用户的身份数据,其中,在任一渠道用户账号的客户端中发起新增一目标会员对象的会员用户的请求,且该渠道用户账号已绑定有该会员对象的会员用户账号,即表明需要将该渠道用户账号历史绑定的会员用户账号换绑为新增的会员用户账号,则通过该渠道用户账号向本方案的执行系统发起会员换绑请求;判断是否存在与该新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号,若存在,则表明存在需要进行同步换绑的渠道用户账号,根据该新绑定的会员用户的身份数据对该至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理,其中,在换绑处理的过程中,将新绑定的会员用户的身份数据同步给至少一个待换绑渠道用户账号,以使至少一个待换绑渠道用户账号将绑定的该会员对象的会员用户账号进行更换。In addition, in some optional embodiments of the present invention, after completing the synchronous update processing of the historical identity data of the historical member users and/or the identity data of the newly registered member users, the member exchange initiated by the user account of any channel is received. Binding request, the member exchange binding request contains the identity data of the newly bound member user, wherein 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 been The member user account bound to the member object means that the member user account historically bound to the channel user account needs to be replaced with a new member user account, and then the channel user account is used to initiate membership to the execution system of this plan. Change binding request; determine whether there is at least one channel user account to be exchanged that has a direct or indirect relationship with the channel user account in the newly bound member user's identity data, if so, it indicates that there is a need for synchronous exchange binding The channel user account of the newly bound member user is subjected to the exchange and binding process of the identity data of the member user for the at least one channel user account to be exchanged according to the identity data of the newly bound member user. The identity data of the predetermined member user is synchronized to the at least one channel user account to be exchanged and bound, so that the at least one channel user account to be exchanged and bound will replace the bound member user account of the member object.

步骤S250:接收任一渠道用户账号返回的会员用户的资源更新数据;根据该资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。Step S250: Receive the resource update data of the member user returned by the user account of any channel; perform the update process 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 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 are synchronized between each group of channel user accounts, the interface to update the synchronized identity data, wherein the new interface refers to the channel interface corresponding to each channel user account to be synchronized. 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 the channel 1, and the historical identity data of the member user 111 is synchronized to the channel account 11 and the channel account 22. After and channel account number 33, the historical member data can be updated through channel 1, channel 2 and channel 3 respectively, and these updated data can be synchronized to the channel user accounts in other channels that have not been updated through the shared storage system. .

进一步的,在完成同步后,可通过任一渠道用户账号对会员资源信息进行更新,例如,对会员积分进行更新,并将资源更新数据返回给本方案的执行系统;本方案的执行系统在接收到该资源更新数据后,对共享存储系统中该对应的会员用户的历史身份数据中的会员资源信息进行更新处理,以使共享存储系统中的会员资源信息实时保持为最新的数据,进而可以使各个渠道从共享存储系统中监听到最新的会员资源信息并对各自渠道中同组的渠道用户账号绑定的会员用户账号的会员资源信息进行更新处理。Further, after the synchronization is completed, the member resource information can be updated through the user account of any channel, for example, the member points can be updated, and the resource update data shall be returned to the execution system of this scheme; After the resource update data is reached, 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, and then can make 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 each 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 a channel user account directly or indirectly associated with any channel user account in a group of channel user accounts is added or decreased, the second channel user account in the synchronized identity data will be updated, and the channel account update data will be updated. Feedback to the execution system of this scheme; after receiving the update data of the channel account, the execution system of this scheme 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 new account. The binding relationship between the increased (or decreased) second channel user account and the member user account of the corresponding member user, so that the updated historical identity data is only mistakenly sent to the channel user account with direct or indirect association. Wherein, if the update situation is that the second channel user account is increased, the second channel user account in the identity data of the synchronized member user in the shared storage system is newly added, and the newly added second channel user account and The binding relationship of the member user account of the synchronized member user, and the historical identity data of the member user is synchronized to the newly added second channel user account.

另外,在本发明的一些可选的实施例中,当接收到任一渠道用户账号发起的解绑请求,该解绑请求中携带有请求发起的渠道用户账号以及请求解绑的会员用户账号;根据该解绑请求查询请求发起的渠道用户账号所在的一组渠道用户账号,解除共享存储系统中该组渠道用户账号中的每个渠道用户账号与请求解绑的会员用户账号的绑定关系,并向该组渠道用户账号中除请求发起的渠道用户账号之外的其它渠道用户账号发送解绑指令,该解绑指令携带请求解绑的会员用户账号。通过这种方式,可在一个渠道用户账号中完成会员用户账号的绑定后,完成一组渠道用户账号中各个渠道用户账号与请求解绑的会员用户账号的绑定,实现同一会员用户账号在多个渠道的渠道用户账号中的快速解绑。In addition, in some optional embodiments of the present invention, when an unbinding request initiated by any channel user account is received, the unbinding request carries the channel user account initiated by the request and the member user account requested for unbinding; According to the unbinding request, query a group of channel user accounts where the channel user account initiated by the request is located, and release the binding relationship between each channel user account in the group of channel user accounts in the shared storage system and the member user account requested to be unbound, Send an unbinding instruction to other channel user accounts in the group of channel user accounts except the channel user account that initiates the request, where the unbinding instruction carries the member user account that is requested to be unbound. In this way, after completing the binding of member user accounts in one channel user account, the binding of each channel user account in a group of channel user accounts with the member user account requested to be unbound can be completed, so that the same member user account can be Quick unbinding in channel user accounts for multiple channels.

根据本实施例提供的身份数据的同步方法,首先从各个渠道中获取至少一个会员用户的历史身份数据,并汇总存储到共享存储系统中;以及,针对任一组渠道用户账号,基于共享存储系统中的历史身份数据检测该组渠道用户账号是否存在需要进行同步更新处理的一个或多个会员用户,准确的检测出历史会员的同步更新需求当判定存在同步更新需求,则进行同步更新处理,完成历史身份数据的同步;并且,进一步对实时新注册的会员用户的身份数据进行同步更新处理,使得同组渠道用户账号绑定的会员用户账号实时保持同步;而且,在完成同步更新处理后,可通过接收任一渠道用户账号发起的更新请求,对共享存储系统中的身份数据进行更新,以便于各个渠道监听到更新的身份数据并获取使用。由此可见,本实施例方案,可以对历史身份数据以及实时产生的新的身份数据进行同步更新处理,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于会员数据的多渠道融合。According to the method for synchronizing identity data provided by this embodiment, the historical identity data of at least one member user is firstly obtained from each channel, and stored in a shared storage system in aggregate; and, for any group of channel user accounts, based on the shared storage system The historical identity data in Detect whether there are one or more member users that need to be synchronously updated in this group of channel user accounts, and accurately detect the synchronous update requirements of historical members. When it is determined that there is a synchronous update demand, perform synchronous update processing and complete. Synchronization of historical identity data; and further synchronously update 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 are synchronized in real time; By receiving the update request initiated by the 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 and use it. It can be seen that the solution of this embodiment can synchronously update the historical identity data and the 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 beneficial to the multiplication of member data. Channel integration.

图3示出了本发明又一个实施例提供的身份数据的同步方法的流程图。在本实施例中,针对任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号的情况进行说明。如图3所示,该方法包括以下步骤:FIG. 3 shows a flowchart of a method for synchronizing identity data provided by yet another embodiment of the present invention. In this embodiment, description will be given for the case where one or more channel user accounts bound to any member user account exist in any group of channel user accounts. As shown in Figure 3, the method includes the following steps:

步骤S310:获取至少一个会员用户的历史身份数据,将该至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与该第一渠道用户账号关联的至少一个第二渠道用户账号。Step S310: 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 the shared storage system; A channel user account, and/or at least one second channel user account associated with the first channel user account.

其中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。Wherein, the historical identity data of the member user also includes member resource information and/or object information of member objects.

步骤S320:根据共享存储系统中的历史身份数据,检测任一组渠道用户账号中是否存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号;其中,一组渠道账号中的多个渠道用户账号两两之间具有直接或间接关联关系;若是,则执行步骤S230;若否,则本方法结束。Step S320: According to the historical identity data in the shared storage system, detect whether there is one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; wherein, a group of channel accounts There is a direct or indirect association relationship between the multiple channel user accounts in ; if yes, step S230 is executed; if not, the method ends.

步骤S330:将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了该一个或多个渠道用户账号以外的渠道用户账号。Step S330: Synchronize the historical identity data of the one member user to the channel user accounts other than the one or more channel user accounts in the group of channel user accounts.

本实施例主要是以检测出任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号的情况进行说明。这种情况主要是指该组渠道用户账号仅绑定有一个会员用户账号,具体可以是该组渠道用户账号中仅有一个渠道用户账号绑定该一个会员用户账号,也可以是该组渠道用户账号中的多个渠道用户账号绑定该一个会员用户账号。This embodiment is mainly described in the case of detecting that one or more channel user accounts bound to any member user account exist in any group of channel user accounts. This situation mainly means that the group of channel user accounts is bound to only one member user account, specifically, 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 performing the synchronization update process, the historical identity data of the one member user can be synchronized to the channel user account that is not bound to the member user account in the group of channel user accounts. Meanwhile, in an optional implementation manner, the channel user accounts other than the one or more channel user accounts in the group of channel user accounts are established in the shared storage system, and are bound to the member user account of the one member user. That is, to establish a binding relationship between the channel account that is not bound to the member user account in the channel account of the group and the member user account, so that each channel user account in the channel user account of the group is stored in the shared storage system. The binding relationship with the member user account is further conducive to the 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 optional implementations, after completing the above synchronization update process, for each channel, it is determined whether multiple channel user accounts in any channel have the same historical identity data of the member user; if so, keep multiple channels The historical identity data of member users of one channel user account in the user account, delete the historical identity data of member users of other channel user accounts in multiple channel user accounts.

步骤S340:根据任一渠道用户账号发起的会员注册请求,对与该渠道账号具有直接或间接关联关系的渠道用户账号进行会员用户的实时身份数据的同步更新处理。Step S340: According to the member registration request initiated by any channel user account, perform synchronization update processing of the real-time identity data of the member user for the channel user account that has a direct or indirect relationship with the channel account.

在一些可选的实施方式中,接收任一渠道用户账号发起的会员换绑请求,该会员换绑请求中包含新绑定的会员用户的身份数据;根据该新绑定的会员用户的身份数据对该至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。In some optional implementations, a member exchange request initiated by a user account of any channel is received, and the member exchange request includes the identity data of the newly bound member user; according to the identity data of the newly bound member user Swap and bind the identity data of the member user for the at least one channel user account to be swapped.

步骤S350:接收任一渠道用户账号返回的会员用户的资源更新数据;根据该资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。Step S350: Receive the resource update data of the member user returned by the user account of any channel; perform the update process 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 embodiment of FIG. 3 above, only the differences from the embodiment of FIG. 2 are described in detail, and the other parts that are not described in detail have the same implementation principles and processes as the corresponding parts in the embodiment of FIG. 2 . , and will not be repeated here.

根据本实施例提供的身份数据的同步方法,可以对历史身份数据以及实时产生的新的身份数据进行同步更新处理,使同一用户在各个渠道的渠道用户账号绑定的会员用户保持一致,利于会员数据的多渠道融合。According to the method for synchronizing identity data provided in this embodiment, historical identity data and new identity data generated in real time can be synchronously updated, so that the member users bound to the channel user accounts of the same user in various channels are consistent, which is beneficial to members Multi-channel fusion of data.

另外,在本发明的一些其它实施例中,针对任多个会员用户账号属于多个会员对象的情况,则按照会员对象进行同步更新处理,具体地,针对每个会员对象,若该会员对象的会员用户账号为多个,则利用图2实施例的方法进行同步更新处理,若该会员对象的会员用户账号为一个,则利用图3实施例的方法进行同步更新处理。In addition, in some other embodiments of the present invention, for the situation that any number of member user accounts belong to multiple member objects, the 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 of FIG. 2 is used to perform synchronous update processing. If the member object has one member user account, the method of the embodiment of FIG. 3 is used to perform synchronous update processing.

图4示出了本发明实施例提供的身份数据的同步装置的结构示意图。如图4所示,该装置包括:FIG. 4 shows a schematic structural diagram of an apparatus for synchronizing identity data provided by an embodiment of the present invention. As shown in Figure 4, the device includes:

存储模块410,适于获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;The storage module 410 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 the shared storage system; the historical identity data of the member user includes: a member user account, and a 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 is one or more channel user accounts bound to any one or any plurality of member user accounts in any group of channel user accounts according to the historical identity data in the shared storage system; There is a direct or indirect relationship between multiple channel user accounts in a group channel account;

历史会员同步模块430,适于若存在与任一个或任多个会员用户账号绑定的一个或多个渠道用户账号,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。The historical member synchronization module 430 is adapted to, if there is one or more channel user accounts bound with any one or more member user accounts, then 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 a plurality of member users is subjected to synchronous update processing of the historical identity data of the member users for the group of channel user accounts.

在一种可选的方式中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。In an optional manner, the historical identity data of the member user also includes member resource information and/or object information of member objects.

在一种可选的方式中,所述同步模块进一步适于:In an optional manner, the synchronization module is further adapted to:

若检测出任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。If it is detected that there are one or more channel user accounts bound to any member user account in any group of channel user accounts, the historical identity data of the one member user will be synchronized to the group of channel user accounts except for the one or a channel user account other than multiple channel user accounts.

在一种可选的方式中,所述装置还包括:绑定模块,适于在共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。In an optional manner, the apparatus further includes: a binding module adapted to establish in the shared storage system channel user accounts other than the one or more channel user accounts in the group of channel user accounts , the binding relationship with the member user account of the one member user.

在一种可选的方式中,所述同步模块进一步适于:In an optional manner, the synchronization module is further adapted to:

若检测出任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象,向至少一个渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;If it is detected that there are multiple channel user accounts bound to any number of member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object, send the member selection to the client corresponding to at least one channel user account request, and receive the member selection result fed back by the client;

根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;According to the result of member selection, integrate the historical identity data of multiple member users;

将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.

在一种可选的方式中,所述装置还包括:绑定模块,适于在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。In an optional manner, 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 an optional manner, the device further includes:

绑定修正模块,适于针对各个渠道,判断任一渠道中的多个渠道用户账号是否具有相同的会员用户的历史身份数据;若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。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 the member user; if so, retain the member user of one channel user account among the multiple channel user accounts and delete the historical identity data of member users of other channel user accounts in multiple channel user accounts.

在一种可选的方式中,所述装置还包括:In an optional manner, the device further includes:

新增会员同步模块,适于接收任一渠道账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;判断是否存在与所述新注册的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待同步渠道用户账号;若是,则将所述新注册的会员用户的身份数据同步给所述至少一个待同步渠道用户账号。The newly added member synchronization module is suitable for receiving a member registration request initiated by any channel account, and the member registration request includes the identity data of the newly registered member user; it is judged whether there is an identity data related to the newly registered member user. The channel user account has at least one to-be-synchronized channel user account with a direct or indirect association; if so, synchronize the identity data of the newly registered member user to the at least one to-be-synchronized channel user account.

在一种可选的方式中,所述装置还包括:In an optional manner, the device further includes:

换绑模块,适于接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。The binding exchange module is suitable for receiving a member exchange binding request initiated by a user account of any channel, and the member exchange binding request contains the identity data of the newly bound member user; judges whether there is a relationship with the newly bound member user. The channel user account in the identity data has at least one channel user account to be exchanged and bound with a direct or indirect relationship; if so, the at least one channel user account to be exchanged and bound is performed according to the identity data of the newly bound member user. Binding processing of identity data of member users.

在一种可选的方式中,所述装置还包括:In an optional manner, the device further includes:

更新模块,适于接收任一渠道用户账号返回的会员用户的资源更新数据;根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。The update module is adapted to receive the resource update data of the member user returned by the user account of any channel; according to the resource update data, the update process of the member user resource information is performed on the corresponding member user in the shared storage system.

本发明实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的身份数据的同步方法。An embodiment of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for synchronizing identity data in any of the above method embodiments.

图5示出了本发明实施例提供的计算设备的结构示意图,本发明具体实施例并不对计算设备的具体实现做限定。FIG. 5 shows a schematic structural diagram of a computing device provided by an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the computing device.

如图5所示,该计算设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。As shown in FIG. 5 , the computing device may include: a processor (processor) 502 , a communications interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .

其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。处理器502,用于执行程序510,具体可以执行上述用于计算设备的身份数据的同步方法实施例中的相关步骤。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 network elements of other devices such as clients or other servers. The processor 502 is configured to execute the program 510, and specifically may execute the relevant steps in the foregoing embodiments of the method for synchronizing identity data of a computing device.

具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 510 may include program code including computer operation instructions.

处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific 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 embodiments of the present invention. The one or more processors included in the computing device may be the same type of processors, such as one or more CPUs; or may be 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 the program 510 . Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

程序510具体可以用于使得处理器502执行以下操作:The program 510 can specifically be used to cause the processor 502 to perform the following operations:

获取至少一个会员用户的历史身份数据,将所述至少一个会员用户的历史身份数据存储至共享存储系统中;会员用户的历史身份数据包含:会员用户账号、与会员用户账号绑定的第一渠道用户账号、和/或与所述第一渠道用户账号关联的至少一个第二渠道用户账号;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 the shared storage system; the historical identity data of the member user includes: the member user account, the first channel bound with the member user account 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 is one or more channel user accounts bound to any one or more member user accounts in any group of channel user accounts; There is a direct or indirect relationship between each channel user account;

若是,则根据共享存储系统中该一个或多个渠道用户账号绑定的一个或多个会员用户的历史身份数据对该组渠道用户账号进行会员用户的历史身份数据的同步更新处理。If it is, then 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, synchronously update the historical identity data of the member users for the group of channel user accounts.

在一种可选的方式中,会员用户的历史身份数据还包含会员资源信息、和/或会员对象的对象信息。In an optional manner, the historical identity data of the member user also includes member resource information and/or object information of member objects.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

若检测出任一组渠道用户账号中存在与任一个会员用户账号绑定的一个或多个渠道用户账号,则将该一个会员用户的历史身份数据同步给对该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号。If it is detected that there are one or more channel user accounts bound to any member user account in any group of channel user accounts, the historical identity data of the one member user will be synchronized to the group of channel user accounts except for the one or a channel user account other than multiple channel user accounts.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

在共享存储系统中建立所述该组渠道用户账号中除了所述一个或多个渠道用户账号以外的渠道用户账号,与所述一个会员用户的会员用户账号的绑定关系。A binding relationship between the 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.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

若检测出任一组渠道用户账号中存在与任多个会员用户账号绑定的多个渠道用户账号,并且多个会员用户账号属于同一会员对象,向至少一个渠道用户账号对应的客户端发送会员选择请求,接收所述客户端反馈的会员选择结果;If it is detected that there are multiple channel user accounts bound to any number of member user accounts in any group of channel user accounts, and the multiple member user accounts belong to the same member object, send the member selection to the client corresponding to at least one channel user account request, and receive the member selection result fed back by the client;

根据会员选择结果,对多个会员用户的历史身份数据进行整合处理;According to the result of member selection, integrate the historical identity data of multiple member users;

将整合后的会员用户的历史身份数据同步给该组渠道用户账号中的所有渠道用户账号。Synchronize the integrated historical identity data of member users to all channel user accounts in the group of channel user accounts.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

在共享存储系统中建立该组渠道用户账号中每个渠道用户账号与选择的会员用户账号的绑定关系。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.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 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 member users;

若是,则保留多个渠道用户账号中一个渠道用户账号的会员用户的历史身份数据,删除多个渠道用户账号中其它渠道用户账号的会员用户的历史身份数据。If so, keep the historical identity data of the member users of one channel user account among the multiple channel user accounts, and delete the historical identity data of the member users of other channel user accounts among the multiple channel user accounts.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

接收任一渠道账号发起的会员注册请求,所述会员注册请求包含新注册的会员用户的身份数据;Receive a member registration request initiated by any channel account, where the member registration request includes 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 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.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

接收任一渠道用户账号发起的会员换绑请求,所述会员换绑请求中包含新绑定的会员用户的身份数据;Receive a membership rebinding request initiated by a user account of any channel, where the membership rebinding request includes the identity data of the newly bound member user;

判断是否存在与所述新绑定的会员用户的身份数据中的渠道用户账号具有直接或间接关联关系的至少一个待换绑渠道用户账号;若是,则根据所述新绑定的会员用户的身份数据对所述至少一个待换绑渠道用户账号进行会员用户的身份数据的换绑处理。Determine whether there is at least one channel user account to be bound that has a direct or indirect relationship with the channel user account in the identity data of the newly bound member user; if so, then according to the identity of the newly bound member user The data performs the exchange and binding process of the identity data of the member user for the at least one channel user account to be exchanged and bound.

在一种可选的方式中,所述程序510使所述处理器执行以下操作:In an optional manner, the program 510 causes the processor to perform the following operations:

接收任一渠道用户账号返回的会员用户的资源更新数据;Receive the resource update data of member users returned by the user account of any channel;

根据所述资源更新数据对共享存储系统中对应的会员用户进行会员用户资源信息的更新处理。The member user resource information update process is performed on the corresponding member user in the shared storage system according to the resource update data.

在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明实施例的内容,并且上面对特定语言所做的描述是为了披露本发明实施例的最佳实施方式。The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present invention are not directed to any particular programming language. It is to be understood that various programming languages can be used to implement the contents of the embodiments of the invention described herein and that the above descriptions of specific languages are intended to disclose the best mode of carrying out the embodiments of the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本发明实施例并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明实施例要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in order to simplify the embodiments of the invention and to aid in the understanding of one or more of the various aspects of the invention. in a single embodiment, figure, or description thereof. However, this disclosed approach should not be construed to reflect an intention that the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present invention And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一些或者全部部件的一些或者全部功能。本发明实施例还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明实施例的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will 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 invention. Embodiments of the present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing embodiments of the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明实施例进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明实施例可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-described embodiments illustrate rather than limit embodiments of the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several different elements and by means of suitably programmed computers. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names. The steps in the above embodiments should not be construed as limitations on the execution order unless otherwise specified.

Claims (22)

1. A method of synchronizing identity data, comprising:
acquiring historical identity data of at least one member user, and storing the historical identity data of the at least one member user into a shared storage system; the historical identity data of the member user comprises: the system comprises a member user account, a first channel user account bound with the member user account and/or at least one second channel user account associated with the first channel user account;
detecting whether one or more channel user accounts bound with any one or more member user accounts exist in any group of channel user accounts according to historical identity data in the shared storage system; the method comprises the following steps that a plurality of channel user accounts in a group of channel accounts have direct or indirect incidence relation;
if yes, performing synchronous updating processing on the historical identity data of the member users on the group of channel user accounts according to the historical identity data of the one or more member users bound by the one or more channel user accounts in the shared storage system.
2. The method of claim 1, wherein the member user's historical identity data further comprises member resource information, and/or object information of the member object.
3. The method of claim 1, wherein the synchronously updating the historical identity data of the member users for any group of channel user accounts according to the historical identity data of the one or more member users bound to the one or more channel user accounts in the shared storage system further comprises:
if one or more channel user accounts bound with any member user account are detected in any group of channel user accounts, synchronizing the historical identity data of the member user to channel user accounts in the group of channel user accounts except the one or more channel user accounts.
4. The method of claim 3, wherein if it is detected that there are one or more channel user accounts bound to any one member user account in any one group of channel user accounts having a direct or indirect relationship, the method further comprises:
and establishing a binding relationship between channel user accounts in the group of channel user accounts except the one or more channel user accounts and the member user account of the member user in a shared storage system.
5. The method of claim 1, wherein the synchronously updating the historical identity data of the member users for any group of channel user accounts according to the historical identity data of the one or more member users bound to the one or more channel user accounts in the shared storage system further comprises:
if the fact that a plurality of channel user accounts bound with any plurality of member user accounts exist in any group of channel user accounts and the plurality of member user accounts belong to the same member object is detected, a member selection request is sent to a client corresponding to at least one channel user account, and a member selection result fed back by the client is received;
according to the member selection result, performing integration processing on historical identity data of a plurality of member users;
and synchronizing the integrated historical identity data of the member user to all channel user accounts in the group of channel user accounts.
6. The method of claim 5, wherein after the integrating the historical identity data of the plurality of member users, the method further comprises:
and establishing 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.
7. The method according to any one of claims 1 to 6, wherein after the processing of synchronously updating the historical identity data of the member users of any one group of channel user accounts according to the historical identity data of the one or more member users bound to the one or more channel user accounts in the shared storage system, the method further comprises:
judging whether a plurality of channel user accounts in any channel have the same historical identity data of member users or not aiming at each channel;
if yes, historical identity data of the member users of one channel user account in the channel user accounts are reserved, and historical identity data of the member users of other channel user accounts in the channel user accounts are deleted.
8. The method according to any one of claims 1 to 6, wherein after the processing of synchronously updating the historical identity data of the member users of any one group of channel user accounts according to the historical identity data of the one or more member users bound to the one or more channel user accounts in the shared storage system, the method further comprises:
receiving a member registration request initiated by any channel account, wherein the member registration request comprises the identity data of a newly registered member user;
judging whether at least one channel user account to be synchronized having a direct or indirect association relation with a channel user account in the identity data of the newly registered member user exists; and if so, synchronizing the identity data of the newly registered member user to the at least one channel user account to be synchronized.
9. The method of any of claims 1-6, wherein the method further comprises:
receiving a member binding change request initiated by a user account of any channel, wherein the member binding change request comprises the identity data of a newly bound member user;
judging whether at least one channel user account to be bound having direct or indirect incidence relation with the channel user account in the identity data of the newly bound member user exists; and if so, performing binding change processing on the identity data of the member user on the at least one channel user account to be bound according to the newly bound identity data of the member user.
10. The method of any of claims 1-6, wherein the method further comprises:
receiving resource updating data of the member user returned by any channel user account;
and updating the member user resource information of the corresponding member users in the shared storage system according to the resource updating data.
11. A synchronization apparatus of identity data, comprising:
the storage module is suitable for acquiring historical identity data of at least one member user and storing the historical identity data of the at least one member user into the shared storage system; the historical identity data of the member user comprises: the system comprises a member user account, a first channel user account bound with the member user account and/or at least one second channel user account associated with the first channel user account;
the detection module is suitable for detecting whether one or more channel user accounts bound with any one or more member user accounts exist in any group of channel user accounts according to historical identity data in the shared storage system; the method comprises the following steps that a plurality of channel user accounts in a group of channel accounts have direct or indirect incidence relation;
and the historical member synchronization module is suitable for performing synchronous updating processing on historical identity data of the member users on the group of channel user accounts according to the historical identity data of the one or more member users bound with the one or more channel user accounts in the shared storage system if one or more channel user accounts bound with any one or more member user accounts exist.
12. The apparatus of claim 11, wherein the member user's historical identity data further comprises member resource information, and/or object information of the member object.
13. The apparatus of claim 11, wherein the synchronization module is further adapted to:
if one or more channel user accounts bound with any member user account are detected in any group of channel user accounts, synchronizing the historical identity data of the member user to channel user accounts in the group of channel user accounts except the one or more channel user accounts.
14. The apparatus of claim 13, wherein the apparatus further comprises: and the binding module is suitable for establishing a binding relationship between the channel user accounts in the group of channel user accounts except the one or more channel user accounts and the member user account of the member user in a shared storage system.
15. The apparatus of claim 11, wherein the synchronization module is further adapted to:
if the fact that a plurality of channel user accounts bound with any plurality of member user accounts exist in any group of channel user accounts and the plurality of member user accounts belong to the same member object is detected, a member selection request is sent to a client corresponding to at least one channel user account, and a member selection result fed back by the client is received;
according to the member selection result, performing integration processing on historical identity data of a plurality of member users;
and synchronizing the integrated historical identity data of the member user to all channel user accounts in the group of channel user accounts.
16. The apparatus of claim 15, wherein the apparatus further comprises: and the binding module is suitable for establishing the 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.
17. The apparatus of any one of claims 11-16, wherein the apparatus further comprises:
the binding correction module is suitable for judging whether a plurality of channel user accounts in any channel have the same historical identity data of the member user or not aiming at each channel; if yes, historical identity data of the member users of one channel user account in the channel user accounts are reserved, and historical identity data of the member users of other channel user accounts in the channel user accounts are deleted.
18. The apparatus of any one of claims 11-16, wherein the apparatus further comprises:
the system comprises a newly-added member synchronization module, a member registration module and a member registration module, wherein the newly-added member synchronization module is suitable for receiving a member registration request initiated by an account number of any channel, and the member registration request comprises the identity data of a newly-registered member user; judging whether at least one channel user account to be synchronized having a direct or indirect association relation with a channel user account in the identity data of the newly registered member user exists; and if so, synchronizing the identity data of the newly registered member user to the at least one channel user account to be synchronized.
19. The apparatus of any one of claims 11-16, wherein the apparatus further comprises:
the system comprises a binding changing module, a binding changing module and a binding changing module, wherein the binding changing module is suitable for receiving a member binding changing request initiated by a user account in any channel, and the member binding changing request comprises identity data of a newly bound member user; judging whether at least one channel user account to be bound having direct or indirect incidence relation with the channel user account in the identity data of the newly bound member user exists; and if so, performing binding change processing on the identity data of the member user on the at least one channel user account to be bound according to the newly bound identity data of the member user.
20. The apparatus of any one of claims 11-16, wherein the apparatus further comprises:
the updating module is suitable for receiving resource updating data of the member user returned by the user account of any channel; and updating the member user resource information of the corresponding member users in the shared storage system according to the resource updating data.
21. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the identity data synchronization method according to any one of claims 1-10.
22. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of synchronizing identity data according to any one of claims 1-10.
CN201911340496.6A 2019-12-23 2019-12-23 Method and device for synchronizing identity data Active CN111147568B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911340496.6A CN111147568B (en) 2019-12-23 2019-12-23 Method and device for synchronizing identity data
PCT/CN2020/137756 WO2021129541A1 (en) 2019-12-23 2020-12-18 Synchronization of identity data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911340496.6A CN111147568B (en) 2019-12-23 2019-12-23 Method and device for synchronizing identity data

Publications (2)

Publication Number Publication Date
CN111147568A CN111147568A (en) 2020-05-12
CN111147568B true CN111147568B (en) 2020-08-25

Family

ID=70519355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911340496.6A Active CN111147568B (en) 2019-12-23 2019-12-23 Method and device for synchronizing identity data

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147568B (en) * 2019-12-23 2020-08-25 浙江口碑网络技术有限公司 Method and device for synchronizing identity data
CN113568970B (en) * 2021-02-03 2025-06-10 腾讯科技(深圳)有限公司 Application business data management method, device, equipment and storage medium

Citations (5)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701239B (en) * 2016-02-24 2019-06-04 北京京东尚科信息技术有限公司 Account information sharing method and device
CN111147568B (en) * 2019-12-23 2020-08-25 浙江口碑网络技术有限公司 Method and device for synchronizing identity data

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN111147568A (en) 2020-05-12
WO2021129541A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
CN105337961B (en) The method and server communicated with client
CN110263035B (en) Blockchain-based data storage, query methods and devices and electronic equipment
JP5826287B2 (en) Data synchronization
CN103873451B (en) A kind of method, apparatus and system of data syn-chronization
CN110703980B (en) A file transmission method and device
CN102904903B (en) Communication system and communication means
CN111400112A (en) Writing method, device and readable storage medium of distributed cluster storage system
CN103095758B (en) A kind of method processing file data in distributed file system and this system
CN105991720A (en) Configuration change method and device
CN108959549A (en) Method for writing data, calculates equipment and computer storage medium at device
CN111611321A (en) Data storage method and device and block chain system
CN104125303B (en) Reading and writing data requesting method, client and system
CN111147568B (en) Method and device for synchronizing identity data
CN113377817A (en) Data processing method, system, device and storage medium
CN104468594B (en) The method, apparatus and system of a kind of request of data
CN105373563B (en) Database switching method and device
CN104580428A (en) Data routing method, data management device and distributed storage system
CN109525621B (en) Data synchronization method, equipment and system based on ZigBee binding
CN103580951B (en) Output comparative approach, test migration householder method and the system of multiple information systems
CN103973747B (en) A kind of method and apparatus for obtaining content
CN115334163B (en) Business data processing method, device and server
CN110012107B (en) A data communication method, device, device, system and storage medium
JP6258554B2 (en) Pre-associated content discovery
CN107577822B (en) Data synchronization method, data synchronization device and mobile terminal
CN110839074A (en) Data request receiving and processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40026874

Country of ref document: HK

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20260114

Address after: Room 507, 788 Zhenbei Road, Putuo District, Shanghai, 200333

Patentee after: Lazas Network Technology (Shanghai) Co., Ltd.

Country or region after: China

Address before: 310012 block g, 11 / F, building a, Paradise Software Park, No.3 xidoumen Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: ZHEJIANG KOUBEI NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China