Page request method, device, equipment, storage medium and computer program product
By generating and returning page audio and video data on the cloud server, the client only needs to decode and display it, which solves the problem of too long rendering time caused by insufficient client performance, improves processing efficiency and supports personalized settings.
Patent Information
- Application Number
- CN202210954340.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2042-08-10
AI Technical Summary
The page rendering and display tasks of existing cloud gaming platform applications are completed by the client, resulting in the reduction of processing efficiency and the rendering time when the client performance is insufficient.
The client sends page data acquisition requests to the cloud server through the client. The cloud server generates and returns the page audio and video data. The client only needs to decode and display it, reducing the requirements for client performance.
It effectively improves the processing efficiency of the client, reduces the requirements for client performance, and allows the page audio and video data to be personalized according to the settings of the client and login object.
Smart Images

Figure CN117618882B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud technology, and in particular to a page request method, a page request device, a computer device, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the continuous development of cloud technology, more and more rich and complex functions are integrated into cloud gaming platform applications to provide players with a good gaming experience. The implementation of these functions is usually manifested in the rendering and display effects of the corresponding pages.
[0003] At present, the rendering and display tasks of cloud game related information display pages (such as pages corresponding to functions such as game lists) are completed by the client. The client renders the page according to the page layout data, and outputs the rendered page to the display module for display. However, when the performance of the client is insufficient, the processing efficiency of the client may be reduced. For example, when the client is rendering a page, the graphics processing unit (GPU) in the client has insufficient performance, resulting in a long time to render the page. Summary of the invention
[0004] The embodiments of the present application provide a page request method, apparatus, device, storage medium, and computer program product, which can reduce the performance requirements for the client and effectively improve the processing efficiency of the client.
[0005] On the one hand, an embodiment of the present application provides a page request method, the method comprising:
[0006] Receive a first page data acquisition request sent by a client; the first page data acquisition request is used to request page audio and video data of a cloud game related information display page applied by a cloud game platform;
[0007] In response to the first page data acquisition request, acquiring page layout data of a cloud game related information display page requested by the first page data acquisition request;
[0008] Obtaining page adjustment reference information associated with the cloud game related information display page, and generating page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; wherein the page adjustment reference information is determined based on one or more of first page adjustment information and second page adjustment information, the first page adjustment information being the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information being the recorded page adjustment information associated with the login object of the client and the cloud game related information display page;
[0009] The page audio and video data of the cloud game related information display page is sent to the client, so that the client displays the cloud game related information display page according to the page audio and video data of the cloud game related information display page.
[0010] On the one hand, an embodiment of the present application provides another page request method, the method comprising:
[0011] Sending a first page data acquisition request to a cloud server, so that the cloud server responds to the first page data acquisition request, acquires page layout data of a cloud game related information display page requested by the first page data acquisition request, acquires page adjustment reference information associated with the cloud game related information display page, and generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data;
[0012] Receive the page audio and video data returned by the cloud server, and display the cloud game related information display page according to the page audio and video data;
[0013] Among them, the cloud game related information display page is a page of the cloud game platform application, and the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information. The first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the page adjustment information recorded by the cloud server and associated with the client's login object and the cloud game related information display page.
[0014] On the one hand, an embodiment of the present application provides a page request device, the device is used to generate page audio and video data of a cloud game related information display page in response to a first page data acquisition request sent by a client, and send the page audio and video data of the cloud game related information display page to the client, the device comprising:
[0015] A receiving unit, configured to receive a first page data acquisition request sent by a client; the first page data acquisition request is used to request page audio and video data of a cloud game related information display page applied by a cloud game platform;
[0016] A processing unit, configured to obtain, in response to the first page data acquisition request, page layout data of a cloud game related information display page requested by the first page data acquisition request;
[0017] The processing unit is further used to obtain page adjustment reference information associated with the cloud game related information display page, and generate page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; wherein the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information, the first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the recorded page adjustment information associated with the login object of the client and the cloud game related information display page;
[0018] The sending unit is used to send the page audio and video data of the cloud game related information display page to the client, so that the client displays the cloud game related information display page according to the page audio and video data of the cloud game related information display page.
[0019] On the one hand, an embodiment of the present application provides another page request device, the device is used to send a first page data acquisition request to the cloud server, receive page audio and video data generated by the cloud server in response to the first page data acquisition request, and display a cloud game related information display page based on the page audio and video data, the device comprising:
[0020] A sending unit, configured to send a first page data acquisition request to a cloud server, so that the cloud server responds to the first page data acquisition request, acquires page layout data of a cloud game related information display page requested by the first page data acquisition request, acquires page adjustment reference information associated with the cloud game related information display page, and generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data;
[0021] A receiving unit, used for receiving the page audio and video data returned by the cloud server;
[0022] A processing unit, configured to display the cloud game related information display page according to the audio and video data of the page;
[0023] Among them, the cloud game related information display page is a page of the cloud game platform application, and the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information. The first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the page adjustment information recorded by the cloud server and associated with the client's login object and the cloud game related information display page.
[0024] On the one hand, an embodiment of the present application provides a computer device, including: a processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are interconnected, wherein the memory stores an executable program code, and the processor is used to call the executable program code to execute the page request method provided in the embodiment of the present application.
[0025] Accordingly, an embodiment of the present application also provides a computer-readable storage medium, in which a computer program or computer instructions are stored. When the computer program or computer instructions are executed on a computer device, the computer device executes the page request method provided in the embodiment of the present application.
[0026] Accordingly, an embodiment of the present application further provides a computer program product, which includes a computer program or computer instructions, and when the computer program or computer instructions are executed by a processor, the steps of the page request method provided in the embodiment of the present application are implemented.
[0027] By adopting the embodiment of the present application, when the client needs to display the cloud game related information display page, the client can send a first page data acquisition request to the cloud server, and the cloud server responds to the first page data acquisition request and generates the page audio and video data of the cloud game related information display page for the client to display. This method allows the client to display the page only by receiving the page audio and video data and displaying the page based on the page audio and video data, without having the ability to generate the page audio and video data or render the page, which reduces the performance requirements for the client and effectively improves the processing efficiency of the client.
[0028] At the same time, the cloud server can generate page audio and video data based on the page layout data and the page adjustment reference information. This allows the page audio and video data to be adjusted page audio and video data that conforms to the personalized settings of the client and / or the user corresponding to the client's login object for the cloud game related information display page. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 It is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
[0031] Figure 2 It is a flow chart of a page request method provided in an embodiment of the present application;
[0032] Figure 3 This is a page schematic diagram of a cloud game related information display page provided in an embodiment of the present application;
[0033] Figure 4 This is a page schematic diagram of another cloud game related information display page provided in an embodiment of the present application;
[0034] Figure 5 It is a flowchart of another page request method provided in an embodiment of the present application;
[0035] Figure 6 It is a flowchart of another page request method provided in an embodiment of the present application;
[0036] Figure 7 is a schematic diagram of a processing flow of a first cloud device provided in an embodiment of the present application;
[0037] Figure 8 It is a schematic diagram of a process of switching cloud devices provided in an embodiment of the present application;
[0038] Fig. 9 This is a schematic diagram of the division of functional modules in a client and a cloud server provided in an embodiment of the present application;
[0039] Fig.10 It is a structural diagram of a page request device provided in an embodiment of the present application;
[0040] Fig.11 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] An embodiment of the present application provides a page request method, which enables the client to display a page only by having the ability to receive page audio and video data and display the page based on the page audio and video data, without having the ability to generate page audio and video data or render the page, thereby reducing the performance requirements on the client and effectively improving the processing efficiency of the client.
[0043] The page request method can be implemented based on cloud technology. Among them, cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network in a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data. For example, the page request method provided in this application can be implemented based on one or more of cloud computing and cloud storage in cloud technology, and is suitable for application scenarios such as cloud games. For example, based on the virtualization technology in cloud computing technology, multiple virtual cloud devices are virtualized on a cloud server, and the virtual cloud devices are called to execute the page request method proposed in this application. For another example, the page adjustment information of the login object for each page in the client, as well as the page layout data, update code package and other data involved in the page request method, are stored in the form of cloud storage.
[0044] Optionally, the page request method can also be implemented based on blockchain technology on the basis of cloud technology. Blockchain technology is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission (P2P), consensus mechanism, encryption algorithm, etc. For example, the data involved in executing the page request method can also be stored in the form of blocks on the blockchain, or the computer device executing the page request method can be a node device in the blockchain network.
[0045] The following is an introduction to the communication system to which the page request method in this application is applicable. Figure 1 , Figure 1 Schematic diagram of the architecture of a communication system provided by an embodiment of the present application. Figure 1 As shown, the communication system includes a client 101, a cloud server 102, one or more cloud devices 103 and a cloud gaming platform backend 104. Among them, object login can be performed on the client 101. After the object login is successful, the client 101 can initiate a request for obtaining page data (or a page data acquisition request) to the cloud server 102 based on the operation instruction triggered by the user corresponding to the login object. The object here can be any string with an identification function such as an account number or an account. The cloud server 102 is used to receive and respond to the request for obtaining page data sent by the client 101 to generate page audio and video data, and return the generated page audio and video data to the client 101, so that the client 101 can display the corresponding page by decoding the page audio and video data.
[0046] Specifically, when the client 101 expects to display the cloud game related information display page, it can send a first page data acquisition request to the cloud server 102. For example, the cloud game related information display page can be, but is not limited to, any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page. After receiving the first page data acquisition request, the cloud server 102 obtains the page layout data of the cloud game related information display page requested by the first page data acquisition request; then, the cloud server 102 obtains the page adjustment reference information associated with the cloud game related information display page, and based on the page adjustment reference information and the page layout data, generates page audio and video data, and the process also involves the encoding of the page audio and video data; finally, the cloud server 102 sends the encoded page audio and video data to the client 101, and the client 101 decodes the page audio and video data to display the cloud game related information display page.
[0047] Optionally, the page adjustment reference information may be determined based on one or more page adjustment information, and the page adjustment reference information may include custom layout information and / or relevant information of the client 101 (such as the screen resolution of the client 101 ), etc.
[0048] Optionally, when the client 101 further desires to display the game running page of the target cloud game, it may further send a second page data acquisition request to the cloud server 102. In response to the second page data acquisition request, the cloud server 102 generates page audio and video data of the game running page of the target cloud game, and sends the page audio and video data of the game running page to the client 101. The client 101 displays the target cloud game based on the page audio and video data of the game running page.
[0049] Optionally, the number of cloud servers 102 may be one or more, and each cloud server 102 may be deployed with one or more cloud devices 103 generated using virtualization technology, and each cloud device 103 may run a cloud gaming platform application for executing the above-mentioned function of generating page audio and video data of each page. The cloud device that generates page audio and video data of the cloud gaming related information display page and the cloud device that generates page audio and video data of the game running page may be the same cloud device or different cloud devices.
[0050] In addition, the cloud server 102 may also include a cloud gaming platform background 104, which is used to control the generation and calling of the cloud device 103. For example, after receiving the first page data acquisition request, any cloud device 103 is called to execute the above-mentioned method steps for generating page audio and video data.
[0051] The client 101 may be a terminal device. For example, the terminal device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), an intelligent voice interaction device, a vehicle terminal, an aircraft, etc. The terminal device may also be a terminal in virtual reality (VR), a terminal in augmented reality (AR), etc., which is not limited in this application.
[0052] The cloud server 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The client 101 and the cloud server 102 may be connected by wireless communication or wired communication.
[0053] The page request method proposed in the present application can enable the client 101 to only have the ability to receive the page audio and video data and display the page based on the page audio and video data when displaying the page, without having the ability to generate the page audio and video data or render the page. In other words, the client 101 does not need to render the page by itself, but only needs to have the function of decoding the page audio and video data, which reduces the performance requirements on the client and effectively improves the processing efficiency of the client.
[0054] The following will be combined Figures 2 to 11 The page request method, page request device, computer equipment, computer-readable storage medium and computer program product provided in the embodiments of the present application are described in detail respectively.
[0055] See also Figure 2 , Figure 2 : is a flow chart of a page request method provided in an embodiment of the present application, the method comprising steps S201 to S205. Among them:
[0056] S201. The client sends a first page data acquisition request to the cloud server.
[0057] In an embodiment of the present application, the first page data acquisition request is used to request the page audio and video data of the cloud game related information display page of the cloud game platform application. Among them, the cloud game platform application refers to the software application that carries the cloud game, and the software application can call the Linux process, Android process, Windows process, etc. to run. The cloud game platform application provides various application functions related to cloud games, and each application function has a corresponding display page in the cloud game platform application. The cloud game related information display page corresponding to the first page data acquisition request refers to the display page corresponding to the application function displayed by the cloud game platform application before displaying the page for running the game.
[0058] For example, the cloud game related information display page may be, but is not limited to, any one of a cloud game list page, a cloud game launch page, a cloud game introduction page, and a cloud game review page. Alternatively, the cloud game related information display page may include information included in at least one of these pages.
[0059] In one implementation, the first page data acquisition request may be generated by a display trigger operation received by the client for a cloud game related information display page. For example, the display trigger operation may be a startup operation for a cloud game platform application in the client, in which case the cloud game related information display page is the application homepage in the cloud game platform application, such as a cloud game list page; or, the trigger operation may be a click operation for a target shared game in a social application, in which case the cloud game related information display page may be a cloud game introduction page for the target shared game; or, the trigger operation may be a selection operation for a target game in a game list page, in which case the cloud game related information display page may be a cloud game startup page for the target game, and so on.
[0060] Optionally, the first page data acquisition request may be triggered and generated after the object successfully logs into the cloud game platform application in the client. In this case, the cloud game related information display page requested by the first page data acquisition request refers to the homepage of the cloud game platform application. When the object logs into the cloud game platform application, the following situations are included:
[0061] 1. The client obtains the login status of the object and sends the obtained login status to the cloud server. The cloud server determines whether the login status is within the validity period. If the cloud server determines that the login status is within the validity period, it is determined that the object has successfully logged in. At this time, the cloud server can receive and respond to the first page data acquisition request sent by the client.
[0062] 2. If the client fails to obtain the login status of the object, or the cloud server determines that the login status is not within the validity period, the client displays the object registration and login interface, and performs login authentication on the object based on the registration and login interface. When the object login authentication is successful, the cloud server assigns a login status to the object, and the client can send a first page data acquisition request to the cloud server based on the assigned login status. For example, the login authentication method can adopt third-party login, account password login, etc. For example, the third-party login method includes login verification methods such as mobile phone number and email. After the object identity login is successful, the client can confirm the identity of the user corresponding to the object, and synchronize the identity information of the user corresponding to the object to the cloud server, thereby improving the security of the use of cloud gaming platform applications.
[0063] S202. The cloud server responds to the first page data acquisition request and acquires the page layout data of the cloud game related information display page requested by the first page data acquisition request.
[0064] In the embodiment of the present application, the page layout data of the cloud game related information display page refers to the layout data of the cloud game related information display page in the cloud game platform application in the initial state, including the position, shape, color, page jump logic, etc. of each element in the page. The layout data in the initial state is the layout data corresponding to the cloud game related information display page when the cloud game platform application is developed, or when the cloud game related information display page is released online, which has not been customized by the logged-in object.
[0065] Optionally, the page layout data of the cloud game related information display page matches the application type of the cloud game platform application, where the application type refers to the application type supported by the client. For cloud game platform applications of different application types, the page layout data of the same cloud game related information display page is not exactly the same. For example, the application type of the cloud game platform application includes but is not limited to application (application, APP) type, personal computer (personal computer, PC) type, television (television, TV) type, etc.
[0066] S203. The cloud server obtains page adjustment reference information associated with the cloud game related information display page, and generates page audio and video data of the cloud game related information display page based on the page adjustment reference information and page layout data.
[0067] In an embodiment of the present application, the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information, the first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the recorded page adjustment information associated with the client's login object and the cloud game related information display page.
[0068] Specifically, based on one or more of the first page adjustment information and the second page adjustment information, the situations of determining the page adjustment reference information include the following two situations:
[0069] Case 1: determining page adjustment reference information based on the first page adjustment information and the second page adjustment information.
[0070] The adjustment data of the page adjustment performed by the client on the cloud game related information display page in the historical time is stored in the cloud server in the form of second page adjustment information. The adjustment data corresponding to the customized page adjustment performed by the client on the cloud game related information display page again is included in the first page data acquisition request in the form of first page adjustment information.
[0071] In this case, the page adjustment reference information for adjusting the page layout data can be determined by the first page adjustment information and the second adjustment information. For example, if the first page adjustment information includes adjustment information for the display position of the A control in the cloud game related information display page, and the second page adjustment information includes adjustment information for the display position of the B control in the cloud game related information display page, then the page adjustment reference information includes adjustment information for the display positions of the A and B controls in the cloud game related information display page.
[0072] Case 2: the page adjustment reference information is determined based only on the second page adjustment information.
[0073] In situation 2, when the client initiates a first page data acquisition request, it does not carry the first page adjustment information of the cloud game related information display page in the first page data acquisition request. In this case, the page adjustment reference information only includes the second page adjustment information for adjusting the cloud game related information display page within the historical time.
[0074] Furthermore, the cloud server can adjust the page layout data according to the determined page reference information to generate page audio and video data of the cloud game related information display page.
[0075] Optionally, the page adjustment reference information includes custom layout information and client display related information, and the process of generating page audio and video data is: adjusting the page layout data according to the custom layout information and client display related information to obtain adjusted page layout data; generating page audio and video data of the cloud game related information display page according to the adjusted page layout data.
[0076] In this optional method, custom layout information refers to the position, shape, jump logic, etc. of each element in the page, and client display related information refers to display parameters associated with the client hardware device, including but not limited to client screen resolution, client display screen size, etc.
[0077] Specifically, the cloud server first adjusts the layout data in the initial situation in the page layout data according to the custom layout information and the client display related information to obtain the adjusted page layout data. For example, the position of each page element in the initial layout data under the current client display screen size is determined. Then the cloud server renders the image of the cloud game related information display page based on the adjusted page layout data, and finally generates the page audio and video data of the cloud game related information display page based on the rendered image.
[0078] Optionally, if the cloud game related information display page is a static page, then when the cloud server performs image rendering based on the adjusted page layout data, it can only render one frame of image when the cloud game related information display page is displayed, and use this frame of image as the page audio and video data; if the cloud game related information display page is a dynamic page, then when the cloud server performs image rendering based on the adjusted page layout data, it can render continuous images corresponding to dynamic page changes frame by frame; and splice multiple frames of continuous images to obtain page audio and video data.
[0079] The above two situations illustrate that the cloud server can generate page audio and video data based on the page layout data and the page adjustment reference information. This allows the page audio and video data to be adjusted page audio and video data that conforms to the personalized settings of the client and / or the user corresponding to the client's login object for the cloud game related information display page.
[0080] It should be noted that the first page adjustment information contained in the first page data acquisition request can also be stored in the cloud server, so that when the client needs to display the cloud game related information display page again, the cloud server can adjust the page layout data based on all stored page adjustment information, and obtain the page audio and video data based on the adjusted page layout data.
[0081] It should be noted that the client may not adjust the page displaying the cloud gaming related information. In this case, the page adjustment reference information may be empty, and the page layout data does not need to be adjusted. The cloud server may directly render the image based on the page layout data to obtain the page audio and video data.
[0082] S204: The cloud server sends the audio and video data of the page displaying the cloud game related information to the client.
[0083] In an embodiment of the present application, when the cloud server sends the obtained page audio and video data to the client, the page audio and video data can be encoded, and the encoding can compress the page audio and video data, thereby reducing the amount of data when transmitting the page audio and video data.
[0084] Accordingly, when receiving the page audio and video data, the client needs to have the ability to decode the page audio and video data, and the decoding method corresponds to the encoding method.
[0085] S205. The client displays a cloud game related information display page according to the audio and video data of the cloud game related information display page.
[0086] Furthermore, the client can play the page audio and video data of the decoded cloud game related information display page through the client's display screen and speakers. Compared with the method of directly rendering and displaying the page by the client, this application migrates the process of client rendering the page to the cloud server, and the cloud server renders the page and generates the page audio and video data corresponding to the page. The client displays the page by decoding the page audio and video data. In addition, when the client displays the page audio and video data, the page display effect felt by the logged-in object is consistent with the original page display effect, except that the content is displayed in the form of audio and video.
[0087] See also Figure 3 , Figure 4 , Figure 3 , Figure 4 Schematic diagram of two cloud game related information display pages provided in the embodiment of the present application. Figure 3 The displayed pages include cloud gaming activities in the cloud gaming platform application, cloud gaming lists, and startup controls corresponding to the logged-in object's most recently played games 1, 2, 3, and 4. The startup controls of these most recently played games are obtained by adjusting the page layout data of the page through the second page adjustment information, that is, they are obtained through the historical behavior of the logged-in object. Figure 4 The displayed page includes the start control of the XX competitive game, evaluation information, score information, introduction information, etc., wherein the start control of the XX competitive game can receive the trigger instruction of the login object, so that the cloud game platform application in the client can Figure 4 The displayed page switches to the running page of XX competitive game.
[0088] based on Figure 2 The described embodiment allows the client to only have the ability to receive page audio and video data and display the page based on the page audio and video data when displaying the page, without having the ability to generate page audio and video data or render the page, thereby reducing the performance requirements on the client and effectively improving the processing efficiency of the client. At the same time, the cloud server can generate page audio and video data based on page layout data and page adjustment reference information. This allows the page audio and video data to be adjusted page audio and video data that conforms to the personalized settings of the client and / or the user corresponding to the client's login object for the cloud game related information display page.
[0089] In one implementation, the client can also communicate and interact with the cloud server to display the page of the cloud gaming platform application when the game is running. Figure 5 , Figure 5 This is a flowchart of another page request method provided by this application, including:
[0090] S501. The client generates a second page data acquisition request in response to a trigger operation of a start control of a target cloud game in a cloud game related information display page by a login object.
[0091] In this implementation, the cloud game related information display page may be a cloud game startup page or any page containing a startup control of the target cloud game. For example, the cloud game related information display page may be the above-mentioned Figure 4 The corresponding page.
[0092] When the client receives a trigger operation from the login object on the start control of the target cloud game in the cloud game related information display page, a second page data acquisition request can be generated, and the second page data acquisition request is used to request page audio and video data of the game running page of the target cloud game.
[0093] S502: The client sends a request to the cloud server for obtaining second page data.
[0094] S503: The cloud server obtains page layout data of the game running page of the target cloud game in response to the second page data acquisition request.
[0095] S504. The cloud server obtains page adjustment reference information associated with the game running page of the target cloud game, and generates page audio and video data of the game running page of the target cloud game according to the page adjustment reference information and page layout data.
[0096] S505. The cloud server sends the page audio and video data of the game running page of the target cloud game to the client.
[0097] S506. The client displays the game running page of the target cloud game according to the page audio and video data of the game running page of the target cloud game.
[0098] Among them, S502~S506 are implemented in roughly the same way as the above-mentioned S201~S205. In the specific implementation, the cloud server can first obtain the page layout data of the game running page of the target cloud game and the page adjustment reference information corresponding to the page, and then obtain the page audio and video data of the game running page based on the page layout data of the game running page and the page adjustment reference information corresponding to the page. The page adjustment reference information here can also include custom layout information and client display related information. For example, the page adjustment reference information can include the custom position of each operation button in the operation page of the target cloud game for the logged-in player, etc.
[0099] Regarding the above Figure 2 In the corresponding embodiment, the cloud server can call the cloud device generated by virtualization technology to execute the steps mentioned in the above method embodiment. Figure 6 , Figure 6 This is a flow chart of another page request method provided by an embodiment of the present application, including steps S601 to S609. Among them:
[0100] S601: The client performs object login authentication.
[0101] Among them, the client can use various login methods such as third-party login, account and password login, etc. when logging in and authenticating the object.
[0102] Optionally, when the object login authentication is successful, the cloud server will assign the client a login state corresponding to the login object, as well as a set of corresponding object identifiers and keys related to the login object.
[0103] S602: The client sends a first page data acquisition request to the cloud gaming platform backend in the cloud server.
[0104] S603: The cloud gaming platform backend determines a first cloud device from a plurality of matching devices that match the cloud gaming platform application.
[0105] In one implementation, the first cloud device is determined from multiple matching cloud devices that match the cloud gaming platform application in response to a page data acquisition request received from a client for the first time after the cloud server establishes a connection with the cloud gaming platform application at the current stage.
[0106] The current stage refers to the stage in which the cloud gaming platform application in the client successfully establishes a communication connection with any matching cloud device in the cloud server and the communication connection is not disconnected. In this stage, the cloud server can determine a matching cloud device from multiple matching cloud devices as the first cloud device in response to the page data acquisition request received from the client for the first time. In other words, when the cloud gaming platform application in the client is disconnected from the cloud device in the cloud server, when the cloud server receives the page data acquisition request sent by the client again, the cloud server will re-determine a first cloud device for the client.
[0107] For example, Figure 6 As shown, after the object successfully logs in and authenticates in the client, the first page data acquisition request sent for the first time can be understood as the first page data acquisition request. At this time, the first cloud device is any matching cloud device determined by the cloud server from multiple matching cloud devices at the current moment.
[0108] In the embodiment of the present application, the cloud gaming platform application running on the client can be referred to as the cloud gaming platform terminal application, and the cloud gaming platform application running on the cloud device can be referred to as the cloud gaming platform cloud application. When the cloud gaming platform terminal application is running on the client, it can realize the functions of generating a page data acquisition request, receiving page audio and video data and displaying the page in the present application, and when the cloud gaming platform application is running on the cloud device, it can realize the function of generating page audio and video data in the present application.
[0109] In one implementation, when allocating the first cloud device to the client, the cloud gaming platform backend in the cloud server can select a matching cloud device from the cloud devices configured with the cloud gaming platform cloud application that matches the cloud gaming platform terminal application as the first cloud device. When this method is implemented, the first page data acquisition request can include the application type of the cloud gaming platform terminal application. The cloud server determines the cloud gaming platform cloud application corresponding to the application type based on the application type included in the first page data acquisition request; further, the cloud server can determine the cloud device configured with the cloud gaming platform cloud application corresponding to the application type. For example, if the PC version of the cloud gaming platform terminal application is currently running in the client, the first cloud device is also configured with the PC version of the cloud gaming platform cloud application.
[0110] Optionally, there may be multiple cloud devices configured with cloud gaming platform cloud applications that match the cloud gaming platform terminal applications, and the first cloud device may be determined based on the load of each matching cloud device, the distance between the cloud device and the client, the communication speed, etc. For example, the first cloud device may be a virtual device in an edge cloud server that is physically closest to the client.
[0111] It should be noted that the first cloud device determined by the cloud gaming platform backend may be located in the same cloud server as the cloud gaming platform backend or in a different cloud server, and this application does not impose any restrictions on this.
[0112] Moreover, in the specific implementation, the first page data acquisition request may include the identity information of the user corresponding to the login object when the login object is logged in for authentication, and the object identifier of the login object, wherein the identity information may be encrypted using the key assigned by the cloud server to the login object of the client. When the cloud gaming platform background obtains the first page data acquisition request, the authenticity of the first page data acquisition request and the legitimacy of the identity information of the user corresponding to the login object may be verified based on the identity information of the user corresponding to the login object, and the cloud device may be allocated to the client only after the verification is successful. For example, the cloud server first finds the corresponding key based on the object identifier of the login object in the first page data acquisition request, and decrypts the encrypted identity information based on the key. At the same time, the cloud server obtains the identity information stored when the login object in the client performs login authentication, and compares the stored identity information with the decrypted identity information. If the two are the same, it means that the first page data acquisition request is authentic and the identity information is legal. In this case, the cloud gaming platform background can allocate a cloud device to the client.
[0113] S604: The cloud gaming platform backend forwards the first page data acquisition request to the first cloud device.
[0114] S605. The first cloud device generates page audio and video data in response to the first page data acquisition request.
[0115] Accordingly, the first cloud device can process the first page data acquisition request obtained by the cloud game platform background, and the processing process includes: the first cloud device obtains the page layout data of the cloud game related information display page requested by the first page data acquisition request, and obtains the page adjustment reference information associated with the cloud game related information display page, and generates the page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data. The specific implementation method of this processing process can be found in the above Figure 2 The corresponding embodiments are not described in detail here.
[0116] Optionally, in a specific implementation, the first cloud device may first perform an identity verification on the login object corresponding to the first page data acquisition request. When the identity verification of the login object passes, the first cloud device may determine that the first page data acquisition request is authentic and correct. At this time, the first cloud device may generate page audio and video data of the cloud game related information display page in response to the first page data acquisition request.
[0117] S606. The first cloud device notifies the cloud gaming platform backend to return relevant information of the first cloud device to the client.
[0118] For example, the relevant information of the first cloud device may include but is not limited to the device identifier and session identifier of the first cloud device. Optionally, if the first cloud device and the cloud gaming platform backend are located in different cloud servers, the cloud gaming platform backend may also return the communication address of the cloud server where the first cloud device is located.
[0119] S607: The client connects to the first cloud device.
[0120] In the embodiment of the present application, the client can first establish a communication connection with the cloud server where the first cloud device is located based on the communication address of the cloud server where the first cloud device is located, and then establish a connection with the first cloud device based on the device identifier of the first cloud device. Among them, establishing a connection with the first cloud device based on the device identifier of the first cloud device can be understood as: when the client needs to communicate and interact with the first cloud device, it can send a request carrying the device identifier of the first cloud device, such as the first page data acquisition request in the present application. After receiving the request, the cloud server where the first cloud device is located calls the first cloud device corresponding to the device identifier to respond to the request.
[0121] S608: The first cloud device sends the page audio and video data to the client.
[0122] Furthermore, after the first cloud device establishes a communication connection with the client, the page audio and video data of the generated cloud game related information display page can be sent to the client.
[0123] S609. The client displays the cloud game related information display page requested by the first page data acquisition request according to the page audio and video data.
[0124] It should be noted that, while the client successfully establishes a connection with the first cloud device and has not disconnected, the first cloud device can also continuously receive page data acquisition requests for different cloud game related information display pages from the client, and return the page audio and video data corresponding to these pages so that the client can display these pages.
[0125] In one implementation, when the first cloud device executes S605, it can Figure 7 The process described above first verifies the first page data acquisition request and then generates the page audio and video data. Figure 7 , Figure 7: is a processing flow diagram of a first cloud device provided in an embodiment of the present application. The first cloud device includes a cloud management program and a cloud gaming platform application, and the cloud gaming platform application is a running program of the cloud gaming platform cloud application. The cloud management program is used to manage the life cycle of the program in the first cloud device, including starting, shutting down, and transmitting the program. For example, when the first cloud device receives a first page data acquisition request, the cloud management program can control the start of the cloud gaming platform application, and after the cloud gaming platform application is started, the first cloud device completes the following operations:
[0126] S701. The cloud management program sends a first page data acquisition request to the cloud gaming platform application.
[0127] S702: The cloud gaming platform application parses the data included in the first page data acquisition request.
[0128] In an embodiment of the present application, the data contained in the first page data acquisition request may include encrypted identity information of the login object, the object identifier of the login object, and the page identifier of the cloud game related information display page requested by the first page data acquisition request.
[0129] S703: The cloud gaming platform application obtains the identity information of the login object from the cloud gaming platform backend.
[0130] Specifically, the cloud gaming platform application may send the object identifier of the login object to the cloud gaming platform backend, and the cloud gaming platform backend obtains the corresponding key and unencrypted identity information based on the object identifier.
[0131] S704. The cloud gaming platform application performs identity verification on the login object corresponding to the first page data acquisition request.
[0132] In an embodiment of the present application, the cloud gaming platform application can perform identity verification on the login object corresponding to the first page data acquisition request based on the key, the encrypted identity information, and the unencrypted identity information. For example, the cloud gaming platform application can decrypt the encrypted identity information based on the key, and compare the decrypted identity information with the unencrypted identity information, and perform identity verification based on the comparison result.
[0133] S705. After the identity verification is passed, the cloud gaming platform application generates the page audio and video data requested by the first page data acquisition request.
[0134] For example, if the decrypted identity information is the same as the unencrypted identity information, it means that the identity verification of the login object corresponding to the first page data acquisition request has passed, and the cloud gaming platform application can Figure 2The corresponding embodiment generates page audio and video data of the cloud game related information display page corresponding to the page identifier.
[0135] S706 , the cloud platform application notifies the cloud management program that the page audio and video data has been generated.
[0136] Correspondingly, after the page audio and video data of the cloud game related information display page is generated, the cloud platform application notifies the cloud management program that the page audio and video data has been generated. At this time, the cloud management program can execute the above S606 step to notify the cloud game platform background to return the relevant information of the first cloud device to the client.
[0137] In one implementation, if the cloud gaming platform cloud application is updated, such as the cloud platform application in the first cloud device is updated, the first cloud device may also perform the following process: obtaining an update code package for the cloud gaming platform cloud application; and using the update code package to update the cloud gaming platform cloud application in the first cloud device.
[0138] In this optional method, updating the cloud gaming platform cloud application includes updating the page layout data of each page corresponding to the cloud gaming platform cloud application, and the page layout data obtained by calling the first cloud device can be the page layout data after the cloud gaming related information display page requested by the first page data acquisition request is updated. For example, updating the page layout data includes but is not limited to page layout, page jump logic, etc., and the update method includes but is not limited to docker image, virtual machine image, etc.
[0139] This method of updating on the cloud server can solve the compatibility issues caused by the long client update review cycle and the different application types of cloud gaming platform applications on different clients, so that the user corresponding to the logged-in object can see the updated page without being aware of the update process.
[0140] In another implementation, the H5 solution can be used to display the page on the client. When the H5 method is used, the update of the page is only completed on the server corresponding to the H5 page, which can also avoid a series of problems with client updates. However, this method is more dependent on the performance of the client. When modifying the page, the workload of modifying the webView is large, which is easy to cause compatibility issues.
[0141] Furthermore, in one implementation, the cloud server may also call Figure 6 , 7 The first cloud device in the Figure 5 Alternatively, the cloud server may switch to call another cloud device different from the first cloud device to execute Figure 5The method steps mentioned in the examples. Figure 8 , Figure 8 This is a schematic diagram of a process of switching a cloud device provided by an embodiment of the present application, including steps S801 to S809. Among them:
[0142] S801. The first cloud device receives a second page data acquisition request sent by a client.
[0143] In an embodiment of the present application, the execution of S801 by the first cloud device may be triggered by the first cloud device receiving a second page data acquisition request from the client, the second page data acquisition request is used to request page audio and video data of the game running page of the target cloud game, and the second page data acquisition request is generated in response to the trigger operation of the start control corresponding to the target cloud game.
[0144] S802. The first cloud device sends a cloud device allocation request to the cloud gaming platform backend.
[0145] S803: The cloud game platform backend determines a second cloud device that matches the target cloud game from multiple matching cloud devices.
[0146] Specifically, the multiple matching cloud devices refer to the multiple cloud devices that match the cloud gaming platform application in the client in S603 above, and the application type of the cloud gaming platform cloud application configured in the matching cloud device is consistent with the application type of the cloud gaming platform terminal application in the client. Among them, the second cloud device can be located in the same cloud server as the cloud gaming platform backend, or in a different cloud server.
[0147] Optionally, the cloud gaming platform backend can determine the second cloud device based on the load conditions of each matching cloud device, the distance to the client, the communication speed, and the complexity of the game running page of the target cloud game.
[0148] S804, the cloud gaming platform backend sends relevant information of the second cloud device to the first cloud device;
[0149] S805, the first cloud device sends relevant information of the second cloud device to the client;
[0150] For example, the relevant information of the second cloud device includes but is not limited to the device identification and session identification of the second cloud device. The device identification of the second cloud device is used by the cloud server where the second cloud device is located to determine the cloud device that responds to the client's request to obtain the second page data after the client establishes a connection with the cloud server where the second cloud device is located.
[0151] Optionally, if the second cloud device and the cloud gaming platform backend are located in different cloud servers, the cloud gaming platform backend may also return the communication address of the cloud server where the second cloud device is located.
[0152] S806: The client is disconnected from the first cloud device.
[0153] Specifically, when the client is disconnected from the first cloud device, it can initiate a disconnection notification message to the first cloud device. After the first cloud device receives the notification message, it can call the cloud management program to end the operation of the cloud gaming platform application in the first cloud device.
[0154] S807: The client establishes a connection with the second cloud device.
[0155] S808. The client obtains the page audio and video data requested by the second page data acquisition request from the second cloud device.
[0156] S809: The client displays the game running page requested by the second page data acquisition request.
[0157] In the embodiment of the present application, the specific implementation process of the remaining steps can be referred to above. Figure 5 The corresponding descriptions in the corresponding method embodiments are not repeated here.
[0158] It should be noted that, during the process of the client successfully establishing a connection with the second cloud device and not disconnecting, the second cloud device can also continuously receive page data acquisition requests for different game running pages from the client, and return the page audio and video data of these pages so that the client can display these pages. Subsequent page data acquisition requests for game running pages can also be generated by the client receiving a trigger of an in-game operation button by a login object.
[0159] At the same time, if the client receives an operation instruction from the logged-in object to exit the target cloud game, the client disconnects from the second cloud device, reconnects with the previous first cloud device or re-determines a new first cloud device, so that the client can switch from the game running screen to the cloud game related information display page.
[0160] based on Figure 8 In the described embodiment, the cloud server can call different cloud devices to process the first page data acquisition request and the second page data acquisition request respectively. This method can achieve the isolation of the generation business of audio and video data of different types of pages.
[0161] Based on the description of the above embodiments, the present application proposes a schematic diagram of the division of functional modules in a client and a cloud server. Fig. 9As shown, the functional modules included in the client include object login authentication, page audio and video data decoding, speed measurement, transmission, object operation instruction collection, and cloud device management. Among them:
[0162] Object login authentication module: used to authenticate the login object when the object logs into the cloud gaming platform application in the client, which can obtain the identity information of the user corresponding to the login object and prevent user attacks;
[0163] Page audio and video data decoding module: used by the client to decode the received page audio and video data and play it through the display screen and / or player;
[0164] Speed measurement module: used to send the network speed between the client and the edge cloud server to the cloud gaming platform backend of the cloud server, so that the cloud gaming platform backend can allocate a suitable cloud device to the client based on information such as network speed;
[0165] Transmission module: used to receive page audio and video data, send page data acquisition requests, etc., and can realize communication interaction between the client and the cloud server.
[0166] Object operation instruction collection: used to obtain the operation instructions of the logged-in object for the cloud gaming platform application in the client, and generate a first page data acquisition request or a second page data acquisition request based on these instructions; the operation instructions include but are not limited to corresponding instructions such as touch input, handle input, keyboard input, and language input.
[0167] Cloud device management module: used to manage connected or disconnected cloud devices. For example, when the client returns from the game running page to the cloud game related information display page, the client needs to disconnect from the second cloud device and establish a connection with the first cloud device, where the device identification and other information of the first cloud device are stored by the cloud device management module, and this process is implemented by the cloud device management module.
[0168] The functional modules included in the cloud server are the page audio and video data generation module of the cloud game running page and the page audio and video data generation module of the cloud game related information display page. Among them:
[0169] The page audio and video data generation module of the cloud game running page: is used to respond to the second page data acquisition request initiated by the client, and generate page audio and video data of the game running pages of various cloud games in the cloud game platform application.
[0170] The page audio and video data generation module of the cloud game related information display page: is used to respond to the first page data acquisition request initiated by the client, and generate page audio and video data of the cloud game list page, cloud game startup page, cloud game introduction page, cloud game comment page, etc. in the cloud game platform application.
[0171] based on Fig. 9 The functional module division described above can migrate all the functions related to page display in the cloud gaming platform application to the cloud for execution. The client only retains the functions related to interaction with the login object, which can reduce the performance requirements of the client device and effectively improve the processing efficiency of the client device.
[0172] It should be noted that in the above method embodiments, the identity identification, key, and identity information of the corresponding user of the login object are involved. When the embodiments of this application are applied to specific products or technologies, the relevant data involved in the use need to obtain user permission or authorization, and the collection, use, and processing of the relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0173] See also Fig.10 , Fig.10 : is a structural diagram of a page request device provided in an embodiment of the present application. The page request device described in the embodiment of the present application is used to respond to a first page data acquisition request sent by a client, generate page audio and video data of a cloud game related information display page, and send the page audio and video data of the cloud game related information display page to the client. The device may correspond to the cloud server described above, including:
[0174] The receiving unit 1001 is used to receive a first page data acquisition request sent by a client; the first page data acquisition request is used to request page audio and video data of a cloud game related information display page applied by a cloud game platform;
[0175] The processing unit 1002 is configured to obtain, in response to the first page data acquisition request, page layout data of a cloud game related information display page requested by the first page data acquisition request;
[0176] The processing unit 1002 is further configured to obtain page adjustment reference information associated with the cloud game related information display page, and generate page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; wherein the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information, the first page adjustment information being the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information being the recorded page adjustment information associated with the login object of the client and the cloud game related information display page;
[0177] The sending unit 1003 is used to send the page audio and video data of the cloud game related information display page to the client, so that the client displays the cloud game related information display page according to the page audio and video data of the cloud game related information display page.
[0178] In one implementation, the processing unit 1002, when acquiring the page layout data of the cloud game related information display page requested by the first page data acquisition request, acquiring the page adjustment reference information associated with the cloud game related information display page, and generating the page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data, is specifically used to:
[0179] Calling a first cloud device that matches the cloud game platform application, obtaining page layout data of the cloud game related information display page requested by the first page data acquisition request, and obtaining page adjustment reference information associated with the cloud game related information display page, and generating page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data;
[0180] Among them, the first cloud device is determined from multiple matching cloud devices matching the cloud gaming platform application in response to the first received page data acquisition request from the client after the cloud server establishes a connection with the cloud gaming platform application at the current stage.
[0181] In one implementation, the cloud game related information display page is a cloud game startup page, the cloud game startup page includes a startup control of a target cloud game, and the receiving unit 1001 is further used to: receive a second page data acquisition request sent by the client, the second page data acquisition request is generated in response to a trigger operation of the startup control, and the second page data acquisition request is used to request page audio and video data of a game running page of the target cloud game;
[0182] The processing unit 1002 is further configured to: determine, in response to the second page data acquisition request, a second cloud device matching the target cloud game from the multiple matching cloud devices; and call the second cloud device to acquire page audio and video data of a game running page of the target cloud game requested by the second page data acquisition request;
[0183] The sending unit 1003 is further used to send the page audio and video data of the game running page to the client, so that the client displays the game running page according to the page audio and video data of the game running page.
[0184] In one implementation, the cloud gaming platform application is a cloud gaming platform terminal application, and the matching cloud device refers to a cloud device configured with a cloud gaming platform cloud application that matches the cloud gaming platform terminal application; the processing unit 1002 is further configured to:
[0185] Obtaining an update code package for the cloud application of the cloud gaming platform;
[0186] The cloud gaming platform cloud application in the first cloud device is updated using the update code package; wherein updating the cloud gaming platform cloud application includes updating page layout data of each page corresponding to the cloud gaming platform cloud application;
[0187] Among them, the page layout data obtained by calling the first cloud device is the page layout data after updating the cloud game related information display page requested by the first page data acquisition request.
[0188] In one implementation, the page adjustment reference information includes custom layout information and client display related information. When the processing unit 1002 generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data, it is specifically used to:
[0189] The page layout data is adjusted according to the custom layout information and the client display related information to obtain the adjusted page layout data; and the page audio and video data of the cloud game related information display page is generated according to the adjusted page layout data.
[0190] In one implementation, the cloud game related information display page includes any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page.
[0191] In a feasible implementation, the page request device provided in the embodiment of the present application can be used to send a first page data acquisition request to the cloud server, receive page audio and video data generated by the cloud server in response to the first page data acquisition request, and display a cloud game related information display page based on the page audio and video data. The device may correspond to the client described above, including:
[0192] The sending unit 1003 is used to send a first page data acquisition request to the cloud server, so that the cloud server responds to the first page data acquisition request, acquires the page layout data of the cloud game related information display page requested by the first page data acquisition request, acquires the page adjustment reference information associated with the cloud game related information display page, and generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data;
[0193] The receiving unit 1001 is used to receive the page audio and video data returned by the cloud server;
[0194] The processing unit 1002 is used to display the cloud game related information display page according to the audio and video data of the page.
[0195] Among them, the cloud game related information display page is a page of the cloud game platform application, and the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information. The first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the page adjustment information recorded by the cloud server and associated with the login object of the client and the cloud game related information display page.
[0196] In one implementation, the cloud game related information display page includes any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page.
[0197] It can be understood that the functions of each functional unit of the page request device described in the embodiment of the present application can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description in the above method embodiment, which will not be repeated here.
[0198] based on Fig.10In the described embodiment, the page request device can enable the client to display the page only by having the ability to receive the page audio and video data and display the page based on the page audio and video data, without having the ability to generate the page audio and video data or render the page, thereby reducing the performance requirements for the client and effectively improving the processing efficiency of the client. At the same time, the cloud server can generate the page audio and video data based on the page layout data and the page adjustment reference information. This allows the page audio and video data to be adjusted page audio and video data that conforms to the personalized settings of the client and / or the user corresponding to the login object of the client for the cloud game related information display page.
[0199] In a feasible embodiment, the page request device provided in the embodiment of the present application can be implemented in software. The page request device can be stored in a memory. It can be software in the form of a program and a plug-in, and includes a series of units, including a processing unit, a receiving unit, and a sending unit; wherein the processing unit, the receiving unit, and the sending unit are used to implement the page request method provided in the embodiment of the present application.
[0200] In other feasible embodiments, the page request device provided in the embodiment of the present application can also be implemented in a combination of software and hardware. As an example, the page request device provided in the embodiment of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the page request method provided in the embodiment of the present application. For example, the processor in the form of a hardware decoding processor can adopt 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 components.
[0201] See also Fig.11 , Fig.11 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device described in the embodiment of the present application includes: a processor 1101, a communication interface 1102, and a memory 1103. The processor 1101, the communication interface 1102, and the memory 1103 may be connected via a bus or other means, and the embodiment of the present application takes the connection via a bus as an example.
[0202] Among them, the processor 1101 (or central processing unit (CPU)) is the computing core and control core of the computer device, which can parse various instructions in the computer device and process various data of the computer device. For example, the CPU can be used to parse the power on and off instructions sent by the user to the computer device, and control the computer device to perform power on and off operations; for another example, the CPU can transmit various interactive data between the internal structures of the computer device, and so on. The communication interface 1102 can optionally include a standard wired interface, a wireless interface (such as Wi-Fi, a mobile communication interface, etc.), which is controlled by the processor 1101 to send and receive data; the communication interface 1102 can also optionally realize data or signal communication between the internal devices of the computer device. The memory 1103 (Memory) is a memory device in the computer device, which is used to store programs and data. It can be understood that the memory 1103 here can include both the built-in memory of the computer device and the extended memory supported by the computer device. The memory 1103 provides a storage space, which stores the operating system of the computer device, which may include but is not limited to: Android system, iOS system, Windows Phone system, etc., and this application does not limit this.
[0203] In the embodiment of the present application, the computer device is used to respond to the first page data acquisition request sent by the client, generate page audio and video data of the cloud game related information display page, and send the page audio and video data to the client. In a feasible implementation, the computer device may correspond to the cloud server described above. At this time, the processor 1101 performs the following operations by running the executable program code in the memory 1103:
[0204] Receiving a first page data acquisition request sent by the client through the communication interface 1102; the first page data acquisition request is used to request page audio and video data of a cloud game related information display page applied by the cloud game platform;
[0205] In response to the first page data acquisition request, acquiring page layout data of a cloud game related information display page requested by the first page data acquisition request;
[0206] Obtaining page adjustment reference information associated with the cloud game related information display page, and generating page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; wherein the page adjustment reference information is determined based on one or more of first page adjustment information and second page adjustment information, the first page adjustment information being the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information being the recorded page adjustment information associated with the login object of the client and the cloud game related information display page;
[0207] The page audio and video data of the cloud game related information display page is sent to the client through the communication interface 1102, so that the client displays the cloud game related information display page according to the page audio and video data of the cloud game related information display page.
[0208] In one implementation, when the processor 1101 obtains the page layout data of the cloud game related information display page requested by the first page data acquisition request, obtains the page adjustment reference information associated with the cloud game related information display page, and generates the page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data, it is specifically used to:
[0209] Calling a first cloud device that matches the cloud game platform application, obtaining page layout data of the cloud game related information display page requested by the first page data acquisition request, and obtaining page adjustment reference information associated with the cloud game related information display page, and generating page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data;
[0210] Among them, the first cloud device is determined from multiple matching cloud devices matching the cloud gaming platform application in response to the first received page data acquisition request from the client after the cloud server establishes a connection with the cloud gaming platform application at the current stage.
[0211] In one implementation, the cloud game related information display page is a cloud game startup page, the cloud game startup page includes a startup control of a target cloud game, and the processor 1101 is further configured to:
[0212] Receiving, through the communication interface 1102, a second page data acquisition request sent by the client, where the second page data acquisition request is generated in response to a trigger operation of the start control, and the second page data acquisition request is used to request page audio and video data of a game running page of the target cloud game;
[0213] In response to the second page data acquisition request, determining a second cloud device that matches the target cloud game from the multiple matching cloud devices;
[0214] Calling the second cloud device to obtain page audio and video data of the game running page of the target cloud game requested by the second page data acquisition request;
[0215] The page audio and video data of the game running page is sent to the client through the communication interface 1102, so that the client displays the game running page according to the page audio and video data of the game running page.
[0216] In one implementation, the cloud gaming platform application is a cloud gaming platform terminal application, and the matching cloud device refers to a cloud device configured with a cloud gaming platform cloud application that matches the cloud gaming platform terminal application; the processor 1101 is further configured to:
[0217] Obtaining an update code package for the cloud application of the cloud gaming platform;
[0218] The cloud gaming platform cloud application in the first cloud device is updated using the update code package; wherein updating the cloud gaming platform cloud application includes updating page layout data of each page corresponding to the cloud gaming platform cloud application;
[0219] Among them, the page layout data obtained by calling the first cloud device is the page layout data after updating the cloud game related information display page requested by the first page data acquisition request.
[0220] In one implementation, the page adjustment reference information includes custom layout information and client display related information. When the processor 1101 generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data, it is specifically used to:
[0221] Adjusting the page layout data according to the custom layout information and client display related information to obtain adjusted page layout data;
[0222] Generate page audio and video data of the cloud game related information display page according to the adjusted page layout data.
[0223] In one implementation, the cloud game related information display page includes any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page.
[0224] In a feasible implementation, the computer device provided in the embodiment of the present application may be used to send a first page data acquisition request to a cloud server, receive page audio and video data generated by the cloud server in response to the first page data acquisition request, and display a cloud game related information display page based on the page audio and video data. The device may correspond to the client described above. At this time, the processor 1101 performs the following operations by running the executable program code in the memory 1103:
[0225] Sending a first page data acquisition request to a cloud server, so that the cloud server responds to the first page data acquisition request, acquires page layout data of a cloud game related information display page requested by the first page data acquisition request, acquires page adjustment reference information associated with the cloud game related information display page, and generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data;
[0226] Receive the page audio and video data returned by the cloud server, and display the cloud game related information display page according to the page audio and video data;
[0227] Among them, the cloud game related information display page is a page of the cloud game platform application, and the page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information. The first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the page adjustment information recorded by the cloud server and associated with the login object of the client and the cloud game related information display page.
[0228] In one implementation, the cloud game related information display page includes any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page.
[0229] In a specific implementation, the processor 1101, communication interface 1102 and memory 1103 described in the embodiments of the present application can execute the implementation method of the client or cloud server described in the page request method provided in the embodiments of the present application, and can also execute the implementation method described in the page request device provided in the embodiments of the present application, which will not be repeated here.
[0230] based on Fig.11In the described embodiment, the computer device can enable the client to display a page only by having the ability to receive page audio and video data and display the page based on the page audio and video data, without having the ability to generate page audio and video data or render the page, thereby reducing the performance requirements for the client and effectively improving the processing efficiency of the client. At the same time, the cloud server can generate page audio and video data based on the page layout data and page adjustment reference information. This allows the page audio and video data to be adjusted page audio and video data that conforms to the personalized settings of the client and / or the user corresponding to the client's login object for the cloud game related information display page.
[0231] The embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is run on a computer, the computer executes the page request method as described in the embodiment of the present application. The specific implementation method can be referred to the above description, and will not be repeated here.
[0232] The embodiment of the present application also provides a computer program product, which includes a computer program or computer instructions, and when the computer program or computer instructions are executed by a processor, the steps of the page request method provided in the embodiment of the present application are implemented. The specific implementation method can be referred to the above description, which will not be repeated here.
[0233] The embodiment of the present application also provides a computer program, the computer program includes computer instructions, and the computer instructions are 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 page request method as described in the embodiment of the present application. The specific implementation method can be referred to the above description, which will not be repeated here.
[0234] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0235] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0236] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A page request method, characterized in that: The method comprises: Receive a first page data acquisition request sent by a client; the first page data acquisition request is used to request page audio and video data of a cloud game related information display page applied by a cloud game platform; In response to the first page data acquisition request, acquiring page layout data of a cloud game related information display page requested by the first page data acquisition request; the page layout data includes display feature information of native page elements in the cloud game related information display page; Obtaining page adjustment reference information associated with the cloud game related information display page, and generating page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; wherein the page adjustment reference information is determined based on one or more of first page adjustment information and second page adjustment information, the first page adjustment information being the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information being the recorded page adjustment information associated with the login object of the client and the cloud game related information display page; the first page adjustment information and the second page adjustment information include adjustment data for indicating adjustment of display feature information of the native page element; The page audio and video data of the cloud game related information display page is sent to the client, so that the client displays the cloud game related information display page according to the page audio and video data of the cloud game related information display page.
2. The method according to claim 1, characterized in that The acquiring the page layout data of the cloud game related information display page requested by the first page data acquisition request, acquiring the page adjustment reference information associated with the cloud game related information display page, and generating the page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data, includes: Calling a first cloud device that matches the cloud game platform application, obtaining page layout data of the cloud game related information display page requested by the first page data acquisition request, and obtaining page adjustment reference information associated with the cloud game related information display page, and generating page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; Among them, the first cloud device is determined from multiple matching cloud devices matching the cloud gaming platform application in response to the first received page data acquisition request from the client after the cloud server establishes a connection with the cloud gaming platform application at the current stage.
3. The method according to claim 2, characterized in that The cloud game related information display page is a cloud game startup page, and the cloud game startup page includes a startup control of the target cloud game. The method further includes: receiving a second page data acquisition request sent by the client, where the second page data acquisition request is generated in response to a trigger operation of the start control, and the second page data acquisition request is used to request page audio and video data of a game running page of the target cloud game; In response to the second page data acquisition request, determining a second cloud device that matches the target cloud game from the multiple matching cloud devices; Calling the second cloud device to obtain page audio and video data of the game running page of the target cloud game requested by the second page data acquisition request; The page audio and video data of the game running page is sent to the client, so that the client displays the game running page according to the page audio and video data of the game running page.
4. The method according to claim 2, characterized in that: The cloud gaming platform application is a cloud gaming platform terminal application, and the matching cloud device refers to a cloud device configured with a cloud gaming platform cloud application that matches the cloud gaming platform terminal application; the method further includes: Obtaining an update code package for the cloud application of the cloud gaming platform; The cloud gaming platform cloud application in the first cloud device is updated using the update code package; wherein updating the cloud gaming platform cloud application includes updating page layout data of each page corresponding to the cloud gaming platform cloud application; Among them, the page layout data obtained by calling the first cloud device is the page layout data after updating the cloud game related information display page requested by the first page data acquisition request.
5. The method according to any one of claims 1 to 4, characterized in that: The page adjustment reference information includes custom layout information and client display related information, and the page audio and video data of the cloud game related information display page is generated according to the page adjustment reference information and the page layout data, including: Adjusting the page layout data according to the custom layout information and client display related information to obtain adjusted page layout data; Generate page audio and video data of the cloud game related information display page according to the adjusted page layout data.
6. The method according to any one of claims 1 to 4, characterized in that: The cloud game related information display page includes any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page.
7. A page request method, characterized in that: The method comprises: Sending a first page data acquisition request to a cloud server, so that the cloud server responds to the first page data acquisition request, acquires page layout data of a cloud game related information display page requested by the first page data acquisition request, acquires page adjustment reference information associated with the cloud game related information display page, and generates page audio and video data of the cloud game related information display page according to the page adjustment reference information and the page layout data; Receive the page audio and video data returned by the cloud server, and display the cloud game related information display page according to the page audio and video data; Among them, the cloud game related information display page is a page of the cloud game platform application, and the page layout data includes display feature information of the native page elements in the cloud game related information display page. The page adjustment reference information is determined based on one or more of the first page adjustment information and the second page adjustment information. The first page adjustment information is the page adjustment information associated with the cloud game related information display page carried in the first page data acquisition request, and the second page adjustment information is the page adjustment information recorded by the cloud server and associated with the client's login object and the cloud game related information display page; the first page adjustment information and the second page adjustment information include adjustment data for indicating adjustment of the display feature information of the native page elements.
8. The method according to claim 7, characterized in that The cloud game related information display page includes any one of a cloud game list page, a cloud game startup page, a cloud game introduction page, and a cloud game comment page.
9. A page request device, characterized in that: The method comprises a unit for implementing the page request method as claimed in any one of claims 1 to 6, or comprises a unit for implementing the page request method as claimed in any one of claims 7 to 8.
10. A computer device, characterized in that: include: A processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are interconnected, wherein the memory stores an executable program code, and the processor is used to call the executable program code to implement the page request method as described in any one of claims 1-6, or to implement the page request method as described in any one of claims 7-8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or a computer instruction. When the computer program or the computer instruction is executed on a computer device, the computer device implements the page request method as described in any one of claims 1 to 6, or implements the page request method as described in any one of claims 7 to 8.
12. A computer program product, characterized in that The computer program product includes a computer program or a computer instruction, and when the computer program or the computer instruction is executed by a processor, the steps of the page request method according to any one of claims 1 to 6 are implemented, or the steps of the page request method according to any one of claims 7 to 8 are implemented.
Citation Information
Patent Citations
Cloud game processing method and device
CN111603764A
Cloud game data processing method and device, equipment and medium
CN113453059A