CN113332710A - Game account login method and device, electronic equipment and storage medium - Google Patents

Game account login method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113332710A
CN113332710A CN202110729432.6A CN202110729432A CN113332710A CN 113332710 A CN113332710 A CN 113332710A CN 202110729432 A CN202110729432 A CN 202110729432A CN 113332710 A CN113332710 A CN 113332710A
Authority
CN
China
Prior art keywords
game
account
login
cloud
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110729432.6A
Other languages
Chinese (zh)
Inventor
杜晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaji Software Co Ltd
Original Assignee
Xiamen Yaji Software 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 Xiamen Yaji Software Co Ltd filed Critical Xiamen Yaji Software Co Ltd
Priority to CN202110729432.6A priority Critical patent/CN113332710A/en
Publication of CN113332710A publication Critical patent/CN113332710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/73Authorising game programs or game devices, e.g. checking authenticity
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a game account login method, a game account login device, electronic equipment and a storage medium. In at least one embodiment of the application, a game account server obtains a game instance identifier included in a game login request by receiving the game login request; further, sending a cloud game platform account state acquisition request to a central server, wherein the request comprises the game instance identifier; therefore, the game account server receives the first login state of the cloud game platform account sent by the center server, and sets the second login state of the game account corresponding to the game instance identifier as logged-in based on the fact that the first login state is logged-in. Therefore, when the user selects a game to play, the game account server can complete the login of the game account of the selected game for the user based on the account of the cloud game platform which is logged in by the user. Therefore, the user can directly use the cloud game only by logging in the cloud game platform account once, and the problem that the user needs to log in the cloud game repeatedly and complexly is solved.

Description

Game account login method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of cloud games, in particular to a game account login method, a game account login device, electronic equipment and a storage medium.
Background
In recent years, with the continuous development of mobile internet, social software and various games, cloud games are increasingly popular due to their advantages. For example, all games in the cloud game are run at a cloud game service end, so that the advantage of low hardware requirements on a user end (namely local) exists, and the cloud game is also beneficial to realizing the sharing of game accounts and can better ensure the security of the game accounts.
At present, a user uses (i.e., plays) a cloud game, and firstly, the user needs to log in an account number of a cloud game platform, the cloud game platform is a cloud game platform which aggregates a plurality of games at a cloud end and presents the games to the user through a terminal device so that the user can select and use a corresponding cloud game service, and the cloud game platform is a cloud game hall, for example. Then, after selecting or switching a certain game (corresponding to a certain game ID) which requires account login, the user needs to login the account of the game again to really start the experience of the cloud game, which brings inconvenience to the user.
Disclosure of Invention
The purpose of the present application is to solve at least one of the above technical drawbacks, and to provide the following solutions:
in a first aspect, at least one embodiment of the present application provides a game account login method, which is applied to a game account server, and the method includes:
receiving a game login request sent by a game instance, wherein the game login request comprises a game instance identifier of the game instance;
sending a cloud game platform account state acquisition request to a central server, wherein the cloud game platform account state acquisition request comprises the game instance identification;
receiving a first login state of a cloud game platform account sent by the central server;
and setting the second login state of the game account corresponding to the game instance identifier as logged-in based on the first login state as logged-in.
In some embodiments, the setting of the second login status of the game account corresponding to the game instance identifier as logged in includes:
determining game account information corresponding to the game instance identifier, wherein the game account information comprises a second login state;
and setting the second login state as logged-in.
In some embodiments, the determining game account information corresponding to the game instance identifier includes:
if the game account information corresponding to the game instance identifier is not found, generating game temporary account information;
and determining the game temporary account information as game account information corresponding to the game instance identifier.
In some embodiments, after the setting the second login status as logged in, the method further comprises:
and sending a game login success message to the game instance, wherein the game login success message comprises game account information corresponding to the game instance identifier.
In some embodiments, the first login status is a first login status included in the cloud game platform account information;
the cloud game platform account information is found by the center server based on a game instance identifier, a first predetermined corresponding relation and a second predetermined corresponding relation which are included in the cloud game platform account state obtaining request;
the first corresponding relation is the corresponding relation between the identifier of the request end and the identifier of the game instance, and the second corresponding relation is the corresponding relation between the identifier of the request end and the account information of the cloud game platform.
In some embodiments, after receiving the game login request sent by the game instance, the method further includes: acquiring a game identifier corresponding to the game account server, an API (application programming interface) interface verification serial number and an API key, which are registered by the game account server on a cloud game developer platform;
the cloud game platform account state acquisition request further comprises: the game identifier, the API interface verification serial number and the API interface key; the game identifier, the API interface verification serial number and the API interface key are used for verifying the game account server.
In some embodiments, the method further comprises:
and sending a login failure message to the game instance based on the first login state being not logged in.
In a second aspect, at least one embodiment of the present application further provides a game account login device, which is applied to a game account server, and the device includes:
the game registration device comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a game registration request sent by a game instance, and the game registration request comprises a game instance identifier of the game instance;
the system comprises a first sending unit, a second sending unit and a central server, wherein the first sending unit is used for sending a cloud game platform account state obtaining request to the central server, and the cloud game platform account state obtaining request comprises a game instance identifier;
the second receiving unit is used for receiving a first login state of the cloud game platform account number sent by the central server;
and the setting unit is used for setting the second login state of the game account corresponding to the game instance identifier as logged-in based on the first login state as logged-in.
In a third aspect, at least one embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement any of the above-described game account login methods.
In a fourth aspect, at least one embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements any of the above-mentioned game account login methods.
In at least one embodiment of the application, a game account server obtains a game instance identifier included in a game login request by receiving the game login request; furthermore, the game account server side can send a cloud game platform account state acquisition request to the center server side, wherein the cloud game platform account state acquisition request comprises the game instance identifier; therefore, the game account server can receive a first login state of the cloud game platform account sent by the center server in response to the cloud game platform account state acquisition request; therefore, the game account server sets the second login state of the game account corresponding to the game instance identifier as logged in based on the first login state as logged in. Therefore, when the user selects a game to play, the game account server can complete the login of the game account of the selected game for the user based on the account of the cloud game platform which is logged in by the user. Therefore, a user can directly use the cloud game only by logging in the cloud game platform account once without independently registering and logging in a corresponding game account for each game, and the user only needs to directly click the game to be used without inputting information such as the game account, a password and the like for switching between games, so that the problem that the user needs to log in for multiple times in a complicated way when using the cloud game service is solved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a block diagram of a game account login device according to an embodiment of the present disclosure;
fig. 3 is a multi-terminal interaction diagram in a process of logging in a game account according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a flowchart of a game account login method according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" include plural referents unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items. Relational terms such as "first" and "second," and the like, may be used herein only to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. To make the objects, technical solutions and advantages of the present application clearer, embodiments of the present application will be described below with reference to the accompanying drawings.
The cloud Game is implemented by moving a Game instance originally running at a user end (namely, a local Game) to a cloud Game Service end for running, wherein the user end only transmits the operation of the user end to a Game Service component (GS) running at the cloud Game Service end in real time through a network, the GS and a corresponding Game instance are in the same system environment, for example, a plurality of cloud mobile phones are in the same cloud Game Service end environment, and the GS and the corresponding Game instance are required to be in the system environment of the same cloud mobile phone. And the GS can correspondingly control the game instance based on the received user operation, so that the game instance responds to the user operation, the GS simultaneously captures the running result of the game instance and transmits the running result of the game to the user terminal in a video-audio streaming manner in real time, and the picture and the sound of the game are presented on the user terminal. That is, in the cloud game process, based on the real-time network communication between the user side and the GS, the user can realize the control of the game instance running on the cloud game service side based on the GS, and on the premise that the network is satisfied (usually, the 4G network can be satisfied), the control is similar to the effect when the user directly operates the game client running locally.
In order to ensure the real-time effect of network communication between the user side and the GS, the cloud game server side needs to select a proper GS and game instance based on information such as a network operator and a region of the user side to provide a good service for the user side. That is, when the user uses the cloud game through the user terminal at different locations, the cloud game service terminal schedules the GS and the game instance at the corresponding location, so as to provide the cloud game service for the user.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application. In fig. 1, the request end 11 may perform information interaction with the central service end 12, and the central service end 12 may perform information interaction with the game account service end 13. The request end 11 may control a game instance of the cloud (i.e., a cloud game service end) based on the GS, where a correspondence between the game instance and the GS may be implemented based on an existing cloud game scheduling method. In the process that the user uses the cloud game, when the user selects a game to play, the game account server 13 may obtain whether the user has logged in the cloud game platform account from the central server 12, and if the user has logged in the cloud game platform account, the game account server 13 may complete the login of the game account of the selected game for the user. Therefore, a user can directly use the cloud game only by logging in the cloud game platform account once without independently registering and logging in a corresponding game account for each game, and the problem that the user needs to log in the cloud game service for multiple times is solved.
The requesting end 11 may be any electronic device that can be installed with game client software. For example, the request end 11 may be an operation and maintenance page, an operation and maintenance server itself, a User Agent (UA), or the like. The operation and maintenance service end performs operation and maintenance on the game, for example, the game can be updated, the game can be tested, and the like. The user side is any device capable of accessing the cloud game server side, for example, the user side may be any device installed with software for accessing the cloud game server side, where the software for accessing the cloud game server side may also be understood as software implementation of the user side.
In some embodiments, the user side may include, but is not limited to: thin clients, general purpose computers, special purpose computers, gaming consoles, personal computers, laptop computers, tablet computing devices, mobile computing devices, portable gaming devices, cellular phones, smart phones, notebook computers, head mounted displays, smart wearable devices, set-top boxes, streaming media interfaces/devices, smart televisions or networked displays, and the like.
In some embodiments, the user side is at least used for accessing a cloud Game of the cloud Game server, receiving a Game operation input by a user, generating a corresponding operation instruction, and transmitting the operation instruction to a Game Service component (GS) running on the cloud Game server in real time. The user can access the cloud game platform of the cloud game server through the user side to select game playing. In some embodiments, when there are multiple cloud game servers, the multiple cloud game servers may be distributed in different regions, and the user accesses the cloud game server corresponding to the region where the user is located through the user side.
In some embodiments, the cloud game server may be any device capable of running the cloud game program, for example, any device installed with the cloud game program and software providing the cloud game service, where the software providing the cloud game service may also be understood as a software implementation of the cloud game server.
In some examples, the cloud game server may be a single server or a server cluster, and the server group may be centralized or distributed. In some embodiments, the cloud gaming server may be a remote server, virtual computer, cloud gaming server, cloud application server, remote application server, digital media server, server for providing a game developer/game sponsor storefront (storefront), website server, terminal server, console server, or the like.
In some embodiments, a cloud game server may deploy a cloud game in a cloud game service cluster, a node server of the cloud game service cluster may run a cloud game program, and a plurality of cloud game servers belong to the cloud game server cluster. In this embodiment, the user can access the cloud game server through the user side, and schedule the node server corresponding to the area where the user is located for the user side to log in the cloud game, and the user performs game operation on the user side, so that the user side can upload a corresponding operation instruction to the node server. Then, the node server can calculate and generate a game picture by combining the operation instruction based on the execution logic of the cloud game program, and then feed the game picture back to the user side for display.
The game instance can be understood as an instance when the game client runs, and corresponding sound and picture information is generated after the game instance is started. Specifically, the game instance of the cloud end can be obtained by cloud-terminating the game client and running the game client in the cloud end. In order to clearly distinguish between local and cloud game instances, game instances running in the cloud may be collectively referred to as game instances, and game instances running in the local may be collectively referred to as game clients.
Therefore, the game client is directly installed and operated on a local user terminal device (a type of the request terminal 11), and after the user starts the game, the user can directly acquire the sound and picture information generated by the operation of the local game client. If the user can obtain the audio and video information generated by the running of the cloud Game instance through the user terminal equipment, a Game Service component (GS) is required to forward the audio and video information generated by the corresponding cloud Game instance to the user terminal equipment. Specifically, the GS actively captures audio and video information generated by a corresponding cloud game instance, encodes the captured audio and video information in a preset manner and then forwards the encoded audio and video information to the user terminal equipment, and the user terminal equipment synchronously plays the received audio and video information.
The Game Service components (GS) run on the cloud Game server, namely the GS belongs to a part of the cloud Game server. The GS is used for controlling game instances and providing cloud game services for the user side, for example, the user side can control the game instances based on the GS. In some embodiments, the GS configures (through the operation and maintenance system or personnel) the channel identifiers of the channels supported by the GS, the regional information of the region to which the GS belongs and the corresponding operator information, and the list of game identifiers supported by the GS before starting.
In some embodiments, the GS is used to control game instances, provide cloud service resources for clients to execute cloud games, encode video frame audio frames of the cloud games, and stream the encoded video frame audio frames to game clients for rendering and user interaction. In some embodiments, the GS is at least used for acquiring the operation instructions uploaded by the game client, calculating and generating a game picture by combining the operation instructions based on the execution logic of the cloud game program, and then feeding the game picture back to the client for display. In some embodiments, the game server may be a software device, a hardware device, or a combination of software and hardware.
In some embodiments, the GS and the game instance are in the same system environment, that is, the GS and the game instance are deployed and run on the same cloud device, and the cloud device may be a virtual machine (for example, a cloud mobile phone, i.e., 1 of multiple virtual cloud mobile phones in 1 physical server) or a physical server.
The central server 12 may be understood as a Business Service component (BS), which runs in the cloud game server, that is, the central server 12 belongs to a part of the cloud game server, and is a global scheduling server in a Service resource scheduling process of the cloud game server, and corresponds to an overall cloud Service resource of the cloud game, and is at least used for providing an external access portal of the cloud game server.
In some embodiments, the central server 12 may obtain a cloud game platform account login request sent by the requester 11, where the cloud game platform account login request includes a requester identifier (UAID), a cloud game platform account identifier (cloud game platform account ID), and a cloud game platform account password.
After acquiring the cloud game platform account login request, the central server 12 may perform login verification in the existing manner based on the cloud game platform account identifier and the cloud game platform account password; if the verification is passed, the cloud game platform account information corresponding to the request terminal identification and the cloud game platform account identification is correlated, and the cloud game platform account information is sent to the request terminal 11 to show that the login is successful; if the verification fails, a login failure message is sent to the request terminal 11.
In some embodiments, the central server 12 may obtain a cloud game request sent by the request end 11, where the cloud game request includes a request end identifier (UAID), a channel identifier (channel ID), and a game identifier (game ID). The channel ID is information that can uniquely characterize a channel, and the channel is used to distinguish different ways in which the user acquires and uses the cloud game, for example, a vendor (e.g., a different brand of mobile phone, etc.) to which the requesting end belongs may be or belong to a certain channel.
After obtaining the cloud game request, the central server 12 may schedule the game instance and the GS based on the request identifier, the channel identifier, and the game identifier in the cloud game request. Thus, after the central server 12 completes the scheduling, the requester identifier, the game instance and the GS can be associated.
The game account server 13 is a server of the same game corresponding to the game client.
When the user selects a game to play, the game account server 13 may obtain whether the user has logged in to the cloud game platform account from the central server 12, and if the user has logged in to the cloud game platform account, the game account server 13 may complete the login of the game account of the selected game for the user. Therefore, a user can directly use the cloud game only by logging in the cloud game platform account once without independently registering and logging in a corresponding game account for each game, and the problem that the user needs to log in the cloud game service for multiple times is solved.
Fig. 2 is a block diagram of a game account registration apparatus 20 according to an embodiment of the present disclosure. In some embodiments, the game account login device 20 may be implemented as the game account server 13 or a part of the game account server 13 in fig. 1. As shown in fig. 2, the game account registration device 20 may include, but is not limited to, the following elements: a first receiving unit 21, a first transmitting unit 22, a second receiving unit 23 and a setting unit 24. The units are described in detail as follows:
the first receiving unit 21 is configured to receive a game login request sent by a game instance, where the game login request includes a game instance identifier of the game instance. The game instance identifier is, for example, a character string in any form such as game instance id (identity document). In this embodiment, the game login request is a request sent by the game instance in response to the login operation of the request terminal.
For example, the request end is a user end, the user performs a login operation on the user end, for example, a login button in a game instance is clicked, the user end sends the login operation to the game instance based on the GS, the game instance sends a game login request to the game account server corresponding to the game instance in response to the login operation, and the game login request includes the game instance identifier.
In some embodiments, the game instance obtains its corresponding game instance identification in response to the login operation. For example, when the central server starts a game instance, the central server transmits the game instance identifier of the game instance to the game instance based on the GS, so that the game instance can store the game instance identifier by itself, and further, the game instance responds to the login operation to obtain the self-stored game instance identifier.
The first sending unit 22 is configured to send a cloud game platform account status obtaining request to the central server, where the cloud game platform account status obtaining request includes a game instance identifier.
In this embodiment, after the first receiving unit 21 receives the game login request, the first sending unit 22 may obtain the center server information through the cloud game prior art. The center server information is used to indicate a center server, so that the first sending unit 22 may send the cloud game platform account status obtaining request to the center server indicated by the center server information.
In some embodiments, after the first receiving unit 21 receives the game login request, the first sending unit 22 may obtain a game identifier corresponding to the game account server itself, where the game identifier is, for example, a character string in any form such as a game ID. After the first receiving unit 21 receives the game login request, the first sending unit 22 may further obtain an API (Application Programming Interface) Interface verification serial number and an API Interface key registered by the game account server on the cloud game developer platform.
The API interface verification sequence number (App key for short) is used for verifying the validity of API access. The API interface of which website is accessed needs to be allowed by the website to be accessed, which can be understood as the user name of the login website.
The API interface Key (App Secret for short) is used in cooperation with the App Key, and can be understood as a password for logging in a website.
The App Key and the App Secret are matched together, and the API interface can be accessed to call or use various functions and data provided by the API according to the protocol requirements of other websites.
Therefore, the cloud game platform account status obtaining request may further include a game identifier corresponding to the game account server, an API interface verification serial number and an API interface key registered by the game account server on the cloud game developer platform.
The second receiving unit 23 is configured to receive the first login status of the cloud game platform account sent by the center server. The first login status may be logged in or not logged in.
In some embodiments, the first login status may be a login status included in the cloud game platform account information, that is, a login status field is included in the cloud game platform account information and is used to record whether the cloud game platform account is logged in.
In some embodiments, the cloud gaming platform account information may include, but is not limited to, in addition to login status: cloud game platform account identification, passwords, personal information (including names, electronic mailboxes, mobile phone numbers, QQ numbers, micro signals, nicknames and the like), game lists (consisting of game list items including but not limited to game identification, game account identification, login authentication tokens, game account aliases and the like), recharging information and the like.
In some embodiments, the cloud game platform account information is information found by a center server based on a game instance identifier, a first predetermined corresponding relationship and a second predetermined corresponding relationship, which are included in the cloud game platform account state acquisition request; the first corresponding relation is the corresponding relation between the identifier of the request terminal and the identifier of the game instance, and the second corresponding relation is the corresponding relation between the identifier of the request terminal and the account information of the cloud game platform.
It can be seen that the login game account number must sequentially satisfy the following 2 preconditions:
1. the requesting end corresponding to the requesting end identifier has already logged in a certain cloud game platform account (by the existing method), that is, the central server determines the second corresponding relationship in advance, so that the central server can find the cloud game platform account information corresponding to the requesting end identifier.
2. The request end corresponding to the request end identification sends a cloud game request (including the request end identification, the channel identification and the game identification) to the central server end, so that the central server end can respond to the cloud game request, namely the central server end schedules a corresponding game instance and a corresponding GS (service gateway) based on the request end identification, the channel identification and the game identification in the cloud game request, namely the central server end determines a first corresponding relation in advance.
In some embodiments, if the central server does not find the request end identifier or cloud game platform account information corresponding to the game instance identifier, that is, if the request end identifier or cloud game platform account information does not completely satisfy the 2 preconditions, the central server responds to the game login request and feeds back a login failure message.
In some embodiments, the central server receives a request for obtaining the account status of the cloud game platform, where the request includes a game identifier, an API interface verification serial number, and an API interface key, and then the central server verifies the identity and the permission of the game account server based on the game identifier, the API interface verification serial number, and the API interface key.
If the verification fails, the central server returns a verification failure message to the game account server; and if the game account server receives the verification failure message, returning a login failure message to the game instance.
If the verification is successful, the central server determines a corresponding request terminal identifier based on the game instance identifier, acquires cloud game platform account information (including the cloud game platform account identifier, the cloud game platform account password and the first login state) corresponding to the request terminal identifier, and returns the first login state to the game account server.
And the setting unit 24 is configured to set, based on that the first login state of the cloud game platform account is logged in, the second login state of the game account corresponding to the game instance identifier as logged in. The setting unit 24 may determine whether the first login status is logged in, and if so, set the second login status of the game account to be logged in; and if the game is not logged in, sending a login failure message to the game instance.
In some embodiments, the second login status may be a login status included in the game account information, that is, a login status field is included in the game account information, and is used to record whether the game account is logged in.
In some embodiments, the setting unit 24 may determine game account information corresponding to the game instance identifier based on the first login status of the cloud game platform account being logged in, where the game account information includes a second login status, and may set the second login status as logged in. It should be noted that the game account information is stored in the game account server, and therefore, the setting unit 24 may query the game instance identifier corresponding to the game account information stored in the game account server.
In some embodiments, when determining the game account information corresponding to the game instance identifier, the setting unit 24 generates the game temporary account information if the game account information corresponding to the game instance identifier is not found, and the game temporary account may also be understood as a guest account. The setting unit 24 determines the generated game temporary account information as game account information corresponding to the game instance identification.
In some embodiments, the game account login device may further include a second transmitting unit not shown in fig. 2. And a second sending unit, configured to send, after the setting unit 24 sets the second login status as logged in, a game login success message to the game instance, where the game login success message includes game account information corresponding to the game instance identifier of the game instance.
As can be seen, the game account login device 20 receives the game login request, and obtains the game instance identifier included in the game login request; furthermore, the game account login device 20 may send a cloud game platform account status acquisition request to the central server, where the cloud game platform account status acquisition request includes the aforementioned game instance identifier; therefore, the game account login device 20 may receive a first login status of the cloud game platform account sent by the center server in response to the cloud game platform account status acquisition request; therefore, the game account registration device 20 sets the second registration state of the game account corresponding to the game instance identifier to be registered, based on the first registration state being registered. In this way, when the user selects a game to play, the game account registration device 20 can complete the registration of the game account of the selected game for the user based on the cloud game platform account that the user has already registered. Therefore, a user can directly use the cloud game only by logging in the cloud game platform account once without independently registering and logging in a corresponding game account for each game, and the problem that the user needs to log in the cloud game service for multiple times is solved.
Those skilled in the art will understand that: the division of each unit in the game account registration apparatus 20 disclosed in the above embodiment is only one logical function division, and there may be another division manner in actual implementation, for example, at least two units in the game account registration apparatus 20 may be implemented as one unit; each unit in the game account registration device 20 may be divided into a plurality of sub-units. It will be understood that each unit or sub-unit can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application.
Fig. 3 is a multi-terminal interaction diagram in a game account login process according to an embodiment of the present application, and a game account login process is described with reference to fig. 3, where the process includes the following steps 1 to 10:
step 1, a request end 11 (for example, UA) controls a game instance based on GS.
The game account login needs to satisfy 2 preconditions.
The condition 1 is: the user selects a game which the user wants to play from a game list on the UA interface, namely the corresponding game ID is determined, and the UA sends a cloud game request (comprising the UAID, the channel ID and the game ID) to the central server. The method comprises the steps that a central server receives a cloud game request sent by a User Agent (UA), and whether a logged cloud game platform account ID exists or not is determined (corresponding to the UAID); the cloud game platform account login belongs to the existing method, and the center server correspondingly associates and stores the cloud game platform account ID and the UAID of the UA requesting login when the cloud game platform account login is successful, so that the subsequent inquiry can be carried out when whether the logged cloud game platform account ID exists or not is determined (the corresponding UA) based on the UAID; if the cloud game platform account number does not exist, returning a non-login message as a response of the cloud game request to the UA, so that the UA prompts the user to login or guide the user to complete the login of the cloud game platform account number, and if the cloud game platform account number does exist, continuing the subsequent steps.
The condition 2 is: the central server schedules the corresponding GS and game instance based on the game ID and the UAID in the cloud game request, namely, the UAID, the GS and the game instance are associated.
If the 2 preconditions are all satisfied, the UA can control the game instance based on the GS, for example, the user clicks a login button in the game instance, and the UA sends the login operation to the game instance based on the GS.
And 2, the game instance responds to the login operation to obtain the game instance ID corresponding to the game instance.
For example, when the central server starts a game instance, the central server transmits the game instance ID of the game instance to the game instance based on the GS, so that the game instance can store the game instance identifier by itself, and further, the game instance obtains the self-stored game instance ID in response to the login operation.
And 3, the game instance responds to the login operation and sends a game login request to the game account server corresponding to the game instance, wherein the game login request comprises the game instance ID.
And 4, after receiving the game login request, the game account server acquires the game ID corresponding to the game account server, the API interface verification serial number and the API interface Key (Key/Secret for short) registered by the game account server on the cloud game developer platform and the center server information.
And 5, the game account server sends a cloud game platform account state acquisition request to the center server indicated by the center server information, wherein the cloud game platform account state acquisition request comprises a game instance ID, a game ID and a Key/Secret.
And 6, after receiving the account state acquisition request of the cloud game platform, the central server verifies the identity and the authority of the game account server based on the game ID and the Key/Secret.
And 7, if the central server side verifies that the game account server side passes, determining the UAID of the request side based on the game instance ID, and acquiring cloud game platform account information (including cloud game platform account identification, cloud game platform account password and first login state) corresponding to the UAID.
And 8, after acquiring the cloud game platform account information, the central server returns a first login state in the cloud game platform account information to the game account server.
And 9, the game account server judges whether the first login state of the cloud game platform account is logged in, if the first login state is logged in, the game account information corresponding to the game instance identifier is determined, the game account information comprises a second login state, and the second login state can be set to be logged in.
And step 10, after setting the second login state as logged in, the game server sends a game login success message to the game instance, wherein the game login success message comprises game account information corresponding to the game instance ID of the game instance.
So far, as long as UA accomplishes the connection with GS and logs in cloud game platform account number once, the user just can directly use cloud game through UA, need not to input information such as game account number and password by oneself and accomplish earlier and log in game account number and just can play the game, and the switching between every recreation also need not to input information such as game account number and password by oneself, the user only need directly click the game that wants to use can.
Based on the description of the steps, the game account server receives the game login request to obtain the game instance ID included in the game login request; furthermore, the game account server side can send a cloud game platform account state acquisition request to the center server side, wherein the cloud game platform account state acquisition request comprises the game instance ID; therefore, the game account server can receive a first login state of the cloud game platform account sent by the center server in response to the cloud game platform account state acquisition request; therefore, the game account server sets the second login state of the game account corresponding to the game instance ID as logged in based on the first login state as logged in. Therefore, when the user selects a game to play, the game account server can complete the login of the game account of the selected game for the user based on the account of the cloud game platform which is logged in by the user. Therefore, a user can directly use the cloud game only by logging in the cloud game platform account once without independently registering and logging in a corresponding game account for each game, and the user only needs to directly click the game to be used without inputting information such as the game account, a password and the like for switching between games, so that the problem that the user needs to log in for multiple times in a complicated way when using the cloud game service is solved.
The embodiment of the application also provides the electronic equipment. As shown in fig. 4, the electronic apparatus 40 includes: a processor 41 and a memory 43. Wherein the processor 41 is coupled to the memory 43, such as via the bus 42. Further, the electronic device 40 may also include a transceiver 44. It should be noted that the transceiver 44 is not limited to one in practical application, and the structure of the electronic device 40 is not limited to the embodiment of the present application.
The processor 41 is applied to the embodiment of the present application, and is used to realize the function of the game account registration device 20.
Processor 41 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. Processor 41 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
Bus 42 may include a path that transfers information between the aforementioned components. The bus 42 may be a PCI bus or an EISA bus, etc. The bus 42 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The memory 43 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 43 is used for storing application program codes for executing the scheme of the application, and is controlled by the processor 41 to execute. The processor 41 is operable to execute application program code stored in the memory 43 to carry out the functions of the game account registration apparatus 20.
The electronic equipment provided by the embodiment of the application comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the program, compared with the prior art, the problem that a user needs to log in for a plurality of times in a complicated mode when using cloud game service is solved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the game account login according to any embodiment of the present application.
Fig. 5 is a flowchart of a game account login method provided in an embodiment of the present application, where the method is applied to a game account server and may include the following steps 501 to 504:
in step 501, a game login request sent by a game instance is received, where the game login request includes a game instance identifier of the game instance.
In step 502, a cloud game platform account status acquisition request is sent to the central server, where the cloud game platform account status acquisition request includes a game instance identifier.
In step 503, a first login status of the cloud game platform account sent by the center server is received.
In step 504, the second login status of the game account corresponding to the game instance identifier is set to be logged in based on the first login status being logged in.
In some embodiments, the step 504 of setting the second login status of the game account corresponding to the game instance identifier to be logged in specifically includes: determining game account information corresponding to the game instance identifier, wherein the game account information comprises a second login state; the second login status is set to logged in.
In some embodiments, determining the game account information corresponding to the game instance identifier specifically includes: if the game account information corresponding to the game instance identifier is not found, generating temporary game account information; and determining the game temporary account information as game account information corresponding to the game instance identifier.
In some embodiments, after the second login status is set to logged in, the game account login method further includes: and sending a game login success message to the game instance, wherein the game login success message comprises game account information corresponding to the game instance identifier.
In some embodiments, the first login status is a first login status included in the cloud game platform account information; the cloud game platform account information is information searched by the center service end based on the game instance identifier, the first corresponding relation and the second corresponding relation which are determined in advance and included in the cloud game platform account state obtaining request. The first corresponding relation is the corresponding relation between the identifier of the request terminal and the identifier of the game instance, and the second corresponding relation is the corresponding relation between the identifier of the request terminal and the account information of the cloud game platform.
In some embodiments, after receiving a game login request sent by a game instance, the game account login method further includes: the method comprises the steps of obtaining a game identifier corresponding to a game account server, an API interface verification serial number and an API interface key, wherein the API interface verification serial number and the API interface key are registered by the game account server on a cloud game developer platform. The cloud game platform account number state acquisition request further comprises: game identification, API interface verification serial number and API interface key; the game identifier, the API interface verification serial number and the API interface key are used for verifying the game account server.
In some embodiments, the game account login method further comprises: and sending a login failure message to the game instance based on the first login state being not logged in.
For details of the embodiments of the game account login method, reference may be made to the description of the embodiments of the game account login device 20 shown in fig. 2, and details are not repeated.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A game account login method is applied to a game account server, and comprises the following steps:
receiving a game login request sent by a game instance, wherein the game login request comprises a game instance identifier of the game instance;
sending a cloud game platform account state acquisition request to a central server, wherein the cloud game platform account state acquisition request comprises the game instance identification;
receiving a first login state of a cloud game platform account sent by the central server;
and setting the second login state of the game account corresponding to the game instance identifier as logged-in based on the first login state as logged-in.
2. The method of claim 1, wherein setting the second login status of the game account corresponding to the game instance identifier to be logged in comprises:
determining game account information corresponding to the game instance identifier, wherein the game account information comprises a second login state;
and setting the second login state as logged-in.
3. The method of claim 2, wherein the determining game account information corresponding to the game instance identifier comprises:
if the game account information corresponding to the game instance identifier is not found, generating game temporary account information;
and determining the game temporary account information as game account information corresponding to the game instance identifier.
4. The method of claim 2, wherein after the setting the second login status to logged in, the method further comprises:
and sending a game login success message to the game instance, wherein the game login success message comprises game account information corresponding to the game instance identifier.
5. The method of claim 1, wherein the first login status is a first login status included in cloud gaming platform account information;
the cloud game platform account information is found by the center server based on a game instance identifier, a first predetermined corresponding relation and a second predetermined corresponding relation which are included in the cloud game platform account state obtaining request;
the first corresponding relation is the corresponding relation between the identifier of the request end and the identifier of the game instance, and the second corresponding relation is the corresponding relation between the identifier of the request end and the account information of the cloud game platform.
6. The method of claim 1, wherein after receiving the game login request sent by the game instance, the method further comprises: acquiring a game identifier corresponding to the game account server, an API (application programming interface) interface verification serial number and an API key, which are registered by the game account server on a cloud game developer platform;
the cloud game platform account state acquisition request further comprises: the game identifier, the API interface verification serial number and the API interface key; the game identifier, the API interface verification serial number and the API interface key are used for verifying the game account server.
7. The method of claim 1, further comprising:
and sending a login failure message to the game instance based on the first login state being not logged in.
8. A game account login device is applied to a game account server, and the device comprises:
the game registration device comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a game registration request sent by a game instance, and the game registration request comprises a game instance identifier of the game instance;
the system comprises a first sending unit, a second sending unit and a central server, wherein the first sending unit is used for sending a cloud game platform account state obtaining request to the central server, and the cloud game platform account state obtaining request comprises a game instance identifier;
the second receiving unit is used for receiving a first login state of the cloud game platform account number sent by the central server;
and the setting unit is used for setting the second login state of the game account corresponding to the game instance identifier as logged-in based on the first login state as logged-in.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110729432.6A 2021-06-29 2021-06-29 Game account login method and device, electronic equipment and storage medium Pending CN113332710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110729432.6A CN113332710A (en) 2021-06-29 2021-06-29 Game account login method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110729432.6A CN113332710A (en) 2021-06-29 2021-06-29 Game account login method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113332710A true CN113332710A (en) 2021-09-03

Family

ID=77481448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110729432.6A Pending CN113332710A (en) 2021-06-29 2021-06-29 Game account login method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113332710A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783869A (en) * 2021-09-08 2021-12-10 上海达龙信息科技有限公司 Sharing link-based cloud application sharing method and device, storage medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160023109A1 (en) * 2014-07-22 2016-01-28 Sony Computer Entertainment America Llc Save Game Load Time Reduction for Cloud Gaming
CN111744203A (en) * 2020-06-23 2020-10-09 完美世界(北京)软件科技发展有限公司 Cloud game login method and device, storage medium and electronic device
CN111744174A (en) * 2020-01-08 2020-10-09 厦门雅基软件有限公司 Account management method and device of cloud game, account login method and device and electronic equipment
CN113018869A (en) * 2021-03-15 2021-06-25 广州点云科技有限公司 Cloud game account login and payment method and system
CN113018868A (en) * 2019-12-09 2021-06-25 华为技术有限公司 Cloud game login method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160023109A1 (en) * 2014-07-22 2016-01-28 Sony Computer Entertainment America Llc Save Game Load Time Reduction for Cloud Gaming
CN113018868A (en) * 2019-12-09 2021-06-25 华为技术有限公司 Cloud game login method, device 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
CN111744203A (en) * 2020-06-23 2020-10-09 完美世界(北京)软件科技发展有限公司 Cloud game login method and device, storage medium and electronic device
CN113018869A (en) * 2021-03-15 2021-06-25 广州点云科技有限公司 Cloud game account login and payment method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783869A (en) * 2021-09-08 2021-12-10 上海达龙信息科技有限公司 Sharing link-based cloud application sharing method and device, storage medium and equipment
CN113783869B (en) * 2021-09-08 2023-07-21 上海达龙信息科技有限公司 Cloud application sharing method and device based on sharing link, storage medium and equipment

Similar Documents

Publication Publication Date Title
US11218460B2 (en) Secure authentication for accessing remote resources
CN110515573B (en) Screen projection method, device and system and computer equipment
US10063547B2 (en) Authorization authentication method and apparatus
EP3425566B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
US9925465B2 (en) Game accessing method and processing method, server, terminal, and system
US10887657B2 (en) Message transmission method, device and storage medium for media files
US20230198984A1 (en) Network Service Control for Access to Wireless Radio Networks
WO2018161807A1 (en) User identity verification method and apparatus
CN107196917B (en) Service response method and middleware thereof
TW201203140A (en) Online service providing system, method, server and mobile device thereof, and computer program product
US9916308B2 (en) Information processing system, document managing server, document managing method, and storage medium
CN111744174A (en) Account management method and device of cloud game, account login method and device and electronic equipment
KR20130026609A (en) Apparatus and method for providing multimedia cloud service associated with social network service in multimedia cloud system
CN104620561B (en) The thin client of remote access from to(for) content
CN113332710A (en) Game account login method and device, electronic equipment and storage medium
CN113691516A (en) Streaming media data transmission method and device, electronic equipment and storage medium
CN103067260B (en) Realize method and the device of instant messaging
CN108076381B (en) Video display method, video forwarding equipment and system
CN102238235B (en) The Proxy Method and device of a kind of interactive service
CN113509736A (en) Game account binding method, game account login method, device and equipment
CN113413611A (en) Order generation method, order payment method, device and equipment for cloud game platform
KR101970200B1 (en) Method and system for multiple social network service live broadcasting at the same time based on image record apparatus
US20160294827A1 (en) Account access authorizer
CN114534260A (en) Mirror account creating method, device, equipment and storage medium
US12034555B1 (en) Influencer watch party

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
CB03 Change of inventor or designer information

Inventor after: Du Jing

Inventor after: Lin Shun

Inventor before: Du Jing

CB03 Change of inventor or designer information