Cloud application implementation method, device, electronic device and storage medium

By segmenting and sending the target screen of cloud games, the effect of reducing the number of cloud application servers and reducing costs while meeting user needs.

CN113521728BActive Publication Date: 2025-02-07DOUYIN VISION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110838041.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-23
Publication Date
2025-02-07
Estimated Expiration
2041-07-23

AI Technical Summary

Technical Problem

The implementation method of existing cloud games requires configuring a large number of servers to meet the needs of a large number of users, resulting in high implementation costs.

Method used

By obtaining the rendered target screen, the screen is divided according to the rendering position information of each cloud application, the application screen of each cloud application is obtained, and sent to the corresponding client for display.

Benefits of technology

On the premise of meeting user needs, reduce the number of cloud application servers required to be deployed and reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113521728B_ABST
    Figure CN113521728B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a method, device, electronic device and storage medium for implementing a cloud application. The method includes: obtaining a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end; segmenting the target screen according to the rendering position information of each cloud application to obtain application screens of each cloud application; and sending the application screens of each cloud application to the corresponding client for display. By adopting the above-mentioned solution, the embodiments of the present disclosure can reduce the number of cloud application servers to be deployed and reduce costs while meeting the needs of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, device, electronic device, and storage medium for implementing a cloud application. Background Art

[0002] Currently, games can be run on the server side through cloud gaming, thereby reducing the performance requirements for terminal devices.

[0003] However, the existing cloud gaming implementation method requires the configuration of a large number of servers for running cloud gaming in order to meet the cloud gaming needs of each user when there are a large number of users, and the implementation cost is relatively high. Summary of the invention

[0004] The embodiments of the present disclosure provide a method, device, electronic device and storage medium for implementing a cloud application, so as to reduce the number of servers required to be configured and reduce costs.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for implementing a cloud application, including:

[0006] Acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end;

[0007] Segmenting the target screen according to the rendering position information of each cloud application to obtain application screens of each cloud application;

[0008] The application screen of each cloud application is sent to the corresponding client for display.

[0009] In a second aspect, the embodiments of the present disclosure further provide a cloud application implementation device, including:

[0010] A screen acquisition module, used to acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end;

[0011] A screen segmentation module, used to segment the target screen according to the rendering position information of each cloud application to obtain an application screen of each cloud application;

[0012] The screen sending module is used to send the application screen of each cloud application to the corresponding client for display.

[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:

[0014] one or more processors;

[0015] a memory for storing one or more programs,

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for implementing the cloud application as described in the embodiment of the present disclosure.

[0017] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for implementing the cloud application as described in the embodiment of the present disclosure.

[0018] The implementation method, device, electronic device and storage medium of the cloud application provided by the embodiments of the present disclosure obtain a rendered target screen, in which the application screens of multiple cloud applications running on the local end are displayed; the target screen is segmented according to the rendering position information of each cloud application to obtain the application screen of each cloud application; and the application screen of each application is sent to the corresponding client for display. By adopting the above scheme, the embodiments of the present disclosure provide cloud application services for multiple clients through one cloud application, which can reduce the number of cloud application servers required to be deployed and reduce costs while meeting the needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0020] Figure 1 A flowchart of a method for implementing a cloud application provided in an embodiment of the present disclosure;

[0021] Figure 2 A flowchart of another method for implementing a cloud application provided in an embodiment of the present disclosure;

[0022] Figure 3 A structural block diagram of a cloud application implementation device provided in an embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0027] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] Figure 1 The present invention provides a flowchart of a method for implementing a cloud application according to an embodiment of the present invention. The method can be executed by a cloud application implementation device, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically, in a server. The cloud application implementation method provided by the present invention is applicable to scenarios such as cloud games and cloud phones. Figure 1 As shown, the implementation method of the cloud application provided in this embodiment may include:

[0031] S101. Obtain a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end.

[0032] Among them, the target screen can be the screen obtained by this rendering, which can be the screen interface rendered by this end (that is, the cloud application server, that is, the server providing cloud application services) and available for display on the screen, that is, when the cloud application server is configured with a screen, the screen can be understood as the screen interface to be displayed; when the cloud application server is not configured with a screen, the screen can be an interface that is rendered but not sent to the screen for display, that is, when the screen is not configured, the cloud application server can still render the screen interface, but will no longer perform the operation of sending it to the screen for display. This case is used as an example for explanation below. The application screen of a cloud application can be understood as the screen to be displayed of the cloud application, that is, the screen that needs to be sent to the client corresponding to the cloud application for display.

[0033] In this embodiment, the cloud application server can provide cloud application services to multiple clients at the same time. In other words, in this embodiment, one cloud application server can provide cloud application services to multiple clients at the same time, that is, the cloud application server can be deployed in a one-to-many manner with the client, and it is no longer necessary to deploy the cloud application server for the client in a one-to-one manner. Therefore, it is not necessary to deploy a large number of cloud application servers to meet the cloud application needs of more users, which can reduce the number of cloud application servers that need to be deployed and reduce the implementation cost of cloud applications.

[0034] Exemplarily, the pre-set split screen method can be used for split screen, and an application screen of a cloud application can be displayed in each area. For example, when the operating environment of the cloud application is the Android system, that is, when the system installed on the cloud application server itself is the Android system, the pre-set split screen strategy can be used to use the split screen technology configured in the Android system to divide its own screen interface into multiple application areas, and display the application screens of different cloud applications that have been running by itself through different application areas; or, according to the pre-set split screen strategy, the virtual screen technology is used, that is, the VirtualDisplay class is called to divide its own screen interface into multiple sub-screen interfaces, and display the application screens of different cloud applications that have been running by itself through different sub-screen interfaces. Thus, the operating server can render the screen interface according to the pre-set cycle (or the pre-set screen refresh frequency), and after the rendering is completed, the pre-set acquisition method, such as screen capture, is used to acquire the screen interface as the target screen.

[0035] It should be noted that the cloud application server can pre-divide its own screen interface, such as pre-dividing the screen interface into 1×2, 2×2 or 3×3 application areas / sub-screen areas, and when a cloud application needs to be run, select an idle (i.e., not yet used to display the application screens of other cloud applications) application area / sub-screen interface to display the application screen of the cloud application; or when a cloud application needs to be run, divide the application area / sub-screen interface for the cloud application and display the application screen of the cloud application through the application area / sub-screen interface. The sizes of different application areas / sub-screen interfaces can be the same or different; different application areas / sub-screen interfaces correspond to different clients.

[0036] The different cloud applications mentioned in this embodiment can be understood as cloud applications corresponding to different clients, rather than limiting the functions provided by the cloud applications and / or the application screens contained therein. That is, the functions provided by the cloud applications corresponding to different clients and / or the application screens contained therein may be the same or different. For example, assuming that user A runs a cloud application in a cloud application server through a client installed in terminal device a, and user B runs the same cloud application in the cloud application server through a client installed in terminal device b, at this time, the application screen of the cloud application corresponding to the client installed in terminal device a and the application screen of the cloud application corresponding to the client installed in terminal device b may be displayed in different application areas / sub-screen interfaces, and used as cloud applications (i.e., different cloud applications) and application screens corresponding to different clients for subsequent operations.

[0037] S102 . Segment the target screen according to rendering position information of each cloud application to obtain application screens of each cloud application.

[0038] The rendering position information of a cloud application may be understood as the display position information of the cloud application in the screen interface, such as the position information of the boundary line of the application area / sub-screen interface corresponding to the cloud application.

[0039] In this embodiment, when the cloud application server runs the cloud application corresponding to each client, it can determine the rendering position information of the cloud application to render the application screen of the cloud application at the position corresponding to the rendering position information. Therefore, when the cloud application server obtains the target screen, it can segment the target screen according to the rendering position information, such as segmenting the target screen according to the position information of the boundaries of the application area / sub-screen interface corresponding to each cloud application running on the local end, and obtain the application screen displayed in each application area / sub-screen interface as the application screen of the corresponding cloud application.

[0040] S103: Send the application screen of each cloud application to the corresponding client for display.

[0041] In this embodiment, the user can use the cloud application through the client, such as running a cloud application in the cloud application server through a client request. Accordingly, when the cloud application server runs a cloud application, it can record the cloud application identification information, rendering location information and client identification information of the client corresponding to the cloud application. Thus, when the cloud server obtains the application screens of each cloud application based on the rendering location information of each cloud application, it can determine the client corresponding to each cloud application based on the cloud application identification information and / or rendering location information of each cloud application, and send the application screen of each cloud application to its corresponding client for display, such as distributing the divided application screens to the corresponding client for display through Web Real-Time Communication (WebRTC). Furthermore, when a client receives the application screen sent by the cloud application server, it can display the received application screen.

[0042] In this embodiment, after running each cloud application, the cloud application server can also obtain audio data of each cloud application, such as receiving audio data of the cloud application sent by a server that provides services for the cloud application, and sending the audio data to the client corresponding to the cloud application through WebRTC for playback. At this time, preferably, the implementation method of the cloud application provided in this embodiment also includes: obtaining audio data of each cloud application running on this end, and sending each audio data to the corresponding client for playback.

[0043] The implementation method of the cloud application provided in this embodiment obtains the rendered target screen, which displays the application screens of multiple cloud applications running on the local end; divides the target screen according to the rendering position information of each cloud application to obtain the application screen of each cloud application; and sends the application screen of each application to the corresponding client for display. This embodiment adopts the above solution to provide cloud application services to multiple clients through one cloud application, which can reduce the number of cloud application servers required to be deployed and reduce costs while meeting the needs of users.

[0044] Figure 2 A flowchart of another method for implementing a cloud application provided in an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, before obtaining the rendered target screen, it also includes: receiving a scheduling instruction sent by the scheduling server after receiving a cloud application running request, the scheduling instruction carrying cloud application identification information; in response to the scheduling instruction, running the cloud application corresponding to the cloud application identification information on this end.

[0045] Optionally, before obtaining the rendered target screen, it also includes: obtaining application data of each cloud application running on the local end; rendering the application screen of the cloud application at a position corresponding to the rendering position information of the cloud application according to the application data of each cloud application to obtain the target screen.

[0046] Optionally, the implementation method of the cloud application provided in this embodiment also includes: further including: controlling the corresponding cloud application according to the touch information sent by each client.

[0047] Correspondingly, such as Figure 2 As shown, the implementation method of the cloud application provided in this embodiment may include:

[0048] S201. Receive a scheduling instruction sent by a scheduling server after receiving a cloud application running request, wherein the scheduling instruction carries cloud application identification information.

[0049] The cloud application running request may be a request to run a certain cloud application, and the cloud application running request may carry the cloud application identification information of the cloud application requested to run. The scheduling instruction may be an instruction to instruct the cloud application server to run a certain cloud application to provide services to the client that sent the cloud application running request, and the scheduling instruction may carry the cloud application identification information of the cloud application instructed to run, and may further carry the client identification information of the client corresponding to the cloud application (i.e., the client that sent the cloud application running request), and the client identification information may be the device identification information of the terminal device on which the client is installed or other information that can uniquely identify the client.

[0050] In this embodiment, the scheduling strategy can be executed by the scheduling server, such as determining which cloud application server provides cloud application services for one or more clients that send cloud application running requests according to the preset scheduling strategy, that is, when receiving the cloud application running request, the scheduling server determines which cloud application server runs the cloud application requested by the cloud application running request based on the preset scheduling strategy. Here, the scheduling strategy can be set as needed, such as determining the cloud application server that needs to be run currently according to the resource occupancy rate of each cloud application server and / or the information of the cloud applications that have been run by each cloud application server, and this embodiment does not limit this.

[0051] Exemplarily, a user executes a trigger operation to run a certain cloud application through a client. When the client detects the user's trigger operation, it generates a cloud application running request carrying the cloud application identification information of the cloud application, and sends the cloud application running request to the scheduling server. Accordingly, the scheduling server can determine the cloud application server running the cloud application according to the preset scheduling policy, generate a scheduling instruction carrying the cloud application identification information of the cloud application, and send the scheduling instruction to the determined cloud application server. Thus, the cloud application server can receive the scheduling instruction sent by the scheduling server.

[0052] In one embodiment, after receiving the scheduling instruction sent by the server, the cloud application server can further determine the rendering position information of the cloud application indicated by the scheduling instruction, such as determining the position information of the application area / sub-screen interface corresponding to the application screen of the cloud application in its own screen interface, so as to render the application screen of the application and obtain the application screen of the cloud application based on the rendering position segmentation. At this time, the cloud application implementation method provided by this embodiment may also include: obtaining the rendering position information carried in the scheduling instruction as the rendering position information of the cloud application corresponding to the cloud application identification information, the rendering position information being determined by the scheduling server according to the available rendering position information of the local end; or, determining the rendering position information of the cloud application corresponding to the cloud application identification information according to the available rendering position information of the local end.

[0053] Among them, the available rendering position information of this end can be understood as the position information of the remaining available (i.e., unoccupied) rendering positions in the cloud application server, such as the position information of the remaining interfaces in the screen interface that are not used to display the application screens of other running cloud applications. It can be determined based on the size information of the screen interface and the rendering positions of other running cloud applications in the cloud application server. When the screen is not configured, the size information of the screen interface of the cloud application server (such as the length and width of the screen interface) can be set as needed. For example, when the cloud application server has a higher configuration, its screen interface can be set to a larger size, so that the cloud application server can display more cloud applications in the screen interface, that is, the cloud application server can provide a cloud application server for a larger number of clients at the same time; correspondingly, when the cloud application server has a lower configuration, its screen interface can be set to a smaller size.

[0054] In the above-mentioned embodiment, the rendering location information of the cloud application indicated by the scheduling instruction can be determined by the scheduling server or the cloud application server itself. For example, after determining that the cloud application requested by the client is running in a certain cloud application server, the scheduling server can further determine the rendering location information of the cloud application in the cloud application server based on the available rendering location information of the cloud application server, and can carry the rendering location information in the scheduling instruction and send it to the cloud application server. Thus, the cloud application server can parse the received scheduling instruction and obtain the rendering location information of the cloud application carried in the scheduling instruction; or, after receiving the scheduling instruction sent by the scheduling server, determine the rendering location information of the cloud application indicated by the scheduling instruction based on the available rendering location information of the local end. This embodiment is not limited to this.

[0055] In this embodiment, when determining the rendering position information of the cloud application, the resolution information of the application screen of the cloud application when it is displayed in the client (such as the screen resolution of the terminal device on which the client is installed) can be further considered to further improve the display effect of the application screen in the client. For example, after receiving a cloud application running request sent by a client, the scheduling server can give priority to selecting a cloud application server whose size of the pre-divided application area / sub-screen interface matches the screen resolution of the terminal device on which the client is installed to provide cloud application services to the client; or, the scheduling server or cloud application server can determine the available rendering area of ​​the cloud application server screen interface based on the available rendering position information of the cloud application server, and divide out an area in the available rendering area whose resolution matches the resolution information of the application screen of the cloud application when it is displayed on the client according to the pre-set division strategy, as the display area of ​​the application screen of the cloud application in the screen interface of the cloud application server, thereby obtaining the rendering position information of the cloud application.

[0056] S202. In response to the scheduling instruction, run the cloud application corresponding to the cloud application identification information on the local end.

[0057] Specifically, after receiving the scheduling instruction sent by the dispatching server, the cloud application server can parse the scheduling instruction, obtain the cloud application identification information carried in the scheduling instruction, and run the cloud application corresponding to the cloud application identification information on the local end.

[0058] In addition, the scheduling instruction sent by the scheduling server may further carry the client identification information of the client that sent the cloud application running request. Accordingly, after receiving the scheduling instruction sent by the scheduling server, the cloud application server may further establish a communication connection with the client corresponding to the client identification information (i.e., the client that sent the cloud application running request) based on the client identification information.

[0059] S203: Obtain application data of each cloud application running on the local end.

[0060] In this embodiment, after running each cloud application, the cloud application server can obtain application data of each cloud application. For example, when it is necessary to render the screen interface, it can obtain the screen data of the application screen to be displayed of each cloud application running by itself. For example, for each cloud application, the screen data of the cloud application sent by the server providing service for the cloud application is obtained.

[0061] S204 . Rendering the application screen of each cloud application at a position corresponding to the rendering position information of the cloud application according to the application data of the cloud application to obtain the target screen.

[0062] Exemplarily, when the cloud application server reaches the screen refresh cycle at the current moment, it can determine the color information (such as RGB information) of each pixel in the bitmap used to render the target screen (such as a bitmap used to render the screen interface) based on the application data of each cloud application running on this end, and render each pixel in the bitmap according to the color information of each pixel to obtain the screen interface as the target screen.

[0063] S205: Acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end.

[0064] S206 , dividing the target screen according to the rendering position information of each cloud application to obtain an application screen of each cloud application.

[0065] S207: Send the application screen of each cloud application to the corresponding client for display.

[0066] S208: Control the corresponding cloud application according to the touch information sent by each client.

[0067] In this embodiment, the cloud application server may further receive touch information sent by each client, and control the cloud application corresponding to each client based on the touch information. The touch information may include the user's touch position information and / or input information (such as text information and function key command information) on the client.

[0068] Specifically, when displaying the received application screen, each client can detect the touch information of the user on the cloud application to which the displayed application screen belongs, and send the touch information to the cloud application server. Thus, the cloud application server can receive the touch information sent by each client, and control the corresponding cloud application according to the touch information, such as controlling the cloud application targeted by each touch information by concurrent processing or unified scheduling.

[0069] In one embodiment, the controlling of the corresponding cloud application based on the touch information sent by each client may include: when the touch information sent by each client is received, for each client sending the touch information, the touch information sent by the client is sent to the cloud application corresponding to the client, so as to control the cloud application corresponding to the client to respond to the touch information.

[0070] Exemplarily, after receiving the touch position information sent by each client, the cloud application server can use a parallel or serial method to input the touch position information sent by each client into the input module of the cloud application corresponding to the client according to the application identification information of each cloud application running on this side; after receiving the input information sent by each client, the cloud application server can submit the received text information to the input box (EditView) of the corresponding cloud application, and input the received key command information into the operating system of this side, so as to implement the operation processing of the corresponding cloud application and present the effect of simultaneous operation by multiple client-side users.

[0071] In another embodiment, the controlling of the corresponding cloud application according to the touch information sent by each client may include: when receiving the touch information sent by each client, for each client sending the touch information, determining the touch position information corresponding to the touch information sent by the client on this end according to the rendering position information of the cloud application corresponding to the client, and performing a touch response based on the touch position information.

[0072] Exemplarily, after receiving the touch position information sent by each client, the cloud application server can use a parallel or serial method to determine the touch position information corresponding to each touch position information in the screen interface of the local end, such as through the same scheduling service, according to the rendering position information of the cloud application corresponding to each client that sends the touch position information, determine the touch position information corresponding to the touch position information in the screen interface of the local end, and perform a touch response based on the actual touch position information through the operating system of the local end; after receiving the input information sent by each client, the cloud application server can submit or input each input information, such as through a unified scheduling service, submitting each received text information to the input box of the corresponding cloud application, and inputting each received function key command information into the operating system of the local end, so as to realize the touch response to the corresponding cloud application.

[0073] The cloud application implementation method provided in this embodiment schedules each client that sends a cloud application running request and each application server that provides cloud application services through a scheduling server, and controls each cloud application server to provide cloud application services to one or more clients, which can reduce the number of cloud application servers that need to be deployed and reduce costs.

[0074] Figure 3 This is a structural block diagram of a cloud application implementation device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware, can be configured in an electronic device, typically, can be configured in a server, and can provide cloud application services by executing a cloud application implementation method. Figure 3 As shown, the cloud application implementation device provided in this embodiment may include: a picture acquisition module 301, a picture segmentation module 302 and a picture sending module 303, wherein:

[0075] The screen acquisition module 301 is used to acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end;

[0076] A screen segmentation module 302 is used to segment the target screen according to the rendering position information of each cloud application to obtain an application screen of each cloud application;

[0077] The screen sending module 303 is used to send the application screen of each cloud application to the corresponding client for display.

[0078] The cloud application implementation device provided in this embodiment obtains the rendered target screen through the screen acquisition module, and the target screen displays the application screens of multiple cloud applications running on the local end; the screen segmentation module performs screen segmentation on the target screen according to the rendering position information of each cloud application to obtain the application screen of each cloud application; and the screen sending module sends the application screen of each application to the corresponding client for display. This embodiment adopts the above scheme to provide cloud application services for multiple clients through one cloud application, which can reduce the number of cloud application servers required to be deployed and reduce costs while meeting the needs of users.

[0079] Furthermore, the cloud application implementation device provided by this embodiment may also include: an instruction receiving module, which is used to receive a scheduling instruction sent by the scheduling server after receiving a cloud application running request before obtaining the rendered target screen, and the scheduling instruction carries cloud application identification information; an application running module, which is used to respond to the scheduling instruction and run the cloud application corresponding to the cloud application identification information on this end.

[0080] Furthermore, the cloud application implementation device provided by this embodiment may also include: a first location information determination module, used to obtain the rendering location information carried in the scheduling instruction as the rendering location information of the cloud application corresponding to the cloud application identification information, and the rendering location information is determined by the scheduling server according to the available rendering location information of this end; or, a second location information determination module, used to determine the rendering location information of the cloud application corresponding to the cloud application identification information according to the available rendering location information of this end.

[0081] Furthermore, the cloud application implementation device provided in this embodiment may also include: an audio sending module, which is used to obtain audio data of each cloud application running on the local end, and send each audio data to the corresponding client for playback.

[0082] Furthermore, the cloud application implementation device provided by this embodiment may also include: a data acquisition module, used to acquire application data of each cloud application running on this end before acquiring the rendered target screen; a rendering module, used to render the application screen of the cloud application at a position corresponding to the rendering position information of the cloud application according to the application data of each cloud application, so as to obtain the target screen.

[0083] Furthermore, the cloud application implementation device provided in this embodiment may also include: an application control module, which is used to control the corresponding cloud application according to the touch information sent by each client.

[0084] In the above scheme, the application control module can be used to: when receiving touch information sent by each client, for each client sending touch information, send the touch information sent by the client to the cloud application corresponding to the client, so as to control the cloud application corresponding to the client to respond to the touch information.

[0085] In the above scheme, the application control module can be used to; when receiving touch information sent by each client, for each client sending touch information, determine the touch position information corresponding to the touch information sent by the client on this end according to the rendering position information of the cloud application corresponding to the client, and perform touch response based on the touch position information.

[0086] The cloud application implementation device provided in the embodiments of the present disclosure can execute the cloud application implementation method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the cloud application implementation method. For technical details not fully described in this embodiment, please refer to the cloud application implementation method provided in any embodiment of the present disclosure.

[0087] Reference below Figure 4, which shows a schematic diagram of the structure of an electronic device (e.g., a server) 400 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0088] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0089] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0090] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0091] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0092] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0093] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0094] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the rendered target screen, in which the application screens of multiple cloud applications running on the local end are displayed; divides the target screen according to the rendering position information of each cloud application to obtain the application screen of each cloud application; and sends the application screen of each cloud application to the corresponding client for display.

[0095] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0096] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the unit itself.

[0098] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0099] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0100] According to one or more embodiments of the present disclosure, Example 1 provides a method for implementing a cloud application, including:

[0101] Acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end;

[0102] Segmenting the target screen according to the rendering position information of each cloud application to obtain application screens of each cloud application;

[0103] The application screen of each cloud application is sent to the corresponding client for display.

[0104] According to one or more embodiments of the present disclosure, Example 2 is a method according to Example 1, and before acquiring the rendered target picture, further includes:

[0105] Receiving a scheduling instruction sent by the scheduling server after receiving a cloud application running request, wherein the scheduling instruction carries cloud application identification information;

[0106] In response to the scheduling instruction, the cloud application corresponding to the cloud application identification information is run on the local end.

[0107] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 2, further comprising:

[0108] Obtaining rendering location information carried in the scheduling instruction as rendering location information of the cloud application corresponding to the cloud application identification information, wherein the rendering location information is determined by the scheduling server according to available rendering location information of the local end; or,

[0109] The rendering location information of the cloud application corresponding to the cloud application identification information is determined according to the available rendering location information of the local end.

[0110] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 1, further comprising:

[0111] Get the audio data of each cloud application running on the local end, and send each audio data to the corresponding client for playback.

[0112] According to one or more embodiments of the present disclosure, Example 5 is a method according to any one of Examples 1 to 4, and before acquiring the rendered target picture, further includes:

[0113] Get application data of each cloud application running on the local end;

[0114] According to the application data of each cloud application, the application screen of the cloud application is rendered at a position corresponding to the rendering position information of the cloud application to obtain the target screen.

[0115] According to one or more embodiments of the present disclosure, Example 6 is a method according to any one of Examples 1-4, further comprising:

[0116] The corresponding cloud application is controlled according to the touch information sent by each client.

[0117] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 6, wherein the controlling the corresponding cloud application according to the touch information sent by each client includes:

[0118] When the touch information sent by each client is received, for each client sending the touch information, the touch information sent by the client is sent to the cloud application corresponding to the client, so as to control the cloud application corresponding to the client to respond to the touch information.

[0119] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 6, wherein the controlling the corresponding cloud application according to the touch information sent by each client includes:

[0120] When touch information sent by each client is received, for each client sending touch information, the touch position information corresponding to the touch information sent by the client is determined based on the rendering position information of the cloud application corresponding to the client, and a touch response is performed based on the touch position information.

[0121] According to one or more embodiments of the present disclosure, Example 9 provides a cloud application implementation device, including:

[0122] A screen acquisition module, used to acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end;

[0123] A screen segmentation module, used to segment the target screen according to the rendering position information of each cloud application to obtain an application screen of each cloud application;

[0124] The screen sending module is used to send the application screen of each cloud application to the corresponding client for display.

[0125] According to one or more embodiments of the present disclosure, Example 10 provides an electronic device, including:

[0126] one or more processors;

[0127] a memory for storing one or more programs,

[0128] When the one or more programs are executed by the one or more processors, the one or more processors implement the cloud application implementation method as described in any one of Examples 1-8.

[0129] According to one or more embodiments of the present disclosure, Example 11 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for implementing a cloud application as described in any one of Examples 1-8.

[0130] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0131] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0132] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for implementing a cloud application, characterized in that: include: Acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end; The target screen is segmented according to the rendering position information of each cloud application to obtain the application screen of each cloud application; wherein the rendering position information is the position information of the boundary line of the application area or sub-screen interface corresponding to each cloud application; Send the application screen of each cloud application to the corresponding client for display; When touch information sent by each client is received, for each client sending touch information, the touch information sent by the client is sent to the cloud application corresponding to the client to control the cloud application corresponding to the client to respond to the touch information; or, based on the rendering position information of the cloud application corresponding to the client, the touch position information corresponding to the touch information sent by the client on this end is determined, and a touch response is performed based on the touch position information; wherein the touch information includes the touch position information and / or input information of the user on the client.

2. The method according to claim 1, characterized in that Before obtaining the rendered target image, the method further includes: Receiving a scheduling instruction sent by the scheduling server after receiving a cloud application running request, wherein the scheduling instruction carries cloud application identification information; In response to the scheduling instruction, the cloud application corresponding to the cloud application identification information is run on the local end.

3. The method according to claim 2, characterized in that Also includes: Obtaining rendering location information carried in the scheduling instruction as rendering location information of the cloud application corresponding to the cloud application identification information, wherein the rendering location information is determined by the scheduling server according to available rendering location information of the local end; or, The rendering location information of the cloud application corresponding to the cloud application identification information is determined according to the available rendering location information of the local end.

4. The method according to claim 1, characterized in that: Also includes: Get the audio data of each cloud application running on the local end, and send each audio data to the corresponding client for playback.

5. The method according to any one of claims 1 to 4, characterized in that: Before obtaining the rendered target image, the method further includes: Get application data of each cloud application running on the local end; According to the application data of each cloud application, the application screen of the cloud application is rendered at a position corresponding to the rendering position information of the cloud application to obtain the target screen.

6. A cloud application implementation device, characterized in that: include: A screen acquisition module, used to acquire a rendered target screen, wherein the target screen displays application screens of multiple cloud applications running on the local end; A screen segmentation module, used to segment the target screen according to the rendering position information of each cloud application to obtain the application screen of each cloud application; wherein the rendering position information is the position information of the boundary line of the application area or sub-screen interface corresponding to each cloud application; The screen sending module is used to send the application screen of each cloud application to the corresponding client for display; An application control module is used to, when receiving touch information sent by each client, send the touch information sent by each client to the cloud application corresponding to the client, so as to control the cloud application corresponding to the client to respond to the touch information; or, based on the rendering position information of the cloud application corresponding to the client, determine the touch position information corresponding to the touch information sent by the client on this end, and perform a touch response based on the touch position information; wherein the touch information includes the touch position information and / or input information of the user on the client.

7. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the cloud application implementation method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for implementing a cloud application as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Rendering service system, method and device for cloud game

    CN111450528A

  • System for cloud streaming service, method of image cloud streaming service based on transparency of image and apparatus for the same

    KR1020160131831A