Cloud phone acceleration method, system, device and storage medium based on rendering separation

By separating the image rendering process of cloud mobile phones to the cloud platform and terminal processing, the problem of secondary video encoding and high network transmission is solved, the user experience of cloud mobile phones is improved, and the delay and bandwidth requirements are reduced.

CN113946402BActive Publication Date: 2024-10-08CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111321920.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-09
Publication Date
2024-10-08
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

The image rendering process of existing cloud mobile phones involves secondary video encoding and high network transmission video stream bit rates, resulting in poor user experience. Gaming and office experiences are limited by high latency and network jitter.

Method used

By separating the screen rendering process to the cloud platform and the terminal for separate processing, the cloud platform is responsible for early rendering and transmitting the primitive information that only needs to be updated, and the terminal performs post-rendering and display, reducing unnecessary data transmission and repeated calculations.

Benefits of technology

It reduces the usage delay and network bandwidth requirements of cloud mobile phone services, improves user experience, reduces the transmission volume and delay of video streams, and improves picture smoothness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113946402B_ABST
    Figure CN113946402B_ABST
Patent Text Reader

Abstract

The present invention provides a cloud phone acceleration method, system, device and storage medium based on rendering separation, wherein the method includes: a mobile terminal receives a real-time operation instruction and sends it to a cloud platform; the cloud platform runs the real-time operation instruction through a virtual machine; the virtual machine performs preliminary rendering processing according to the result of running the real-time operation instruction, and only feeds back part of the primitive information to be updated and rendered later to the mobile terminal; and the mobile terminal performs post-rendering processing and displays the received part of the primitive information to be updated and rendered later. The present invention can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of cloud phones.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Cloudphone is a mobile phone that uses cloud computing technology to provide network terminal services and realizes cloud services through cloud servers. In fact, it is a smart phone that is deeply integrated with network services. This type of mobile phone can realize many functions through the network with its own system and the network terminal set up by the manufacturer.

[0003] Figure 1 Flowchart of the cloud phone acceleration method based on rendering separation in the prior art. Figure 1 As shown in the figure, by separating the screen rendering process of the cloud phone to the cloud platform and the terminal for separate processing, unnecessary secondary encoding and decoding processes are removed, thereby reducing the display and use delay of the cloud phone service, and improving the user experience of the cloud phone office service and game service under the same network state;

[0004] The existing cloud phone service requires the cloud to re-encode the virtual phone screen and then transmit it to the mobile phone for decoding and playback. This has the following problems:

[0005] 1) High latency: The screen presentation of cloud phones requires six steps: virtual machine instruction processing, screen rendering, screen capture, video encoding, network transmission, and video decoding. The latency caused by these steps will cause users to experience significant delays and freezes, resulting in poor gaming and office experience.

[0006] 2) Severe network impact: The video bit rate required for network transmission is high. Transmission jams and network packet loss caused by network jitter will cause serious jams or distorted screens on the terminal display, affecting user experience.

[0007] In view of this, the present invention proposes a cloud phone acceleration method, system, device and storage medium based on rendering separation.

[0008] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0009] In response to the problems in the prior art, the purpose of the present invention is to provide a cloud phone acceleration method, system, device and storage medium based on rendering separation, which overcomes the difficulties of the prior art and can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of cloud phones.

[0010] An embodiment of the present invention provides a cloud phone acceleration method based on rendering separation, comprising the following steps:

[0011] The mobile terminal receives real-time operation instructions and sends them to the cloud platform;

[0012] The cloud platform runs real-time operation instructions through a virtual machine;

[0013] The virtual machine performs preliminary rendering processing according to the result of running the real-time operation instruction, and feeds back only part of the primitive information to be updated and rendered later to the mobile terminal; and

[0014] The mobile terminal performs post-rendering processing and displays the received partial graphic element information to be later updated and rendered.

[0015] Preferably, the mobile terminal receives the real-time operation instruction, including

[0016] The mobile terminal collects input operations performed by a user based on the mobile terminal, where the input operations at least include click operations and drag operations.

[0017] Preferably, the cloud platform runs real-time operation instructions through a virtual machine, including:

[0018] The cloud platform simulates the system program of the mobile terminal through the virtual machine in the server to process the real-time operation instruction;

[0019] Based on the processing result, vector data to be rendered is output to the image renderer.

[0020] Preferably, the image renderer is a graphics processor of the server.

[0021] Preferably, the step of outputting the vector data to be rendered to the image renderer based on the processing result comprises:

[0022] The virtual machine writes the picture data to be rendered into the vertex buffer and the data object.

[0023] Preferably, the virtual machine performs preliminary rendering processing according to the result of running the real-time operation instruction, and feeds back only part of the primitive information to be updated and rendered later to the mobile terminal, including:

[0024] The image renderer renders vertex and texture data according to the vertex buffer and the data object;

[0025] The image renderer calculates the primitives of the current frame according to the image changes compared with the previous frame, and equips the primitives to be rendered;

[0026] The image renderer transmits the primitive information that needs to be updated to the mobile terminal, where the primitive information at least includes vertex coordinates, color, and texture of the primitive.

[0027] Preferably, the image renderer calculates the primitives of the current frame according to the image changes compared with the previous frame, and prepares the primitives to be rendered, including:

[0028] The image renderer calculates the image elements in the current frame that are different from those in the previous frame as the image elements to be updated by comparing the image changes in the current frame with those in the previous frame, and only equips the image elements to be updated in the current frame.

[0029] Preferably, the mobile terminal performs post-rendering processing and displays the received partial graphic element information to be later updated and rendered, including:

[0030] The mobile terminal calculates an updated image to be rendered based on at least the to-be-updated graphic element of the current frame;

[0031] The mobile terminal rasterizes the primitive information and then performs fragment shading;

[0032] The fragment shader renders and colors the fragment;

[0033] The rendered image is written into the frame data area and displayed on the screen of the mobile terminal.

[0034] Preferably, the mobile terminal calculates the updated image to be rendered based on at least the to-be-updated graphic element of the current frame, including:

[0035] The mobile terminal compares the received primitive information to be updated of the current frame with the primitive information of the previous frame, selects the primitive information that is different between the two frames from the primitive information to be updated and rendered of the current frame, and updates the primitive information according to the selected primitive information;

[0036] After the mobile terminal rasterizes the primitive information, it performs fragment shading, including:

[0037] The mobile terminal converts the primitive information into a group of two-dimensional fragments of pixels to be drawn, and sends the fragments to a fragment shader.

[0038] An embodiment of the present invention further provides a cloud phone acceleration system based on rendering separation, which is used to implement the above-mentioned cloud phone acceleration method based on rendering separation. The cloud phone acceleration system based on rendering separation includes:

[0039] Instruction sending module: the mobile terminal receives real-time operation instructions and sends them to the cloud platform.

[0040] Instruction execution module, the cloud platform executes real-time operation instructions through a virtual machine.

[0041] The pre-rendering module, the virtual machine performs pre-rendering processing according to the result of running the real-time operation instruction, and only feeds back part of the primitive information to be updated and rendered later to the mobile terminal.

[0042] The post-rendering module is used for the mobile terminal to perform post-rendering processing and display according to the received partial graphic element information to be updated and rendered later.

[0043] An embodiment of the present invention further provides a cloud phone acceleration device based on rendering separation, comprising:

[0044] processor;

[0045] a memory storing executable instructions of the processor;

[0046] Among them, the processor is configured to perform the steps of the above-mentioned cloud phone acceleration method based on rendering separation by executing the executable instructions.

[0047] An embodiment of the present invention also provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the above-mentioned cloud phone acceleration method based on rendering separation.

[0048] The purpose of the present invention is to provide a cloud phone acceleration method, system, device and storage medium based on rendering separation, which can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into a cloud platform and a terminal for separate processing, thereby improving the user experience of cloud phones. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.

[0050] Figure 1 It is a flow chart of a cloud phone acceleration method based on rendering separation in the prior art.

[0051] Figure 2 It is a flowchart of an embodiment of the cloud phone acceleration method based on rendering separation of the present invention.

[0052] Figure 3 It is a flow chart of another embodiment of the cloud phone acceleration method based on rendering separation of the present invention.

[0053] Figure 4 It is a schematic diagram of the implementation process of the cloud phone acceleration method based on rendering separation of the present invention.

[0054] Figure 5 It is an example diagram of the cloud phone acceleration method based on rendering separation of the present invention.

[0055] Figure 6 It is a module schematic diagram of an embodiment of the cloud phone acceleration system based on rendering separation of the present invention.

[0056] Figure 7 It is a module schematic diagram of another embodiment of the cloud phone acceleration system based on rendering separation of the present invention.

[0057] Figure 8 It is a schematic diagram of the operation of the cloud phone acceleration system based on rendering separation of the present invention. DETAILED DESCRIPTION

[0058] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied through other different specific implementation methods, and the details in the present application can also be modified or changed in various ways according to different viewpoints and application systems without departing from the spirit of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0059] The following is a detailed description of the embodiments of the present application with reference to the accompanying drawings so that those skilled in the art can easily implement the present application. The present application can be embodied in a variety of different forms and is not limited to the embodiments described herein.

[0060] In the representations of the present application, the representations with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics represented in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the represented specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples represented in the present application and the features of the different embodiments or examples, unless they contradict each other.

[0061] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the representation of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0062] In order to clearly describe the present application, components irrelevant to the description are omitted, and the same reference symbols are given to the same or similar components throughout the specification.

[0063] Throughout the specification, when a device is said to be "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a device is said to "include" a certain component, unless otherwise stated, it does not exclude other components, but means that other components may be included.

[0064] When a device is said to be "on" another device, it may be directly on the other device, but there may also be other devices between it. In contrast, when a device is said to be "directly" on another device, there are no other devices between it.

[0065] Although the terms first, second, etc. are used to represent various elements in some examples, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first interface and the second interface, etc. are represented. Moreover, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the existence of features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Only when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way, will there be an exception to this definition.

[0066] The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the present application. The singular form used herein also includes the plural form unless the sentence clearly indicates the contrary meaning. The meaning of "including" used in the specification is to specify specific characteristics, regions, integers, steps, operations, elements and / or components, and does not exclude the existence or addition of other characteristics, regions, integers, steps, operations, elements and / or components.

[0067] Although not defined differently, all terms, including technical and scientific terms used herein, have the same meaning as those generally understood by those skilled in the art to which this application belongs. Terms defined in commonly used dictionaries are additionally interpreted as having meanings consistent with the relevant technical literature and the contents of the current disclosure, and unless defined, shall not be overly interpreted as ideal or very formal meanings.

[0068] Figure 21 is a flow chart of an embodiment of a cloud phone acceleration method based on rendering separation of the present invention. Figure 2 As shown, the cloud phone acceleration method based on rendering separation of the present invention relates to the field of video coding and pan-intelligent terminals, and is a method for realizing cloud phone acceleration based on rendering separation. The process of the present invention includes:

[0069] S110. The mobile terminal receives the real-time operation instruction and sends it to the cloud platform.

[0070] S120, the cloud platform runs the real-time operation instruction through the virtual machine. The cloud platform receives the picture rendering instruction of the virtual machine, and performs vertex rendering and texture rendering operations on the data in the vertex buffer and the data object.

[0071] S130. The virtual machine performs preliminary rendering processing according to the result of running the real-time operation instruction, and feeds back the primitive information to be rendered later to the mobile terminal. According to the rendering result, the primitives required for this frame are compared with the primitives of the previous frame, and the primitives that need to be updated are calculated. Only the primitives in this frame that are different from the previous frame are taken as the primitives that need to be updated and fed back to the mobile terminal, while the primitives in this frame that are the same as the previous frame are no longer transmitted back to the mobile terminal. In other words, the cloud platform only sends the primitive information that needs to be updated to the mobile phone, which greatly reduces unnecessary data rotation. The primitive information includes the vertex coordinates, color and texture of the primitive; the cloud platform only needs to transmit the updated / changed primitive information.

[0072] S140, the mobile terminal performs post-rendering processing and displays according to the received partial primitive information to be updated and rendered later. After the mobile phone receives the updated primitive, it performs rasterization, fragment shading, writes the frame data area, and displays the screen: after receiving the updated primitive information, the mobile phone stores it in the data buffer; according to the updated primitive information, it performs rasterization, fragment shading, and updates the rendering screen; the rendered screen is stored in the frame data area, and the screen is displayed on the mobile phone screen.

[0073] The mobile terminal in the present invention is mainly a mobile phone, a smart phone, etc., and may also include a tablet computer, a laptop computer, etc. with mobile communication capabilities, but is not limited thereto. The rendering in the present invention is the last process of CG (of course, except for post-production) and is also the stage that finally makes your image conform to your 3D scene. There are many software for rendering, such as: each CG software comes with a rendering engine, and there are also software such as RenderMan. After the models and animation frames are made using software such as 3DSMAX and MAYA for architectural design and animation production, the designed content is made into the final effect map or animation using the software itself or auxiliary software (lightscape, vray, etc.). The post-processing of digital films is the post-production of editing, adding effects, adding subtitles, music, etc. to the recorded digital films. When generating the film, the materials added later need to be integrated into the film and compressed into the final format of the film. This is generally the case, but it varies depending on the environment.

[0074] The cloud platform in the present invention no longer completes all the rendering to generate the video stream, but only performs preliminary rendering processing: the cloud is responsible for vertex rendering, texture calculation, and primitive assembly in the picture rendering process, and the terminal is responsible for rasterization, fragment shading, and frame processing steps. By separating the picture rendering to the cloud and the mobile phone for separate processing, the display of the cloud phone picture is accelerated, thereby reducing the usage delay and bandwidth requirements of the cloud phone service.

[0075] In order to solve the problems of the existing technology, this patent proposes a cloud phone acceleration method based on rendering separation. By separating the image rendering process into the cloud platform and the terminal for separate processing, the problems of video secondary encoding and high bit rate of network transmission video streams are solved, and the user experience of cloud phones is improved. This patent method can be applied to the field of cloud phones and cloud terminals, and can reduce the usage delay of cloud phones and cloud terminal services without additionally increasing network bandwidth or changing network connection status, thereby improving user experience.

[0076] Figure 3 FIG. 1 is a flow chart of another embodiment of the cloud phone acceleration method based on rendering separation of the present invention. Figure 3 As shown in the figure, the cloud phone acceleration method based on rendering separation is Figure 1 On the basis of steps S110, S120, S130, and S140 in the embodiment, step S120 is replaced by S121 and S122, step S120 is replaced by S131, S132, and S133, and step S140 is replaced by S141, S142, S143, and S144. Each step is described below:

[0077] S110, the mobile terminal receives the real-time operation instruction and sends it to the cloud platform. In this embodiment, the mobile terminal collects the input operation performed by the user based on the mobile terminal, and the input operation at least includes a click operation and a drag operation, but is not limited thereto.

[0078] S121. The cloud platform simulates the system program of the mobile terminal through the virtual machine in the server to process the real-time operation instructions.

[0079] S122. Based on the processing result, the vector data to be rendered is output to the image renderer, and the virtual machine writes the picture data to be rendered into the vertex buffer and the data object. The image renderer is the graphics processor of the server. The graphics processor (English: graphics processing unit, abbreviation: GPU), also known as display core, visual processor, display chip, is a microprocessor that specializes in image and graphics related calculations on personal computers, workstations, game consoles and some mobile devices (such as tablets, smart phones, etc.). GPU reduces the graphics card's dependence on the CPU and performs some of the original CPU's work, especially in 3D graphics processing. The core technologies used by the GPU include hardware T&L (geometry transformation and lighting processing), cubic environment material mapping and vertex blending, texture compression and bump mapping, dual texture four-pixel 256-bit rendering engine, etc., and the hardware T&L technology can be said to be the hallmark of the GPU.

[0080] S131. The image renderer renders vertex and texture data according to the vertex buffer and the data object.

[0081] S132, the image renderer calculates the primitives of the current frame according to the image changes with the previous frame, and equips the primitives to be rendered. The image renderer calculates the primitives in the current frame that are different from the previous frame as the primitives to be updated by comparing the image changes of the current frame with the previous frame, and only equips the primitives to be updated in the current frame.

[0082] S133, the image renderer only feeds back some of the primitive information to be updated and rendered later to the mobile terminal, and the primitive information includes the vertex coordinates, color and texture of the primitive. It should be noted that, unlike the image renderer in the prior art that transmits the video stream to the mobile terminal after completing it, the image renderer in the present invention mainly completes the vertex rendering, texture calculation, and primitive assembly in the rendering process, while the terminal is responsible for rasterization, fragment shading and frame processing steps. Therefore, the primitive information to be rendered transmitted by the image renderer to the mobile terminal is only the data information that has completed vertex rendering, texture calculation, and primitive assembly, not a specific image or video stream, thereby greatly reducing the amount of calculation and the volume of data transmission, and also reducing the requirements for transmission bandwidth, reducing the overall cost, and improving the feedback speed of rendering.

[0083] S141. The mobile terminal compares the received primitive information to be updated and rendered in the current frame with the primitive information of the previous frame, selects the primitive information that is different between the two frames from the primitive information to be updated and rendered in the current frame, and updates the primitive information according to the selected primitive information.

[0084] S142: The mobile terminal converts the primitive information into a group of two-dimensional fragments of pixels to be drawn, and sends the fragments to a fragment shader.

[0085] S143, the fragment shader renders and colors the fragment.

[0086] S144: writing the rendered image into the frame data area and displaying it on the screen of the mobile terminal.

[0087] This patent proposes a method to achieve cloud phone acceleration based on rendering separation. The cloud is responsible for vertex rendering, texture calculation, and primitive assembly in the picture rendering process, and the terminal is responsible for rasterization, fragment shading, and frame processing steps. By separating the picture rendering to the cloud and the mobile phone for separate processing, the display of the cloud phone picture can be accelerated, thereby reducing the usage delay and bandwidth requirements of the cloud phone service.

[0088] Figure 4 It is a schematic diagram of the implementation process of the cloud phone acceleration method based on rendering separation of the present invention. Figure 5 Schematic diagram of an example of a cloud phone acceleration method based on rendering separation of the present invention. Figure 4 and 5 As shown, a specific implementation process of the present invention is as follows:

[0089] Through the existing method ( Figure 1 ) and the present invention ( Figure 4 ) can be seen from the comparison that the specific process of the present invention is as follows:

[0090] The existing methods mainly include:

[0091] (1) After the platform processes the instruction, it renders the image and then performs video encoding.

[0092] (2) After receiving the video, the terminal decodes and plays it.

[0093] The present invention mainly comprises:

[0094] (1) After the platform processes the instruction, it performs the first part of the image rendering, rendering vertices and textures, and sends the rendering results to the terminal.

[0095] (2) The terminal renders the second part of the image and displays it after completing rasterization, fragment shading, and frame processing.

[0096] Since the existing technology is that the platform completes the video stream before transmitting it back, in many cases, part of the information transmitted back is repeated with part of the information in the previous period, resulting in a waste of bandwidth and delaying the speed feedback of the cloud phone. In the present invention, since the platform only transmits back some of the graphics elements that have changed and need to be updated and re-rendered, the bandwidth is greatly reduced, and only some of the graphics elements need to be rendered later on the mobile phone. This new distributed rendering method can greatly shorten the response delay, significantly improve the speed feedback of the cloud phone, and enhance the user experience.

[0097] The patent solution provides a system architecture for realizing cloud phone acceleration based on rendering separation, which can mainly include a virtual machine of the cloud platform, an image renderer, and an instruction collection module and an image renderer on the mobile phone side.

[0098] On the cloud platform:

[0099] (1) Virtual Machine: An Android phone simulated by an x86 / ARM server processes user commands from a real phone, generates corresponding time-based vector data based on the time when the user input occurs, and outputs the vector data to be rendered to the image renderer.

[0100] (2) Image renderer: The GPU of the server receives the vector data to be rendered transmitted by the virtual machine and completes vertex and texture rendering.

[0101] On mobile:

[0102] (3) Command mobile phone: collects user input on the real mobile phone (such as clicks, dragging, etc.) and uploads it to the cloud platform virtual machine for processing.

[0103] (4) Image renderer: Receives and updates vertex and texture information sent by the cloud platform, and performs rasterization, fragment shading, and frame processing. After rendering, it is displayed to the user.

[0104] Due to the difference in the implementation process of the two, after the implementation of the present invention, the duration of the user-perceived delay T2 will be much shorter than the duration of the user-perceived delay T1 in the prior art.

[0105] This patent solution is a method for realizing cloud phone acceleration based on rendering separation, which is completed in three steps, including virtual machine instruction processing, cloud platform screen rendering process and terminal screen rendering process. The specific process is shown in Figure 5 :

[0106] Step 1: Virtual Machine Instruction Processing

[0107] 1) Command collection: The command collection module on the mobile phone collects user click, drag and other commands and reports them to the cloud platform.

[0108] 2) Instruction processing: The cloud platform virtual phone processes the instructions and writes the image data to be rendered into the vertex buffer and data object.

[0109] Step 2: The platform completes the first half of the screen rendering process

[0110] 1) Vertex shading and texture calculation: GPU renders vertex and texture data based on vertex buffer and data objects.

[0111] 2) Primitive transformation feedback and primitive assembly: Calculate the primitives of this frame based on the image changes compared with the previous frame, and equip the primitives that need to be rendered.

[0112] 3) Transmitting graphic element information: Transmitting the graphic element information to be rendered to the mobile phone.

[0113] Step 3: The terminal completes the second half of the screen rendering process

[0114] 1) Update primitive information: Update the primitive information of the difference between the current frame and the previous frame, and calculate the updated image that needs to be rendered.

[0115] 2) Rasterization and fragment shading: Convert the primitive information into a set of two-dimensional fragments, which represent the pixels to be drawn, and hand them over to the fragment shader for coloring.

[0116] 3) Write frame data area and display screen: Write the rendered image into the frame data area and display it on the screen.

[0117] The present invention provides a method for realizing cloud phone acceleration based on rendering separation, and an embodiment of the method is as follows:

[0118] (1) Virtual machine instruction processing: collect user operation instructions from the mobile phone, such as click and drag operations; transmit the collected instructions to the cloud platform virtual machine; the virtual machine executes the instructions and updates the screen of the virtual mobile phone; the virtual machine writes the screen data to be rendered into the vertex buffer and data object of the screen renderer, such as:

[0119] Thereby updating the rectangle in the screen (coordinates:

[0120] [(300,300),(600,300),(300,700),(600,700)]) changes to green;

[0121] (2) The platform completes the first half of the screen rendering process: through vertex shading and texture calculation: The GPU renders vertex and texture data based on the vertex buffer and data objects:

[0122] At this time, the four vertices are: (300,300), (600,300), (300,700), (600,700);

[0123] Color: green;

[0124] Texture: No gradient;

[0125] Using primitive transformation feedback and primitive assembly: Calculate the primitives of this frame based on the image changes compared with the previous frame, and equip the primitives that need to be rendered:

[0126] Transform vertices: (300,300),(600,300),(300,700),(600,700);

[0127] Transform primitive: rectangle, green, no gradient

[0128] After completing the above, transfer the primitive information: transfer the primitive information to be rendered to the mobile phone.

[0129] (3) The second half of the process of the mobile phone completing the rendering of the screen: updating the primitive information: updating the primitive information of the difference between the current frame and the previous frame, and calculating the updated image that needs to be rendered:

[0130] Transformation primitive: Rectangle [(300,300),(600,300),(300,700),(600,700)], green, no gradient

[0131] Using rasterization and fragment shading: converting primitive information into a set of two-dimensional fragments, which represent the pixels to be drawn, and handing them over to the fragment shader for coloring;

[0132] Rasterization: Pixels from [(300,300),(600,300),(300,700),(600,700)]

[0133] Coloring: Green, no gradient

[0134] Finally, write the frame data area and display the screen: write the rendered image into the frame data area and display it on the screen.

[0135] This patent proposes a method for realizing cloud phone acceleration based on rendering separation. The image rendering process is divided into two parts: the cloud platform and the terminal for calculation. The cloud platform is responsible for vertex and texture calculation, and the terminal is responsible for rasterization and shading, thereby reducing network transmission requirements, reducing service latency, ensuring smooth images, and meeting user experience requirements for gaming and office work on cloud phones. It has the following innovations and advantages:

[0136] There is no need to transmit video streams between the cloud platform and the terminal. Only the transformed image element information needs to be updated, which reduces the requirements for network bandwidth and stability and ensures the smoothness of the cloud phone screen.

[0137] There is no need for the cloud platform to perform secondary video encoding. The cloud platform and the terminal jointly implement one-time image rendering, and image capture and video encoding are no longer required, which effectively reduces latency and improves the operational smoothness of cloud phone services.

[0138] Figure 6 Schematic diagram of a module of an embodiment of a cloud phone acceleration system based on rendering separation of the present invention. Figure 6 As shown, including but not limited to:

[0139] Instruction sending module 51, the mobile terminal receives real-time operation instructions and sends them to the cloud platform.

[0140] Instruction execution module 52, the cloud platform executes real-time operation instructions through a virtual machine.

[0141] The pre-rendering module 53, the virtual machine performs pre-rendering processing according to the result of running the real-time operation instruction, and only feeds back the part of the primitive information to be updated and rendered later to the mobile terminal.

[0142] The post-rendering module 54 performs post-rendering processing on part of the graphic element information that has been pre-rendered by the mobile terminal and displays it.

[0143] For the implementation principle of the above modules, please refer to the relevant introduction in the cloud phone acceleration method based on rendering separation, which will not be repeated here.

[0144] The cloud phone acceleration system based on rendering separation of the present invention can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of the cloud phone.

[0145] Figure 7 Schematic diagram of another embodiment of the cloud phone acceleration system based on rendering separation of the present invention. Figure 7 As shown, in Figure 6 On the basis of the device embodiment shown, the login authentication system based on hybrid encryption of the present invention replaces the instruction running module 52 by the simulation processing module 521 and the data output module 522. The early rendering module 53 is replaced by the data rendering module 531, the primitive equipment module 532, and the primitive transmission module 533. The late module 54 is replaced by the update confirmation module 541, the fragment conversion module 542, the rendering coloring module 543, and the image writing module 544. The following is a description of each module:

[0146] Instruction sending module 51, the mobile terminal receives real-time operation instructions and sends them to the cloud platform.

[0147] The simulation processing module 521, the cloud platform simulates the system program of the mobile terminal through the virtual machine in the server to process the real-time operation instructions.

[0148] The data output module 522 outputs the vector data to be rendered to the image renderer based on the processing result.

[0149] The data rendering module 531, the image renderer renders vertex and texture data according to the vertex buffer and the data object.

[0150] In the primitive equipment module 532, the image renderer calculates the primitives of the current frame according to the image changes with the previous frame, and equips the primitives to be rendered. The image renderer compares the image changes of the current frame with the previous frame, calculates the primitives in the current frame that are different from the previous frame as the primitives to be updated, and only equips the primitives to be updated in the current frame.

[0151] The image primitive transmission module 533, the image renderer transmits the image primitive information to be rendered to the mobile terminal.

[0152] In the update confirmation module 541 , the mobile terminal calculates an updated image to be rendered based on at least the primitive information of the current frame.

[0153] The fragment conversion module 542 converts the primitive information into a set of two-dimensional fragments of pixels to be drawn, and sends them to the fragment shader.

[0154] The rendering and coloring module 543, the fragment shader renders and colors the fragments. And

[0155] The image writing module 544 writes the rendered image into the frame data area and displays it on the screen of the mobile terminal.

[0156] The implementation principle of the above model can be found in the relevant introduction of the cloud phone acceleration method based on rendering separation, which will not be repeated here.

[0157] The cloud phone acceleration system based on rendering separation of the present invention can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of the cloud phone.

[0158] The embodiment of the present invention also provides a cloud phone acceleration device based on rendering separation, including a processor. A memory, in which executable instructions of the processor are stored. The processor is configured to execute the steps of the cloud phone acceleration method based on rendering separation by executing the executable instructions.

[0159] As shown above, the cloud phone acceleration system based on rendering separation in this embodiment of the present invention can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of the cloud phone.

[0160] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".

[0161] Figure 8 This is a schematic diagram of the structure of the cloud phone acceleration device based on rendering separation of the present invention. Figure 8 The electronic device 600 according to this embodiment of the present invention is described. Figure 8 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0162] like Figure 8 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0163] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the electronic prescription circulation processing method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 2 Follow the steps shown in .

[0164] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0165] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: a processing system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0166] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0167] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0168] An embodiment of the present invention also provides a computer-readable storage medium for storing a program, and the steps of the cloud phone acceleration method based on rendering separation are implemented when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the above-mentioned electronic prescription circulation processing method section of this specification.

[0169] As shown above, the cloud phone acceleration system based on rendering separation in this embodiment of the present invention can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of the cloud phone.

[0170] The program product 800 for implementing the above method according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device.

[0171] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The 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 readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable 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.

[0172] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0173] Program code for performing the processes of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0174] In summary, the purpose of the present invention is to provide a cloud phone acceleration method, system, device and storage medium based on rendering separation, which can solve the problems of video secondary encoding and high bit rate of network transmission video stream by separating the picture rendering process into the cloud platform and the terminal for separate processing, thereby improving the user experience of cloud phones.

[0175] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A cloud phone acceleration method based on rendering separation, characterized in that: include: The mobile terminal receives real-time operation instructions and sends them to the cloud platform; The cloud platform simulates the system program of the mobile terminal through the virtual machine in the server, processes the real-time operation instruction, and outputs the vector data to be rendered to the image renderer based on the processing result; The virtual machine performs preliminary rendering processing according to the result of running the real-time operation instruction, and the image renderer renders vertex and texture data according to the vertex buffer and the data object; the image renderer calculates the primitives in the current frame that are different from those in the previous frame as the primitives to be updated by comparing the image changes of the current frame with those of the previous frame, and only equips the primitives to be updated in the current frame; the image renderer transmits only the primitive information that needs to be updated to the mobile terminal, and the primitive information at least includes the vertex coordinates, color and texture of the primitive; as well as The mobile terminal compares the received primitive information to be updated in the current frame with the primitive information of the previous frame, filters out the primitive information that is different between the two frames from the primitive information to be updated and rendered in the current frame, and updates the primitive information based on the filtered primitive information; the mobile terminal converts the primitive information into a group of two-dimensional fragments of pixels to be drawn, and sends them to a fragment shader; the fragment shader renders and colors the fragments; the rendered image is written into a frame data area, and displayed on the screen of the mobile terminal.

2. The cloud phone acceleration method based on rendering separation according to claim 1 is characterized in that: The mobile terminal receives a real-time operation instruction, including The mobile terminal collects input operations performed by a user based on the mobile terminal, where the input operations at least include click operations and drag operations.

3. The cloud phone acceleration method based on rendering separation according to claim 1 is characterized in that: The image renderer is a graphics processor of the server.

4. The cloud phone acceleration method based on rendering separation according to claim 1 is characterized in that: The step of outputting the vector data to be rendered to the image renderer based on the processing result comprises: The virtual machine writes the picture data to be rendered into the vertex buffer and the data object.

5. A cloud phone acceleration system based on rendering separation, characterized in that: include: Instruction sending module: the mobile terminal receives real-time operation instructions and sends them to the cloud platform; Instruction running module, the cloud platform simulates the system program of the mobile terminal through the virtual machine in the server, processes the real-time operation instruction, and outputs the vector data to be rendered to the image renderer based on the processing result; A pre-rendering module, wherein the virtual machine performs pre-rendering processing according to the result of running the real-time operation instruction, and the image renderer renders vertex and texture data according to the vertex buffer and the data object; the image renderer calculates the primitives in the current frame that are different from those in the previous frame as the primitives to be updated by comparing the image changes of the current frame with those of the previous frame, and only equips the primitives to be updated in the current frame; the image renderer transmits only the primitive information that needs to be updated to the mobile terminal, and the primitive information at least includes the vertex coordinates, color and texture of the primitive; as well as A post-rendering module, wherein the mobile terminal compares the received primitive information to be updated of the current frame with the primitive information of the previous frame, selects the primitive information that is different between the two frames from the primitive information to be updated and rendered of the current frame, and updates the primitive information according to the selected primitive information; the mobile terminal converts the primitive information into a set of two-dimensional fragments of pixels to be drawn, and sends them to a fragment shader; the fragment shader renders and colors the fragments; the rendered image is written into a frame data area, and displayed on the screen of the mobile terminal.

6. A cloud phone acceleration device based on rendering separation, characterized in that: include: processor; a memory storing executable instructions of the processor; Wherein, the processor is configured to execute the steps of the cloud phone acceleration method based on rendering separation as described in any one of claims 1 to 4 by executing the executable instructions.

7. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by the processor, the steps of the cloud phone acceleration method based on rendering separation as described in any one of claims 1 to 4 are implemented.