CN109543398B - Application program account migration method and device and electronic equipment - Google Patents

Application program account migration method and device and electronic equipment Download PDF

Info

Publication number
CN109543398B
CN109543398B CN201811469535.8A CN201811469535A CN109543398B CN 109543398 B CN109543398 B CN 109543398B CN 201811469535 A CN201811469535 A CN 201811469535A CN 109543398 B CN109543398 B CN 109543398B
Authority
CN
China
Prior art keywords
user
application program
server
information
openid
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
CN201811469535.8A
Other languages
Chinese (zh)
Other versions
CN109543398A (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.)
Shenzhen Golo Chelian Data Technology Co ltd
Original Assignee
Shenzhen Golo Chelian Data 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 Shenzhen Golo Chelian Data Technology Co ltd filed Critical Shenzhen Golo Chelian Data Technology Co ltd
Priority to CN201811469535.8A priority Critical patent/CN109543398B/en
Publication of CN109543398A publication Critical patent/CN109543398A/en
Application granted granted Critical
Publication of CN109543398B publication Critical patent/CN109543398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an application program account migration method, which is applied to a first server and comprises the following steps: receiving data information of the application program, wherein the data information is information of a user ID and a check TOKEN of the application program obtained by clicking a preset link; communicating with the application program by utilizing a checking TOKEN and checking whether the user ID is legal or not; if the user ID is legal, acquiring a digital identity recognition OpenID of a user corresponding to the second server; and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration. The application program account migration method avoids the problem that in the related technology, a user needs to input the account number and the password again, operation is simple in the user information migration process, and user experience is good. The application also provides an application program account migration device, an application program account migration system, electronic equipment and a computer readable storage medium, and the application program account migration device, the application program account migration system, the electronic equipment and the computer readable storage medium have the beneficial effects.

Description

Application program account migration method and device and electronic equipment
Technical Field
The present application relates to the field of networks, and in particular, to a method, an apparatus, a system, an electronic device, and a computer-readable storage medium for migrating an application account.
Background
With the increasing popularity of the public number, taking the WeChat public number as an example, the frequency of opening the application APP by the user is obviously reduced, and the user viscosity of the application program is gradually reduced. Thus, migration of application users to the WeChat public is considered. The user system of the WeChat public number and the original application program are two completely different user systems, and the related technical scheme is that the user re-inputs the account password of the application program in the WeChat public number to complete the association. The scheme is feasible in theory, but the user experience is poor, the user needs to search the concerned public number first and then input the user name and the password of the original application program account, the operation is complex, and the user loss is easily caused.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Content of application
The application aims to provide an application program account migration method, an application program account migration device, an application program account migration system, an electronic device and a computer readable storage medium, so that user data migration of an application program to a first server, namely a public platform server can be completed by avoiding inputting information of the application program by a user, and the operation is simple. The specific scheme is as follows:
in a first aspect, the present application provides an application account migration method, applied to a first server, including:
receiving data information of an application program, wherein the data information is information of a user ID and a check TOKEN of the application program, which is obtained by clicking a preset link;
communicating with the application program by using the verification TOKEN and verifying whether the user ID is legal or not;
if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server;
and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
Optionally, the obtaining the OpenID of the digital identity framework of the user corresponding to the second server includes:
causing the second server to execute an attention instruction and send attention feedback information with the user ID to the first server;
and receiving the attention feedback information and acquiring the OpenID of the user.
Optionally, the method further includes:
recording the attention information of the associated user;
and pushing information corresponding to the attention information to the associated user according to the attention information.
Optionally, the establishing an association relationship between the OpenID and the user ID includes:
detecting whether the association relationship exists between the OpenID and the user ID;
if the incidence relation exists, updating the incidence relation;
and if the incidence relation does not exist, establishing the incidence relation.
In a second aspect, the present application further discloses an apparatus for migrating an application account, which is applied to a first server, and includes:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving data information of an application program, and the data information is information of a user ID and a verification TOKEN of the application program, which is obtained by clicking a preset link;
the verifying module is used for communicating with the application program by utilizing the verifying TOKEN and verifying whether the user ID is legal or not;
an obtaining module, configured to obtain, if the user ID is legal, a digital identity recognition framework OpenID of a user corresponding to the second server;
and the association module is used for establishing an association relationship between the OpenID and the user ID to obtain data information of an associated user so as to complete account migration.
Optionally, the obtaining module includes:
a sending unit, configured to enable the second server to execute an attention instruction and send attention feedback information with the user ID to the first server;
and an obtaining unit, configured to receive the attention feedback information and obtain an OpenID of the user.
Optionally, the method further includes:
the recording module is used for recording the attention information of the associated user;
and the pushing module is used for pushing information corresponding to the attention information to the associated user according to the attention information.
Optionally, the association module specifically includes:
a detecting unit, configured to detect whether the OpenID and the user ID have the association relationship;
the association updating unit is used for updating the association relationship if the association relationship exists;
and the association establishing unit is used for establishing the association relationship if the association relationship does not exist.
In a third aspect, the present application further discloses a system for migrating an application account, including:
the system comprises a first server and a second server, wherein the first server is used for receiving data information of an application program, and the data information is information of a user ID and a verification TOKEN of the application program, which is obtained by clicking a preset link; communicating with the application program by using the verification TOKEN and verifying whether the user ID is legal or not; if the user ID is legal, a second server is utilized to send an attention request with the user ID to a user corresponding to the second server; receiving the attention feedback information, and acquiring the OpenID of the digital identity recognition framework of the user; establishing an association relation between the OpenID and the user ID;
the second server is used for sending the attention request with the user ID to a user corresponding to the second server; sending attention feedback information with the user ID to the first server;
and the application program server is used for storing the user information corresponding to the user ID.
In a fourth aspect, the present application further discloses an electronic device, including:
a memory for storing a computer program;
a processor for implementing the following steps when executing the computer program:
receiving data information of an application program, wherein the data information is information of a user ID and a check TOKEN of the application program, which is obtained by clicking a preset link; communicating with the application program by using the verification TOKEN and verifying whether the user ID is legal or not; if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server; and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: causing the second server to execute an attention instruction and send attention feedback information with the user ID to the first server; and receiving the attention feedback information and acquiring the OpenID of the user.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: recording the attention information of the associated user; and pushing information corresponding to the attention information to the associated user according to the attention information.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: detecting whether the association relationship exists between the OpenID and the user ID; if the incidence relation exists, updating the incidence relation; and if the incidence relation does not exist, establishing the incidence relation.
In a fifth aspect, the present application further discloses a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
receiving data information of an application program, wherein the data information is information of a user ID and a check TOKEN of the application program, which is obtained by clicking a preset link; communicating with the application program by using the verification TOKEN and verifying whether the user ID is legal or not; if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server; and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: causing the second server to execute an attention instruction and send attention feedback information with the user ID to the first server; and receiving the attention feedback information and acquiring the OpenID of the user.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: recording the attention information of the associated user; and pushing information corresponding to the attention information to the associated user according to the attention information.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: detecting whether the association relationship exists between the OpenID and the user ID; if the incidence relation exists, updating the incidence relation; and if the incidence relation does not exist, establishing the incidence relation.
The application provides an application program account migration method, which is applied to a first server and comprises the following steps: receiving data information of the application program, wherein the data information is information of a user ID and a check TOKEN of the application program obtained by clicking a preset link; communicating with the application program by utilizing a checking TOKEN and checking whether the user ID is legal or not; if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server; and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
Therefore, after the user ID of the application program and the information of the verification TOKEN are obtained by clicking the preset link, the association relation between the OpenID of the user corresponding to the second server and the user ID is established on the premise that the user ID is verified to be legal so as to complete account migration, the trouble that the user needs to input the account number and the password again in the related technology is avoided, operation is simple in the user information migration process, and user experience is good. The application also provides an application program account migration device, system, electronic device and computer readable storage medium, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an application account migration method according to an embodiment of the present application;
FIG. 2 is a flowchart of another application account migration method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another application account migration method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an application account migration apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The related technical scheme is that the user usually inputs the user password of the application program again to complete the association, so that the account migration is completed, the operation is complex, and the user loss is easily caused. Based on the above technical problem, this embodiment provides an application program account migration method, in the application, after a preset link is clicked to obtain information of a user ID and a verification TOKEN of an application program, an association relationship between a digital identity framework OpenID of a user corresponding to a second server and the user ID is established on the premise that the user ID is verified to be legal, so as to complete account migration, which avoids a cumbersome process in related technologies that the user needs to re-input an account password, and is simple to operate and good in user experience in a user information migration process, and referring to fig. 1 specifically, fig. 1 is a flowchart of an application program account migration method provided by an embodiment of the application, and is applied to a first server, and specifically includes:
s101, receiving data information of the application program, wherein the data information is information of a user ID and a check TOKEN of the application program, which is obtained by clicking a preset link.
Specifically, the first server corresponds to a server of a public platform, and the embodiment does not limit the public platform, and may be a microblog of a new wave, a public platform of a WeChat in Tencent, a qq public platform of Tencent, a mobile Feixin public platform, a micro-panning public platform of Alibara, and the like, as long as the purpose of the embodiment is met. It should be noted that the first server and the second server have a corresponding relationship, for example, the first server is a wechat public platform server, and the second server is a wechat server; the first server is a qq public platform server, the second server is a qq server, the first server is a micro-panning public platform server, the second server is a micro-panning server, and so on.
The data information is the user ID of the application program and the information of the verification TOKEN obtained by clicking the preset link. Specifically, the preset link is a link URL embedded in the application program and provided with the ID and the check TOKEN of the current application program user, the link may be a picture link, a keyword link, or a direct website link, and the preset link is not limited any more, and the user may set the preset link according to actual requirements. The link URL is opened within the application, i.e., the first server receives the ID of the user of the application server and checks TOKEN.
After a user inputs a login user name and a login password at an application program client, the application program client of an account system forms a verification TOKEN by the login password of the user in a preset form, and the verification TOKEN and the ID of the user are set in a preset link. The first server receives the data information, and obtains the ID of the user and the check TOKEN from the data information.
S102, the verification TOKEN is used for communicating with the application program and verifying whether the user ID is legal or not.
And the public number server communicates with the application program by using the verification TOKEN to verify whether the user ID is legal or not. And if the verification fails, the user data migration is not allowed, verification feedback information is sent to the client, and the user is prompted to perform verification again or the user account is prompted to carry out information such as danger and the like. And if the validity of the user ID is successfully verified, confirming that the user ID is matched with the verification TOKEN, and allowing the user to perform the next operation.
S103, if the user ID is legal, the digital identity recognition framework OpenID of the user corresponding to the second server is obtained.
If the validity of the user ID is successfully verified, the digital identity identification framework OpenID of the user corresponding to the second server is obtained to enable the user to pay attention to the public platform corresponding to the first server. It is noted that in order to identify users, each user generates a secure user's OpenID for each public number. The method for obtaining the OpenID is not limited in this embodiment, that is, the method for the user to pay attention to the public platform corresponding to the first server is not limited, as long as the purpose of this embodiment is met.
S104, establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
Specifically, an association relationship between the OpenID and the user ID is established, which is not limited in the embodiment, and the user may set the association relationship according to an actual situation.
Further, whether an association relationship exists between the OpenID and the user ID is detected. If the OpenID already has the associated user ID, the user data is directly returned, that is, a new association relationship is not required to be established, and the original user data is directly used, and if the OpenID does not have the associated user ID, the association relationship between the user and the OpenID is established, so that new data is generated, where the data refers to the user ID and the wechat OpenID, that is, the association relationship, and also includes a concern state, that is, the user having the user ID pays attention to the public platform corresponding to the current first server. By detecting whether the OpenID and the user ID have the association relationship or not and further selecting a method for establishing or updating the association relationship, the phenomenon that the state of the user association relationship cannot be updated in time is avoided.
The data information of the associated user is obtained after the association relationship is established, and at this time, the data information of the associated user is obtained by merging the user data information corresponding to the application program and the user data information corresponding to the second server, wherein the user data corresponding to the application program is data transmission between the first server and the application program server, the first server pulls the user information from the application program to obtain the data information of the application program user, and specifically, the first server can obtain the user data information in a mode of calling an interface; the user data information corresponding to the second server is obtained by the first server performing data transmission with the second server and analyzing the data information corresponding to the second server transmitted by the second server.
Further, the user may establish a user at the first server, where the information of the user is data information of an associated user obtained after the association relationship is established. At this point, account migration in the application is implemented.
Based on the technical scheme, after the user ID of the application and the information of the verification TOKEN are obtained by clicking the preset link, the association relationship between the OpenID of the user corresponding to the second server and the user ID is established on the premise that the user ID is verified to be legal so as to complete account migration, so that the trouble that the user needs to input the account number and the password again in the related art is avoided, the operation is simple in the user information migration process, and the user experience is good.
Furthermore, whether an association relationship exists between the OpenID and the user ID is detected, and a method for establishing or updating the association relationship is further selected, so that the phenomenon that the state of the user association relationship cannot be updated in time is avoided.
Based on the foregoing embodiment, this embodiment provides an application account migration method, and specifically obtains an OpenID by using a manner in which a second server sends a request for attention with a user ID to a user corresponding to the second server. Referring to fig. 2 in detail, fig. 2 is a flowchart of another application account migration method provided in the embodiment of the present application, applied to a first server, including:
s201, receiving data information of the application program, wherein the data information is information of a user ID and a verification TOKEN of the application program, which is obtained by clicking a preset link.
S202, the verification TOKEN is used for communicating with the application program and verifying whether the user ID is legal or not.
With specific reference to the above embodiments, the present embodiment will not be described.
S203, if the user ID is legal, the second server executes the attention instruction and sends attention feedback information with the user ID to the first server.
Specifically, if the user ID is legal, the second server executes the attention instruction and sends the attention feedback information with the user ID to the first server, it can be understood that the second server is used to send the attention request with the user ID to the user corresponding to the second server, the form of the attention request is not limited in this embodiment, and the user can send the attention two-dimensional code to the user corresponding to the second server, so that the user can scan or identify the two-dimensional code and agree with the attention request; the attention request may also be a picture or a segment of characters, and the user can finish paying attention to the public platform corresponding to the first server only through preset operation. Further, the second server may send the attention feedback information to the first server, and the attention feedback information is not limited in this embodiment, and may be valid information such as preset keyword words and pictures, as long as the attention state of the user can be represented.
And S204, receiving the attention feedback information, and acquiring the OpenID of the digital identity recognition framework of the user.
Specifically, after receiving the attention feedback information, the OpenID of the user may be acquired.
S205, establishing an association relationship between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
Based on the technical scheme, after the user ID of the application and the information of the TOKEN are checked by clicking the preset link, on the premise that the user ID is verified to be legal, the method specifically includes sending a request for attention with the user ID to a user corresponding to the second server by using the second server, and finally obtaining the OpenID, and establishing an association relationship between the OpenID and the user ID so as to complete account migration.
Based on the foregoing embodiment, in order to enable a user to obtain needed information in time and meet actual needs of the user, in this embodiment, by recording attention state information and sending corresponding information to the user according to the attention state information, specifically referring to fig. 3, fig. 3 is a flowchart of another application program account migration method provided in this embodiment, and is applied to a first server, where the method includes:
s301, receiving data information of the application program, wherein the data information is information of a user ID and a check TOKEN of the application program, which is obtained by clicking a preset link;
s302, communicating with an application program by using a verification TOKEN and verifying whether a user ID is legal or not;
s303, if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server;
s304, establishing an incidence relation between the OpenID and the user ID to obtain data information of the management according to the user;
s305, recording the attention information of the related user.
Specifically, the associated user may perform reading with different frequencies on different data information in the first server according to the actual situation of the associated user, and record information such as frequency and time of information browsed by the associated user in the first server, that is, the information of the attention state.
S306, pushing information corresponding to the attention information to the associated user according to the attention information.
Specifically, the attention information is processed, and when the access frequency of the public platform corresponding to the first server to a certain information reaches a preset frequency, the attention information can be understood as information with high attention popularity of the associated user, that is, information required by the associated user. Therefore, information corresponding to the attention information can be pushed to a user corresponding to the second server corresponding to the associated user, at this time, the information corresponding to the attention information can be information that the access frequency browsed by the associated user reaches the preset frequency, or information related to the access frequency reaching the preset frequency, and the user can set the information according to the actual requirement of the user.
Based on the technical scheme, the attention state information is recorded, and the corresponding information is sent to the user according to the attention state information, so that the low efficiency that the user needs to access the information from the first server to obtain the information required by the user is avoided, the timeliness and the high efficiency of the user for obtaining the information required by the user are improved, and the time of the user is saved.
The embodiment provides an application program account migration method, which takes a wechat public account and a wechat platform as examples. Please refer to the following detailed description, including:
the WeChat public platform server, namely the first server, receives the data information of the application program, wherein the data information is the information of the user ID and the verification TOKEN of the application program, which are carried on a picture link, namely a preset link, of a public number embedded in the application program.
And communicating with the application program by utilizing the checking TOKEN and checking whether the user ID is legal or not.
If the user ID is legal, the WeChat server, namely the second server, is utilized to send an attention request with the user ID to a user corresponding to the second server; and when the user pays attention to the request, the WeChat server, namely a second server provides an SDK method to the outside to generate an attention two-dimensional code picture with the current user ID and display the picture on a page, the user shares the page to the WeChat from an application program, the WeChat of the user opens the page after receiving the message, and then the picture is identified by long pressing the two-dimensional code, and at the moment, the WeChat server can push attention feedback information with the user ID to the WeChat public number server.
And receiving the attention feedback information, and acquiring the OpenID of the digital identity recognition framework of the user.
And establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration. Specifically, the wechat public signal server can pull the user information of the application program user from the application program server in the form of a calling interface, and the server analyzes the parameters transmitted by the wechat to obtain the information of the wechat user and simultaneously establishes a related user for the user in a background of the public number by default. At this point, the account migration process is complete.
Based on the technical scheme, in the embodiment, after the link URL with the user ID and the verification TOKEN of the wechat public number is opened in the application program, the association relationship between the OpenID of the wechat user and the user ID is established on the premise that the user ID is verified to be legal, so as to obtain the user data information of the wechat public number, and further complete user data migration.
The following describes an application account migration apparatus, an application account migration system, an electronic device, and a computer-readable storage medium, which are provided in the embodiments of the present application, and reference may be made to the application account migration method described above in correspondence with each other.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an application account migration apparatus according to an embodiment of the present disclosure, where the application account migration apparatus described below and the application account migration method described above may refer to each other correspondingly, and the related modules are all disposed in a first server, and the application account migration apparatus includes:
the receiving module 401 is configured to receive data information of an application program, where the data information is information of a user ID and a check TOKEN of the application program, where the user ID is obtained by clicking a preset link;
a checking module 402, configured to communicate with the application program by using the check TOKEN and check whether the user ID is legal;
an obtaining module 403, configured to obtain, if the user ID is legal, a digital identity framework OpenID of the user corresponding to the second server;
an association module 404, configured to establish an association relationship between the OpenID and the user ID, and obtain data information associated with the user, so as to complete account migration.
In the embodiment, after the user ID of the application obtained by clicking the preset link and the information of the verification TOKEN are clicked, the association relationship between the OpenID of the user corresponding to the second server and the user ID is established on the premise that the user ID is verified to be legal so as to complete account migration, so that the trouble that the user needs to input the account password again in the related art is avoided, the operation is simple in the user information migration process, and the user experience is good.
In some specific embodiments, the obtaining module 403 includes:
a sending unit, configured to enable the second server to execute the attention instruction and send attention feedback information with the user ID to the first server;
and the obtaining unit is used for receiving the attention feedback information and obtaining the OpenID of the user.
In some specific embodiments, the method further comprises:
the recording module is used for recording the attention information of the associated user;
the pushing module is used for pushing information corresponding to the attention information to the associated user according to the attention information:
in some specific embodiments, the association module 404 specifically includes:
the detection unit is used for detecting whether an association relationship exists between the OpenID and the user ID;
the association updating unit is used for updating the association relationship if the association relationship exists;
and the association establishing unit is used for establishing the association relationship if the association relationship does not exist.
Since the embodiment of the application program account migration apparatus portion corresponds to the embodiment of the application program account migration method portion, for the embodiment of the application program account migration apparatus portion, reference is made to the description of the embodiment of the application program account migration method portion, and details are not described here for the moment.
The application also provides a system for application account migration, comprising:
the first server is used for receiving data information of the application program, wherein the data information is information of a user ID and a verification TOKEN of the application program obtained by clicking a preset link; communicating with the application program by utilizing a checking TOKEN and checking whether the user ID is legal or not; if the user ID is legal, the second server is utilized to send an attention request with the user ID to a user corresponding to the second server; receiving attention feedback information, and acquiring the OpenID of a digital identity recognition framework of a user; establishing an association relation between the OpenID and the user ID;
the second server is used for sending the attention request with the user ID to the user corresponding to the second server; sending attention feedback information with a user ID to a first server;
and the application program server is used for storing the user information corresponding to the user ID.
In the embodiment, after the user ID of the application obtained by clicking the preset link and the information of the verification TOKEN are clicked, the association relationship between the OpenID of the user corresponding to the second server and the user ID is established on the premise that the user ID is verified to be legal so as to complete account migration, so that the trouble that the user needs to input the account password again in the related art is avoided, the operation is simple in the user information migration process, and the user experience is good.
The present application further provides an electronic device, referring to fig. 5, where fig. 5 is a structural diagram of an electronic device provided in an embodiment of the present application, including:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 provides the computing and control capabilities for the electronic device and, when executing the computer program stored in the memory 100, may perform the following steps: receiving data information of the application program, wherein the data information is information of a user ID and a check TOKEN of the application program obtained by clicking a preset link; communicating with the application program by utilizing a checking TOKEN and checking whether the user ID is legal or not; if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server; and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
In the embodiment, after the user ID of the application obtained by clicking the preset link and the information of the verification TOKEN are clicked, the association relationship between the OpenID of the user corresponding to the second server and the user ID is established on the premise that the user ID is verified to be legal so as to complete account migration, so that the trouble that the user needs to input the account password again in the related art is avoided, the operation is simple in the user information migration process, and the user experience is good.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: enabling the second server to execute the attention instruction and send attention feedback information with the user ID to the first server; and receiving the attention feedback information and acquiring the OpenID of the user.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: recording attention information of the associated user; and pushing information corresponding to the attention information to the associated user according to the attention information.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: detecting whether an association relation exists between the OpenID and the user ID; if the incidence relation exists, updating the incidence relation; and if the incidence relation does not exist, establishing the incidence relation.
Since the embodiment of the electronic device portion corresponds to the embodiment of the application program account migration method portion, please refer to the description of the embodiment of the application program account migration method portion for the embodiment of the electronic device portion, which is not repeated here.
On the basis of the foregoing embodiment, as a preferred implementation, referring to fig. 6, fig. 6 is a structural diagram of another electronic device provided in the embodiment of the present application, where the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data transmitted by the processor 200. The display unit 400 may be a display screen on a PC, a liquid crystal display screen, or an electronic ink display screen.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
The present application also discloses a computer-readable storage medium having a computer program stored thereon, which, when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of: receiving data information of the application program, wherein the data information is information of a user ID and a check TOKEN of the application program obtained by clicking a preset link; communicating with the application program by utilizing a checking TOKEN and checking whether the user ID is legal or not; if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server; and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
In the embodiment, after the user ID of the application obtained by clicking the preset link and the information of the verification TOKEN are clicked, the association relationship between the OpenID of the user corresponding to the second server and the user ID is established on the premise that the user ID is verified to be legal so as to complete account migration, so that the trouble that the user needs to input the account password again in the related art is avoided, the operation is simple in the user information migration process, and the user experience is good.
Optionally, when the computer subprogram stored in the computer readable storage medium is executed by the processor, the following steps can be specifically realized: enabling the second server to execute the attention instruction and send attention feedback information with the user ID to the first server; and receiving the attention feedback information and acquiring the OpenID of the user.
Optionally, when the computer subprogram stored in the computer readable storage medium is executed by the processor, the following steps can be specifically realized: recording attention information of the associated user; and pushing information corresponding to the attention information to the associated user according to the attention information.
Optionally, when the computer subprogram stored in the computer readable storage medium is executed by the processor, the following steps can be specifically realized: detecting whether an association relation exists between the OpenID and the user ID; if the incidence relation exists, updating the incidence relation; and if the incidence relation does not exist, establishing the incidence relation.
Since the embodiment of the computer-readable storage medium portion corresponds to the embodiment of the application program account migration method portion, for the embodiment of the computer-readable storage medium portion, reference is made to the description of the embodiment of the application program account migration method portion, and details are not described here for the moment.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An application account migration method applied to a first server includes:
receiving data information of an application program, wherein the data information is information of a user ID and a check TOKEN of the application program, which is obtained by clicking a preset link; the preset link is a link URL of a public platform embedded in the application program, and the URL is provided with the ID and the verification TOKEN of the current application program user;
communicating with the application program by using the verification TOKEN and verifying whether the user ID is legal or not;
if the user ID is legal, acquiring the OpenID of the digital identity recognition framework of the user corresponding to the second server;
and establishing an association relation between the OpenID and the user ID to obtain data information of the associated user so as to complete account migration.
2. The application program account migration method according to claim 1, wherein obtaining the digital identification framework OpenID of the user corresponding to the second server comprises:
causing the second server to execute an attention instruction and send attention feedback information with the user ID to the first server;
and receiving the attention feedback information and acquiring the OpenID of the user.
3. The application account migration method according to claim 1, further comprising:
recording the attention information of the associated user;
and pushing information corresponding to the attention information to the associated user according to the attention information.
4. The application program account migration method according to any one of claims 1 to 3, wherein establishing the association relationship between the OpenID and the user ID comprises:
detecting whether the association relationship exists between the OpenID and the user ID;
if the incidence relation exists, updating the incidence relation;
and if the incidence relation does not exist, establishing the incidence relation.
5. An apparatus for application account migration, applied to a first server, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving data information of an application program, and the data information is information of a user ID and a verification TOKEN of the application program, which is obtained by clicking a preset link; the preset link is a link URL of a public platform embedded in the application program, and the URL is provided with the ID and the verification TOKEN of the current application program user;
the verifying module is used for communicating with the application program by utilizing the verifying TOKEN and verifying whether the user ID is legal or not;
an obtaining module, configured to obtain, if the user ID is legal, a digital identity recognition framework OpenID of a user corresponding to the second server;
and the association module is used for establishing an association relationship between the OpenID and the user ID to obtain data information of an associated user so as to complete account migration.
6. The application account migration apparatus according to claim 5, wherein the obtaining module comprises:
a sending unit, configured to enable the second server to execute an attention instruction and send attention feedback information with the user ID to the first server;
and the obtaining unit is used for receiving the attention feedback information and obtaining the OpenID of the digital identity recognition framework of the user.
7. The application program account migration apparatus according to claim 5 or 6, wherein the association module specifically includes:
a detecting unit, configured to detect whether the OpenID and the user ID have the association relationship;
the association updating unit is used for updating the association relationship if the association relationship exists;
and the association establishing unit is used for establishing the association relationship if the association relationship does not exist.
8. A system for application account migration, comprising:
the system comprises a first server and a second server, wherein the first server is used for receiving data information of an application program, and the data information is information of a user ID and a verification TOKEN of the application program, which is obtained by clicking a preset link; communicating with the application program by using the verification TOKEN and verifying whether the user ID is legal or not; if the user ID is legal, a second server is utilized to send an attention request with the user ID to a user corresponding to the second server; receiving the attention feedback information, and acquiring the OpenID of the digital identity recognition framework of the user; establishing an association relation between the OpenID and the user ID; the preset link is a link URL of a public platform embedded in the application program, and the URL is provided with the ID and the verification TOKEN of the current application program user;
the second server is used for sending the attention request with the user ID to a user corresponding to the second server; sending attention feedback information with the user ID to the first server;
and the application program server is used for storing the user information corresponding to the user ID.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the application account migration method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the application account migration method according to any one of claims 1 to 4.
CN201811469535.8A 2018-11-28 2018-11-28 Application program account migration method and device and electronic equipment Active CN109543398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811469535.8A CN109543398B (en) 2018-11-28 2018-11-28 Application program account migration method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811469535.8A CN109543398B (en) 2018-11-28 2018-11-28 Application program account migration method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109543398A CN109543398A (en) 2019-03-29
CN109543398B true CN109543398B (en) 2021-06-11

Family

ID=65853503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811469535.8A Active CN109543398B (en) 2018-11-28 2018-11-28 Application program account migration method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109543398B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11249783B1 (en) 2018-05-23 2022-02-15 Open Invention Network Llc Intra application container direct communication protocol

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100269151A1 (en) * 2009-04-20 2010-10-21 Crume Jeffery L Migration across authentication systems
CN103812922B (en) * 2012-11-05 2019-04-19 王正伟 Migrate account mutual operation method
US9716753B2 (en) * 2014-04-09 2017-07-25 Dropbox, Inc. Migrating shared content items between accounts
US10210232B2 (en) * 2014-10-01 2019-02-19 SkyKick, Inc. Automated staged data migration
CN104469489A (en) * 2014-12-15 2015-03-25 华为技术有限公司 User migration method, device and system for internet protocol television system
CN106559384A (en) * 2015-09-25 2017-04-05 阿里巴巴集团控股有限公司 A kind of utilization public number realizes the method and device for logging in
CN106230787B (en) * 2016-07-21 2019-08-16 福建星网信通软件有限公司 A kind of authentication method of membership information system for unified management
CN107292668A (en) * 2017-06-23 2017-10-24 济南卡巢网络科技有限公司 Based on App towards businessman and the electronics member system and management method of consumer
CN107729356A (en) * 2017-08-31 2018-02-23 深圳市丰巢科技有限公司 It is managed collectively method, storage medium and the electronic equipment of wechat public number user
CN108270781A (en) * 2018-01-09 2018-07-10 安徽小马创意科技股份有限公司 A kind of more public platform user authorization management methods based on wechat platform

Also Published As

Publication number Publication date
CN109543398A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN111160845B (en) Service processing method and device
CN105530175B (en) Message processing method, device and system
EP3203709B1 (en) Cloud service server and method for managing cloud service server
US9866388B2 (en) Portable device interface methods and systems
CN110879903A (en) Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
US9210159B2 (en) Information processing system, information processing device, and authentication method
CN104580117A (en) Authentication method, device and system
CN104967586A (en) User identity authentication method, user identity authentication apparatus and user identity authentication system
KR101785481B1 (en) Method for providing scraping service, server and system thereof
US20230120160A1 (en) Authentication aggregator
US20220366066A1 (en) Display method, display device, and electronic device
CN105515887B (en) application testing method, server and system
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
US20200294117A1 (en) Method and device for fast order processing
CN115022047A (en) Account login method and device based on multi-cloud gateway, computer equipment and medium
CN113961836A (en) Page jump method and device, electronic equipment and storage medium
CN109543398B (en) Application program account migration method and device and electronic equipment
CN104869107A (en) Identity authentication method, wearable equipment, authentication server and system thereof
CN103067398A (en) Method and equipment for achieving third-party application accessing user data
CN112711955A (en) NFC information transmission method, NFC information transmission device and NFC terminal
CN115174558B (en) Cloud network end integrated identity authentication method, device, equipment and storage medium
CN108282783B (en) Public wifi authentication method, device, user terminal and storage medium
CN113873450B (en) Short message configuration method, device, computer equipment and storage medium
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN113342811A (en) HBase table data 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor

Applicant after: SHENZHEN GOLO CHELIAN DATA TECHNOLOGY Co.,Ltd.

Address before: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor

Applicant before: GOLO IOV DATA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant