CN107908949B - Information updating method and device and server - Google Patents

Information updating method and device and server Download PDF

Info

Publication number
CN107908949B
CN107908949B CN201710987433.4A CN201710987433A CN107908949B CN 107908949 B CN107908949 B CN 107908949B CN 201710987433 A CN201710987433 A CN 201710987433A CN 107908949 B CN107908949 B CN 107908949B
Authority
CN
China
Prior art keywords
account
information
user
client
modification information
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
CN201710987433.4A
Other languages
Chinese (zh)
Other versions
CN107908949A (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 Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710987433.4A priority Critical patent/CN107908949B/en
Publication of CN107908949A publication Critical patent/CN107908949A/en
Application granted granted Critical
Publication of CN107908949B publication Critical patent/CN107908949B/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
    • G06F21/41User authentication where a single sign-on provides access to a plurality of computers
    • 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/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information updating method, an information updating device and a server, and belongs to the technical field of information processing. The method comprises the following steps: the method comprises the steps that a first user center obtains account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information; determining a second user center corresponding to the account; and sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on a second client. After the user logs in the first client by using the account of the second user center, the user modifies the account at the first client, and the account information stored in the second user center is also modified synchronously, so that the management cost is effectively reduced.

Description

Information updating method and device and server
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information updating method, an information updating apparatus, and a server.
Background
The existing client provides the function of logging in the client by using the third-party account for the user, thereby being greatly convenient for the user. However, since the user modifies the account of the third party through the client, account information stored in the server corresponding to the account of the third party is inconsistent with the account information in the server corresponding to the client, which brings inconvenience to account management, thereby causing high management cost.
Disclosure of Invention
The application provides an information updating method, an information updating device and a server, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides an information updating method, including: the method comprises the steps that a first user center obtains account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information; determining a second user center corresponding to the account; and sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on a second client.
In a second aspect, an embodiment of the present application further provides an information updating method, including: the second user center obtains account number modification information sent by the first user center; updating account information stored in the second user center according to the account modification information; and displaying the updated account information on the second client.
In a third aspect, an embodiment of the present application further provides an information updating apparatus, which is applied to a first user center, and the apparatus includes: the device comprises a first acquisition unit, a first determination unit and a first updating unit. The first acquisition unit is used for acquiring account modification information input by a user through a first client, and the account modification information comprises an account and corresponding modification information. And the first determining unit is used for determining the second user center corresponding to the account. And the first updating unit is used for sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on the second client.
In a fourth aspect, an embodiment of the present application further provides an information updating apparatus, which is applied to a second user center, where the apparatus includes: the device comprises a second acquisition unit, a second updating unit and a display unit. And the second acquisition unit is used for acquiring the account modification information sent by the first user center. And the second updating unit is used for updating the account number information stored in the second user center according to the account number modification information. And the display unit is used for displaying the updated account information on the second client.
In a fifth aspect, an embodiment of the present application further provides a server, which includes a memory and a processor. The memory is coupled with the processor. The memory stores instructions that, when executed by the processor, cause the processor to: acquiring account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information; determining a second user center corresponding to the account; and sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on a second client.
In the information updating method, the information updating device and the server provided by the embodiment of the application, the user modifies the account of the user through the first client. The first user center acquires account number modification information input by a user through the first client, and sends the account number modification information to the second user center, so that the second user center updates the account number according to the account number modification information and displays the account number on the second client. Therefore, after the user logs in the first client by using the account of the second user center, the user modifies the account at the first client, and the account information stored in the second user center is also modified synchronously, so that the management cost is effectively reduced.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view illustrating an application scenario of an information updating method and apparatus provided in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a login interface provided by an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a third party login interface provided by an embodiment of the present application;
FIG. 4 is a flow chart of a method for updating information provided by a first embodiment of the present application;
FIG. 5 is a flow chart of a method for updating information provided by a second embodiment of the present application;
FIG. 6 is a flow chart of a method for updating information provided by a third embodiment of the present application;
FIG. 7 is a flow chart of a method for updating information provided by a fourth embodiment of the present application;
fig. 8 shows a block diagram of an information updating apparatus provided in the first embodiment of the present application;
FIG. 9 is a block diagram of an information update apparatus according to a second embodiment of the present application;
fig. 10 is a block diagram showing an information updating apparatus according to a third embodiment of the present application;
fig. 11 shows a block diagram of a server according to a third embodiment of the present application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, an application scenario diagram of an information updating method and apparatus provided in the embodiment of the present application is shown. As shown in fig. 1, a first user terminal 1 and a first server 3 are located in a wireless network or a wired network, a second user terminal 2 and a second server 4 are located in the wireless network or the wired network, and the first user terminal 1 and the first server 3 perform data interaction and the second user terminal 2 and the second server 4 perform data interaction through the wireless network or the wired network. The first server 3 and the second server 4 can perform data interaction.
In the embodiment of the present application, the first user terminal 1 and the second user terminal 2 may be mobile terminal devices, and may include, for example, a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a vehicle-mounted computer, a wearable mobile terminal, and the like.
In some embodiments, the first client is installed in the first user terminal 1, for example, may be an application installed in the first user terminal 1. The first user center may operate on the first server 3, and corresponds to a storage space allocated to it by the first server 3, and is used for managing, storing user data, and providing user services. And the user logs in through the account at the first client, and all information corresponding to the account can be stored in the storage space corresponding to the first user center. The first server 3 may be a single server, or a server cluster, or a local server, or a cloud server.
In some embodiments, the second client is installed in the second user terminal 2, for example, may be an application installed in the second user terminal 2. The first user centre may operate at the second server 4 and correspond to the storage space allocated to it by the second server 4 for managing, storing user data and providing user services. And the user logs in through the account at the second client, and all information corresponding to the account can be stored in the storage space corresponding to the second user center. The second server 4 may be an individual server, or a server cluster, or a local server, or a cloud server.
It should be noted that the first client and the second client may be installed on two different mobile terminals, or may be installed on the same user terminal. In addition, the first user center and the second user center may operate in different servers, or the first user center and the second user center may operate in the same server, and the server allocates different storage spaces to the first user center and the second user center. The server may include a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the methods of the present application.
Furthermore, the first user center and the second user center can perform data communication, and specifically, a program interface of the second user center is installed in the first user center, and the first user center can realize data communication with the second user center through the interface. The interface may package and encrypt the data of the first user center to form a data packet, and the data packet is sent to the second user center through the program interface, and the second user center may parse the data packet to obtain the data sent by the first user center 3.
In the embodiment of the application, the user can log in the first client by using the account in the second user center. Specifically, the user registers at the second client to obtain an account, which is stored in the second user center and with which the user can log in to the second client. When the user logs in the first client, the user may select to log in the first client using the account of the second client in the login interface of the first client, such as the login interface shown in fig. 2. And displaying an icon of the second client on the login interface, and requesting the second client to log in the first client by using the account of the second client by clicking the icon by the user. Of course, the login interface shown in fig. 2 is only an exemplary interface and is not limited to the present embodiment. Specifically, when the user clicks an icon of the second client, the system calls the second client, and the current display interface jumps to a login inquiry interface of the second client, as shown in fig. 3, after the user clicks "authorized login", the second client obtains a login request, where the login request is used to indicate that the user requests to login the first client by using an account of the second client, where the account of the second client is an account currently logged in the second client. And after the second user center acquires the login request sent by the second client, the account and the password of the second client are sent to the first user center, the first user center completes the login of the first client, the account and the password of the second client are stored locally, and when the user restarts the first client next time, the first client detects that the third party is used for login in the last login and the account and the password are locally stored, and then the account and the password of the second client are directly used for login.
However, in the above login method, since the user can modify the account at both the first client and the second client, the account information stored in the first user center and the account information stored in the second user center are inconsistent, which not only increases the management cost, but also reduces the user experience.
Therefore, in order to solve the above problem, a first embodiment of the present application provides an information updating method, as shown in fig. 4. The method is used for reducing the management cost of third party login. In this embodiment, an implementation process of the method is described with a first user center as a game center, a second user center as a member center, and the first user center as an execution subject, specifically, the method includes:
s401: the first user center obtains account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information.
After a user logs in a first client by using an account, an account modification interface of the first client is opened, account information is modified, the first client obtains modification information of the corresponding account input by the user after the account information is submitted, and the first client sends the account modification information to the game center. The account modification information includes an account and modification information corresponding to the account, and the modification information of the account may be modified account information. For example, the account information includes zhang san and men, where "zhang san" is a user name, and "men" is a sex, the user modifies zhang san into lie si, that is, the user name is modified, and the modification information corresponding to the account is lie si and men. Of course, the modification information corresponding to the account may also be a modification instruction, for example, the modification information is "modify the user name to lie four".
In addition, it is considered that the account number modification can be performed for a plurality of times continuously when the account number is modified by the user, and the modification which the user really wants to save is the last modification. If the game center receives the account number modification information input by the first client every time, the account number information is modified and the updated account number is displayed on the first client, on one hand, the data transmission quantity between the first client and the game center is increased, and channel congestion between the first client and the game center may be caused, so that the communication link between the first client and the game center is broken down; on the other hand, the data processing amount of the game center is increased, and the possibility of the failure of the game center is increased. Therefore, in the process of acquiring the account modification information input by the user through the first client by the game center, a screening mechanism is added, which specifically comprises the following steps:
and the game center judges whether the account number modification information input by the first client is received for multiple times within preset time, and if so, the last received account number modification information is used as the acquired account number modification information. That is, the basis for the subsequent synchronous modification of the account information of the game center and the member center is the account modification information obtained this time.
The preset time may be set according to an actual situation, and may be a time period of a preset time length from a time starting point, where after the user successfully logs in the first client this time, the game center acquires account modification information input by the first client for the first time as the time starting point. Specifically, after receiving a login request sent by a first client and successfully logging in, the game center acquires account modification information input by the first client, and takes the time point of receiving the account modification information as an initial time point. After the user inputs the account number modification information for the first time, the user inputs the account number modification information for a plurality of times within the preset time, that is, the game center receives the account number modification information input by the first client for a plurality of times within the preset time. The game center takes the account number modification information received last time within the preset time as the account number modification information acquired this time, modifies the stored account number information according to the account number modification information, and displays the modified information on the first client.
It should be noted that, considering that the user may quickly quit the first client or log off after modifying the account information, that is, the user closes the first client or logs off the account logged in the first client within the preset time, at this time, if the game center continues to wait for the preset time, it determines the obtained account modification information again, which may cause disorder or even error of the account information. Therefore, if the game center judges that the account is cancelled or the first client is closed within the preset time, the last account modification information in all account modification information acquired between the starting point and the ending point is taken as the account modification information acquired this time by taking the time point of judging that the account is cancelled as the ending point, and the stored account information is modified according to the account modification information. The game center detects the connection with the first client, and when the connection is disconnected, the first client is judged to be closed. Or when the first client is closed, a closing state is sent to the game center, and the game center judges that the first client is closed.
S402: and determining a second user center corresponding to the account.
The user may not be logged in through a third party, i.e., the account may not be a third party login, and even if the account is a third party login, it is necessary to first determine from which third party account the account is. Therefore, whether the account adopts third-party login is judged, and if yes, a member center corresponding to the account is determined. Specifically, when the user has installed the first client and logs in the first client for the first time, the user selects the third-party account to log in the first client, for example, the user logs in the first client by using the account of the member center. The login process is equivalent to a registration process, after the registration is completed, the game center records that the account number of the member center can log in the first client, namely the account number of the first client is from the member center, so that whether the account number of the user is logged in by a third party or not and a third party server corresponding to the account number can be determined.
S403: and sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on the second client.
The game center sends the account number modification information to the member center, specifically, a program interface which is installed in advance and used for accessing the member center is obtained, and the account number modification information is sent to the member center through the program interface. The account number modification information includes an account number and modification information corresponding to the account number. The modification information of the account includes an avatar and a user name of the account, and the user name may be a nickname corresponding to the account, that is, a nickname used by the user when logging in the first client.
And after acquiring the account number modification information, the member center analyzes the account number modification information to acquire the account number and the modification information corresponding to the account number. And according to the account number, finding the account number corresponding to the account number from the stored account numbers, and updating the found account number information according to the acquired modification information of the account number. And then, the member center sends the updated account information to a second client corresponding to the account, and the second client displays the updated account information.
For example, the account number is ux12345, the user name of the account number is "Zhang III", and the account number is obtained by registering the user on the second client and is stored in the member center. The user then logs in to the first client using ux12345, and after successful login, ux12345 is stored at the gaming center. In the information of ux12345 stored in the member center and the information of ux12345 stored in the game center, the user profiles of ux12345 stored in the member center and the game center are the same, and the user profiles include at least one of a user name, a head portrait, and user personal information (birthday, mobile phone number, etc.). That is, the user name of ux12345 stored by the member center and the user name of ux12345 stored by the game center are both "zhang san".
The user modifies the user name of the account in the game center into 'Liqu' through the first client, and other information is not modified, the game center modifies the user name corresponding to the account ux12345 from Zhang three to Liqu, and the user name is stored and displayed on the first client, namely, after the user logs in the first client by the user ux12345, the user name of the ux12345 displayed on the first client is Liqu and is not Zhang three any more. Then, the game center sends modification information to the member center, for example, the modification information includes ux12345 and a modification instruction of "user name modified to lie four", and the member center modifies the stored user name of ux12345 from zhang to lie four according to the modification instruction, and at this time, the user name of ux12345 stored by the member center and the user name of ux12345 stored by the game center are both "lie four". Still alternatively, the modification information includes information after modification corresponding to ux12345 and ux12345, for example, the modification information includes ux12345 and a user name: and 4, plum four. After the member center acquires the modification information, the member center finds the stored information of the ux12345, compares the stored information of the ux12345 with the information of the ux12345 in the modification information, and modifies the inconsistent information into the information corresponding to the account in the acquired modification information.
Therefore, after the user logs in the first client corresponding to the game center by using the account of the member center, the user modifies the account at the first client, and the account information stored in the member center is also modified synchronously.
It should be noted that, when the account information stored in the member center is modified, the member center also sends the account modification information to the game center, so as to instruct the game center to update the stored account information according to the acquired account modification information, and display the updated account information on the first client.
Referring to fig. 5, an information updating method according to a second embodiment of the present application is shown. The method is used for reducing the management cost of third party login. In this embodiment, an implementation process of the method is described with a first user center as a game center, a second user center as a member center, and the first user center as an execution subject, specifically, the method includes: step S501 to step S504.
S501: the first user center obtains account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information.
For the specific implementation of step S501, reference may be made to the foregoing embodiments, which are not described herein again
S502: and judging whether the modification information corresponding to the account is consistent with the modification information of the account acquired last time.
Wherein, if the game center obtains the account number modification information, the mode is as follows: and the game center judges whether the account number modification information input by the first client is received for multiple times within preset time, and if so, the last received account number modification information is used as the acquired account number modification information. The modification information of the account number acquired last time is not the modification information of the account number acquired last time in the preset time, that is, the modification information of the account number acquired last time in the preset time. But the last received account modification information within the last preset time.
After the game center acquires the account number modification information input by the first client, the modification information corresponding to the account number is compared with the modification information of the account number acquired last time, whether the two are inconsistent or not is judged, if not, the user modifies the account number information, and step S503 is executed. If the comparison result is consistent, it indicates that the modification information of the account acquired this time is not modified, the method ends without executing the subsequent step of synchronous modification, and discards the account modification information acquired this time, that is, the game center does not store or update the account information, and does not record the account modification information acquired this time in the game center. For example, when step S502 is executed, the account modification information obtained this time is a, the account modification information obtained last time is B, and when a and B are consistent, a is discarded, and the record of the game center about a is not saved. If the next method is executed, the account modification information obtained next time is C, and if the step S502 is executed next time, the account modification information obtained last time is compared to B instead of a, so that the resources of the game center can be saved.
S503: and determining a second user center corresponding to the account.
For the specific implementation of step S503, reference may be made to the foregoing embodiments, which are not described herein again.
S504: acquiring a part of the account modification information inconsistent with the account modification information acquired last time, sending the account and the inconsistent part to the second user center, instructing the second user center to update the account information stored in the second user center according to the account and the inconsistent part, and displaying the updated account information on the second client.
And comparing the modification information of the account with the modification information of the account acquired last time, and acquiring the inconsistent part. For example, the modification information of the account acquired last time is: three user names, male gender. The modification information of the account acquired this time is: user name LiIV, gender Male. The part of the account numbers with inconsistent modification information acquired at the two sides is the user name LiIV. And sending the user name LiIV and the account to a member center, finding information corresponding to the account by the member center, and updating the user name of the member center into LiIV. And then, displaying the updated account information on the second client.
Therefore, only the inconsistent part in the modification information of the account can be sent to the member center, the data sending amount between the game center and the member center is reduced, and the updating speed is increased.
In addition, the execution sequence of step S502 and step S503 may be reversed, that is, the step of "determining the second user center corresponding to the account" is executed first, and then the step of "determining whether the modification information corresponding to the account is consistent with the account information when the account logs in the first client at this time" is executed, and at this time, if the modification information corresponding to the account is not consistent with the account information when the account logs in the first client at this time, step S504 is executed. If the modification information corresponding to the account is determined to be consistent with the account information when the account logs in the first client at this time, the method can be terminated more quickly, and the steps are reduced by executing step S502 and step S503.
Therefore, after the modification information of the account acquired this time is judged to be inconsistent with the modification information of the account acquired last time, the action of synchronously modifying the account information is executed, and the modification action is not required to be executed after the account modification information is acquired every time, so that the resources of a member center and a game center can be saved.
Referring to fig. 6, an information updating method according to an embodiment of the present invention is shown. The method is used for reducing the management cost of third party login. In this embodiment, the first user center is taken as a game center, the second user center is taken as a member center, and the execution subject of the method is the second user center. Specifically, the method comprises the following steps: s601 to S603.
S601: and the second user center acquires the account modification information sent by the first user center.
The member center receives the account number modification information sent by the game center through an interface between the member center and the game center.
S602: and updating the account information stored in the second user center according to the account modification information.
And acquiring the account number in the account number modification information, finding the account number corresponding to the acquired account number in a plurality of stored account numbers according to the account number, and then updating the account number information of the second user center according to the account number information corresponding to the account number.
S603: and displaying the updated account information on the second client.
And sending the updated account information to the second client, and updating the content displayed by the account on the interface corresponding to the second client according to the account information after the second client acquires the account information. For example, the account information displayed on the second client may be updated immediately after the account information is acquired, or the account information displayed on the second client may be updated after the user manually clicks and refreshes the account information.
Specifically, the embodiments of the steps S601 to S603 can refer to the foregoing embodiments, and are not repeated herein.
Referring to fig. 7, an information updating method according to an embodiment of the present invention is shown. The method is used for reducing the management cost of third party login. In this embodiment, taking the first user center as a game center and the second user center as a member center as an example, the method is an interactive process between the first user center and the second user center. Specifically, the method comprises the following steps: s701 to S705.
S701: the first user center obtains account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information.
S702: and the first user center determines a second user center corresponding to the account.
S703: the first user center sends account number modification information to the second user center.
S704: and the second user center updates the account information stored in the second user center according to the account modification information.
S705: and the second user center displays the updated account information on the second client.
Specifically, the embodiments of the steps S701 to S705 can refer to the foregoing embodiments, and are not repeated herein.
Referring to fig. 8, an information updating apparatus according to an embodiment of the present invention is shown. The device is used for reducing the management cost of third party login. In this embodiment, taking the first user center as the game center and the second user center as the member center as an example, and the apparatus applied to the first user center includes: a first acquisition unit 801, a first determination unit 802, and a first update unit 803.
A first obtaining unit 801, configured to obtain account modification information input by a user through a first client, where the account modification information includes an account and corresponding modification information.
A first determining unit 802, configured to determine a second user center corresponding to the account.
A first updating unit 803, configured to send the account modification information to the second user center, instruct the second user center to update the account information stored in the second user center according to the account modification information, and display the updated account information on the second client.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 9, an information updating apparatus according to an embodiment of the present invention is shown. The device is used for reducing the management cost of third party login. In this embodiment, taking the first user center as the game center and the second user center as the member center as an example, and the apparatus applied to the first user center includes: a first acquisition unit 901, a judgment unit 902, a first determination unit 903, and a first update unit 904.
A first obtaining unit 901, configured to obtain account modification information input by a user through a first client, where the account modification information includes an account and corresponding modification information.
Specifically, whether the account modification information input by the first client is received for multiple times within a preset time is judged, and if yes, the account modification information received last time is used as the account modification information acquired this time.
The determining unit 902 is configured to determine whether the modification information corresponding to the account is consistent with the modification information of the account obtained last time, and if not, skip to the first determining unit.
A first determining unit 903, configured to determine a second user center corresponding to the account.
Specifically, whether the account adopts third-party login is judged, and if yes, a second user center corresponding to the account is determined.
A first updating unit 904, configured to send the account modification information to the second user center, instruct the second user center to update the account information stored in the second user center according to the account modification information, and display the updated account information on the second client.
Specifically, a part of the account modification information inconsistent with the last acquired account modification information is acquired, the account and the inconsistent part are sent to the second user center, the second user center is instructed to update the account information stored in the second user center according to the account and the inconsistent part, and the updated account information is displayed on the second client.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 10, an information updating apparatus according to an embodiment of the present invention is shown. The device is used for reducing the management cost of third party login. In this embodiment, taking the first user center as a game center and taking the second user center as a member center as an example, and the apparatus applied to the second user center includes: a second acquisition unit 1001, a second update unit 1002, and a display unit 1003.
A second obtaining unit 1001, configured to obtain account modification information sent by the first user center.
A second updating unit 1002, configured to update the account information stored in the second user center according to the account modification information.
A display unit 1003, configured to display the updated account information on the second client.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 11, a server is provided based on the above method and apparatus. The server 1100 comprises a memory 1102 and a processor 1101, said memory 1102 being coupled to said processor 1101; the memory 1102 stores instructions that, when executed by the processor 1101, cause the processor 1101 to perform the above-described method.
The memory 1102 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1102. The memory 1102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1102 can further include memory located remotely from the processor 1101, which can be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
To sum up, in the information updating method, the information updating device, and the server provided in the embodiments of the present application, the user modifies the account of the user through the first client. The first user center acquires account number modification information input by a user through the first client, and sends the account number modification information to the second user center, so that the second user center updates the account number according to the account number modification information and displays the account number on the second client. Therefore, after the user logs in the first client by using the account of the second user center, the user modifies the account at the first client, and the account information stored in the second user center is also modified synchronously, so that the management cost is effectively reduced, and the cognitive and operation costs are reduced.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the embodiments of the present application includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. An information updating method, comprising:
the method comprises the steps that a first user center obtains account modification information input by a user through a first client, wherein the account modification information comprises an account and corresponding modification information, and the account is the account currently logged in the first client;
judging whether the account adopts third-party login;
if so, determining that the third-party server corresponding to the account is a second user center, wherein the account is registered by a second client and account information corresponding to the account is stored in the second user center;
and sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on the second client.
2. The method of claim 1, wherein the determining the second user center corresponding to the account number comprises:
and judging whether the modification information corresponding to the account is consistent with the modification information of the account acquired last time, and if not, determining a second user center corresponding to the account.
3. The method according to claim 2, wherein the sending the account modification information to the second user center, instructing the second user center to update the account information stored in the second user center according to the account modification information, and displaying the updated account information on the second client, comprises:
acquiring a part of the account modification information inconsistent with the account modification information acquired last time, sending the account and the inconsistent part to the second user center, instructing the second user center to update the account information stored in the second user center according to the account and the inconsistent part, and displaying the updated account information on the second client.
4. The method according to any one of claims 1-3, wherein the first user center obtaining account modification information entered by a user through a first client comprises:
and the first user center judges whether the account modification information input by the first client is received for multiple times within preset time, and if so, takes the account modification information received for the last time as the account modification information acquired this time.
5. The method of claim 1, wherein sending the account modification information to the second customer center comprises:
and acquiring a program interface of the second user center, and sending a modification instruction to the second user center through the program interface of the second user center.
6. An information updating method, characterized in that the method comprises:
the second user center obtains the account number modification information sent by the first user center according to the method of any one of the claims 1 to 5;
updating account information stored in the second user center according to the account modification information;
and displaying the updated account information on the second client.
7. An information updating apparatus applied to a first user center, the apparatus comprising:
the system comprises a first acquisition unit, a second acquisition unit and a first display unit, wherein the first acquisition unit is used for acquiring account modification information input by a user through a first client, the account modification information comprises an account and corresponding modification information, and the account is the account currently logged in the first client;
a first determining unit, configured to determine whether the account uses third-party login, and if so, determine that a third-party server corresponding to the account is a second user center, where the account is registered by a second client and account information corresponding to the account is stored in the second user center;
and the first updating unit is used for sending the account number modification information to the second user center, instructing the second user center to update the account number information stored in the second user center according to the account number modification information, and displaying the updated account number information on the second client.
8. An information updating apparatus applied to a second user center, the apparatus comprising:
a second obtaining unit, configured to obtain account modification information sent by the first user center according to any one of the methods in claims 1 to 5;
a second updating unit, configured to update the account information stored in the second user center, based on the account modification information;
and the display unit is used for displaying the updated account information on the second client.
9. A server comprising a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-5.
CN201710987433.4A 2017-10-20 2017-10-20 Information updating method and device and server Active CN107908949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710987433.4A CN107908949B (en) 2017-10-20 2017-10-20 Information updating method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710987433.4A CN107908949B (en) 2017-10-20 2017-10-20 Information updating method and device and server

Publications (2)

Publication Number Publication Date
CN107908949A CN107908949A (en) 2018-04-13
CN107908949B true CN107908949B (en) 2020-04-21

Family

ID=61841461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710987433.4A Active CN107908949B (en) 2017-10-20 2017-10-20 Information updating method and device and server

Country Status (1)

Country Link
CN (1) CN107908949B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360111A (en) * 2008-09-22 2009-02-04 深圳市戴文科技有限公司 Customer managing method, apparatus and system
CN102739621A (en) * 2011-04-13 2012-10-17 宏碁股份有限公司 Method and apparatus for managing account

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360111A (en) * 2008-09-22 2009-02-04 深圳市戴文科技有限公司 Customer managing method, apparatus and system
CN102739621A (en) * 2011-04-13 2012-10-17 宏碁股份有限公司 Method and apparatus for managing account

Also Published As

Publication number Publication date
CN107908949A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
US8949434B2 (en) Automatically provisioning a WWAN device
US8959234B2 (en) Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
KR101827412B1 (en) Methods, systems, and media for managing notifications directed to multiple applications installed on a user device
RU2582573C2 (en) Method for user bandwidth notification
CN107872534B (en) Information pushing method and device, server and readable storage medium
US11252219B2 (en) Method and apparatus for downloading a file
CN107852581B (en) Method, apparatus and computer-readable storage medium for contextual mobile data access
CN109586969A (en) Content distributing network disaster recovery method, device, computer equipment and storage medium
CN111263176B (en) Loading method, device, terminal, server and storage medium for live broadcast room page
US20170041770A1 (en) Location-oriented services
EP2635073A1 (en) Access point selection based on number of successful connections
US20230300391A1 (en) Selective streaming of video segments based on buffer data and download rate range
US20150271026A1 (en) End user performance analysis
CN110740088A (en) Method, device, terminal and medium for recommending and adding social resources
US20220124483A1 (en) Nomination of a primary cell phone from a pool of cell phones
US7086051B2 (en) Method and apparatus for just-in-time provisioning application-related information at a communication device
CN102769625A (en) Client-side Cookie information acquisition method and device
CN114416508A (en) Application performance monitoring method and device, storage medium and electronic equipment
CN107908949B (en) Information updating method and device and server
KR101129092B1 (en) Web service providing system and web service providing method
CN108282783B (en) Public wifi authentication method, device, user terminal and storage medium
US10681509B2 (en) Service processing method and terminal
US20120059873A1 (en) Download Logic for Web Content
CN110858201B (en) Data processing method and system, processor and storage medium
US20140063048A1 (en) Visual accessibility indicators

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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210415

Address after: 518057 Fuan Science and Technology Building, Block B, No. 13, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 207-2

Patentee after: Shenzhen Huantai Technology Co.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.