[go: up one dir, main page]

CN118210783A - Data migration method, device, apparatus, medium and program product - Google Patents

Data migration method, device, apparatus, medium and program product Download PDF

Info

Publication number
CN118210783A
CN118210783A CN202410404564.5A CN202410404564A CN118210783A CN 118210783 A CN118210783 A CN 118210783A CN 202410404564 A CN202410404564 A CN 202410404564A CN 118210783 A CN118210783 A CN 118210783A
Authority
CN
China
Prior art keywords
account
platform
data
user
migration
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.)
Pending
Application number
CN202410404564.5A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202410404564.5A priority Critical patent/CN118210783A/en
Publication of CN118210783A publication Critical patent/CN118210783A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A data migration method, apparatus, device, medium and program product are provided, relating to big data fields, financial fields or other fields. The method comprises the following steps: acquiring first migration data based on N vermicelli accounts of a first target account on a first platform, wherein the first migration data comprises vermicelli account information focusing on the first target account, and N is an integer greater than or equal to 1; and if the user agrees to obtain the first vermicelli account, the first vermicelli account is focused on the first target account in a second platform based on the first migration data, wherein the first vermicelli account is any one of the N vermicelli accounts.

Description

Data migration method, device, apparatus, medium and program product
Technical Field
The present disclosure relates to the field of big data, financial or other fields, and more particularly, to data migration methods, apparatus, devices, media and program products.
Background
On public platforms, individual accounts allow attention to, or are focused by, other accounts. At present, most of vermicelli migration methods such as WeChat public numbers migrate in the same platform, for example, vermicelli migration from A public numbers to B public numbers cannot be realized. In addition, no means for migrating the attention list of the user account across platforms is provided in the related art.
Disclosure of Invention
In view of the foregoing, the present disclosure provides data migration methods, apparatus, devices, media, and program products.
According to a first aspect of the present disclosure, there is provided a data migration method, including: acquiring first migration data based on N vermicelli accounts of a first target account on a first platform, wherein the first migration data comprises vermicelli account information focusing on the first target account, and N is an integer greater than or equal to 1; and if the user agrees to obtain the first vermicelli account, the first vermicelli account is focused on the first target account in a second platform based on the first migration data, wherein the first vermicelli account is any one of the N vermicelli accounts.
According to an embodiment of the disclosure, before the first fan-out account is focused on the first target account at the second platform, the method further includes: acquiring first account data registered in the first platform and second account data registered in the second platform, wherein the first account data comprises data of all accounts registered in the first platform, and the second account data comprises data of all accounts registered in the second platform; and writing the first account data and the second account data into the same storage module, wherein the storage module is used for providing the data of the first vermicelli account.
According to an embodiment of the disclosure, the causing the first fan-account to pay attention to the first target account at a second platform based on the first migration data includes: acquiring data of the first vermicelli account number from the storage module based on the first migration data; and synchronizing the data of the first vermicelli account to the second platform, and adding the first target account to a focus list of the first vermicelli account.
According to an embodiment of the disclosure, synchronizing the data of the first vermicelli account number to the second platform includes: synchronizing the user identification and the user data of the first fan account; and binding the user identification of the first vermicelli account with the number of the second platform.
According to an embodiment of the disclosure, after writing the first account data and the second account data into the same storage module, the method further includes: when a first user is registered in any one of the first platform and the second platform, inquiring account data of the first user in the other platform from the storage module; and if the account number data of the first user on the other platform is queried, synchronizing the first user to the currently registered platform from the storage module.
According to an embodiment of the present disclosure, the account data of the first user includes a user identifier and user data, and if the account data of the first user on another platform is queried, synchronizing to the currently registered platform includes: synchronizing a user identifier and user data of the first user on another platform; binding the user identification of the first user on another platform with the currently registered platform number.
According to an embodiment of the present disclosure, before obtaining the first migration data based on the first target account number at the N vermicelli accounts of the first platform, the method further includes: querying a focused list of the first target account number on the first platform; and determining the N vermicelli account numbers which keep the effective attention state based on the attention list.
Another aspect of the embodiments of the present disclosure provides a data migration method, which is characterized by including: obtaining second migration data based on M concerned accounts of a second target account on a first platform, wherein the second migration data comprises account information concerned by the second target account on the first platform, and M is an integer greater than or equal to 1; and if the user who owns the second target account number agrees, focusing the second target account number on the M focusing account numbers on a second platform based on the second migration data, wherein the M focusing account numbers exist on the first platform and the second platform at the same time.
Another aspect of an embodiment of the present disclosure provides a data migration apparatus, including: the first obtaining module is used for obtaining first migration data based on N vermicelli accounts of a first target account on a first platform, wherein the first migration data comprise vermicelli account information of the first target account, and N is an integer greater than or equal to 1; the first migration module is configured to, for a first fan-out account, if a user who owns the fan-out account agrees, make the first fan-out account pay attention to the first target account in a second platform based on the first migration data, where the first fan-out account is any one of the N fan-out accounts.
Another aspect of an embodiment of the present disclosure provides a data migration apparatus, including: the second obtaining module is used for obtaining second migration data based on M concerned accounts of a second target account on the first platform, wherein the second migration data comprises account information concerned by the second target account on the first platform, and M is an integer greater than or equal to 1; and the second migration module is used for enabling the second target account to pay attention to the M attention accounts on a second platform based on the second migration data if the user owning the second target account agrees.
Another aspect of an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method as described above.
Another aspect of the disclosed embodiments provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the method as described above.
Another aspect of the disclosed embodiments provides a computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
One or more of the above embodiments have the following advantages:
1) The cross-platform vermicelli data migration method can realize vermicelli migration among different platforms, improves data migration efficiency, and is convenient for operators of the first target account to fully utilize multi-platform resources to provide products and services for vermicelli on different platforms.
2) The cross-platform attention data migration method has the advantages that the process that a user with a second target account pays attention to the same account in multiple platforms is simplified, the data migration efficiency is improved, and products and services provided by various attention accounts in different platforms are conveniently used by the vermicelli.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a data migration method according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a data migration method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow chart of writing account data according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram of migrating a vermicelli according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart of data synchronization according to an embodiment of the disclosure;
FIG. 6 schematically illustrates a flow chart of a data migration method according to another embodiment of the present disclosure;
FIG. 7 schematically illustrates an architecture diagram of user multi-platform registration in accordance with an embodiment of the present disclosure;
FIG. 8 schematically illustrates a architectural diagram of data migration in accordance with an embodiment of the present disclosure;
FIG. 9 schematically shows a block diagram of a data migration apparatus according to an embodiment of the present invention;
FIG. 10 schematically shows a block diagram of a data migration apparatus according to an embodiment of the present invention;
Fig. 11 schematically illustrates a block diagram of an electronic device adapted to implement a data migration method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
In the technical scheme of the invention, the related user information (including but not limited to user personal information, user image information, user equipment information, such as position information and the like) and data (including but not limited to data for analysis, stored data, displayed data and the like) are information and data authorized by a user or fully authorized by all parties, and the related data are collected, stored, used, processed, transmitted, provided, disclosed, applied and the like, all comply with related laws and regulations and standards, necessary security measures are adopted, no prejudice to the public order is provided, and corresponding operation entries are provided for the user to select authorization or rejection.
In the scenario of using personal information to make an automated decision, the method, the device and the system provided by the embodiment of the invention provide corresponding operation inlets for users, so that the users can choose to agree or reject the automated decision result. If the user selects refusal, the expert decision flow is entered. The expression "automated decision" here refers to an activity of automatically analyzing, assessing the behavioral habits, hobbies or economic, health, credit status of an individual, etc. by means of a computer program, and making a decision. The expression "expert decision" here refers to an activity of making a decision by a person who is specializing in a certain field of work, has specialized experience, knowledge and skills and reaches a certain level of expertise.
At present, the vermicelli migration methods such as WeChat public numbers and the like are mostly on the same platform, so that vermicelli migration from A public numbers to B public numbers can not be realized, namely, vermicelli of the A public numbers is migrated from one platform to another platform. The requirement of multi-platform vermicelli operation cannot be met, and the process of paying attention to the same account number by a user cannot be simplified.
In some embodiments of the present disclosure, a method for migrating data of interest of an account of interest across platforms is provided, including obtaining first migration data based on N fan-out accounts of a first target account on a first platform, where the first migration data includes fan-out account information of the first target account of interest, and N is an integer greater than or equal to 1. And if the user agrees to obtain the first vermicelli account, enabling the first vermicelli account to pay attention to the first target account on the second platform based on the first migration data, wherein the first vermicelli account is any one of N vermicelli accounts.
According to the embodiment of the disclosure, the cross-platform vermicelli data migration method is provided, vermicelli migration among different platforms can be achieved, data migration efficiency is improved, and operators of a first target account number can conveniently and fully utilize multi-platform resources to provide products and services for vermicelli on different platforms.
In other embodiments of the present disclosure, for accounts of other people who are interested in, a method for migrating their data of interest across platforms is provided, including obtaining second migration data based on M accounts of interest of a second target account on a first platform, where the second migration data includes account information of the second target account of interest on the first platform, and M is an integer greater than or equal to 1. And if the user who owns the second target account agrees, paying attention to the M concerned accounts on the second platform based on the second migration data.
According to the embodiment of the disclosure, a cross-platform attention data migration method is provided, the process that a user with a second target account pays attention to the same account on multiple platforms is simplified, the data migration efficiency is improved, and products and services provided by various attention accounts on different platforms are facilitated.
Fig. 1 schematically illustrates an application scenario diagram of a data migration method according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example in which embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, an application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device. For example, the server 105 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing a basic cloud computing service such as a cloud service, a cloud computing service, a network service, or a middleware service.
In applications (abbreviated as APP in english) such as client applications, web applications, etc., a client (i.e., front end) and a server (i.e., back end) may perform data communication through network messages, for example, in an APP client, parameters that the server needs to obtain from the client are assembled, and a network request method is invoked to send to the server. For example, a user may register, use and pay attention to an account through a client installed in the terminal device, and the server may execute corresponding instructions such as data processing or storage in response to an operation of the user, for example, call an interface of a different platform to implement migration of a pay attention relationship between the server and the fan account or the pay attention to the account.
It should be noted that, the data migration method provided by the embodiments of the present disclosure may be generally performed by at least one of a terminal device or a server. Accordingly, the data migration apparatus provided by the embodiments of the present disclosure may be generally disposed in at least one of a terminal device or a server.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The data migration method according to the embodiment of the present disclosure will be described in detail below with reference to fig. 2 to 8 based on the scenario described in fig. 1.
Fig. 2 schematically illustrates a flow chart of a data migration method according to an embodiment of the present disclosure.
As shown in fig. 2, this embodiment includes:
in operation S210, first migration data is obtained based on N fan accounts of the first target account on the first platform, where the first migration data includes fan account information focused on the first target account, and N is an integer greater than or equal to 1.
For example, before operation S210, a migration operation performed by an operator that receives the first target account number is performed. And inquiring the vermicelli list of the first target account to obtain N vermicelli accounts.
Illustratively, the first target account number includes an account number registered and operated at the first platform that has one or more fan account numbers of interest. The fan account is an account that focuses on the first target account. For example, the first target account number may be a public character account number on a first platform. The first platform and the second platform may be different public platforms, and the user may register and operate the account number on each platform. The first platform and the second platform may be affiliated with the same or different organizations. The first migration data includes fan list information of the first target account.
In some embodiments, before obtaining the first migration data based on the N fan accounts of the first target account at the first platform, the method further includes: and querying a focused list of the first target account number on the first platform. N fan accounts which keep a valid attention state are determined based on the attention list.
The focused list of this embodiment includes a list of all fan accounts focused on the first target account on the first platform. For example, if a person is focused on a first user on a first platform, the person's account number may be added to the focused list of first target account numbers. And screening still valid vermicelli accounts from the concerned list, and then acquiring migration data of the vermicelli accounts (such as less than or equal to N vermicelli accounts).
Illustratively, the criteria for determining whether the status of interest of the fan account is valid may include: the liveness of the fan account (e.g., last login time, last time content was published, etc.), or the qualification of the fan account prior to migration, e.g., an invalid state if it has been blacked out.
The first migration data is obtained through the vermicelli account number with the effective attention state, so that the vermicelli can be screened while migration is performed, and the objective evaluation of the number of people with attention of the first target account number is facilitated. In addition, the data volume of the first migration data can be reduced, and the time cost and the resource cost in the migration process are reduced.
In operation S220, if the user agrees to obtain the first fan-out account, the first fan-out account is focused on the first target account on the second platform based on the first migration data, and the first fan-out account is any one of the N fan-out accounts.
In embodiments of the present disclosure, prior to the fan migration, approval or authorization of the fan user (i.e., the user with the fan account) may be obtained. For example, before operation S220, a migration request may be issued to the user. In case that the user agrees or authorizes that the migration is possible, operation S220 is performed.
During migration, data encryption may be used. All user data, including user names, interest lists, etc., are encrypted during transmission and storage to prevent unauthorized access. In operation S220, if the user having the first fan-out account is not registered in the second platform, the first fan-out account is synchronously registered in the second platform. Otherwise, attention is directly added to the first vermicelli account number on the second platform.
For example, the method can be suitable for the requirements of operators of the first target account to migrate vermicelli on different platforms. For example, an operator of the first target account number may have more fans on the first platform, and the second platform may have just been resident, and the fans of the first platform may be migrated to the second platform. It can be understood that the first platform and the second platform belong to different platforms, and the account number operated by the same operator on the first platform and the account number operated on the second platform are collectively called as a first target account number if they have the same or similar attribute. The same or similar attributes include one or more of name, avatar, content, or carrier, etc. And in the process of obtaining the user consent, the user is made to clarify the account number which the user will pay attention to in the second platform.
The migration process is exemplified as follows:
First, a movable fan list is created for a first target account number on a first platform. For example, an API provided by the first platform requests a fan list of the first target account, and the fan list is used to construct first migration data. The fan list contains the user name or ID of each fan. The first migration data may further include basic information of each fan, such as identity information, head portrait information, or other information, on the basis of a user name or an ID of each fan.
Then, approval of the fan-user is requested. An email or first platform private letter may be sent asking if they would like to pay attention to the first target account number at the second platform.
Finally, for fan users who agree to migrate, the fan account may be focused on the first target account at the second platform. For example, the first migration data is collected and stored in a unified format, and then is correspondingly converted and adapted according to the data format of the second platform, so as to change the attention state of each vermicelli in the vermicelli list in the second platform.
According to the embodiment of the disclosure, the cross-platform vermicelli data migration method is provided, vermicelli migration among different platforms can be achieved, data migration efficiency is improved, and operators of a first target account number can conveniently and fully utilize multi-platform resources to provide products and services for vermicelli on different platforms.
Fig. 3 schematically illustrates a flow chart of writing account data according to an embodiment of the present disclosure.
Before the first fan-out account is focused on the first target account at the second platform, as shown in fig. 3, this embodiment includes:
In operation S310, first account data registered in the first platform and second account data registered in the second platform are acquired, wherein the first account data includes data of all accounts registered in the first platform and the second account data includes data of all accounts registered in the second platform.
In operation S320, the first account data and the second account data are written into the same storage module, where the storage module is used to provide the data of the first fan account.
The storage module illustratively includes hardware or software devices for storing the first account data and the second account data. Such as a database or cloud storage service. After the first account data and the second account data are written into the same storage module, the first account data and the second account data are respectively and independently stored, for example, in different storage spaces or in different database tables.
Illustratively, during writing to the storage module, the database may be encrypted, data transmitted using a secure transmission protocol, and access rights to the database are restricted. In addition, access control measures, such as the use of authentication and authorization mechanisms, may also be implemented to ensure that only authorized personnel can access and modify the data.
According to the embodiment of the disclosure, the effective integration of the account information of the two platforms can be realized, and convenience is provided for data migration. Meanwhile, the user account information of the two platforms is stored in the same storage module, so that the data processing efficiency can be improved.
Fig. 4 schematically illustrates a flow chart of migrating a fan according to an embodiment of the present disclosure.
As shown in fig. 4, this embodiment is one of the embodiments of operation S220, including:
in operation S410, data of a first fan account is obtained from the storage module based on the first migration data.
In operation S420, the data of the first fan-out account is synchronized to the second platform, and the first target account is added to the attention list of the first fan-out account. It may be determined in advance whether the first target account number is already in the attention list of the first fan-out account number, if not, operation S420 is executed, otherwise, not executed.
According to the embodiment of the disclosure, the account data obtained from the storage module can be free from the limitation of the first platform, and the efficiency is high. And the storage module is used for butting the first platform and the second platform, so that data synchronization to the second platform is realized, the first migration data is compatible with the second platform, and the migration success rate is improved.
Fig. 5 schematically illustrates a flow chart of data synchronization according to an embodiment of the present disclosure.
After the first account data and the second account data are written into the same storage module, as shown in fig. 5, this embodiment is one of embodiments of operation S210, including:
In operation S510, when the first user is registered in either one of the first platform and the second platform, account data of the first user in the other platform is queried from the storage module.
In operation S520, if the account data of the first user on another platform is queried, the first user is synchronized to the currently registered platform from the storage module.
For example, the first account data and the second account data may be written into the same storage module at regular time to achieve batch synchronization, and during a period between two batch synchronization, when any user (e.g., the first user, the second user … …) registers, single account synchronization of the account data between the two platforms may be achieved.
Referring to fig. 5, when a first user registers a new account number in one of the platforms, it is checked whether there is already an account number on the other platform. The account data on the original platform may be replicated on the new platform. The first user can use the same account information on the new platform as the original platform.
According to the embodiment of the disclosure, the first platform and the second platform can belong to the same mechanism, so that the data transfer efficiency between different platforms is improved, and the convenience of data management is improved. It can be appreciated that in various embodiments of the present disclosure, not only the first platform and the second platform, but also a plurality of platforms may be provided, where in the case of obtaining user consent, information already existing in the user is obtained, so that the complexity of having the user fill in data multiple times is reduced, and the familiarity of the user on the new platform can also be improved.
In some embodiments, the user identification of the first user is obtained when the first user is registered with either of the first platform and the second platform, whether registered with the other platform or not. And binding the user identification of the first user with the registered platform number.
The user identification includes, for example, a cell phone number, an identification card number, or a randomly generated unique number, etc. The platform number may be a channel number, and the same user (for example, using the mobile phone number as a condition for judging whether the current user is the same user with multiple platforms) registers on different platforms, so that the platforms are channels, and each platform corresponds to a channel number. For example, the channel number of the first platform is 100 and the channel number of the second platform is 110. The complete user number refers to the unique identification of the user, including the channel number + the user number. For example, the first platform has a user number 10020000001 and the second platform has a user number 11020000001.
In some embodiments, the account data of the first user includes a user identifier and user data, and if the account data of the first user on another platform is queried, synchronizing to the currently registered platform includes: the user identification and user data of the first user at the other platform are synchronized. Binding the user identification of the first user on another platform with the currently registered platform number. For newly registered users, the same user identification can be provided on different platforms, and the platforms to which the users belong can be distinguished by using the platform numbers, so that data management is facilitated.
In some embodiments, for a newly registered user, it may also acquire his attention list at the registered platform and synchronize the attention list of the registered platform to the newly registered platform if his consent is solicited.
In some embodiments, synchronizing the data of the first fan account to the second platform based on the first migration data and the storage module comprises: and synchronizing the user identification and the user data of the first fan account. Binding the user identification of the first vermicelli account number with the number of the second platform. The migrated vermicelli account numbers can also have the same user identification on different platforms, and the platforms to which the migrated vermicelli account numbers belong can be distinguished by using the platform numbers, so that data management is facilitated.
It will be appreciated that when the user identification of the first fan-out account already exists on the second platform, i.e. the user has registered the account with the second platform, then its user identification has been bound to the number of the second platform. The data of the two accounts can be combined, and binding of the user identification of the first fan account and the number of the second platform is not repeated.
Fig. 6 schematically illustrates a flow chart of a data migration method according to another embodiment of the present disclosure.
As shown in fig. 6, this embodiment includes:
in operation S610, second migration data is obtained based on M account numbers of interest of the second target account number on the first platform, where M is an integer greater than or equal to 1, and the second migration data includes account number information of interest of the second target account number on the first platform. The M target account numbers may be part or all of the second target account numbers on the first platform, and the user may be allowed to freely select from the second target account number attention list.
In operation S620, if the user who owns the second target account number agrees, the second target account number pays attention to M attention accounts on the second platform based on the second migration data, where the M attention accounts coexist on the first platform and the second platform.
For example, if a user is focusing on 10 accounts on a first platform, the second migration data includes information for the 10 accounts. In response to the migration operation of the user (considered as user consent), operation S620 may be performed to synchronize part or all of the account list of the user focused on the first platform to the second platform, on which the account focused on the first platform may be continued to be focused.
It will be appreciated that if a particular account number of interest to the user on the first platform is not found on the second platform, the user may be alerted, e.g., a notification may be displayed on the user's second platform interface telling him that a particular account number of interest on the first platform is not found on the second platform. Or provide alternative options such as recommending some similar account numbers to the user for attention on the second platform.
Users can continue to pay attention to the account number focused on the original platform on the new platform, so that the trouble of searching the focused account number on the new platform is reduced, and the experience of the users is greatly improved. And because the user can continue to pay attention to the account number that they paid attention to on the original platform on the new platform, and the process is automatically completed, the user can immediately view the dynamics of the account number that they pay attention to, promote them to remain active on the new platform, and increase the possibility of using the new platform. Because users can more conveniently migrate their original interest list, the threshold for users to go from one platform to another is reduced.
According to the embodiment of the disclosure, a cross-platform attention data migration method is provided, the process that a user with a second target account pays attention to the same account on multiple platforms is simplified, the data migration efficiency is improved, and products and services provided by various attention accounts on different platforms are facilitated.
In some embodiments, prior to obtaining the second migration data, further comprising: and querying a focus list of the second target account number on the first platform. M attention account numbers in the keep-alive state are determined based on the attention list. Illustratively, the criteria for determining whether the attention status of the attention account number is valid may include: attention is paid to the liveness of the account number (e.g., last login time, time of last published content, etc.).
For example, a user with a second target account number may just use the second platform to pay attention to more bloggers on the first platform, and then the attention list of the first platform may be migrated to the second platform.
In some embodiments, the list of interests of the second target account number may be stored in a storage module as described in operation S320. And acquiring a focus list from the storage module based on the second migration data, and synchronizing the focus list to the second platform, namely adding M focus accounts into the focus list of the second target account.
In some embodiments, the second target account number may be registered or unregistered with the second platform, and if registered, the attention list of the second platform is directly updated, and if unregistered, the second target account number is automatically registered with the second platform. And automatically inquiring account data of the second target account on the first platform from a storage module when the second platform is registered. And if the inquiry is made, synchronizing the storage module to the second platform.
Fig. 7 schematically illustrates an architecture diagram of user multi-platform registration according to an embodiment of the present disclosure. Fig. 8 schematically illustrates a architecture diagram of data migration according to an embodiment of the present disclosure.
Referring to fig. 7, first, a mobile phone number is used as a condition for determining whether a current user is the same user with multiple platforms, and the user registers on a first platform to generate a complete user number (first platform number+user identifier X). If the user registers in the second platform, a complete user number (second platform number+user id X) is generated. And then, account data (such as user number information) registered by the multi-platform user is written into a public storage module, the platform number and the user identification are separately recorded, and multi-platform inquiry is supported. Finally, the first platform and the second platform belong to the same mechanism, and user information can be communicated. If the user registers in the first platform, the generated user identification and the basic information (mobile phone number, name, date of birth, etc.) of the user are synchronized to the second platform. If the user registers in the second platform, the public storage module is queried first to judge whether the user registers in the first platform, if so, the user identification registered in the first platform is multiplexed, the user identification is distinguished by the platform number, and the modified basic information synchronizes the first platform. In a word, the user registers on a certain platform, and all the users need to query a public user registration module to judge whether the user completes registration on other platforms, if so, the user numbers are reserved, user basic data are synchronized, if not, the data information is synchronized to other platforms, and only the platform numbers are used for distinguishing the users.
Referring to fig. 8, the fan data of the first platform account may be migrated to the second platform, or the attention data of the first platform account may be migrated to the second platform. Taking migration of fan-out data of a first platform account to a second platform as an example, firstly querying a first platform attention relation table (attention list or attention list), obtaining an effective attention user (namely fan-out user) of the account attention relation, and synchronizing the attention relation to the second platform in batches. And processing the platform numbers bound with the user identifications of the fan account numbers in the synchronization process, wherein the complete user numbers of the fan account numbers synchronized to the second platform are the second platform numbers plus the user identifications X. And recording the fan user data with the synchronization failure in the batch synchronization process, and providing a migration failure user re-migration mechanism. After the attention relation is migrated, the second platform pushes a message for confirming the attention of the account to the fan-user with the successfully migrated account. The fan-user registers/logs in the second platform, receives the message prompt, indicates that the account is the same account of the first platform, asks the fan-user to confirm whether the fan-user pays attention, if the fan-user confirms the attention, the attention relationship of the account of the second platform takes effect, otherwise the attention relationship fails.
With continued reference to fig. 7 and 8, during the data migration process, first, a connection between the same user of the multiple platforms is established. The user registers on the first platform, generates a user number with the first platform number, and the same user registers on the second platform, generates a user number with the second platform number. The same user registers account numbers in the first platform and the second platform, other basic information is consistent except for different platform numbers, user data synchronization among the platforms can be completed, and the connection among multiple platforms of the same user is established.
And the user pays attention to the account A on the first platform, namely the fan of the account A. When the first platform A account number transfers the vermicelli to the second platform, inquiring the concerned list of the first platform A account number, and transferring the vermicelli of the A account number in the concerned list to the second platform in batches. The user logs in the second platform and receives a message prompt to confirm whether the account number of the second platform is concerned, if so, the concerned relationship of the second platform is effective, otherwise, the concerned relationship of the second platform is invalid. When the user transfers the attention list to the second platform through the account number of the first platform, inquiring the attention list of the first platform, and transferring the attention relation between the attention list and the attention account number to the second platform in batches.
Based on the data migration method, the disclosure also provides a data migration device. The device will be described in detail below in connection with fig. 9 and 10.
Fig. 9 schematically shows a block diagram of a data migration apparatus 900 according to an embodiment of the present invention.
As shown in fig. 9, the data migration apparatus 900 may include a first obtaining module 910 and a first migration module 920.
The first obtaining module 910 may perform operation S210, configured to obtain first migration data based on N fan accounts of the first target account on the first platform, where N is an integer greater than or equal to 1, where the first migration data includes fan account information focused on the first target account.
The first migration module 920 may perform operation S220, configured to, for a first fan-out account, if a user who owns the fan-out account agrees, make the first fan-out account pay attention to a first target account on a second platform based on the first migration data, where the first fan-out account is any one of N fan-out accounts.
In some embodiments, the data migration apparatus 1000 may further include a common storage module configured to perform operations S310 to S320, which are not described herein.
In some embodiments, the first migration module 920 may further perform operations S410 to S420, which are not described herein.
In some embodiments, the data migration apparatus 1000 may further include a user registration module configured to perform operations S510 to S520, which are not described herein.
In some embodiments, the first migration module 920 may further perform operations S610 to S620, which are not described herein.
Fig. 10 schematically shows a block diagram of a data migration apparatus 1000 according to an embodiment of the present invention.
As shown in fig. 10, the data migration apparatus 1000 may include a second obtaining module 1010 and a second migration module 1020.
The second obtaining module 1010 may perform operation S610, configured to obtain second migration data based on M accounts of interest of the second target account on the first platform, where M is an integer greater than or equal to 1, where the second migration data indicates information of any one account of interest focused by the second target account.
The second migration module 1020 may perform operation S620, configured to focus the second target account on the M focused accounts on the second platform based on the second migration data if the user owning the second target account agrees.
For parts of the device not mentioned, it can be understood with reference to the various embodiments of the method described above. That is, the apparatus portion comprises means for performing the steps of any of the method embodiments described above, respectively. In addition, the implementation manner, the solved technical problems, the realized functions and the realized technical effects of each module/unit/subunit and the like in the apparatus part embodiment are the same as or similar to the implementation manner, the solved technical problems, the realized functions and the realized technical effects of each corresponding step in the method part embodiment, and are not described herein again.
According to an embodiment of the present disclosure, any of the plurality of modules in the data migration apparatus 900 or the data migration apparatus 1000 may be combined in one module to be implemented, or any of the plurality of modules may be split into a plurality of modules. Or at least some of the functionality of one or more of the modules may be combined with, and implemented in, at least some of the functionality of other modules.
According to embodiments of the present disclosure, at least one of data migration apparatus 900 or data migration apparatus 1000 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or by hardware or firmware, such as any other reasonable manner of integrating or packaging the circuits, or in any one of or a suitable combination of three of software, hardware, and firmware. Or at least one of the data migration apparatus 900 or the data migration apparatus 1000 may be at least partially implemented as computer program modules which, when executed, may perform the corresponding functions.
Fig. 11 schematically illustrates a block diagram of an electronic device adapted to implement a data migration method according to an embodiment of the present disclosure.
As shown in fig. 11, an electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. The processor 1101 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 1101 may also include on-board memory for caching purposes. The processor 1101 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flow according to embodiments of the present disclosure.
In the RAM 1103, various programs and data necessary for the operation of the electronic device 1100 are stored. The processor 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. The processor 1101 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 1102 and/or the RAM 1103. Note that the program can also be stored in one or more memories other than the ROM 1102 and the RAM 1103. The processor 1101 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in one or more memories.
According to an embodiment of the disclosure, the electronic device 1100 may also include an input/output (I/O) interface 1105, the input/output (I/O) interface 1105 also being connected to the bus 1104. The electronic device 1100 may also include one or more of the following components connected to the I/O interface 1105: an input portion 1106 including a keyboard, mouse, etc. Including an output portion 1107 such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like. Including a storage portion 1108 of a hard disk or the like. And a communication section 1109 including a network interface card such as a LAN card, a modem, and the like. The communication section 1109 performs communication processing via a network such as the internet. The drive 1110 is also connected to the I/O interface 1105 as needed. Removable media 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in drive 1110, so that a computer program read therefrom is installed as needed in storage section 1108.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments. Or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 1102 and/or RAM 1103 described above and/or one or more memories other than ROM 1102 and RAM 1103.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to perform the methods provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 1101. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program can also be transmitted, distributed over a network medium in the form of signals, downloaded and installed via the communication portion 1109, and/or installed from the removable media 1111. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1109, and/or installed from the removable media 1111. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 1101. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (13)

1. A method of data migration, comprising:
acquiring first migration data based on N vermicelli accounts of a first target account on a first platform, wherein the first migration data comprises vermicelli account information focusing on the first target account, and N is an integer greater than or equal to 1;
And if the user agrees to obtain the first vermicelli account, the first vermicelli account is focused on the first target account in a second platform based on the first migration data, wherein the first vermicelli account is any one of the N vermicelli accounts.
2. The method of claim 1, wherein prior to having the first fan-account focused on the first target account at a second platform, the method further comprises:
acquiring first account data registered in the first platform and second account data registered in the second platform, wherein the first account data comprises data of all accounts registered in the first platform, and the second account data comprises data of all accounts registered in the second platform;
And writing the first account data and the second account data into the same storage module, wherein the storage module is used for providing the data of the first vermicelli account.
3. The method of claim 2, wherein the causing the first fan-account to focus the first target account at a second platform based on the first migration data comprises:
Acquiring data of the first vermicelli account number from the storage module based on the first migration data;
and synchronizing the data of the first vermicelli account to the second platform, and adding the first target account to a focus list of the first vermicelli account.
4. The method of claim 3, wherein synchronizing the data of the first fan account to the second platform comprises:
Synchronizing the user identification and the user data of the first fan account;
and binding the user identification of the first vermicelli account with the number of the second platform.
5. The method of claim 2, wherein after writing the first account data and the second account data to the same memory module, the method further comprises:
When a first user is registered in any one of the first platform and the second platform, inquiring account data of the first user in the other platform from the storage module;
And if the account number data of the first user on the other platform is queried, synchronizing the first user to the currently registered platform from the storage module.
6. The method of claim 5, wherein the account data of the first user includes a user identifier and user data, and synchronizing to the currently registered platform if the account data of the first user on another platform is queried comprises:
synchronizing a user identifier and user data of the first user on another platform;
binding the user identification of the first user on another platform with the currently registered platform number.
7. The method of claim 6, wherein prior to obtaining the first migration data based on the first target account number at the N fan accounts of the first platform, the method further comprises:
Querying a focused list of the first target account number on the first platform;
And determining the N vermicelli account numbers which keep the effective attention state based on the attention list.
8. A method of data migration, comprising:
Obtaining second migration data based on M concerned accounts of a second target account on a first platform, wherein the second migration data comprises account information concerned by the second target account on the first platform, and M is an integer greater than or equal to 1;
And if the user who owns the second target account number agrees, focusing the second target account number on the M focusing account numbers on a second platform based on the second migration data, wherein the M focusing account numbers exist on the first platform and the second platform at the same time.
9. A data migration apparatus, comprising:
The first obtaining module is used for obtaining first migration data based on N vermicelli accounts of a first target account on a first platform, wherein the first migration data comprise vermicelli account information of the first target account, and N is an integer greater than or equal to 1;
The first migration module is configured to, for a first fan-out account, if a user who owns the fan-out account agrees, make the first fan-out account pay attention to the first target account in a second platform based on the first migration data, where the first fan-out account is any one of the N fan-out accounts.
10. A data migration apparatus, comprising:
The second obtaining module is used for obtaining second migration data based on M concerned accounts of a second target account on the first platform, wherein the second migration data comprises account information concerned by the second target account on the first platform, and M is an integer greater than or equal to 1;
And the second migration module is used for enabling the second target account to pay attention to the M attention accounts on a second platform based on the second migration data if the user owning the second target account agrees.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more computer programs,
Characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1-8.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, realizes the steps of the method according to any one of claims 1-8.
13. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1-8.
CN202410404564.5A 2024-04-03 2024-04-03 Data migration method, device, apparatus, medium and program product Pending CN118210783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410404564.5A CN118210783A (en) 2024-04-03 2024-04-03 Data migration method, device, apparatus, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410404564.5A CN118210783A (en) 2024-04-03 2024-04-03 Data migration method, device, apparatus, medium and program product

Publications (1)

Publication Number Publication Date
CN118210783A true CN118210783A (en) 2024-06-18

Family

ID=91456102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410404564.5A Pending CN118210783A (en) 2024-04-03 2024-04-03 Data migration method, device, apparatus, medium and program product

Country Status (1)

Country Link
CN (1) CN118210783A (en)

Similar Documents

Publication Publication Date Title
EP3695563B1 (en) Apparatus, method, and computing device for selectively granting permissions to group-based objects in a group-based communication system
US10872000B2 (en) Late connection binding for bots
US11175796B2 (en) Menu management method, server, and system
CN111277637B (en) Method, device, terminal and storage medium for merging session groups
WO2018108059A1 (en) Method and device for processing template data, requesting for template data and presenting template data
US12067136B2 (en) Display method, display device, and electronic device
US12132737B2 (en) Systems and methods for automated cloud provisioning
US11228578B2 (en) Multi-factor authentication utilizing event data
CN109669718A (en) System permission configuration method, device, equipment and storage medium
US20200036749A1 (en) Web browser incorporating social and community features
CN114828000B (en) A login method, device and computer-readable storage medium
CN112202744A (en) Multi-system data communication method and device
CN109756525B (en) Information subscription method and device
JP2016128966A (en) Service cooperation system, service cooperation apparatus, terminal device, service cooperation method, and service cooperation program
US20160330151A1 (en) Method and system for managing an informational site using a social networking application
EP4310693A1 (en) Evaluating the quality of integrations for executing searches using application programming interfaces
US12159704B2 (en) Method and apparatus for providing counseling service
CN117540361A (en) Single sign-on authentication method, device, apparatus, medium and program product
CN118210783A (en) Data migration method, device, apparatus, medium and program product
US11113723B1 (en) Explicit user history input
WO2016145807A1 (en) Telephone number processing method and device
CN119149645B (en) Database operation method, device, equipment, medium and program product
JP2019053337A (en) Reservation proxy system reservation proxy method and reservation proxy program
CN116916260A (en) Service processing method and device based on 5G message and computer equipment
CN116644404A (en) Applet login method and device and related equipment

Legal Events

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