CN113676528B - Synchronization method, device, equipment and medium for login account - Google Patents

Synchronization method, device, equipment and medium for login account Download PDF

Info

Publication number
CN113676528B
CN113676528B CN202110925255.9A CN202110925255A CN113676528B CN 113676528 B CN113676528 B CN 113676528B CN 202110925255 A CN202110925255 A CN 202110925255A CN 113676528 B CN113676528 B CN 113676528B
Authority
CN
China
Prior art keywords
target
file
cloud
account
application
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
CN202110925255.9A
Other languages
Chinese (zh)
Other versions
CN113676528A (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.)
Guangzhou Duling Technology Co ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110925255.9A priority Critical patent/CN113676528B/en
Publication of CN113676528A publication Critical patent/CN113676528A/en
Application granted granted Critical
Publication of CN113676528B publication Critical patent/CN113676528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/131Protocols for games, networked simulations or virtual reality

Abstract

The present disclosure provides a synchronization method, apparatus, device and medium for login accounts, which relate to the technical field of cloud computing, in particular to the technical field of cloud games, and include: extracting a user identifier in a cloud equipment application request according to the cloud equipment application request sent by a target client; if the target login account file matched with the user identifier is determined to be locally stored, indicating the target cloud equipment to perform account recovery according to the target login account file; feeding back the device identification of the target cloud device to the target client, so that the target client is free from logging into the target cloud application in the target cloud device; and according to a cloud equipment release request sent by the target client, instructing the target cloud equipment to report a current login account file of the target cloud application, and replacing the target login account file with the current login account file. According to the technical scheme, the method and the device for the account login can avoid the tedious account login operation of the user on the cloud application, and the time for the user to enter the cloud application is shortened.

Description

Synchronization method, device, equipment and medium for login account
Technical Field
The present disclosure relates to the field of cloud computing technologies, and in particular, to a method, an apparatus, a device, and a medium for synchronizing login accounts.
Background
At present, when a user uses a cloud application through a client, a cloud device for installing the cloud application and the client do not have a fixed binding relationship, and the cloud device connected to the client each time is allocated by a cloud server based on a set policy.
Because the cloud devices connected to the client at each time are different, when the user uses the cloud application at each time, the user needs to perform complicated account login operations (namely, inputting a user name, a password, an authentication code and the like) on the cloud application, so that the time for the user to enter the cloud application is long, and the experience of the user on the cloud application is poor. Taking a cloud game as an example, the tedious login operation directly causes the experience of the user on the cloud game and the success rate of trying to play to be reduced.
Disclosure of Invention
The disclosure provides a synchronization method, device, equipment and medium for login accounts.
According to an aspect of the present disclosure, there is provided a synchronization method of a login account, performed by a cloud server, the method including:
extracting a user identifier included in a cloud equipment application request according to the cloud equipment application request sent by a target client, wherein the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
if the target login account file matched with the user identifier is determined to be locally stored, indicating target cloud equipment pre-installed with the target cloud application to perform account recovery according to the target login account file;
under the condition that the target cloud equipment is determined to complete account recovery, equipment identification of the target cloud equipment is fed back to the target client side, so that the target client side is prevented from logging into a target cloud application in the target cloud equipment;
and according to a cloud equipment release request sent by the target client, indicating the target cloud equipment to report a current login account file of the target cloud application, and replacing the target login account file with the received current login account file.
According to another aspect of the present disclosure, there is provided a method for synchronizing a login account, which is performed by a cloud device, the method including:
under the condition that an account restoration instruction aiming at target cloud application sent by a cloud server is received, extracting a target login account file included in the account restoration instruction;
the account restoration instruction is generated according to a cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
performing account recovery on the target cloud application according to the target login account file, and feeding back an account recovery completion instruction to the cloud server under the condition that the account recovery is completed, so that the target client side obtains the equipment identifier of the cloud equipment from the cloud server;
responding to an application starting instruction of a target client aiming at the target cloud application, and starting the target cloud application according to the target login account file so that the target client can enter the target cloud application without logging in;
acquiring a current login account file of a target cloud application according to an account backup instruction sent by a cloud server, and reporting the current login account file to the cloud server;
the account backup instruction is generated according to a cloud equipment release request sent by a target client.
According to another aspect of the present disclosure, there is provided a synchronization apparatus for a login account, which is applied to a cloud server, the apparatus including:
the system comprises a user identifier extraction module, a cloud equipment application module and a service module, wherein the user identifier extraction module is used for extracting a user identifier included in a cloud equipment application request according to the cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
the account recovery module is used for indicating the target cloud equipment pre-installed with the target cloud application to recover the account according to the target login account file if the target login account file matched with the user identifier is determined to be locally stored;
the device identifier feedback module is used for, under the condition that the target cloud device is determined to complete account recovery, feeding back the device identification of the target cloud device to the target client so that the target client can not log into the target cloud application in the target cloud device;
and the account file replacing module is used for indicating the target cloud equipment to report the current login account file of the target cloud application according to the cloud equipment release request sent by the target client, and replacing the target login account file with the received current login account file.
According to another aspect of the present disclosure, there is provided a synchronization apparatus for a login account, which is applied to a cloud device, the apparatus including:
the account file extraction module is used for extracting a target login account file included in an account restoration instruction under the condition that the account restoration instruction aiming at the target cloud application sent by a cloud server is received;
the account restoration instruction is generated according to a cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
a completion instruction sending module, configured to perform account recovery on the target cloud application according to the target login account file, and feed back an account recovery completion instruction to the cloud server when the account recovery is completed, so that the target client obtains the device identifier of the cloud device from the cloud server;
the application starting module is used for responding to an application starting instruction of a target client aiming at the target cloud application, starting the target cloud application according to the target login account file, and enabling the target client to enter the target cloud application without login;
the current account acquisition module is used for acquiring a current login account file of the target cloud application according to an account backup instruction sent by the cloud server and reporting the current login account file to the cloud server;
the account backup instruction is generated according to a cloud equipment release request sent by a target client.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform a method according to any one of the embodiments of the disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of any of the embodiments of the present disclosure.
According to the technical scheme of the embodiment of the disclosure, the user can be prevented from performing complicated account login operation on the cloud application, and the time for the user to enter the cloud application is shortened.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Fig. 1 is a flowchart illustrating a method for synchronizing login accounts according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for synchronizing login accounts according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a further method for synchronizing a login account according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another method for synchronizing login accounts according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a synchronization apparatus for logging in an account according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another synchronization apparatus for logging in an account according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device of a synchronization method of a login account according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flowchart illustrating a method for synchronizing a login account according to an embodiment of the present disclosure, where the embodiment is suitable for a case of synchronizing a login account of a cloud application, and the method may be performed by a device for synchronizing a login account in a cloud server, where the device may be implemented in a software and/or hardware manner, and may be generally integrated in a terminal or a server having a data processing function. Specifically, referring to fig. 1, the method specifically includes the following steps:
step 110, extracting a user identifier included in a cloud device application request according to the cloud device application request sent by the target client, wherein the cloud device application request is used for requesting to use the target cloud application on the cloud device.
In this embodiment, the cloud device may be a logic device virtualized on a cloud server cluster by using a virtualization technology, such as a cloud mobile phone or a cloud computer. The cloud device may have a plurality of cloud applications, also called cloud Application programs (APPs), installed therein, such as cloud games, cloud music, and cloud office.
In this embodiment, optionally, when the user wants to use the target cloud application, the target cloud application may be selected from options of a plurality of cloud applications provided by the target client. After detecting that the target cloud application is selected by the user, the target client sends a request (namely a cloud equipment application request) for the user to use the target cloud application to the cloud server.
The target client can serve a program for cloud equipment installed in the terminal equipment used by the user. Optionally, after receiving a cloud device application request sent by a user through a target client, the cloud server may extract an application identifier of a target cloud application that the user wants to use and a user identifier from the request. The application identifier may be an application name of the target cloud application or an Identity Document (ID) of the target cloud application. The user identification may be account information of the user in the target client.
And 120, if the target login account file matched with the user identifier is determined to be locally stored, indicating the target cloud equipment pre-installed with the target cloud application to perform account recovery according to the target login account file.
In this embodiment, the cloud server may determine, according to the application identifier, a target cloud application that the user wants to use, then acquire, in the local storage space, a plurality of login account files that are respectively corresponding to a plurality of stored users under the target cloud application, compare the user identifier with the stored identifiers of the users, and if the user identifier is stored in the local storage space, use the login account file corresponding to the user identifier as the target login account file. The login account file may record login information of the user for the target cloud application, such as a login name and a login password.
In this step, if it is determined that the target login account file matched with the user identifier is locally stored, optionally, the cloud server may select a cloud device in an idle state from a plurality of cloud devices installed with the target cloud application as the target cloud device, and then send the target login account file and the application identifier of the target cloud application to the target cloud device.
In the related art, in order to avoid a user from performing complicated login operation on a cloud application, the relationship between the clients and the cloud equipment is generally bound, that is, each client corresponds to one cloud equipment, the method is easy to cause high idleness of the cloud equipment, and in the embodiment, the cloud server allocates appropriate cloud equipment to the clients, so that the idleness of the cloud equipment can be reduced, and the utilization rate of the cloud equipment is improved.
In practical application, when the cloud device finishes connection with the client every time, login information corresponding to the cloud application installed in the cloud device is also cleared. Therefore, after the target cloud equipment receives the target login account file and the application identifier of the target cloud application, the target cloud application can be determined according to the application identifier, and then the login information corresponding to the target cloud application is perfected according to the login information specified in the target login account file so as to recover the account of the target cloud application.
Step 130, under the condition that it is determined that the target cloud device completes account recovery, feeding back the device identifier of the target cloud device to the target client, so that the target client is prevented from logging into a target cloud application in the target cloud device.
In this embodiment, optionally, if the cloud server does not receive an account recovery failure instruction fed back by the target device within a preset time period, it may be determined that the target cloud device completes account recovery, and the device identifier of the target cloud device is fed back to the target client, so that the target client establishes a connection relationship with the target cloud device according to the device identifier. After the target client is connected with the target cloud device, the target client can enter the target cloud application without logging in.
In this embodiment, under a plurality of cloud applications can be stored in the cloud server, a plurality of login account files corresponding to a plurality of users respectively, when a user wants to use a target cloud application, the target login account file is selected from the plurality of login account files and matched with the user, and the target cloud device performs account recovery according to the target login account file, so that the user can be prevented from performing complicated account login operation on the cloud application, the time of the user entering the cloud application is reduced, and the experience of the user on the cloud application is improved.
In the related art, in order to avoid a complicated login operation of a user on a cloud application, a cloud device account number intermodal Software Development Kit (SDK) is also implanted into the cloud application, so that the maintenance cost of the cloud application is high.
Step 140, according to a cloud device release request sent by the target client, instructing the target cloud device to report a current login account file of the target cloud application, and replacing the target login account file with the received current login account file.
In this embodiment, when the user wants to end using the target cloud application, a cloud device release request may be sent to the cloud server through the target client. After receiving the cloud equipment release request, the cloud server may send a file reporting instruction to the target cloud equipment, and after receiving the file reporting instruction, the target cloud equipment acquires a file (i.e., a current login account file) where current login information corresponding to the target cloud application is located, and sends the current login account file to the cloud server.
After the cloud server acquires the current login account file, the current login account file can be used for replacing the target login account file. The advantage of the setting is that when the user modifies the login information (such as a login name or a login password) in the process of using the target cloud application, the cloud server stores the latest login information of the user, so that account recovery can be conveniently performed on the target cloud application according to the latest login information when the user uses the target cloud application next time.
According to the technical scheme of the embodiment, the user identification included in the cloud equipment application request is extracted according to the cloud equipment application request sent by the target client, if the target login account file matched with the user identification is determined to be locally stored, the target cloud equipment with the pre-installed target cloud application is instructed to perform account recovery according to the target login account file, under the condition that the target cloud equipment completes account recovery, the equipment identification of the target cloud equipment is fed back to the target client, so that the target client is prevented from logging in to enter the target cloud application in the target cloud equipment, according to the cloud equipment release request sent by the target client, the target cloud equipment is instructed to report the current login account file of the target cloud application, and the received current login account file is used for replacing the target login account file.
On the basis of the above embodiment, after the user identifier included in the cloud device application request is extracted, if the target login account file matching the user identifier is not locally stored, it may be determined that the user uses the target cloud application for the first time. In this case, a target cloud device may be selected from a plurality of cloud devices in which the target cloud application is installed, and the device identifier of the target cloud device is fed back to the target client, after the target client is connected with the target cloud device, the user may register login information in the target cloud application, and when the target cloud device detects that the user completes registration of the target cloud application, the login information of the user is sent to the cloud server, and the cloud server generates a login account file according to the login information.
In an embodiment of this embodiment, before instructing, by a target cloud device preinstalled with a target cloud application, to perform account recovery according to a target login account file, the method further includes: acquiring first geographical position information of terminal equipment adapted to the target client; and determining target cloud equipment in each cloud equipment according to the first geographical position information and second geographical position information of each cloud equipment pre-installed with the target cloud application.
The cloud equipment which is closest to the terminal equipment and is in an idle state in the cloud equipment can be selected as the target cloud equipment according to the first geographical position information and the second geographical position information of the cloud equipment. The benefit of this arrangement is: the distance between the terminal device and the target cloud device can be short, and the communication efficiency between the target client and the target cloud device is improved.
Fig. 2 is a schematic flow chart of another method for synchronizing a login account according to an embodiment of the present disclosure, which is a further refinement of the foregoing technical solution, and the technical solution in this embodiment may be combined with one or more of the foregoing embodiments. Specifically, referring to fig. 2, the method specifically includes the following steps:
step 210, extracting a user identifier included in a cloud device application request according to the cloud device application request sent by a target client, where the cloud device application request is used for requesting to use a target cloud application on a cloud device.
In an implementation manner of this embodiment, before extracting, according to a cloud device application request sent by a target client, a user identifier included in the cloud device application request, the method further includes:
step 201, responding to an online request of a target cloud application, installing an installation package of the target cloud application, and backing up and storing an installation file set before logging corresponding to an installation directory;
in this embodiment, before the target cloud application is online, the cloud server may install the installation package of the target cloud application to obtain an installation directory of the target cloud application, and combine installation files included in the installation directory to obtain an installation file set before login.
202, simulating login is carried out on the target cloud application by using a test login account file, and after the login is completed, a post-login installation file set corresponding to an installation directory is obtained;
in this step, the login account file is tested as a login account file registered by the cloud server in advance for the target cloud application. The cloud server can use the login name in the test login account file and the login password to perform simulated login on the target cloud application. And after the login is finished, combining all installation files included in the installation directory to obtain a post-login installation file set.
Step 203, comparing the file difference between the installation file set before login and the installation file set after login to obtain a difference file and the storage position of the difference file in the installation directory;
in this step, each installation file in the installation file set before login may be compared with each installation file in the installation file set after login, and if there is a changed installation file, the installation file is used as a difference file, and a storage location of the difference file in the installation directory is obtained. The installation file with changed file content can be used as a difference file, and the newly added installation file can also be used as a difference file.
Step 204, taking the file name of the differential file as the file name of the login account file, and forming a file list according to the file name of the login account file and the storage position of the login account file in the installation directory;
in this embodiment, after obtaining the difference file collectively from the pre-login installation file set and the post-login installation file set, it may be described that the difference file is related to the login information of the target cloud application, so that the difference file may be used as a login account file corresponding to the target cloud application, and the login information of the target cloud application may be recorded in the login account file. The server may form a file list according to the file name of the login account file and the storage location of the login account file in the installation directory, where the file name of each login account file in the file list corresponds to one storage location.
Step 205, distributing the file list to each cloud device installed with the target cloud application to instruct each cloud device to implement account recovery or account backup according to the file list.
By the aid of the set advantages, the installation files related to the login information of the target cloud application can be accurately determined by acquiring the difference files before and after the target cloud application is installed, and the target cloud equipment can conveniently perform account recovery or account backup on the target cloud application according to the installation files related to the login information of the target cloud application.
Step 220, if the target login account file matched with the user identifier is determined to be locally stored, an account restoration instruction is constructed according to the target login account file, and the account restoration instruction is sent to the target cloud equipment.
In this embodiment, a plurality of login account files corresponding to a plurality of users respectively under a target cloud application are pre-stored in the cloud server, and a file name of each login account file is the same as a file name of the difference file. If the cloud server inquires a target login account file from the plurality of login account files, an account restoration instruction is constructed according to the target login account file, and the account restoration instruction can include the target login account file.
After receiving the account restoration instruction, the target cloud device may extract a target login account file included in the account restoration instruction, search a storage location matched with the file name in a file list according to the file name of the target login account file, and write the target login account file into the storage location to perform account restoration on the target cloud application.
Step 230, under the condition that an account restoration completion instruction fed back by the target cloud device according to the account restoration instruction is received, determining that the target cloud device completes account restoration, and feeding back a device identifier of the target cloud device to the target client, so that the target client is prevented from logging into a target cloud application in the target cloud device.
In this embodiment, after the target cloud device completes writing the target login account file, an account restoration completion instruction may be fed back to the cloud server. The method has the advantages that the target cloud equipment feeds back the account recovery finishing instruction to the cloud server, so that the server can accurately know the account recovery condition of the target cloud application, and subsequent operation is facilitated.
Step 240, according to a cloud device release request sent by the target client, instructing the target cloud device to report a current login account file of the target cloud application, and replacing the target login account file with the received current login account file.
According to the technical scheme of the embodiment, the user identification included in the cloud equipment application request is extracted according to the cloud equipment application request sent by the target client, if the target login account file matched with the user identification is determined to be locally stored, an account restoration instruction is built according to the target login account file and sent to the target cloud equipment, under the condition that the account restoration completion instruction fed back by the target cloud equipment aiming at the account restoration instruction is received, the target cloud equipment is determined to complete account restoration, the equipment identification of the target cloud equipment is fed back to the target client, so that the target client is prevented from logging in to enter the target cloud application in the target cloud equipment, the target cloud equipment is instructed to report the current account login file of the target cloud application according to the cloud equipment release request sent by the target client, and the received current account login file is used for replacing the target login account file, so that the technical means that a user can be prevented from performing complicated account login operation on the cloud application, and the time of the user entering the cloud application is reduced.
Fig. 3 is a flowchart of another method for synchronizing a login account according to an embodiment of the present disclosure, where the embodiment is suitable for a case of synchronizing a login account of a cloud application, and the method may be performed by a device for synchronizing a login account in a cloud device, where the device may be implemented in a software and/or hardware manner, and may be generally integrated in a terminal or a server having a data processing function. Specifically, referring to fig. 1, the method specifically includes the following steps:
step 310, under the condition that an account number restoring instruction aiming at the target cloud application sent by the cloud server is received, extracting a target login account number file included in the account number restoring instruction.
The account restoration instruction is generated according to a cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment.
In this embodiment, the account restoring instruction may include an application identifier of the target cloud application and a target login account file, and the application identifier and the target login account file may be separated by a preset separator. After the cloud equipment acquires the account restoration instruction, an application identifier and a target login account file can be extracted according to a preset separator, and a target cloud application is determined according to the application identifier.
And 320, performing account recovery on the target cloud application according to the target login account file, and feeding back an account recovery completion instruction to the cloud server under the condition that the account recovery is completed, so that the target client acquires the equipment identifier of the cloud equipment from the cloud server.
In this embodiment, optionally, the cloud device may complete login information corresponding to the target cloud application according to login information specified in the target login account file, so as to complete account recovery of the target cloud application. And under the condition of completing the account recovery, feeding back an account recovery finishing instruction to the cloud server, and feeding back the equipment identifier of the cloud equipment to the target client by the cloud server.
Step 330, responding to an application starting instruction of the target client aiming at the target cloud application, and starting the target cloud application according to the target login account file so that the target client can enter the target cloud application without login.
In this embodiment, after the target client is connected to the cloud device according to the device identifier, an application start instruction for the target cloud application may be triggered in the cloud device. After receiving the application starting instruction, the cloud device may start the target cloud application according to the login information after the target cloud application is completed by using the target login account file.
Step 340, obtaining a current login account file of the target cloud application according to an account backup instruction sent by the cloud server, and reporting the current login account file to the cloud server. The account backup instruction is generated according to a cloud equipment release request sent by a target client.
In this embodiment, after receiving an account backup instruction sent by a cloud server, a cloud device may acquire a file (that is, a current login account file) in which current login information of a target cloud application is located, and report the current login account file to the cloud server.
According to the technical scheme of the embodiment, under the condition that an account restoration instruction aiming at a target cloud application sent by a cloud server is received, a target login account file included in the account restoration instruction is extracted, the account restoration is carried out on the target cloud application according to the target login account file, under the condition that the account restoration is completed, an account restoration completion instruction is fed back to the cloud server, so that a target client side obtains an equipment identifier of cloud equipment from the cloud server, the target client side responds to an application starting instruction aiming at the target cloud application, the target cloud application is started according to the target login account file, so that the target client side is free from logging in the target cloud application, the current login account file of the target cloud application is obtained according to an account backup instruction sent by the cloud server, the current login account file is reported to the cloud server, tedious account login operation of a user on the cloud application can be avoided, and the time of the user for entering the cloud application is shortened.
The embodiment of the present disclosure is further detailed in the above embodiment, and the same or corresponding terms as those in the above embodiment are explained, and no further description is given to the embodiment of the present disclosure. Fig. 4 is a flowchart of a synchronization method for login accounts according to an embodiment of the present disclosure, where the method specifically includes the following steps:
step 410, under the condition that an account restoration instruction for the target cloud application sent by the cloud server is received, extracting a target login account file included in the account restoration instruction.
In an implementation manner of this embodiment, optionally, before step 410, the method further includes: after local installation of the target cloud application is completed, receiving a file list which is sent by a cloud server and corresponds to the target cloud application; wherein, the file list comprises: and the file name of the login account file and the storage position of the login account file in the installation directory of the target cloud application.
In this embodiment, before the cloud device installs the target cloud application, the cloud server performs simulated login on the target cloud application, compares an installation file before the target cloud application is logged in with an installation file after the target cloud application is logged in, confirms a difference file related to login information of the target cloud application, uses a file name of the difference file as a file name of a login account file, forms a file list according to the file name of the login account file and a storage location of the login account file in an installation directory, and distributes the file list to the cloud device after the cloud device completes local installation of the target cloud application.
The method has the advantage that the cloud equipment can conveniently and quickly acquire the position of the installation file related to the login information of the target cloud application according to the file list, so that account recovery or account backup can be conveniently carried out on the target cloud application.
And step 420, writing the target login account file into a matched storage position according to the file list in an installation directory of the target cloud application so as to perform account recovery on the target cloud application.
In this step, according to the file name of the target login account file, a storage location matched with the file name can be searched in the file list, and the target login account file is written into the storage location, so that account recovery is performed on the target cloud application.
The method has the advantages that the effect of the installation files at all positions in the installation directory corresponding to the target cloud application is pre-designated, the target login account file is written into the matched storage position in the installation directory, the target cloud application account can be successfully recovered, and the situation that the target cloud application fails to start is avoided.
Step 430, feeding back an account restoration completion instruction to the cloud server under the condition that the account restoration is completed, so that the target client acquires the device identifier of the cloud device from the cloud server.
Step 440, responding to an application starting instruction of the target client for the target cloud application, and starting the target cloud application according to the target login account file so that the target client is prevented from logging in to enter the target cloud application.
In an implementation manner of this embodiment, after the target cloud application is started according to the target login account file, the method further includes: and acquiring historical application data matched with the target login account file from an application server of the target cloud application, and locally loading the historical application data.
The historical data acquisition instruction can be sent to an application server of the target cloud application, and the historical data acquisition instruction can include a target login account file. After receiving the historical data acquisition instruction, the application server can search the historical application data matched with the target login account file according to the login information in the target login account file, and feed the historical application data back to the cloud equipment.
The historical application data can be historical behavior data of the user for the target cloud application. Taking a cloud game as an example, the historical application data may be a player position of the user in the cloud game, a login record, a game skin used by the user, and the like.
The method has the advantages that after the cloud equipment starts the target cloud application according to the target login account file, the historical application data matched with the current user are loaded, and poor use experience brought to the user by the fact that the historical behavior data of the user are lost can be avoided.
In the related art, historical application data of a user for a target cloud application is usually stored in a cloud server, the storage pressure of the cloud server is high due to the method, the historical application data is not stored in the cloud server of the embodiment, and the historical application data can be obtained from the application server of the target cloud application, so that the occupation of storage space in the cloud server can be reduced, and the storage cost of the cloud server is reduced.
And step 450, after receiving an account backup instruction sent by the cloud server, acquiring the current login account file at a matched storage position under the installation directory of the target cloud application according to the file list, and reporting the current login account file to the cloud server.
According to the method and the device, under the condition that an account restoration instruction for the target cloud application sent by a cloud server is received, a target login account file included in the account restoration instruction is extracted, under the condition that the account restoration instruction for the target cloud application is sent by the cloud server, the target login account file is written into a matched storage position according to a file list so as to perform account restoration on the target cloud application, under the condition that the account restoration is completed, an account restoration completion instruction is fed back to the cloud server so that a target client side can obtain an equipment identifier of cloud equipment from the cloud server, in response to an application starting instruction for the target cloud application from the target client side, the target cloud application is started according to the target login account file so that the target client side can not log in the target cloud application, after an account backup instruction sent by the cloud server is received, the current login account file is obtained according to the file list at the matched storage position under the installation directory of the target cloud application, and the current login account file is reported to the cloud server.
The embodiment of the disclosure further provides a synchronization device of the login account, which is used for executing the synchronization method of the login account.
Fig. 5 is a structural diagram of a device 500 for synchronizing login accounts according to an embodiment of the present disclosure, where the device includes: a user identification extraction module 510, an account recovery module 520, a device identification feedback module 530, and an account file replacement module 540.
The user identifier extracting module 510 is configured to extract a user identifier included in a cloud device application request according to a cloud device application request sent by a target client, where the cloud device application request is used to request that a target cloud application is used on a cloud device;
the account recovery module 520 is configured to instruct the target cloud device, which is pre-installed with the target cloud application, to perform account recovery according to the target login account file if it is determined that the target login account file matched with the user identifier is locally stored;
the device identifier feedback module 530 is configured to, when it is determined that the target cloud device completes account recovery, feed back a device identifier of the target cloud device to the target client, so that the target client is prevented from logging into a target cloud application in the target cloud device;
the account file replacing module 540 is configured to instruct the target cloud device to report a current login account file of the target cloud application according to a cloud device release request sent by the target client, and replace the target login account file with the received current login account file.
According to the technical scheme of the embodiment, the user identification included in the cloud equipment application request is extracted according to the cloud equipment application request sent by the target client, if the target login account file matched with the user identification is determined to be locally stored, the target cloud equipment with the pre-installed target cloud application is instructed to perform account recovery according to the target login account file, under the condition that the target cloud equipment completes account recovery, the equipment identification of the target cloud equipment is fed back to the target client, so that the target client is prevented from logging in to enter the target cloud application in the target cloud equipment, according to the cloud equipment release request sent by the target client, the target cloud equipment is instructed to report the current login account file of the target cloud application, and the received current login account file is used for replacing the target login account file.
On the basis of the foregoing embodiments, the account recovering module 520 further includes:
a location information obtaining unit, configured to obtain first geographic location information of a terminal device adapted to the target client;
the device determining unit is used for determining target cloud devices in the cloud devices according to the first geographical location information and second geographical location information of the cloud devices pre-installed with target cloud applications;
and the restoration instruction sending unit is used for constructing an account restoration instruction according to the target login account file and sending the account restoration instruction to the target cloud equipment.
A device identification feedback module 530 comprising: and the completion instruction receiving unit is used for determining that the target cloud equipment completes account recovery under the condition of receiving an account recovery completion instruction fed back by the target cloud equipment according to the account recovery instruction.
The device further comprises:
the installation file storage module is used for responding to an online request of the target cloud application, installing an installation package of the target cloud application, and backing up and storing an installation file set before login corresponding to the installation directory;
the simulation login module is used for performing simulation login on the target cloud application by using the test login account file, and acquiring a post-login installation file set corresponding to the installation directory after the login is completed;
the file comparison module is used for comparing the file difference between the installation file set before login and the installation file set after login to obtain a difference file and the storage position of the difference file in the installation directory;
the list generation module is used for taking the file name of the differential file as the file name of the login account file and forming a file list according to the file name of the login account file and the storage position of the login account file in the installation directory;
and the list distribution module is used for distributing the file list to each cloud device provided with the target cloud application so as to instruct each cloud device to realize account recovery or account backup according to the file list.
The synchronization device for the login account provided by the embodiment of the disclosure can execute the synchronization method for the login account provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
The embodiment of the disclosure further provides another login account synchronization device, which is used for executing the login account synchronization method.
Fig. 6 is a structural diagram of a device 600 for synchronizing login accounts according to an embodiment of the present disclosure, where the device includes: an account file extracting module 610, a finishing instruction sending module 620, an application starting module 630 and a current account acquiring module 640.
The account file extracting module 610 is configured to extract a target login account file included in an account restoration instruction when the account restoration instruction for a target cloud application sent by a cloud server is received; the account restoration instruction is generated according to a cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
a finish instruction sending module 620, configured to perform account recovery on the target cloud application according to the target login account file, and feed back an account recovery finish instruction to the cloud server when the account recovery is completed, so that the target client obtains the device identifier of the cloud device from the cloud server;
an application starting module 630, configured to respond to an application starting instruction of a target client for the target cloud application, start the target cloud application according to the target login account file, so that the target client enters the target cloud application without logging in;
the current account acquisition module 640 is configured to acquire a current login account file of the target cloud application according to an account backup instruction sent by the cloud server, and report the current login account file to the cloud server; the account backup instruction is generated according to a cloud equipment release request sent by a target client.
According to the technical scheme of the embodiment, under the condition that an account restoration instruction aiming at a target cloud application sent by a cloud server is received, a target login account file included in the account restoration instruction is extracted, the account restoration is carried out on the target cloud application according to the target login account file, under the condition that the account restoration is completed, an account restoration completion instruction is fed back to the cloud server, so that a target client side obtains an equipment identifier of cloud equipment from the cloud server, the target client side responds to an application starting instruction aiming at the target cloud application, the target cloud application is started according to the target login account file, so that the target client side is free from logging in the target cloud application, the current login account file of the target cloud application is obtained according to an account backup instruction sent by the cloud server, the current login account file is reported to the cloud server, tedious account login operation of a user on the cloud application can be avoided, and the time of the user for entering the cloud application is shortened.
On the basis of the above embodiments, the apparatus further includes: the file list receiving module is used for receiving a file list which is sent by a cloud server and corresponds to the target cloud application after the local installation of the target cloud application is completed; wherein, the file list comprises: and the file name of the login account file and the storage position of the login account file in the installation directory of the target cloud application.
Wherein, finish the order sending module 620, include: and the file writing unit is used for writing the target login account file into a matched storage position according to the file list under the installation directory of the target cloud application so as to perform account recovery on the target cloud application.
The current account obtaining module 640 includes: and the file acquisition unit is used for acquiring the current login account file at a storage position matched with the installation directory of the target cloud application according to the file list.
The application launching module 630 includes: and the application data acquisition unit is used for acquiring historical application data matched with the target login account file from an application server of the target cloud application, and locally loading the historical application data.
The synchronization device for the login account provided by the embodiment of the disclosure can execute the synchronization method for the login account provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 7 illustrates a schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 comprises a computing unit 701, which may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing AI chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 701 executes the respective methods and processes described above, such as the synchronization method of the login account. For example, in some embodiments, the synchronization method of the login account may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method for synchronizing login accounts described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the synchronization method of the login account in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), AI system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (12)

1. A synchronization method of login accounts, executed by a cloud server, wherein the method comprises the following steps:
extracting a user identifier included in a cloud equipment application request according to the cloud equipment application request sent by a target client, wherein the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
if the target login account file matched with the user identifier is determined to be locally stored, indicating target cloud equipment pre-installed with the target cloud application to perform account recovery according to the target login account file;
under the condition that the target cloud equipment is determined to finish account recovery, feeding back an equipment identifier of the target cloud equipment to the target client so that the target client is free from logging into a target cloud application in the target cloud equipment;
according to a cloud equipment release request sent by a target client, indicating target cloud equipment to report a current login account file of a target cloud application, and replacing the target login account file with the received current login account file;
before the extracting, according to the cloud device application request sent by the target client, the user identifier included in the cloud device application request, the method further includes:
responding to an online request of the target cloud application, installing an installation package of the target cloud application, and backing up and storing a pre-login installation file set corresponding to the installation directory;
simulating login is carried out on the target cloud application by using the test login account file, and after the login is completed, a post-login installation file set corresponding to the installation directory is obtained;
comparing the file difference between the installation file set before login and the installation file set after login to obtain a difference file and the storage position of the difference file in the installation directory;
taking the file name of the differential file as the file name of the login account file, and forming a file list according to the file name of the login account file and the storage position of the login account file in the installation directory;
and distributing the file list to each cloud device provided with the target cloud application so as to instruct each cloud device to realize account recovery or account backup according to the file list.
2. The method of claim 1, further comprising:
acquiring first geographical position information of terminal equipment adapted to the target client;
and determining target cloud equipment in each cloud equipment according to the first geographical position information and second geographical position information of each cloud equipment pre-installed with the target cloud application.
3. The method of claim 1, wherein instructing target cloud equipment with a pre-installed target cloud application to perform account recovery according to a target login account file comprises:
an account restoration instruction is built according to the target login account file, and the account restoration instruction is sent to the target cloud equipment;
determining that the target cloud device completes account recovery, including:
and under the condition that an account number restoration finishing instruction fed back by the target cloud equipment according to the account number restoration instruction is received, determining that the target cloud equipment finishes account number restoration.
4. A synchronization method of login accounts, which is executed by cloud equipment, wherein the method comprises the following steps:
under the condition that an account restoration instruction aiming at target cloud application sent by a cloud server is received, extracting a target login account file included in the account restoration instruction;
the account restoration instruction is generated according to a cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
performing account recovery on the target cloud application according to the target login account file, and feeding back an account recovery completion instruction to the cloud server under the condition that the account recovery is completed, so that the target client acquires the equipment identifier of the cloud equipment from the cloud server;
responding to an application starting instruction of a target client for the target cloud application, and starting the target cloud application according to the target login account file so that the target client can enter the target cloud application without login;
acquiring a current login account file of a target cloud application according to an account backup instruction sent by a cloud server, and reporting the current login account file to the cloud server;
the account backup instruction is generated according to a cloud equipment release request sent by a target client;
before extracting a target login account file included in an account restore instruction under the condition of receiving the account restore instruction for the target cloud application sent by the cloud server, the method further includes:
after local installation of the target cloud application is completed, receiving a file list which is sent by the cloud server and corresponds to the target cloud application;
wherein, the file list comprises: the file name of the login account number file and the storage position of the login account number file in the installation directory of the target cloud application; the file name of the login account file is the file name of the difference file; the difference file is obtained by performing simulated login on the target cloud application by the cloud server according to the fact that the cloud server is before the target cloud application is installed by the cloud equipment, and comparing the installation file before the target cloud application is logged in with the installation file after the target cloud application is logged in;
performing account recovery on the target cloud application according to the target login account file, including:
writing the target login account file into a matched storage position according to the file list under the installation directory of the target cloud application so as to perform account recovery on the target cloud application;
the method for obtaining the current login account file of the target cloud application comprises the following steps:
and acquiring the current login account file at a matched storage position under the installation directory of the target cloud application according to the file list.
5. The method of claim 4, further comprising:
and acquiring historical application data matched with the target login account file from an application server of the target cloud application, and locally loading the historical application data.
6. A synchronization device for login accounts is applied to a cloud server, and comprises:
the installation file storage module is used for responding to an online request of the target cloud application, installing an installation package of the target cloud application, and backing up and storing an installation file set before login corresponding to the installation directory;
the simulation login module is used for performing simulation login on the target cloud application by using the test login account file, and acquiring a post-login installation file set corresponding to the installation directory after the login is completed;
the file comparison module is used for comparing the file difference between the installation file set before login and the installation file set after login to obtain a difference file and the storage position of the difference file in the installation directory;
the list generation module is used for taking the file name of the differential file as the file name of the login account file and forming a file list according to the file name of the login account file and the storage position of the login account file in the installation directory;
the file list distribution module is used for distributing the file list to each cloud device provided with the target cloud application so as to instruct each cloud device to realize account recovery or account backup according to the file list;
the system comprises a user identifier extraction module, a cloud equipment application module and a service module, wherein the user identifier extraction module is used for extracting a user identifier included in a cloud equipment application request according to the cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
the account recovery module is used for indicating the target cloud equipment pre-installed with the target cloud application to recover the account according to the target login account file if the target login account file matched with the user identifier is determined to be locally stored;
the device identifier feedback module is used for feeding back the device identifier of the target cloud device to the target client under the condition that the target cloud device is determined to complete account recovery, so that the target client is prevented from logging into a target cloud application in the target cloud device;
and the account file replacing module is used for indicating the target cloud equipment to report the current login account file of the target cloud application according to the cloud equipment release request sent by the target client, and replacing the target login account file with the received current login account file.
7. The apparatus of claim 6, wherein the account recovery module further comprises:
the position information acquisition unit is used for acquiring first geographical position information of the terminal equipment adapted to the target client;
and the device determining unit is used for determining the target cloud device in each cloud device according to the first geographical position information and the second geographical position information of each cloud device pre-installed with the target cloud application.
8. The apparatus of claim 6, wherein the account recovery module further comprises:
the restoration instruction sending unit is used for constructing an account restoration instruction according to the target login account file and sending the account restoration instruction to the target cloud equipment;
a device identification feedback module comprising:
and the completion instruction receiving unit is used for determining that the target cloud equipment completes account recovery under the condition of receiving an account recovery completion instruction fed back by the target cloud equipment according to the account recovery instruction.
9. A synchronization device for login accounts is applied to cloud equipment, and comprises:
the file list receiving module is used for receiving a file list which is sent by a cloud server and corresponds to the target cloud application after the local installation of the target cloud application is completed;
wherein, the file list comprises: the file name of the login account number file and the storage position of the login account number file in the installation directory of the target cloud application are obtained; the file name of the login account file is the file name of the difference file; the difference file is obtained by performing simulated login on the target cloud application by the cloud server according to the fact that the cloud server is before the target cloud application is installed by the cloud equipment, and comparing the installation file before the target cloud application is logged in with the installation file after the target cloud application is logged in;
finish the order and send the module, comprising:
the file writing unit is used for writing the target login account file into a matched storage position according to the file list under the installation directory of the target cloud application so as to perform account recovery on the target cloud application;
the current account number acquisition module comprises:
the file acquisition unit is used for acquiring the current login account file at a matched storage position under the installation directory of the target cloud application according to the file list;
the account file extraction module is used for extracting a target login account file included in an account restoration instruction under the condition that the account restoration instruction aiming at the target cloud application sent by a cloud server is received;
the account restoration instruction is generated according to a cloud equipment application request sent by a target client, and the cloud equipment application request is used for requesting to use a target cloud application on cloud equipment;
a completion instruction sending module, configured to perform account recovery on the target cloud application according to the target login account file, and feed back an account recovery completion instruction to the cloud server when the account recovery is completed, so that the target client obtains the device identifier of the cloud device from the cloud server;
the application starting module is used for responding to an application starting instruction of a target client aiming at the target cloud application, starting the target cloud application according to the target login account file, and enabling the target client to enter the target cloud application without login;
the current account acquisition module is used for acquiring a current login account file of the target cloud application according to an account backup instruction sent by the cloud server and reporting the current login account file to the cloud server;
the account backup instruction is generated according to a cloud equipment release request sent by a target client.
10. The apparatus of claim 9, wherein the application launch module further comprises:
and the application data acquisition unit is used for acquiring historical application data matched with the target login account file from an application server of the target cloud application and locally loading the historical application data.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3 or to perform the method of any one of claims 4-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-3 or to perform the method of any one of claims 4-5.
CN202110925255.9A 2021-08-12 2021-08-12 Synchronization method, device, equipment and medium for login account Active CN113676528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110925255.9A CN113676528B (en) 2021-08-12 2021-08-12 Synchronization method, device, equipment and medium for login account

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110925255.9A CN113676528B (en) 2021-08-12 2021-08-12 Synchronization method, device, equipment and medium for login account

Publications (2)

Publication Number Publication Date
CN113676528A CN113676528A (en) 2021-11-19
CN113676528B true CN113676528B (en) 2022-11-15

Family

ID=78542498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110925255.9A Active CN113676528B (en) 2021-08-12 2021-08-12 Synchronization method, device, equipment and medium for login account

Country Status (1)

Country Link
CN (1) CN113676528B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756300A (en) * 2022-04-24 2022-07-15 北京百度网讯科技有限公司 Configuration method and device of cloud equipment, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2573700A1 (en) * 2011-09-23 2013-03-27 Samsung Electronics Co., Ltd. Communication with cloud server in image forming apparatus
WO2017219976A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Cloud server login method and apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11146657B2 (en) * 2018-08-31 2021-10-12 Latticework, Inc. Binding a public cloud user account and a personal cloud user account for a hybrid cloud environment
CN109005245B (en) * 2018-09-07 2021-09-14 广州微算互联信息技术有限公司 Cloud mobile phone use management method and system
CN111744174A (en) * 2020-01-08 2020-10-09 厦门雅基软件有限公司 Account management method and device of cloud game, account login method and device and electronic equipment
CN112104623B (en) * 2020-08-31 2023-01-10 北京爱奇艺科技有限公司 Cloud application login method and device, cloud equipment, client and system
CN112418940A (en) * 2020-11-26 2021-02-26 百度在线网络技术(北京)有限公司 Method, device, equipment, storage medium and system for realizing interactive advertisement
CN112675533B (en) * 2021-03-17 2021-07-23 北京海誉动想科技股份有限公司 User archive information acquisition method and device based on cloud game
CN113656176B (en) * 2021-08-19 2022-08-23 北京百度网讯科技有限公司 Cloud equipment distribution method, device and system, electronic equipment, medium and product

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2573700A1 (en) * 2011-09-23 2013-03-27 Samsung Electronics Co., Ltd. Communication with cloud server in image forming apparatus
WO2017219976A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Cloud server login method and apparatus

Also Published As

Publication number Publication date
CN113676528A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN110247984B (en) Service processing method, device and storage medium
JP6595625B2 (en) Automatic recharge system, method and server
CN115794257B (en) System starting method, device, electronic equipment and storage medium
CN103533096A (en) Binding method and device of network card interface
EP3879875A1 (en) Resource change method and device, apparatus, and storage medium
CN113676528B (en) Synchronization method, device, equipment and medium for login account
CN106572074B (en) Verification method and device for verification code
CN107665141B (en) Database configuration method and equipment thereof
CN105867962A (en) System upgrading method and device
CN107329802B (en) Virtual machine creating method and electronic equipment
CN107656796B (en) Virtual machine cold migration method, system and equipment
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN105072608A (en) Method and device for managing authentication token
CN112367186B (en) Fault protection method and device based on 0penStack bare computer
WO2018001375A1 (en) Physical to virtual migration method, physical server, virtual server, and system
CN104461757A (en) Method and device for restoring virtual machines
CN106570685B (en) Service processing method and device
CN112667255B (en) Updating method, updating device, electronic equipment and storage medium
CN106547583B (en) Operating system installation method and device
CN114281473A (en) Cloud platform test environment management method, system, terminal and storage medium
CN113946357A (en) Cloud application updating method, device, system, electronic equipment and computer medium
US10296425B2 (en) Optimizing data processing across server clusters and data centers using checkpoint-based data replication
CN109101253B (en) Management method and device for host in cloud computing system
CN111782445A (en) Configuration method and device of equipment debugging environment
CN104992093A (en) Information management method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240223

Address after: Room 290, First Floor, No. 2429 Xingang East Road, Zhuhai District, Guangzhou City, Guangdong Province, 510330

Patentee after: Guangzhou Duling Technology Co.,Ltd.

Country or region after: China

Address before: 2 / F, baidu building, 10 Shangdi 10th Street, Haidian District, Beijing 100085

Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: Room 290, First Floor, No. 2429 Xingang East Road, Haizhu District, Guangzhou City, Guangdong Province, 510220

Patentee after: Guangzhou Duling Technology Co.,Ltd.

Country or region after: China

Address before: Room 290, First Floor, No. 2429 Xingang East Road, Zhuhai District, Guangzhou City, Guangdong Province, 510330

Patentee before: Guangzhou Duling Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address