Data processing method and device, electronic equipment, computer program and storage medium

By detecting the status of the wireless LAN and triggering cross-terminal login policies, the problem of game continuity when switching terminals in cloud gaming is solved, and a safe and consistent cloud gaming experience is achieved across different terminals.

CN117062072BActive Publication Date: 2026-03-20TENCENT DIGITAL (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-07
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

When switching between different devices to log in to the same cloud gaming target account, the continuity of the game cannot be guaranteed, which affects the user experience.

Method used

By acquiring the login information of the target account in the cloud gaming environment, detecting the triggering status of the wireless LAN detection component, triggering the cross-terminal login policy, and enabling the target account to log in securely on different terminals, the login policy is adjusted according to the wireless LAN status to ensure the continuity and security of the game.

Benefits of technology

It enables convenient login to cloud gaming target accounts on different terminals, ensuring game continuity and security, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117062072B_ABST
    Figure CN117062072B_ABST
Patent Text Reader

Abstract

The application provides a data processing method and device, a computer program, an electronic device and a storage medium. The method comprises: in response to login information of a target account, obtaining login setting information in a first terminal; detecting a trigger state of a wireless local area network detection component of a cloud game; triggering a cross-terminal login strategy corresponding to the target account according to the trigger state of the wireless local area network detection component; and logging in the target account in a second terminal based on the cross-terminal login strategy, so as to execute the cloud game through the target account. Thus, the target account of the cloud game can be conveniently logged in different terminals, so that users obtain different game use experiences in mobile terminals and fixed terminals, while ensuring the security of the target account logged in different terminals, ensuring the continuity of the game, improving the use experience of the users, and making the cloud game more suitable for the use requirements of the users.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the information processing technology field, in particular to a data processing method and device, and an electronic equipment computer program and storage medium. BACKGROUND

[0002] With the development of cloud games in the related art, the number of cloud games deployed in the cloud server is increasing. Due to the characteristics of the game program, such as complex game rules, variable dynamic scenes, uncertain behavior achievement, incomplete information, short decision-making time, etc., a user can log in to the same target account on different mobile terminals and fixed terminals to load the game process and obtain different game experiences. However, switching to log in to the same target account in different terminals requires re-scheduling of cloud game server resources, which cannot guarantee the continuity of the game and affects the user experience. SUMMARY

[0003] Therefore, the embodiments of the present application provide a data processing method and device, an electronic equipment, a computer program and a storage medium, which can conveniently log in to the target account of the cloud game in different terminals, so that the user can obtain different game experiences on the mobile terminal and the fixed terminal, while ensuring the security of the target account in different terminals, guaranteeing the continuity of the game, improving the user experience, and making the cloud game more suitable for the user's use demand.

[0004] The technical scheme of the embodiments of the present application is as follows:

[0005] The embodiments of the present application provide a data processing method, which comprises:

[0006] obtaining login information of a target account in a cloud game environment;

[0007] obtaining login setting information in a first terminal in response to the login information of the target account;

[0008] detecting the trigger state of a wireless local area network detection component of the cloud game when the login setting information represents that the target account is allowed to log in across terminals;

[0009] triggering a cross-terminal login strategy corresponding to the target account according to the trigger state of the wireless local area network detection component;

[0010] logging in to the target account in a second terminal based on the cross-terminal login strategy to execute the cloud game through the target account.

[0011] The embodiments of the present application also provide a data processing device, which comprises:

[0012] an information transmission module configured to obtain login information of a target account in a cloud game environment;

[0013] an information processing module, configured to acquire login setting information in the first terminal in response to login information of the target account;

[0014] The information processing module is configured to detect a trigger state of a wireless local area network detection component of the cloud game when the login setting information indicates that the target account is allowed to log in across terminals.

[0015] The information processing module is configured to trigger a cross-terminal login strategy corresponding to the target account according to the trigger state of the wireless local area network detection component.

[0016] The information processing module is configured to log in the target account in the second terminal based on the cross-terminal login strategy, so as to execute the cloud game through the target account.

[0017] In the above scheme,

[0018] The information processing module is configured to detect a state of a login setting component of the target account in response to login information of the target account, to obtain the login setting information.

[0019] The information processing module is configured to indicate that the target account is allowed to log in across terminals when the login setting information of the target account is triggered.

[0020] The information processing module is configured to indicate that the target account is not allowed to log in across terminals when the login setting component of the target account is closed.

[0021] In the above scheme,

[0022] The information processing module is configured to detect a wireless local area network in which the first terminal and the second terminal are located when the wireless local area network detection component is triggered.

[0023] The information processing module is configured to receive first token information sent by the first terminal when the wireless local area network in which the first terminal and the second terminal are located is the same.

[0024] The information processing module is configured to log in the target account through the second terminal in response to the first token information.

[0025] The information processing module is configured to control the second terminal to display the same cloud game progress as the first terminal and interrupt the cloud game process of the first terminal.

[0026] In the above scheme,

[0027] The information processing module is configured to send a service set identifier included in the information of the wireless local area network to an operator of the wireless local area network, so that the operator authenticates the wireless local area network through the service set identifier.

[0028] The information processing module is configured to determine that the connection state of the wireless local area network is a connectable state when a message indicating authentication is received from the operator to an access controller of the wireless local area network.

[0029] In the above scheme,

[0030] The information processing module is configured to detect the wireless local area network in which the first terminal and the second terminal are located when the wireless local area network detection component is triggered.

[0031] The information processing module is configured to interrupt the cloud game process of the first terminal and apply for second token information to a server of the cloud game by the second terminal when the wireless local area network in which the first terminal and the second terminal are located is different.

[0032] The information processing module is configured to load the cloud game process by the second terminal and log in the target account in response to the second token information.

[0033] In the above scheme,

[0034] The information processing module is configured to receive third token information sent by the first terminal by the second terminal when the wireless local area network detection component is closed.

[0035] The information processing module is configured to log in the target account by the second terminal in response to the third token information.

[0036] The information processing module is configured to control the second terminal to display the same cloud game progress as the first terminal and interrupt the cloud game process of the first terminal.

[0037] In the above scheme,

[0038] The information processing module is configured to interrupt the cloud game process of the first terminal and apply for fourth token information to a server of the cloud game by the second terminal when the login setting information indicates that cross-terminal login of the target account is not allowed.

[0039] The information processing module is configured to load the cloud game process by the second terminal and log in the target account in response to the fourth token information.

[0040] When the target account logs in successfully, the second terminal receives scheduling information of the cloud game server.

[0041] In the above solution,

[0042] The information processing module is configured to acquire decoding computing power information of the second terminal.

[0043] The information processing module is configured to determine a decoding computing power decoding time delay parameter of the second terminal based on the decoding computing power information.

[0044] The information processing module is configured to determine a target frame rate that matches based on the decoding computing power decoding time delay parameter and a per-second transmission frame number threshold.

[0045] A video encoding strategy that matches the cloud game environment is determined based on the target frame rate.

[0046] The embodiments of the present application also provide an electronic device, which comprises:

[0047] A memory configured to store executable instructions.

[0048] A processor configured to execute the executable instructions stored in the memory to implement the data processing method described above.

[0049] The embodiments of the present application also provide a computer readable storage medium storing executable instructions, which are executed by a processor to implement the data processing method described above.

[0050] The embodiments of the present application have the following beneficial effects:

[0051] The present application acquires login information of a target account in a cloud game environment; in response to the login information of the target account, login setting information in a first terminal is acquired; when the login setting information indicates that the target account is allowed to log in across terminals, a trigger state of a wireless local area network detection component of the cloud game is detected; according to the trigger state of the wireless local area network detection component, a cross-terminal login strategy corresponding to the target account is triggered; and based on the cross-terminal login strategy, the target account is logged in in a second terminal, so as to implement execution of the cloud game by the target account, thereby enabling the target account of the cloud game to be conveniently logged in in different terminals, enabling a user to obtain different game use experiences in a mobile terminal and a fixed terminal, while ensuring the security of the target account logged in in different terminals, ensuring the continuity of the game, improving the use experience of the user, and making the cloud game more suitable for the use demand of the user. BRIEF DESCRIPTION OF DRAWINGS

[0052] Figure 1 A use scenario diagram of the data processing method provided by the embodiments of the present application is shown;

[0053] Figure 2A schematic diagram of the structural composition of the data processing device provided in the embodiments of the present application is shown in the figure.

[0054] Figure 3 A schematic diagram of an optional processing process for the multi-terminal login of the target account in the embodiments of the present application is shown in the figure.

[0055] Figure 4 A schematic diagram of an optional flow of the data processing method provided in the embodiments of the present application is shown in the figure.

[0056] Figure 5 A schematic diagram of the display effect of the login setting component and the wireless local area network detection component in the embodiments of the present application is shown in the figure.

[0057] Figure 6 A schematic diagram of an optional flow of the data processing method provided in the embodiments of the present application is shown in the figure.

[0058] Figure 7 A schematic diagram of an optional flow of the data processing method provided in the embodiments of the present application is shown in the figure.

[0059] Figure 8 A schematic diagram of the login failure of the target account of the cloud game in the embodiments of the present application is shown in the figure.

[0060] Figure 9 A schematic diagram of the data processing method provided in the embodiments of the present application for a racing game is shown in the figure.

[0061] Figure 10 A schematic diagram of an optional flow of the data processing method provided in the embodiments of the present application is shown in the figure. DETAILED DESCRIPTION

[0062] In order to make the objects, technical solutions and advantages of the present application clearer, the following will further describe the present application with reference to the accompanying drawings, and the described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by those skilled in the art without creative labor shall fall within the scope of protection of the present application.

[0063] In the following description, "some embodiments" are described, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0064] The related data collection and processing in the embodiments of the present application should strictly obtain the informed consent or separate consent of the personal information subject according to the requirements of relevant laws and regulations in the instance application, and within the scope of authorization of laws and regulations and the personal information subject, carry out subsequent data use and processing.

[0065] Before the embodiments of the present application are further described in detail, the terms and names involved in the embodiments of the present application are explained, and the terms and names involved in the embodiments of the present application are applicable to the following explanations.

[0066] 1) In response to: used to indicate the condition or state on which the operation is dependent, when the dependent condition or state is met, one or more operations performed can be real-time or have a set delay; in the absence of special instructions, there is no restriction on the execution order of the multiple operations performed.

[0067] 2) Based on: used to indicate the condition or state on which the operation is dependent, when the dependent condition or state is met, one or more operations performed can be real-time or have a set delay; in the absence of special instructions, there is no restriction on the execution order of the multiple operations performed.

[0068] 3) Game environment: the game environment displayed (or provided) by the application when running on the terminal. The game environment can be a simulation environment of the real world, a semi-simulation and semi-fictional three-dimensional environment, or a purely fictional three-dimensional environment. The game environment can be any one of a two-dimensional game environment, a 2.5-dimensional game environment, and a three-dimensional game environment. The following embodiments are described by way of example with the game environment being a three-dimensional game environment, but this is not limited. Alternatively, the game environment is also used for a game environment battle between at least two virtual objects. Alternatively, the game environment is also used for a battle between at least two virtual objects using virtual firearms. Alternatively, the game environment can be not limited to a parkour game, a racing game, a Multiplayer Online Battle Arena (MOBA), a Racing Game (RCG), and a sport game (SPG). By using the data processing method provided by the present application, the game server corresponding to each of the above-mentioned game scenarios can be deployed to generate a cloud game corresponding to a target game. Without installing a game client, a user can perform corresponding action information through a cloud game program to simulate the operation of a virtual user and complete different types of games in the game environment together with an actual user participating in the game.

[0069] 4) Action information: in the game, the user uses the first person or the third person to participate in the speed competition, including racing, flying and other racing games, the action information refers to the operation instruction of the direction key for controlling the racing car, for the role playing game, the action information refers to the operation instruction of the direction key for controlling the movement of the virtual role, for example, through the execution of the action information, the virtual object can attack in the game environment by launching virtual bullets, or launching arrow clusters of virtual bows and arrows, virtual slings, the virtual object can pick up virtual guns in the game environment, and attack by the virtual guns picked up.

[0070] Optionally, the virtual object can be a user virtual object controlled by the operation on the client, or an artificial intelligence (AI) set in the game environment for battle, or a non-user virtual object (NPC) set in the game environment for interaction. Optionally, the virtual object can be a virtual character for competition in the game environment. Optionally, the number of virtual objects participating in the interaction in the game environment can be pre-set, or can be dynamically determined according to the number of clients participating in the interaction.

[0071] For example, in a shooting game, the user can control the virtual object to perform corresponding action information at different times in the game environment, such as free falling, gliding or opening a parachute to fall in the sky, running, jumping, crawling, bending down and walking on land, swimming, floating or diving in the ocean, etc. Of course, the user can also control the virtual object to move in the game environment by riding a virtual vehicle, such as a virtual car, a virtual aircraft, a virtual yacht, etc. Here, only the above scenarios are used as examples, and the embodiments of the application are not limited in this regard. The user can also control the virtual object to interact with other virtual objects by means of virtual weapons, which can be cold weapons or hot weapons, and the type of virtual weapons is not limited in the application.

[0072] The method provided in the application can be applied to virtual reality applications, three-dimensional map programs, first-person shooting games (FPS), multiplayer online battle arena games (MOBA), etc. The following embodiments are illustrated by application in the game.

[0073] 5) SSID: Service Set Identifier, SSID technology can divide a wireless local area network into several sub-networks that require different identity authentication, each sub-network requires independent identity authentication, only users who pass the identity authentication can enter the corresponding sub-network, preventing unauthorized users from entering the network. In the embodiment of the application, it can be considered as the network name of Wi-Fi.

[0074] 6) Cloud technology refers to a hosting technology that unifies hardware, software, network and other series of resources in a wide area network or local area network to realize data calculation, storage, processing and sharing. The network technology, information technology, integration technology, management platform technology and application technology based on the cloud computing business model application can form a resource pool, which can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background service of the technical network system needs a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, in the future, every item may have its own identification mark and needs to be transmitted to the background system for logical processing. Different levels of data will be processed separately, and various industry data need strong system support, which can only be realized through cloud computing.

[0075] 7) Cloud game: refers to a game that runs in a cloud server device, encodes the game picture rendered by the cloud device, and transmits it to the user terminal through the network. The user terminal decodes the encoded file and renders it to the display screen for display, so that the user does not need to install the game locally, but only needs to establish a communication network connection with the cloud to complete the game interaction process.

[0076] 8) Scheduling: when the user logs in the client and starts the game, the background server receives the user's request to start the game, and will schedule a cloud game server resource most suitable for the user according to the current cloud game server resource situation, such as when the resource is insufficient, the user needs to wait in line.

[0077] 9) Token: generated on the server. If the front end uses a username / password to request authentication from the server, the server will return a Token to the front end after successful authentication. The front end can prove its legal status by bringing the Token with it every time it makes a request. If the Token expires, the client sends a request to the background, which is treated as an invalid request and is not processed.

[0078] Figure 1 The use scenario of the data processing method provided by the embodiment of the application is shown in the figure. Referring to Figure 1 , referring to Figure 1, the terminal (including the terminal 10-1 and the terminal 10-2) is provided with a client running the cloud game, and the user can obtain the game content stored in the cloud server through the cloud game software client; the terminal is connected to the server 200 through the network 300, and the network 300 can be a wide area network or a local area network, or a combination of the two, and the data transmission is realized by using a wireless link, wherein the data processing method provided by the application can serve various types of customers in the form of cloud service, or serve different game programs (encapsulated in professional game terminals or encapsulated in different mobile electronic devices), to meet the different use requirements of users (such as migrating from small size electronic devices to large size electronic devices to perform cloud games), and the application does not make specific limitations, wherein the game itself runs in the cloud server device, the game picture rendered by the cloud device is encoded and transmitted to the user terminal through the network, and the game is rendered to the display screen after the user terminal decodes the encoded file, so that the user does not need to install the game locally, and only needs to establish a communication network connection with the cloud to complete the game interaction process. The organization structure of the cloud game includes a terminal and a cloud server, wherein the terminal is used for receiving the control operation of the user on the game process, and sending the control instruction corresponding to the control operation to the cloud server, and the cloud server is used for controlling the game process, and sending the video stream in the game process to the terminal for playing. That is, in the organization structure of the cloud game, the terminal is mainly responsible for receiving the game video and game audio corresponding to the server in the game process for rendering and playing, and sending the operation of the game user on the terminal side (including but not limited to the operation of the game user through the mouse, keyboard, operation handle, voice instruction, touch instruction, etc.) to the server through the signaling channel connected with the server, and the server sends the operation information to the matching mouse driver process, sound card driver process and keyboard driver process, so as to realize the control of the cloud game. Specifically, the processing content of the cloud server includes: 1) the calculation and game rendering in the game process of the cloud game, picture acquisition and encoding, sound card sound acquisition and encoding, and sending the video information and audio information processed by encoding to the terminal in the form of streaming media; 2) receiving the operation instruction of the terminal, and sending the operation instruction to the corresponding mouse driver process, sound card driver process and keyboard driver process, so as to realize the control of the cloud game.

[0079] As an example, server 200 is used to deploy data processing devices to implement the data processing method provided in this application. When executing the data processing method, a target account can be logged into on different terminals to load different types of cloud gaming programs (e.g., parkour games, racing games, multiplayer online battle arena (MOBA), racing games (RCG), and sports games (SPG)) and perform corresponding game operations. The specific process includes: obtaining login information of the target account in the cloud gaming environment; in response to the login information of the target account, obtaining login settings information in a first terminal; when the login settings information indicates that the target account is allowed to log in across terminals, detecting the trigger status of the wireless LAN detection component of the cloud game; triggering the cross-terminal login policy corresponding to the target account according to the trigger status of the wireless LAN detection component; and logging into the target account on a second terminal based on the cross-terminal login policy to execute the cloud game through the target account.

[0080] Of course, the data processing device provided in this application can load corresponding cloud gaming programs on different terminals based on the same target account, or it can present cloud gaming mini-programs from different channels on the user interface (UI User Interface) for users to choose from, according to the user's needs. The presented cloud gaming programs and game data adapted to the game environment can also be called by other applications (such as game emulators or motion-sensing game devices). Of course, cloud gaming programs matched with different types of games can also be migrated to mini-games or web games in instant messaging processes.

[0081] Of course, after logging into the target account on the second terminal and loading the cloud gaming process, game data can be obtained and different game data can be generated through character simulation via the cloud gaming program, and corresponding action information can be executed to assist the game player. Specifically, this includes: when the control components in the game environment are triggered, a virtual target object is presented in the user interface of the game environment where the target object is located, and by triggering the cloud gaming program, the virtual target object is used to present corresponding game interaction commands in the user interface.

[0082] The structure of the data processing apparatus according to the embodiments of this application will be described in detail below. The data processing apparatus can be implemented in various forms, such as a dedicated terminal with data processing device processing function, or a server equipped with data processing device processing function, for example, the aforementioned Figure 1 Server 200 in the middle. Figure 2 This is a schematic diagram of the composition structure of the data processing apparatus provided in the embodiments of this application. It can be understood that... Figure 2Only an exemplary structure of the data processing apparatus is shown, not all structures, and the data processing apparatus can be implemented as needed Figure 2 Only an exemplary structure of the data processing apparatus is shown, not all structures, and the data processing apparatus can be implemented as needed

[0083] The data processing apparatus provided by the embodiments of the present application includes at least one processor 201, a memory 202, a user interface 203, and at least one network interface 204. The various components in the data processing apparatus are coupled together through a bus system 205. It can be understood that the bus system 205 is used to realize the connection communication between the components. In addition to including a data bus, the bus system 205 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, all the buses are marked as the bus system 205 in Figure 2 the description.

[0084] The user interface 203 can include a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touchpad, or a touch screen, etc.

[0085] It can be understood that the memory 202 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. The memory 202 in the embodiments of the present application can store data to support the operation of the terminal (such as 10-1). Examples of these data include any computer programs for operating on the terminal (such as 10-1), such as operating systems and application programs. The operating system contains various system programs, for example, a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program can include various application programs.

[0086] In some embodiments, the data processing apparatus provided by the embodiments of the present application can be implemented in a combination of software and hardware. As an example, the data processing apparatus provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the data processing method provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can use one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic elements.

[0087] As an example of the data processing apparatus provided in the embodiments of the present application being implemented in a combination of software and hardware, the data processing apparatus provided in the embodiments of the present application can be directly embodied as a combination of software modules executed by the processor 201. The software modules can be located in the storage medium, and the storage medium is located in the memory 202. The processor 201 reads the executable instructions included in the software modules in the memory 202, and completes the data processing method provided in the embodiments of the present application in combination with the necessary hardware (for example, including the processor 201 and other components connected to the bus 205).

[0088] As an example, the processor 201 can be an integrated circuit chip with a processing capability of signals, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor.

[0089] As an example of the data processing apparatus provided in the embodiments of the present application being implemented in hardware, the apparatus provided in the embodiments of the present application can be directly implemented by using a hardware decoding processor as the processor 201 to complete the execution. For example, one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic elements are used to implement the data processing method provided in the embodiments of the present application.

[0090] The memory 202 in the embodiments of the present application is used to store various types of data to support the operation of the data processing apparatus. Examples of these data include any executable instructions for operating on the data processing apparatus, where the program implementing the data processing method provided in the embodiments of the present application can be included in the executable instructions.

[0091] In other embodiments, the data processing apparatus provided in the embodiments of the present application can be implemented in software, Figure 2 The data processing apparatus stored in the memory 202 is shown, which can be software in the form of programs and plug-ins, and includes a series of modules. As an example of the program stored in the memory 202, the data processing apparatus can include the following software modules:

[0092] The information transmission module 2081 is configured to acquire login information of a target account in a cloud game environment.

[0093] The information processing module 2082 is configured to acquire login setting information in a first terminal in response to the login information of the target account.

[0094] The information processing module 2082 is configured to detect a trigger state of a wireless local area network detection component of the cloud game when the login setting information indicates that the target account is allowed to perform cross-terminal login.

[0095] The information processing module 2082 is configured to trigger a cross-terminal login strategy corresponding to the target account according to the trigger state of the wireless local area network detection component.

[0096] The information processing module 2082 is configured to log in the target account in a second terminal based on the cross-terminal login strategy, so as to execute the cloud game through the target account.

[0097] According to Figure 2 The electronic device shown in the figure, in an aspect of the present application, the present application further provides a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementation manners of the data processing method provided in the present application.

[0098] In some embodiments, the server 200 can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN, Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal (such as terminal 10-1) can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto. The terminal and the server can be connected directly or indirectly through wired or wireless communication, which is not limited in the present application.

[0099] Continue to combine Figure 2 Before the data processing apparatus shown in the figure illustrates the data processing method provided in the present application, first introduce the process of switching multiple terminals to log in a target account in the cloud game in the related technology. Reference Figure 3 , Figure 3As an optional process diagram for multi-terminal login of a target account in the embodiments of the present application, specifically, when a user is playing a game using terminal A, if someone logs in through another terminal B using the same target account, the cloud game server will expire the token of terminal A, and the login information of terminal A will expire. Subsequently, the cloud game server will generate a new token for terminal B, and if the user wants to continue using terminal A to execute game one, the user needs to restart game one on terminal B. After the cloud game server receives the request to start game one, it starts to schedule cloud game server resources. After successful scheduling, the user successfully starts game one using terminal B. If the cloud game server resources are insufficient, resulting in scheduling failure, the user fails to start game one using terminal B, and enters a queuing state. After successful queuing, game one is started. When the cloud game process ends, the user clicks to exit the game, and the background server releases the cloud game server resources, Figure 3 The processing method shown in the figure requires re-scheduling of cloud game server resources when switching login of the same target account in different terminals, which cannot guarantee the continuity of the game and affects the user experience

[0100] To solve this defect, refer to Figure 4 , Figure 4 An optional flow diagram of the data processing method provided in the embodiments of the present application. It can be understood that Figure 4 The steps shown in the figure can be executed by various electronic devices running the data processing apparatus, such as a special terminal with a data processing apparatus, a game database server, or a server cluster of a game operator. The special terminal with a data processing apparatus can be the special terminal with a data processing apparatus as shown in the foregoing Figure 2 The electronic device with a data processing apparatus in the embodiments shown in the foregoing Figure 4 The steps shown in the figure will be described in detail.

[0101] Step 401: The data processing apparatus acquires login information of a target account in a cloud game environment.

[0102] Step 402: The data processing apparatus acquires login setting information in a first terminal in response to the login information of the target account.

[0103] In some embodiments of the present application, acquiring login setting information in a first terminal in response to the login information of the target account can be achieved by the following method:

[0104] In response to the login information of the target account, the state of the login setting component of the target account is detected to obtain the login setting information; when the login setting component of the target account is triggered, the login setting information indicates that the target account is allowed to log in across terminals; and when the login setting component of the target account is closed, the login setting information indicates that the target account is not allowed to log in across terminals. Wherein, referring to Figure 5 , Figure 5 The figure is a display effect diagram of the login setting component and the wireless local area network detection component in the embodiment of the application. A user can manually control the trigger state of the login setting component and the wireless local area network detection component, and when the target account logs in on another device, the user can select whether to start the login setting component indicating the function when the game login setting component is triggered in the first terminal currently loading the cloud game. When the user selects "no", the existing operation setting can be maintained, and the second terminal can log in the target account by obtaining a new token. When the user selects "yes", that is, the target account is allowed to log in across terminals, the trigger state of the wireless local area network detection component is continuously detected.

[0105] When the user selects "yes", the user logs in the target account by using the second terminal, and when the first terminal is not connected to the same wifi signal, the processing logic is consistent with the existing logic, the login state of the first terminal, and the second terminal uses a new token to interact with the cloud game server. If it is the same wifi signal, the logic processing when the login setting component is triggered is used, the second terminal uses the token of the first terminal to continue the game process of the first terminal, and does not need to restart and apply for scheduling cloud server resources, but directly uses the cloud game server resources used by the first terminal to play, so as to ensure the continuity of the game.

[0106] When the user selects "no", that is, the wireless local area network detection component is closed, whether the two terminals are connected to the same wifi signal or not, the logic processing when the login setting component is triggered is used, the second terminal uses the token of the first terminal to continue the game process of the first terminal, and does not need to restart and apply for scheduling, but directly uses the cloud game server resources used by the first terminal to play, so as to ensure the continuity of the game.

[0107] The processing process of the trigger state of different components shown in FIG. 4 will be described below. Figure 5

[0108] Step 403: When the login setting information indicates that the target account is allowed to log in across terminals, the data processing device detects the trigger state of the wireless local area network detection component of the cloud game.

[0109] ​Step 404: The data processing device triggers the cross-terminal login policy corresponding to the target account based on the triggering status of the wireless LAN detection component.

[0110] In some embodiments of the present invention, the cross-terminal login policy corresponding to the target account is triggered according to the triggering state of the wireless LAN detection component, which can be achieved in the following ways:

[0111] When the wireless LAN detection component is triggered, it detects the wireless LANs of the first terminal and the second terminal. When the wireless LANs of the first terminal and the second terminal are the same, the second terminal receives the first token information sent by the first terminal. In response to the first token information, the second terminal logs into the target account. The second terminal displays the same cloud gaming progress as the first terminal and interrupts the cloud gaming process of the first terminal. The first token can be registered in advance by the first terminal with a unified account in the authentication system of the cloud gaming server for authentication. The authentication system of the cloud gaming server obtains the corresponding unified account based on the user identifiers A_openid, B_openid, and OA_openid corresponding to different login methods, generates an authentication token based on the unified account, and returns the authentication token to the terminal device so that the authentication system relies on the authentication token for authentication when the terminal device accesses the business system.

[0112] When the first terminal and the second terminal are located on the same Wi-Fi network, to ensure the security of the target account, the security of the Wi-Fi network also needs to be checked. Specifically, this includes: sending the service set identifier included in the Wi-Fi network information to the Wi-Fi network operator, so that the operator can authenticate the Wi-Fi network using the service set identifier; and when receiving an authentication pass message sent by the operator to the access controller of the Wi-Fi network, determining that the connection status of the Wi-Fi network is connectable. During authentication, the cloud gaming server address is denoted as addressS, and the resource scheduling server address is denoted as addressP. Before network communication, the cloud gaming server needs to obtain the resource scheduling server address addressP and send the cloud gaming server address addressS and the public key corresponding to the resource scheduling server (which matches the resource scheduling server's address) to the resource scheduling server for authorization and authentication via an anonymous protocol, ensuring that the target account's privacy information is not leaked.

[0113] See Figure 6 , Figure 6An optional flowchart of the data processing method provided by the embodiment of the present application is shown in the figure. Due to the complexity of the wireless local area network environment, the user can switch between different wireless local area networks and mobile networks to ensure the smoothness of the cloud game operation. Therefore, when the wireless local area network detection component is triggered and turned off, the data processing method provided by the present application includes the following steps:

[0114] Step 601: When the wireless local area network detection component is triggered, the wireless local area network in which the first terminal and the second terminal are located is detected.

[0115] Step 602: When the wireless local area network in which the first terminal and the second terminal are located is different, the cloud game process of the first terminal is interrupted, and the second terminal applies for second token information to the server of the cloud game.

[0116] Step 603: In response to the second token information, the cloud game process is loaded through the second terminal and the target account is logged in.

[0117] Step 604: When the wireless local area network detection component is turned off, the second terminal receives the third token information sent by the first terminal.

[0118] Step 605: In response to the third token information, the target account is logged in through the second terminal.

[0119] Step 606: The second terminal is controlled to display the same cloud game progress as the first terminal, and the cloud game process of the first terminal is interrupted.

[0120] In some embodiments of the present application, since there is a risk of theft of the target account, the user can turn off the login setting component. At this time, when the login setting information indicates that the target account is not allowed to be logged in across terminals, the cloud game process of the first terminal is interrupted, and the second terminal applies for fourth token information to the server of the cloud game. In response to the fourth token information, the cloud game process is loaded through the second terminal and the target account is logged in. When the target account is successfully logged in, the second terminal receives the scheduling information of the cloud game server. The effective period of the fourth token information can be set according to actual needs, such as 10 minutes, 24 hours, 72 hours, one week, and one month. The present embodiment does not limit the length of the effective period until the target account is determined to be safe, and the user adjusts the trigger state of the login setting component again.

[0121] Step 405: The data processing device logs in the target account in the second terminal based on the cross-terminal login strategy to implement the execution of the cloud game through the target account.

[0122] In some embodiments of the present application, when a target account is logged in in a second terminal to perform cloud gaming, decoding computing power information of the second terminal can be obtained; based on the decoding computing power information, a decoding computing power decoding time consumption delay parameter of the second terminal is determined; based on the decoding computing power decoding time consumption delay parameter and a frame transmission per second threshold, a matching target frame rate is determined; and based on the target frame rate, a video encoding strategy matched with the cloud gaming environment is determined. In summary, the decoding computing power of the terminal can be determined according to the configuration information of the video playback terminal. When the decoding delay of decoding a frame of video frame is greater than or equal to the threshold X, it indicates that the decoding computing power of the video playback terminal is low; wherein the decoding delay is used to represent the time consumed by the terminal to decode a frame of video data, and the threshold X is defined as 1000 / picture frame rate*0.05. Thus, the adjustment process can be triggered to adjust the video encoding strategy, reduce the lag of cloud gaming video, and improve the user experience.

[0123] In some embodiments of the present application, since the decoding capabilities of different video playback terminals are different, it is necessary to determine the decoding computing power information of the video playback terminal. For the video playback terminal whose hardware type information has been obtained, the configuration information of the video playback terminal can be determined through the corresponding hardware type information. For example, for a XX brand XX model mobile phone, the configuration information of the terminal can be determined as A model CPU, B model GPU and C model motherboard information through the hardware type information (or the network access code of the XX model mobile phone). Through the determined configuration information of the video playback terminal, the decoding capability information corresponding to different video playback terminals can be determined. High-specification CPU or GPU in the configuration information type of the terminal can improve the decoding capability corresponding to the video playback terminal. At the same time, since the cloud gaming user can flexibly switch different video playback terminals according to different operating environments, the decoding computing power information of the video playback terminal is determined through the configuration information of the video playback terminal, so that the terminal situation of the game user can be obtained in time and accurately, and the video encoding strategy can be adjusted in time to adapt to different use environments.

[0124] In some embodiments of the present invention, since the decoding capability of the same video playback terminal is also limited by the number of decoding tasks it carries, changes in the real-time load information of the video playback terminal will cause changes in the real-time decoding capability of the video playback terminal. For example, for a mobile phone with a CPU of model A, a GPU of model B, and a motherboard of model C, when the number of decoding service processes carried is 1 (load information), the real-time decoding capability is 500 frames / s. When the configuration information and network status remain unchanged, the video playback terminal carries decoding tasks for both local games and video playback at the same time, and the number of decoding service processes it carries is 3, resulting in a real-time decoding capability of 300 frames / s, which is a significant decrease. Therefore, it is necessary to adjust the video encoding strategy in a timely manner to adapt to changes in the video encoding usage environment and provide users with a better user experience.

[0125] To better illustrate the application of the data processing method provided in this application in a cloud gaming environment, the following example uses a television as the first terminal and a mobile phone as the second terminal, with the user logging into a target account in the cloud gaming environment. The processing procedure of the data processing method described in this application will be explained below. (See also...) Figure 7 , Figure 7 An optional flowchart illustrating the data processing method provided in this application embodiment specifically includes the following steps:

[0126] Step 701: The user logs in to the target cloud gaming account.

[0127] Step 702: The server needs to determine whether the user's cloud gaming account login information is correct. If it is, proceed to step 703; otherwise, proceed to step 704.

[0128] Step 703: The server needs to determine whether the user's cloud gaming account has been successfully logged in. If so, proceed to step 706; otherwise, proceed to step 705.

[0129] Step 704: The cloud gaming client displays an error message: Login failed.

[0130] refer to Figure 8 , Figure 8 This is a schematic diagram illustrating the failed login of a target account for cloud gaming in an embodiment of the present invention. Users can... Figure 8 In the cloud gaming interface shown, select any cloud game and click the START function to trigger the corresponding cloud game. At this time, the selected game A is in the selected state. When login fails, the cloud gaming interface can prompt the user to change the cloud gaming account or adjust the status of the login settings component.

[0131] Step 705: User's cloud gaming account successfully logged in.

[0132] Step 706: Check the status of the login settings component.

[0133] Step 707: the first terminal logs in failure, and the second terminal logs in success.

[0134] Step 708: start loading the cloud game process, and release the server resources after ending.

[0135] Step 709: determine whether the wireless local area network detection component is triggered.

[0136] Step 710: determine whether the first terminal and the second terminal are connected to the same wifi signal.

[0137] Step 711: the target account of the cloud game logs in success, the login state of the first terminal is invalid, and the token information is transmitted to the second terminal by the cloud game server.

[0138] Step 712: the second terminal logs in success, and connects the cloud game server corresponding to the first terminal through the token.

[0139] Reference Figure 9 , Figure 9 The data processing method provided by the embodiment of the application is used for a racing game, Figure 9 shows a virtual object controlled by a game strategy recommendation process. After matching the virtual object controlled by the game strategy recommendation process, the target object used by the human player user and the matched virtual object controlled by the game strategy recommendation process are loaded into a target game scene, so that the first target object used by the human player user and the virtual object controlled by the game strategy recommendation process can race in the target game scene, as shown in Figure 9 “user-1” is the target object in the game environment, Figure 9 “user-2” is the virtual object controlled by the game strategy recommendation process (namely, the accompanying AI) accessed in the game environment, when the user switches from the mobile phone end to the television end to continue Figure 9 the cloud game, because the display area is increased, a better game experience can be obtained, in order to ensure the continuity of the game, referring to Figure 10 , Figure 10 The data processing method provided by the embodiment of the application is an optional flowchart, which specifically includes the following steps:

[0140] Step 1001: the user starts the cloud game through the mobile phone.

[0141] Step 1002: after the background server receives the request, the cloud game server resources are scheduled, if the scheduling is successful, the target CGS server identifier is notified to the client, and if the scheduling fails, the queue is entered for queuing.

[0142] Step 1003: The cloud game server allocates cloud game server resources.

[0143] Step 1004: Inform the phone client of the connected CGS server identification.

[0144] Step 1005: The phone connects to the designated CGS server.

[0145] Step 1006: A virtual server hostserver is generated.

[0146] All cloud game servers can report their respective resource usage to the background every 15 seconds. After the background allocates cloud game servers, it informs the phone of the cloud game server resource information. The phone establishes a connection with the designated cloud game server, and the cloud game server generates a new server hostserver that can handle the phone client game, including screenshot capture, encoding, and other services, to ensure the continuity of cloud gaming after the TV client logs in to the target account.

[0147] Step 1007: The client establishes a connection with the cloud game server.

[0148] Step 1008: The game starts successfully, and cloud game loading begins.

[0149] Step 1009: The target game account of the same cloud game initiates a login request on the TV side.

[0150] Step 1010: Detect the trigger state of the login setting component and the wireless local area network detection component.

[0151] Step 1011: The phone side login state and server information are sent to the TV side.

[0152] Step 1012: The phone side login state is cut off.

[0153] Step 1013: A connection is established with the original cloud game server hostserver.

[0154] Step 1014: The TV side synchronizes the cloud game server game screen, and the user continues to execute the cloud game.

[0155] Step 1015: The user exits the game, and the cloud server resources are released.

[0156] Beneficial technical effects:

[0157] The application obtains login information of a target account in a cloud game environment; in response to the login information of the target account, login setting information in a first terminal is obtained; when the login setting information represents that the target account is allowed to cross-terminal login, a trigger state of a wireless local area network detection component of the cloud game is detected; according to the trigger state of the wireless local area network detection component, a cross-terminal login strategy corresponding to the target account is triggered; and based on the cross-terminal login strategy, the target account is logged in a second terminal, so as to implement the cloud game through the target account, thereby, the target account of the cloud game can be conveniently logged in different terminals, so that a user obtains different game use experiences in a mobile terminal and a fixed terminal, while the security of the target account logged in different terminals is ensured, the continuity of the game is ensured, the use experience of the user is improved, and the cloud game is more suitable for the use demand of the user.

[0158] The above is only an embodiment of the application, and is not used to limit the protection scope of the application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application should be included in the protection scope of the application.

Claims

1. A data processing method, characterized in that, The method includes: Obtain login information for the target account in the cloud gaming environment; In response to the login information of the target account, the login settings information in the first terminal is obtained; When the login settings information indicates that the target account is allowed to log in across terminals, the trigger status of the wireless LAN detection component of the cloud game is detected; When the wireless LAN detection component is triggered, it detects the wireless LAN where the first terminal and the second terminal are located. When the first terminal and the second terminal are on the same wireless local area network, the second terminal receives the first token information sent by the first terminal. In response to the first token information, log in to the target account through the second terminal; Control the second terminal to display the same cloud gaming progress as the first terminal, and interrupt the cloud gaming process of the first terminal; Based on the cross-terminal login strategy, the target account is logged in on the second terminal to enable the execution of the cloud game through the target account.

2. The method according to claim 1, characterized in that, The step of obtaining login settings information from the first terminal in response to the login information of the target account includes: In response to the login information of the target account, the status of the login settings component of the target account is detected to obtain the login settings information; When the login settings component of the target account is triggered, the login settings information indicates that the target account is allowed to log in across terminals; When the login settings component of the target account is turned off, the login settings information indicates that the target account is not allowed to log in across terminals.

3. The method according to claim 1, characterized in that, When the first terminal and the second terminal are located on the same wireless local area network, the method further includes: Send the service set identifier included in the information of the wireless local area network to the operator of the wireless local area network so that the operator can authenticate the wireless local area network through the service set identifier; When an authentication message is received from the operator and sent to the access controller of the wireless local area network, the connection status of the wireless local area network is determined to be connectable.

4. The method according to claim 1, characterized in that, The method further includes: When the wireless LAN detection component is triggered, it detects the wireless LAN where the first terminal and the second terminal are located. When the first terminal and the second terminal are on different wireless local area networks, the cloud gaming process of the first terminal is interrupted, and the second terminal requests a second token from the cloud gaming server. In response to the second token information, the cloud gaming process is loaded through the second terminal and the target account is logged in.

5. The method according to claim 1, characterized in that, The method further includes: When the wireless LAN detection component is turned off, the second terminal receives the third token information sent by the first terminal; In response to the third token information, log in to the target account through the second terminal; The second terminal is controlled to display the same cloud gaming progress as the first terminal, and the cloud gaming process of the first terminal is interrupted.

6. The method according to claim 1, characterized in that, The method further includes: When the login settings indicate that the target account is not allowed to log in across terminals, the cloud gaming process of the first terminal is interrupted, and the second terminal requests a fourth token from the cloud gaming server. In response to the fourth token information, the cloud gaming process is loaded through the second terminal and the target account is logged in; When the target account successfully logs in, the second terminal receives scheduling information from the cloud gaming server.

7. The method according to claim 1, characterized in that, Based on the cross-terminal login strategy, after logging into the target account on the second terminal, the method further includes: Obtain the decoding computing power information of the second terminal; Based on the decoding computing power information, the decoding time delay parameters of the second terminal's decoding computing power are determined; Based on the decoding computing power, decoding time delay parameters, and frame rate threshold per second, a matching target frame rate is determined; Based on the target frame rate, a video encoding strategy matching the cloud gaming environment is determined.

8. A data processing apparatus, characterized in that, The device includes: The information transmission module is used to obtain the login information of the target account in the cloud gaming environment; The information processing module is used to obtain login settings information from the first terminal in response to the login information of the target account; The information processing module is configured to: detect the trigger status of the wireless LAN detection component of the cloud game when the login settings information indicates that the target account is allowed to log in across terminals; detect the wireless LAN of the first terminal and the second terminal when the wireless LAN detection component is triggered; receive the first token information sent by the first terminal through the second terminal when the first terminal and the second terminal are on the same wireless LAN; log in to the target account through the second terminal in response to the first token information; control the second terminal to display the same cloud game progress as the first terminal and interrupt the cloud game process of the first terminal; and log in to the target account on the second terminal based on the cross-terminal login strategy to enable the execution of the cloud game through the target account.

9. The apparatus according to claim 8, characterized in that, The information processing module is further configured to, in response to the login information of the target account, detect the status of the login settings component of the target account and obtain the login settings information; when the login settings component of the target account is triggered, the login settings information indicates that the target account is allowed to log in across terminals; When the login settings component of the target account is turned off, the login settings information indicates that the target account is not allowed to log in across terminals.

10. The apparatus according to claim 8, characterized in that, The information processing module is further configured to send the service set identifier included in the information of the wireless local area network to the operator of the wireless local area network, so that the operator can authenticate the wireless local area network through the service set identifier; when the authentication pass message sent by the operator to the access controller of the wireless local area network is received, the connection status of the wireless local area network is determined to be a connectable state.

11. The apparatus according to claim 8, characterized in that, The information processing module is further configured to detect the wireless local area networks (WLANs) where the first terminal and the second terminal are located when the WLAN detection component is triggered; and to interrupt the cloud gaming process of the first terminal when the WLANs where the first terminal and the second terminal are located are different, and for the second terminal to request a second token from the cloud gaming server. In response to the second token information, the cloud gaming process is loaded through the second terminal and the target account is logged in.

12. The apparatus according to claim 8, characterized in that, The information processing module is further configured to, when the wireless LAN detection component is turned off, receive a third token information sent by the first terminal; in response to the third token information, log in to the target account through the second terminal; control the second terminal to display the same cloud gaming progress as the first terminal, and interrupt the cloud gaming process of the first terminal.

13. The apparatus according to claim 8, characterized in that, The information processing module is further configured to interrupt the cloud gaming process of the first terminal when the login settings information indicates that the target account is not allowed to log in across terminals, and the second terminal requests a fourth token from the cloud gaming server; In response to the fourth token information, the second terminal loads the cloud gaming process and logs in to the target account; when the target account successfully logs in, the second terminal receives scheduling information from the cloud gaming server.

14. The apparatus according to claim 8, characterized in that, The information processing module is further configured to acquire the decoding computing power information of the second terminal; determine the decoding time delay parameter of the second terminal based on the decoding computing power information; determine the matching target frame rate based on the decoding time delay parameter and the frame rate per second threshold; and determine the video encoding strategy matching the cloud gaming environment based on the target frame rate.

15. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the data processing method according to any one of claims 1 to 7.

16. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the data processing method according to any one of claims 1 to 7.

17. A computer-readable storage medium storing executable instructions, characterized in that, When the executable instructions are executed by the processor, they implement the data processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Cross-device login method, system and apparatus

    CN106921650A

  • Login end switching method, mobile terminal and computer readable storage medium

    CN108920917A