Image processing method and device, and computer readable storage medium

By detecting user operations and network quality in the cloud VR device, the video frame processing method is dynamically determined, which solves the problem of high MTP delay of the cloud VR device, improves the display fluency and image quality, and realizes the computing power of the cloud side device. Efficient utilization.

CN114302125BActive Publication Date: 2024-09-03SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111665600.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-09-03
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

The motion-to-image (MTP) delay of cloud VR devices is relatively high, causing display freeze issues.

Method used

By detecting the user's trigger operation and network signal quality, it determines whether the cloud device or the local device performs image rendering processing of the video frame, and dynamically adjusts the processing method of the video frame to optimize network transmission and the use of local computing power.

Benefits of technology

It reduces the MTP delay of cloud VR devices, improves display fluency and image quality, makes full use of the computing power of cloud-side devices, and reduces the computing load of local devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114302125B
    Figure CN114302125B
Patent Text Reader

Abstract

An image processing method and device, and a computer-readable storage medium, the image processing method comprising: when displaying the i-th video frame, detecting a user's trigger operation; in response to the trigger operation, and when detecting that the network signal quality between the cloud-side device and the cloud-side device meets the video frame reporting requirements, sending a first indication information to the cloud-side device, the first indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1-th video frame; receiving and displaying the i+1-th video frame sent by the cloud-side device after image rendering processing. The above scheme can reduce the MTP delay of the cloud VR device and reduce the occurrence of display freezes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of VR technology, and in particular to an image processing method and device, and a computer-readable storage medium. Background Art

[0002] Traditional virtual reality (VR) devices have heavy headsets, high power consumption and high heat due to the large amount of computing, which affects the user experience.

[0003] In the prior art, there is a new mode of cloud collaboration in the VR scene, in which the cloud-side device renders, streams, and processes the video frames, and sends the processing results to the cloud VR device, which displays the processing results, thereby reducing the weight and power consumption of the cloud VR device to a certain extent.

[0004] However, since it takes a certain amount of time for the cloud-side device to process the video frames, and there will be a long Motion To Photons (MTP) delay during the data transmission and encoding and decoding process in the cellular network and wireless LAN, the MTP delay of the cloud VR device is relatively high, resulting in display stuttering. Summary of the invention

[0005] The embodiment of the present invention solves the technical problem that the MTP delay of the cloud VR device is high and the display is stuck.

[0006] To solve the above technical problems, an embodiment of the present invention provides an image processing method, including: when displaying the i-th video frame, detecting a user's trigger operation; in response to the trigger operation, and when it is detected that the network signal quality between the cloud-side device meets the video frame reporting requirements, sending a first indication information to the cloud-side device, wherein the first indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1-th video frame; receiving and displaying the i+1-th video frame sent by the cloud-side device after image rendering processing.

[0007] Optionally, the image processing method also includes: when it is detected that the network signal quality between the cloud-side device does not meet the video frame reporting requirements, performing image rendering processing on the i+1th video frame, and displaying the i+1th video frame after image rendering processing.

[0008] Optionally, before performing image rendering processing on the (i+1)th video frame, the method further includes: determining that the local load is not greater than a first threshold.

[0009] Optionally, the image processing method further includes: if it is determined that the local load is greater than the first threshold, distorting and displaying the (i+1)th video frame.

[0010] Optionally, the image processing method also includes: when it is detected that the network signal quality between the cloud side device and the cloud side device does not meet the video frame reporting requirements, performing image rendering processing on the i-th video frame in the first video frame set; if the i+1-th video frame is in the second video frame set, sending a second indication information to the cloud side device, the second indication information is used to instruct the cloud side device to perform image rendering processing on the i+1-th video frame and the M-1 video frames thereafter; receiving and displaying the i+1-th frame and the M-1 video frames thereafter that have been image rendered and sent by the cloud side device; if the i+1-th video frame is in the first video frame set, performing image rendering processing and displaying the i+1-th video frame; the first video frame set includes video frames on which image rendering processing is performed locally, and the second video frame set includes video frames on which image rendering processing is performed by the cloud side device.

[0011] Optionally, the video frames in the first video frame set and the second video frame set are pre-allocated.

[0012] Optionally, the number of video frames in the first video frame set and the second video frame set is adjusted according to preset adjustment conditions; the preset adjustment conditions include at least one of the following: channel quality between the cloud side device, network service quality, traffic tariff information and local computing power.

[0013] An embodiment of the present invention also provides another image processing method, including: when displaying the i-th video frame, detecting a user's trigger operation; in response to the trigger operation, determining that the local i+1-th video frame is to be subjected to a first image rendering process, and determining that the cloud-side device is to be subjected to a second image rendering process on the i+1-th video frame, and sending a third indication information to the cloud-side device indicating that the i+1-th video frame is to be subjected to a second image rendering process; performing a first image rendering process on the i+1-th video frame, and receiving the i+1-th video frame subjected to the second image rendering process sent by the cloud-side device; merging the i+1-th video frame subjected to the first image rendering process with the i+1-th video frame subjected to the second image rendering process, and displaying the merged i+1-th video frame; the first image rendering process and the second image rendering process are one of rich detail model processing and basic detail model processing.

[0014] Optionally, determining that the local device performs a first image rendering process on the i+1th video frame, and determining that the cloud-side device performs a second image rendering process on the i+1th video frame, includes: if the traffic tariff corresponding to the traffic tariff information does not reach a predetermined tariff value, and the local computing power is lower than a preset threshold, determining that the first image rendering process is rich detail model processing, and the second image rendering process is rich detail model processing; if the traffic tariff corresponding to the traffic tariff information does not reach a predetermined tariff value, and the local computing power is higher than a preset threshold, determining that the first image rendering process is basic detail model processing, and the second image rendering process is rich detail model processing; if the traffic tariff corresponding to the traffic tariff information reaches the predetermined tariff value, and the local computing power is lower than the preset threshold, determining that the first image rendering process is rich detail model processing, and the second image rendering process is basic detail model processing; if the traffic tariff corresponding to the traffic tariff information reaches the predetermined tariff value, and the local computing power is higher than the preset threshold, determining that the first image rendering process is basic detail model processing, and the second image rendering process is basic detail model processing.

[0015] Optionally, the image processing method further includes: if the merged (i+1)th video frame is not received, distorting and displaying the (i+1)th video frame.

[0016] An embodiment of the present invention also provides an image detection device, including: a first detection unit, used to detect a user's trigger operation when displaying the i-th video frame; a first sending unit, used to respond to the trigger operation and send first indication information to the cloud-side device when it detects that the network signal quality between the cloud-side device and the cloud-side device meets the video frame reporting requirements, wherein the first indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1-th video frame; a first receiving unit, used to receive and display the i+1-th video frame sent by the cloud-side device after image rendering processing.

[0017] An embodiment of the present invention also provides another image detection device, including: a second detection unit, used to detect a user's trigger operation when displaying the i-th video frame; a first determination unit, used to determine, in response to the trigger operation, that the local i+1-th video frame is subjected to first image rendering processing, and to determine that the cloud-side device is subjected to second image rendering processing on the i+1-th video frame according to traffic tariff information and local computing power; a second sending unit, used to send third indication information to the cloud-side device indicating that the i+1-th video frame is subjected to second image rendering processing; a first image processing unit, used to perform first image rendering processing on the i+1-th video frame; a second receiving unit, used to receive the i+1-th video frame subjected to second image rendering processing sent by the cloud-side device; a merging unit, used to merge the i+1-th video frame subjected to the first image rendering processing with the i+1-th video frame subjected to the second image rendering processing, and display the merged i+1-th video frame; the first image rendering processing and the second image rendering processing are one of rich detail model processing and basic detail model processing.

[0018] An embodiment of the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned image processing methods are executed.

[0019] An embodiment of the present invention further provides another image processing device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the steps of any one of the above-mentioned image processing methods when running the computer program.

[0020] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:

[0021] When the user's trigger operation is detected, if the network signal quality between the cloud-side device is detected to be good, the cloud-side device will perform image rendering processing on the i+1th video frame and receive the i+1th video frame after image rendering processing. By processing the video frame through the cloud-side device, the computing power of the cloud-side device is fully utilized, while reducing the MTP latency of the cloud VR device, the computing power requirements of the local cloud VR device are greatly reduced.

[0022] Furthermore, if it is detected that the network signal quality between the cloud-side device is poor, the image rendering processing of the i+1th video frame is performed through local computing power, which can greatly reduce the MTP delay of the cloud VR device.

[0023] In addition, the number of video frames in the first video frame set and the second video frame set is dynamically adjusted. When the local computing power available to the cloud VR device is strong, the number of video frames in the first video frame set can be appropriately increased and the number of video frames in the second video frame set can be correspondingly reduced, further reducing the MTP delay of the cloud VR device. When the local computing power available to the cloud VR device is weak, the number of video frames in the first video frame set can be appropriately reduced and the number of video frames in the second video frame set can be correspondingly increased, improving the image quality of the cloud VR device display screen to a certain extent.

[0024] When a user's trigger operation is detected, the image rendering processing method for the i+1th video frame by the cloud VR device and the cloud-side device is determined according to the tariff information and the local computing power that the cloud VR device can use. The image quality of the displayed image can be flexibly improved according to the tariff information and the local computing power that the cloud VR device can use. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flow chart of an image processing method in an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram of distribution of a video frame in an embodiment of the present invention;

[0027] Figure 3 is a flow chart of another image processing method in an embodiment of the present invention;

[0028] Figure 4 is a structural schematic diagram of an image processing device in an embodiment of the present invention;

[0029] Figure 5 It is a schematic diagram of the structure of another image processing device in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] As described in the above background technology, in the prior art, the MTP latency of the cloud VR device is relatively high, and the display may be stuck.

[0031] In the embodiment of the present invention, when a user's trigger operation is detected, if it is detected that the network signal quality between the cloud-side device is relatively good, the cloud-side device can perform image rendering processing on the i+1th video frame and receive the i+1th video frame after image rendering processing. By processing the video frame through the cloud-side device, the computing power of the cloud-side device is fully utilized, and the computing power requirements of the local cloud VR device are greatly reduced while reducing the MTP delay of the cloud VR device.

[0032] In order to make the above-mentioned objects, features and beneficial effects of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0033] The embodiment of the present invention provides an image processing method, referring to Figure 1 , the following is a detailed description through specific steps.

[0034] In a specific implementation, the image processing method can be executed by a control chip (such as a CPU chip) in a cloud VR device, or by a chip module in the cloud VR device that includes a control chip.

[0035] Step S101: When displaying the i-th video frame, a trigger operation by a user is detected.

[0036] In a specific implementation, it is possible to detect in real time whether a user wearing a cloud VR device triggers an operation to update a video frame. For different types of cloud VR devices, the triggering operations corresponding to the user may be the same or different.

[0037] For example, for a certain type of cloud VR device, when a nodding operation of the user is detected, it is determined that a trigger operation of the user is detected; or, when a shaking of the user left or right is detected, it is determined that a trigger operation of the user is detected.

[0038] In a specific application, the specific rules for detecting whether a user has a trigger operation can be set accordingly according to different cloud VR devices, which is not described in detail in the embodiment of the present invention.

[0039] In an embodiment of the present invention, when the cloud VR device displays the i-th video frame, if a trigger operation of the user is detected, the following step S102 may be executed.

[0040] Step S102, in response to the trigger operation, and when it is detected that the network signal quality between the cloud-side device and the cloud-side device meets the video frame reporting requirement, first indication information is sent to the cloud-side device.

[0041] In a specific implementation, the quality of the communication network between the cloud VR device and the cloud side device can be detected and obtained in real time. The quality of the communication network can be characterized by any one or more of the block error rate (BLER), signal to interference plus noise ratio (SINR), and quality of service (QoS) of the air interface channel. It is understandable that the quality of the communication network can also be characterized by other parameters that can characterize the quality of communication.

[0042] In the embodiment of the present invention, when the BLER of the air interface channel is less than a preset block error rate threshold, the SINR is greater than a preset signal to interference and noise ratio threshold, and the network service quality can meet the requirements of throughput, delay, packet loss rate, etc., it can be determined that the communication network quality between the cloud VR device and the cloud side device is greater than the preset quality threshold. When it is determined that the communication network quality between the cloud VR device and the cloud side device is greater than the preset quality threshold, it can be determined that the requirement for reporting video frames is met; conversely, when it is determined that the communication network quality between the cloud VR device and the cloud side device is less than the preset quality threshold, it is determined that the requirement for reporting video frames is not met.

[0043] For example, when the BLER of the air interface channel is less than 1%, the SINR is greater than -3dB, and indicators such as throughput, latency and packet loss rate of network service quality are normal, it can be determined that the communication network quality between the cloud VR device and the cloud side equipment is better.

[0044] Accordingly, when the BLER of the air interface channel is greater than or equal to a preset block error rate threshold, the SINR is less than or equal to a preset signal-to-interference-and-noise ratio threshold, and the network service quality cannot meet any requirement of throughput, latency, packet loss rate, etc., it can be determined that the communication network quality between the cloud VR device and the cloud-side device is lower than the preset quality threshold, that is, the communication network quality between the cloud VR device and the cloud-side device is average or poor.

[0045] For example, when the BLER of the air interface channel is ≥1%, SINR ≤ -3dB, and the network service quality cannot meet the indicators of latency and packet loss rate, it can be determined that the communication network quality between the cloud VR device and the cloud-side equipment is average or poor.

[0046] It should be noted that the above example is only a specific example of judging the quality of the communication network between the cloud VR device and the cloud side device. In a specific implementation, the BLER threshold and the SINR threshold can be set to other values, and are not limited to the above example.

[0047] In an embodiment of the present invention, when the cloud VR device detects that the network signal quality between it and the cloud-side device meets the video frame reporting requirements, the cloud VR device can send a first indication message to the cloud-side device. The first indication message can be used to instruct the cloud-side device to perform image rendering processing on the i+1th video frame.

[0048] That is to say, when the cloud VR device detects that the network signal quality between it and the cloud-side device is better, it can instruct the cloud-side device to perform image rendering processing on the i+1th video frame.

[0049] After receiving the first indication information, the cloud side device can perform image rendering processing on the i+1th video frame. The specific algorithm and process of the cloud side device performing image rendering processing on the i+1th video frame can refer to the prior art, and the embodiment of the present invention will not be repeated.

[0050] Step S103, receiving and displaying the (i+1)th video frame after image rendering sent by the cloud-side device.

[0051] In a specific implementation, the cloud VR device can receive the i+1th video frame after image rendering processing sent by the cloud-side device, and display the i+1th video frame after image rendering processing.

[0052] That is to say, when it is detected that the communication network quality between the cloud VR device and the cloud-side device is good, all video frames can be rendered and processed only by the cloud-side device, and the cloud VR device may not render and process the video frames.

[0053] It can be seen that when it is detected that the network signal quality between the cloud-side device is better, the cloud-side device performs image rendering processing on the i+1th video frame and receives the i+1th video frame after image rendering processing. Since the network signal quality between the cloud-side device is better, the communication delay between the cloud VR device and the cloud-side device is low, and the strong computing power of the cloud-side device is fully utilized to render the video frame. While meeting the frame rate, clarity and perception, the computing load and power consumption of the cloud VR device can be reduced, and the computing power requirements for the local cloud VR device can be reduced.

[0054] In a specific implementation, when it is detected that the communication network quality between the cloud VR device and the cloud-side device is lower than a preset quality threshold, it can be determined that the network quality between the cloud VR device and the cloud-side device is average or poor and may not meet the low latency requirement.

[0055] In the embodiment of the present invention, when the cloud VR device detects that the network quality between it and the cloud side device is average or poor, it can be determined that the network signal quality between it and the cloud side device does not meet the video frame reporting requirements. At this time, if the cloud side device performs image rendering processing on the i+1th video frame, the MTP of the cloud VR device will be higher due to the poor network quality between the cloud VR device and the cloud side device.

[0056] In order to reduce the MTP of the cloud VR device, the cloud VR device may perform image rendering processing on the i+1th video frame and display the i+1th video frame after image rendering processing.

[0057] That is to say, when it is determined that the network signal quality between the cloud-side device and the cloud-side device does not meet the video frame reporting requirements, the cloud VR device can perform image rendering processing on the video frame only, without the cloud-side device participating in the image rendering processing of the video frame.

[0058] The video frames are processed by the cloud VR device. Since the cloud VR device does not need to communicate with the cloud-side device, the MTP delay of the cloud VR device can be greatly reduced.

[0059] However, since the cloud VR device is required to perform image rendering processing on the (i+1)th video frame, the local computing power of the cloud VR device may be correspondingly higher.

[0060] If the local load corresponding to the cloud VR device is high (that is, the local computing power that the cloud VR device can use is low), the cloud VR device may not be able to perform image rendering processing on the i+1th video frame, or may not be able to perform image rendering processing on the i+1th video frame in a timely manner. Therefore, after detecting that the network signal quality between the cloud-side device does not meet the requirements for video frame reporting, before performing image rendering processing on the i+1th video frame, it can also be determined that the local load corresponding to the cloud VR device is not greater than the first threshold.

[0061] In an embodiment of the present invention, the first threshold value may be set according to the working capacity of the cloud VR device. The first threshold value may be characterized as the highest load at which the cloud VR device can normally and timely render the video frame. In other words, if the local load of the cloud VR device is greater than the first threshold value, it indicates that the cloud VR device cannot normally and timely render the video frame.

[0062] If the local load of the cloud VR device is greater than the first threshold, the cloud VR device may distort and display the i+1th video frame. Specifically, the cloud VR device may use asynchronous time warping (ATW) technology for display, which may also alleviate the display freeze situation to a certain extent.

[0063] In the embodiment of the present invention, when the cloud VR device detects that the network quality between it and the cloud side device is average or poor, it can be determined that the network signal quality between it and the cloud side device does not meet the video frame reporting requirements. At this time, the cloud VR device can perform image rendering processing on the i-th video frame and display the i-th video frame after image rendering processing.

[0064] When performing image rendering processing on the i+1th video frame, if the i+1th video frame is in the second video frame set, the cloud VR device can send a second indication information to the cloud-side device, and the second indication information can be used to instruct the cloud-side device to perform image rendering processing on the i+1th video frame and the M-1 video frames thereafter. After receiving the second indication information, the cloud-side device can perform image rendering processing on the i+1th video frame and the M-1 video frames thereafter, and send the i+1th video frame and the M-1 video frames thereafter that have been image rendered to the cloud VR device, and the cloud VR device displays the i+1th video frame and the M-1 video frames thereafter that have been image rendered.

[0065] If the i+1th video frame is in the first video frame set, image rendering processing is performed on the i+1th video frame, and the i+1th video frame is displayed.

[0066] In an embodiment of the present invention, the video frames included in the first video frame set refer to video frames on which the cloud VR device performs image rendering processing locally; the video frames included in the second video frame set refer to video frames on which image rendering processing is performed by the cloud-side device.

[0067] In a specific implementation, the video frames in the first video frame set and the video frames in the second video frame set may be pre-allocated.

[0068] Reference Figure 2 , a schematic diagram of the distribution of a video frame in an embodiment of the present invention is given.

[0069] Figure 2 In , L1 represents the set of video frames LF rendered by the cloud VR device at the first moment, that is, the first video frame set. M1 represents the set of video frames CF rendered by the cloud-side device at the first moment.

[0070] Correspondingly, L2 represents the set of video frames LF rendered by the cloud VR device at the second moment, and M2 represents the set of video frames CF rendered by the cloud-side device at the second moment. Similarly, Li represents the set of video frames LF rendered by the cloud VR device at the i-th moment after the current moment, and Mi represents the set of video frames CF rendered by the cloud-side device at the i-th moment after the current moment.

[0071] Reference Figure 2 , on the time axis, if the i-th video frame is the last video frame of L1, the i+1-th video frame is the first video frame of L2, and L2 includes M video frames, the cloud-side device performs image rendering processing on the M video frames included in L2. If the i-th video frame is not the last video frame of L1, the local VR device continues to perform image rendering processing on the i+1-th video frame.

[0072] For example, if the i-th video frame is the second video frame in L1, and L1 includes four video frames, the VR device continues to perform image rendering processing on the third video frame.

[0073] The number of video frames included in different video frame sets may be equal or different. For example, the number of video frames included in each video frame set is equal, that is, the number of video frames included in L1, the number of video frames included in M1, the number of video frames included in L2, ..., the number of video frames included in Li, and the number of video frames included in Mi are all equal.

[0074] For another example, the number of video frames included in L1, L2, ..., Li is 4, and the number of video frames included in M1, M2, ..., Mi is 6. Alternatively, the number of video frames included in L1 is 4, the number of video frames included in L2 is 2, ..., and the number of video frames included in Li is 3.

[0075] In a specific implementation, the number of video frames included in different video frame sets may be set according to actual application scenarios.

[0076] In a specific implementation, the video frames in the first video frame set and the video frames in the second video frame set may also be dynamically adjusted.

[0077] In an embodiment of the present invention, the number of video frames in the first video frame set and the number of video frames in the second video frame set may be adjusted according to a preset adjustment condition. The preset adjustment condition may include one or more of the following: signal quality between the cloud VR device and the cloud side device, network service quality, traffic tariff information, and local computing power that the cloud VR device can use.

[0078] In an embodiment of the present invention, when the local computing power that the cloud VR device can use (usually including the computing power of the CPU and / or the computing power of the GPU of the cloud VR device) is high, and it is detected that the quality of the communication network with the cloud-side device is lower than a preset quality threshold, the number of video frames rendered and processed by the cloud VR device can be appropriately increased, and the number of video frames rendered and processed by the cloud-side device can be correspondingly reduced.

[0079] For example, the local computing power corresponding to the cloud VR device is higher. At the first moment, the number of video frames rendered by the cloud VR device is 4, and the number of video frames rendered by the cloud-side device is 4. At the second moment, the cloud VR device detects that the BLER value of the air interface channel is greater than the preset BLER threshold, then the number of video frames rendered by the cloud VR device is adjusted to 5, and the number of video frames rendered by the cloud-side device is adjusted to 3.

[0080] For another example, the local computing power corresponding to the cloud VR device is higher. At the first moment, the number of video frames rendered by the cloud VR device is 4, and the number of video frames rendered by the cloud-side device is 4. At the second moment, the cloud VR device detects that the current traffic fee is about to reach the preset limit, then the number of video frames rendered by the cloud VR device is adjusted to 6, and the number of video frames rendered by the cloud-side device is adjusted to 2.

[0081] In an embodiment of the present invention, when the local computing power corresponding to the cloud VR device is low and the quality of the communication network with the cloud-side device is detected to be lower than a preset quality threshold, since the cloud VR device renders more video frames, which may cause display freezes, the number of video frames rendered by the cloud-side device can be increased accordingly, and the number of video frames rendered by the cloud VR device can be reduced accordingly.

[0082] For example, the local computing power corresponding to the cloud VR device is low. At the first moment, the number of video frames rendered by the cloud VR device is 3, and the number of video frames rendered by the cloud-side device is 5. At the second moment, the cloud VR device detects that the current traffic fee is sufficient, and the number of video frames rendered by the cloud VR device is adjusted to 2, and the number of video frames rendered by the cloud-side device is adjusted to 6.

[0083] In a specific implementation, the number of video frames rendered and processed by the cloud VR device and the cloud-side device can also be adjusted according to the degree of change in the quality of the communication network.

[0084] For example, at the first moment, the number of video frames rendered by the cloud VR device is 4, and the number of video frames rendered by the cloud-side device is 4. At the second moment, the cloud VR device detects that the SINR of the air interface channel is less than -3dB, then the number of video frames rendered by the cloud VR device is adjusted to 5, and the number of video frames rendered by the cloud-side device is adjusted to 3. At the third moment, the cloud VR device detects that the SINR of the air interface channel is less than -6dB, then the number of video frames rendered by the cloud VR device is adjusted to 6, and the number of video frames rendered by the cloud-side device is adjusted to 2.

[0085] As can be seen from the above, through the collaborative processing of the local cloud VR device and the cloud-side equipment, the MTP delay of the cloud VR device can be reduced and the display freeze can be reduced. When the local computing power of the cloud VR device is strong, the number of video frames in the first video frame set can be appropriately increased and the number of video frames in the second video frame set can be correspondingly reduced to further reduce the MTP delay of the cloud VR device. When the local computing power of the cloud VR device is weak, the number of video frames in the first video frame set can be appropriately reduced and the number of video frames in the second video frame set can be correspondingly increased to improve the image quality of the cloud VR device display screen to a certain extent.

[0086] Reference Figure 3 , another image processing method in an embodiment of the present invention is given, and is described in detail through specific steps below.

[0087] Step S301: When displaying the i-th video frame, a trigger operation by a user is detected.

[0088] In the embodiment of the present invention, the specific execution process of step S301 may correspond to step S101 and will not be described in detail here.

[0089] Step S302, in response to the trigger operation, based on the traffic charge information and the local computing power, determine that the local device performs the first image rendering processing on the i+1th video frame, and determine that the cloud-side device performs the second image rendering processing on the i+1th video frame, and send the third indication information to the cloud-side device to instruct the second image rendering processing on the i+1th video frame.

[0090] In the embodiment of the present invention, the first image rendering process and the second image rendering process may be the same image rendering process method or different image rendering process methods.

[0091] In a specific implementation, the first image rendering process may be any one of rich detail model processing and basic detail model processing, and the second image rendering process may also be any one of rich detail model processing and basic detail model processing. Specifically, which processing method the cloud VR device selects as the specific implementation of the first image rendering process and the second image rendering process may be determined by traffic tariff information and the local computing power available to the cloud VR device.

[0092] Step S303: perform a first image rendering process on the i+1th video frame, and receive the i+1th video frame that has undergone a second image rendering process and is sent by the cloud-side device.

[0093] Step S304: merge the i+1th video frame processed by the first image rendering and the i+1th video frame processed by the second image rendering, and display the merged i+1th video frame.

[0094] In a specific implementation, the cloud VR device can determine the way to perform image rendering processing on the i+1th video frame based on the current traffic fee information and the available local computing power. Correspondingly, the cloud-side device can also determine the way to perform image rendering processing on the i+1th video frame based on the current traffic fee information and the computing power of the cloud VR device.

[0095] In an embodiment of the present invention, the rendering processing of the video frame may include rich detail model processing and basic detail model processing. The rich detail model indicates that the triangular facets are more fine-grained and the model information volume is large, which can be used to enrich the characteristic parts of the image as well as the edges and detail textures, but the rendering operation volume is large; the basic detail model indicates that the triangular facets are less and the details are less, the model information volume is small, and the detail structure of the image is less presented, but the rendering operation volume is small.

[0096] In the embodiment of the present invention, when the traffic charges are high and the local computing power available to the cloud VR device is sufficient, the cloud-side device can use the basic detail model to render the video frame, and the cloud VR device can use the rich detail model to render the video frame. Afterwards, the rendering engine in the cloud VR device interpolates the video frames rendered based on the basic detail model and the video frames rendered based on the rich detail model output by the cloud-side device to obtain the final output video frame.

[0097] For example, if the cloud VR device detects that the traffic fee for the day has reached the daily limit of 10 yuan, and the resource usage rate of the local GPU of the cloud VR device is less than 50%, then for the i+1th video frame, the cloud VR device uses the rich detail model to render the i+1th video frame, and the cloud-side device uses the basic detail model to render the i+1th video frame. Afterwards, the cloud VR device interpolates and merges the i+1th video frame rendered with the rich detail model and the i+1th video frame rendered with the basic detail model to obtain the final output video frame and display it.

[0098] When the traffic charges are high and the local computing power available to the cloud VR device is insufficient, the cloud-side device can use the basic detail model to render the video frame. Afterwards, the rendering engine in the cloud VR device interpolates the video frame rendered based on the basic detail model output by the cloud-side device and the video frame rendered based on the basic detail model to obtain the final output video frame.

[0099] For example, if the cloud VR device detects that the traffic fee for the day reaches the daily limit of 10 yuan, and the resource usage rate of the local GPU of the cloud VR device is higher than 50%, then for the i+1th video frame, the cloud VR device uses the basic detail model to render the i+1th video frame, and the cloud-side device uses the basic detail model to render the i+1th video frame. Afterwards, the cloud VR device interpolates and merges the i+1th video frame rendered using the basic detail model and the i+1th video frame rendered using the basic detail model to obtain the final output video frame and display it.

[0100] When the traffic charges are low and the local computing power available to the cloud VR device is insufficient, the cloud-side device can use the rich detail model to render the video frame, and the cloud VR device can use the basic detail model to render the video frame. Afterwards, the rendering engine in the cloud VR device interpolates the video frames rendered based on the rich detail model and the basic detail model output by the cloud-side device to obtain the final output video frame.

[0101] For example, if the cloud VR device detects that the traffic fee for the day is not capped at 10 yuan per day, and the resource usage rate of the local GPU of the cloud VR device is higher than 50%, then for the i+1th video frame, the cloud VR device uses the basic detail model to render the i+1th video frame, and the cloud-side device uses the rich detail model to render the i+1th video frame. Afterwards, the cloud VR device interpolates and merges the i+1th video frame rendered using the basic detail model and the i+1th video frame rendered using the rich detail model to obtain the final output video frame and displays it.

[0102] When the traffic charges are low and the local computing power available to the cloud VR device is sufficient, the cloud-side device can use the rich detail model to render the video frame. Afterwards, the rendering engine in the cloud VR device interpolates the video frame rendered based on the rich detail model output by the cloud-side device to obtain the final output video frame.

[0103] For example, if the cloud VR device detects that the traffic fee for the day is not capped at 10 yuan per day, and the resource usage rate of the local GPU of the cloud VR device is less than 50%, then for the i+1th video frame, the cloud VR device uses the rich detail model to render the i+1th video frame, and the cloud-side device uses the rich detail model to render the i+1th video frame. Afterwards, the cloud VR device interpolates and merges the i+1th video frame rendered with the rich detail model and the i+1th video frame rendered with the rich detail model to obtain the final output video frame and display it.

[0104] In a specific implementation, after displaying the merged image, if the cloud VR device has not received a new merged video frame, the cloud VR device can use asynchronous time warping (ATW) technology for display, which can also alleviate the display freeze to a certain extent.

[0105] In summary, by using tariff information and the local computing power of the cloud VR device to determine whether to use a rich detail model or a basic detail model to render a certain video frame, the MTP delay can be further reduced.

[0106] Reference Figure 4 , an image processing device 40 in an embodiment of the present invention is given, comprising: a first detection unit 401, a first sending unit 402 and a first receiving unit 403, wherein:

[0107] The first detection unit 401 may be used to detect a trigger operation of a user when displaying the i-th video frame;

[0108] The first sending unit 402 may be configured to respond to the trigger operation and, when detecting that the network signal quality between the cloud-side device and the cloud-side device meets the video frame reporting requirement, send first indication information to the cloud-side device, wherein the first indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1th video frame;

[0109] The first receiving unit 403 can be used to receive and display the (i+1)th video frame that has been processed by image rendering and sent by the cloud-side device.

[0110] In a specific implementation, the specific processing flow corresponding to the first detection unit 401, the first sending unit 402 and the first receiving unit 403 can refer to step S101 to step S103, which will not be described in detail here.

[0111] In a specific implementation, the above-mentioned image processing device 40 may correspond to a processing chip with a data processing function in a cloud VR device, or to a chip module including the processing chip, or to a cloud VR device.

[0112] Reference Figure 5 , another image processing device 50 in an embodiment of the present invention is provided, comprising: a second detection unit 501, a first determination unit 502, a second sending unit 503, a first image processing unit 504, a second receiving unit 505 and a merging unit 506, wherein:

[0113] The second detection unit 501 is used to detect a trigger operation of a user when displaying the i-th video frame;

[0114] A first determining unit 502 is used to determine, in response to the trigger operation, that the local device performs a first image rendering process on the i+1th video frame according to the traffic tariff information and the local computing power, and to determine that the cloud-side device performs a second image rendering process on the i+1th video frame;

[0115] The second sending unit 503 is used to send third instruction information to the cloud-side device to instruct the second image rendering process to be performed on the (i+1)th video frame;

[0116] A first image processing unit 504, configured to perform a first image rendering process on the (i+1)th video frame;

[0117] The second receiving unit 505 is used to receive the (i+1)th video frame sent by the cloud-side device and subjected to the second image rendering processing;

[0118] The merging unit 506 is used to merge the i+1th video frame after the first image rendering processing and the i+1th video frame after the second image rendering processing, and display the merged i+1th video frame; the first image rendering processing and the second image rendering processing are one of rich detail model processing and basic detail model processing.

[0119] In a specific implementation, the specific execution process of the second detection unit 501, the first determination unit 502, the second sending unit 503, the first image processing unit 504, the second receiving unit 505 and the merging unit 506 can correspond to steps S301 to S304, which will not be repeated here.

[0120] In a specific implementation, the above-mentioned image processing device 50 may correspond to a processing chip with a data processing function in a cloud VR device, or to a chip module including the processing chip, or to a cloud VR device.

[0121] In a specific implementation, each module / unit included in each device or product described in the above embodiments may be a software module / unit or a hardware module / unit, or may be partly a software module / unit and partly a hardware module / unit.

[0122] For example, for each device or product applied to or integrated in a chip, each module / unit contained therein may be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a chip module, each module / unit contained therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. The element can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.

[0123] An embodiment of the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the image processing method provided in any of the above embodiments are executed.

[0124] An embodiment of the present invention further provides another image processing device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor runs the computer program, the steps of the image processing method provided in any of the above embodiments are executed.

[0125] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, which may include: ROM, RAM, disk or CD, etc.

[0126] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. An image processing method, characterized in that: include: When displaying the i-th video frame, a trigger operation of the user is detected; In response to the trigger operation, when it is detected that the network signal quality between the cloud-side device and the cloud-side device meets the video frame reporting requirement, first indication information is sent to the cloud-side device, where the first indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1th video frame; Receive and display the (i+1)th video frame sent by the cloud-side device and processed by image rendering; When it is detected that the network signal quality between the cloud-side device does not meet the video frame reporting requirements, image rendering processing is performed on the i-th video frame in the first video frame set; if the i+1-th video frame is in the second video frame set, a second indication information is sent to the cloud-side device, and the second indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1-th video frame and the M-1 video frames thereafter; the i+1-th frame and the M-1 video frames thereafter sent by the cloud-side device that have been image rendered are received and displayed; if the i+1-th video frame is in the first video frame set, image rendering processing is performed on the i+1-th video frame and displayed; the first video frame set includes video frames on which image rendering processing is performed locally, and the second video frame set includes video frames on which image rendering processing is performed by the cloud-side device.

2. The image processing method according to claim 1, characterized in that: Also includes: When it is detected that the network signal quality between the cloud-side device does not meet the video frame reporting requirement, the i+1th video frame is subjected to image rendering processing, and the i+1th video frame subjected to image rendering processing is displayed.

3. The image processing method according to claim 2, characterized in that: Before performing image rendering processing on the i+1th video frame, the method further includes: It is determined that the local load is not greater than a first threshold.

4. The image processing method according to claim 3, characterized in that: Also includes: If it is determined that the local load is greater than the first threshold, the (i+1)th video frame is distorted and displayed.

5. The image processing method according to claim 1, wherein: The video frames in the first video frame set and the second video frame set are pre-allocated.

6. The image processing method according to claim 1, characterized in that: According to preset adjustment conditions, the number of video frames in the first video frame set and the second video frame set is adjusted; the preset adjustment conditions include at least one of the following: channel quality between the cloud side device, network service quality, traffic tariff information and local computing power.

7. An image processing method, characterized in that: include: When displaying the i-th video frame, a trigger operation of the user is detected; In response to the trigger operation, according to the traffic tariff information and the local computing power, determining that the local device performs the first image rendering processing on the i+1th video frame, determining that the cloud-side device performs the second image rendering processing on the i+1th video frame, and sending third indication information instructing the cloud-side device to perform the second image rendering processing on the i+1th video frame; Performing a first image rendering process on the i+1th video frame, and receiving the i+1th video frame that has undergone a second image rendering process and is sent by the cloud-side device; The i+1th video frame after the first image rendering processing and the i+1th video frame after the second image rendering processing are merged, and the merged i+1th video frame is displayed; the first image rendering processing and the second image rendering processing are one of rich detail model processing and basic detail model processing.

8. The image processing method according to claim 7, characterized in that: The determining that the local device performs a first image rendering process on the i+1th video frame, and determining that the cloud-side device performs a second image rendering process on the i+1th video frame, includes: If the traffic charge corresponding to the traffic charge information does not reach a predetermined charge value, and the local computing power is lower than a preset threshold, determining that the first image rendering processing is rich detail model processing, and the second image rendering processing is rich detail model processing; If the traffic charge corresponding to the traffic charge information does not reach the predetermined charge value, and the local computing power is higher than a preset threshold, determining that the first image rendering processing is basic detail model processing, and the second image rendering processing is rich detail model processing; If the traffic charge corresponding to the traffic charge information reaches the predetermined charge value, and the local computing power is lower than the preset threshold, determining that the first image rendering processing is rich detail model processing and the second image rendering processing is basic detail model processing; If the traffic charge corresponding to the traffic charge information reaches the predetermined charge value and the local computing power is higher than the preset threshold, it is determined that the first image rendering processing is basic detail model processing and the second image rendering processing is basic detail model processing.

9. The image processing method according to claim 7 or 8, characterized in that: Also includes: If the merged (i+1)th video frame is not received, the (i+1)th video frame is displayed in a distorted manner.

10. An image processing device, characterized in that: include: A first detection unit, used to detect a trigger operation of a user when displaying the i-th video frame; a first sending unit, configured to respond to the trigger operation and, when detecting that the network signal quality between the cloud-side device and the cloud-side device meets the video frame reporting requirement, send first indication information to the cloud-side device, wherein the first indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1th video frame; A first receiving unit, configured to receive and display the (i+1)th video frame sent by the cloud-side device and processed by image rendering; The first processing unit is used to perform image rendering processing on the i-th video frame in the first video frame set when it is detected that the network signal quality between the cloud-side device and the cloud-side device does not meet the video frame reporting requirements; if the i+1-th video frame is in the second video frame set, send second indication information to the cloud-side device, and the second indication information is used to instruct the cloud-side device to perform image rendering processing on the i+1-th video frame and the M-1 video frames thereafter; receive and display the i+1-th frame and the M-1 video frames thereafter that have been image rendered and sent by the cloud-side device; if the i+1-th video frame is in the first video frame set, perform image rendering processing on the i+1-th video frame and display it; the first video frame set includes video frames on which image rendering processing is performed locally, and the second video frame set includes video frames on which image rendering processing is performed by the cloud-side device.

11. An image processing device, characterized in that: include: A second detection unit, used to detect a trigger operation of a user when displaying the i-th video frame; A first determining unit is used to determine, in response to the trigger operation, that the local device performs a first image rendering process on the i+1th video frame according to the traffic tariff information and the local computing power, and to determine that the cloud-side device performs a second image rendering process on the i+1th video frame; A second sending unit, configured to send third indication information to the cloud-side device to instruct the second image rendering process to be performed on the (i+1)th video frame; A first image processing unit, configured to perform a first image rendering process on the (i+1)th video frame; A second receiving unit, configured to receive the (i+1)th video frame sent by the cloud-side device and subjected to second image rendering processing; A merging unit is used to merge the i+1th video frame after the first image rendering processing and the i+1th video frame after the second image rendering processing, and display the merged i+1th video frame; the first image rendering processing and the second image rendering processing are one of rich detail model processing and basic detail model processing.

12. A computer-readable storage medium, wherein the computer-readable storage medium is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored thereon, wherein: When the computer program is executed by a processor, the steps of the image processing method according to any one of claims 1 to 9 are executed.

13. An image processing device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor runs the computer program, the steps of the image processing method according to any one of claims 1 to 9 are performed.

Citation Information

Patent Citations

  • Collaborative rendering method for virtual reality

    CN107274469A

  • Video processing method and device, electronic device and storage medium

    CN109587555A

  • Video processing method and device, storage medium and equipment

    CN111901635A

  • Self-adaptive cloud rendering system and method based on network communication quality

    CN112738553A

  • Cloud rendering framework platform applied to virtual augmented reality technology

    CN113706673A