WO2023142664A1 - 图像显示方法、终端设备、服务器、电子设备、存储介质及程序产品 - Google Patents
图像显示方法、终端设备、服务器、电子设备、存储介质及程序产品 Download PDFInfo
- Publication number
- WO2023142664A1 WO2023142664A1 PCT/CN2022/135643 CN2022135643W WO2023142664A1 WO 2023142664 A1 WO2023142664 A1 WO 2023142664A1 CN 2022135643 W CN2022135643 W CN 2022135643W WO 2023142664 A1 WO2023142664 A1 WO 2023142664A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- parameter
- image
- parameters
- terminal device
- application
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 89
- 230000000694 effects Effects 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 31
- 230000008569 process Effects 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 14
- 238000005516 engineering process Methods 0.000 abstract description 14
- 238000009877 rendering Methods 0.000 description 49
- 230000006870 function Effects 0.000 description 15
- 230000009467 reduction Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000003707 image sharpening Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4781—Games
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/35—Details of game servers
- A63F13/355—Performing operations on behalf of clients with restricted processing capabilities, e.g. servers transform changing game scene into an encoded video stream for transmitting to a mobile phone or a thin client
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/77—Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/16—Indexing scheme for image data processing or generation, in general involving adaptation to the client's capabilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20208—High dynamic range [HDR] image processing
Definitions
- the embodiments of the present application relate to the field of basic application technologies in application technologies, and in particular to an image display method, a terminal device, a server, an electronic device, a storage medium, and a program product.
- the game mode in the terminal image mode is realized by setting a set of fixed parameter values for the terminal image parameters, and the commonly used parameters include: brightness, contrast, chromaticity, color temperature, gamma, sharpness and other options, and select function switches such as motion compensation and noise reduction.
- the parameter values of this group of parameters are generally applicable to most games.
- parameter values set for all games in the game mode are the same, there are certain limitations in the game display and cannot be applied to all games.
- the game mode there are parameter values such as reducing brightness and improving clarity.
- reducing brightness and improving clarity When these parameter values are applied to some game screens with complex scenes and obvious edges, increasing the clarity will easily make the scene very sharp, resulting in messy pictures and reducing the The user’s gaming experience, and when the application is used in some games with dark screens, the reduction in brightness will also cause the screen to be dark and the details of the screen cannot be seen clearly.
- Embodiments of the present application provide an image display method, terminal device, server, electronic device, computer-readable storage medium, and computer program product, which can enable the terminal device to flexibly adjust M second parameters for the first application, and improve the performance of the first application.
- the display effect of the image is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to the terminal device, server, electronic device, computer-readable storage medium, and computer program product, which can enable the terminal device to flexibly adjust M second parameters for the first application, and improve the performance of the first application.
- the display effect of the image is not limited to image display method, terminal device, server, electronic device, computer-readable storage medium, and computer program product.
- An embodiment of the present application provides an image display method, which is applicable to a terminal device, including:
- the first data includes the M first parameters
- the parameter value of the second parameter displaying the image of the first application;
- the first parameter is an image parameter of the first application indicated by the adjustment capability, and is used to control the display effect of the image of the first application; the first parameter and the second parameter One-to-one correspondence, and the adjustment range of the second parameter includes the parameter value of the first parameter, and the M is greater than or equal to 1.
- the embodiment of the present application also provides an image display method, which is suitable for cloud servers, including:
- the adjustment capability of the image parameter is used to indicate the adjustable image parameter in the terminal device
- the first parameter is an image parameter of the first application indicated by the adjustment capability, and is used to control the display effect of the image of the first application;
- the parameter values of the M first parameters are used for the terminal device to adjust the parameter values of the M second parameters, and based on the adjusted parameter values of the M second parameters, display the first application Image;
- the first parameter corresponds to the second parameter one by one, and the adjustment range of the second parameter includes the parameter value of the first parameter, and the M is greater than or equal to 1.
- the embodiment of this application provides a terminal device, including:
- the acquisition unit is configured to acquire the adjustment capability of the image parameter in the terminal device, and the adjustment capability of the image parameter is used to indicate the adjustable image parameter in the terminal device;
- an acquisition unit configured to acquire first data of an image of a first application
- An adjustment unit configured to adjust the parameter values of the M second parameters respectively based on the parameter values of the M first parameters if the first data includes the M first parameters, and based on the adjusted values of the M first parameters,
- the parameter values of the M second parameters are used to display the image of the first application, the M first parameters are used to control the display effect of the image of the first application, and the first parameter is the adjusted The image parameter of the first application indicated by the capability; the first parameter has a one-to-one correspondence with the second parameter, and the adjustment range of the second parameter includes the parameter value of the first parameter, and the M greater than or equal to 1.
- the embodiment of this application provides a server, including:
- An acquisition unit configured to acquire the adjustment capability of the image parameter in the terminal device, and acquire the first data of the image of the first application
- the adjustment capability of the image parameter is used to indicate the adjustable image parameter in the terminal device
- a sending unit configured to send the first data to the terminal device if the first data includes M first parameters
- the first parameter is an image parameter of the first application indicated by the adjustment capability, and is used to control the display effect of the image of the first application;
- the parameter values of the M first parameters are used for the terminal device to adjust the parameter values of the M second parameters, and based on the adjusted parameter values of the M second parameters, display the first application Image;
- the first parameter corresponds to the second parameter one by one, and the adjustment range of the second parameter includes the parameter value of the first parameter, and the M is greater than or equal to 1.
- An embodiment of the present application provides an electronic device, including:
- a processor configured to execute a computer program
- a computer-readable storage medium where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the above-mentioned image display method provided by the embodiment of the present application is realized.
- An embodiment of the present application provides a computer-readable storage medium for storing a computer program, and the computer program causes a computer to execute the above image display method provided in the embodiment of the present application.
- An embodiment of the present application provides a computer program product, including a computer program/instruction.
- the computer program/instruction is executed by a processor, the above-mentioned image display method provided in the embodiment of the present application is implemented.
- the first data contains M adjustable first parameters indicated by the adjustment capabilities of the image parameters in the terminal device, based on the parameter values of the M first parameters, adjust the corresponding first parameters in the terminal device respectively.
- the parameter value of the second parameter on the one hand, since the first parameter is an adjustable image parameter, and the adjustment range of the second parameter includes the parameter value of the first parameter, it is guaranteed that the M second parameters in the terminal device can be adjusted ; On the other hand, since the parameter value of the second parameter will be adjusted according to the parameter value of the first parameter, it is avoided that for different first applications (for example, cloud game applications), the parameter values of the M second parameters in the terminal device Fixed, resulting in poor image display of certain applications and poor user experience; at the same time, using the M first parameters for controlling the display effect of the image of the first application to adjust the M second parameters in the terminal device The parameter value of the parameter can enable the terminal device to improve the display effect of the image for the first application, thereby improving user experience.
- FIG. 1 is a flowchart of an image processing process provided by an embodiment of the present application.
- FIG. 2 is a flow chart of another image processing process provided by the embodiment of the present application.
- Fig. 3 is a flow chart of another image processing process provided by the embodiment of the present application.
- FIG. 4 is a schematic diagram of a scene provided by an embodiment of the present application.
- Fig. 5 is a schematic flowchart of an image display method provided by an embodiment of the present application.
- FIG. 6 is a flow chart of determining a collaborative video rendering configuration between a terminal device and a cloud server according to an embodiment of the present application.
- Fig. 7 is a schematic flow chart of acquiring an image parameter adjustment capability on a terminal device provided by an embodiment of the present application.
- FIG. 8 is another schematic flowchart of the image display method provided by the embodiment of the present application.
- FIG. 9 is a schematic block diagram of a terminal device provided by an embodiment of the present application.
- Fig. 10 is a schematic block diagram of a server provided by an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- the embodiment of the present application relates to the field of basic application technology in application technology.
- the embodiment of the present application relates to the technical field of cloud games.
- Cloud gaming also known as gaming on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology enables thin clients with relatively limited graphics processing and data computing capabilities to run high-quality games.
- the game is not run on the player's game terminal, but in the cloud server, and the cloud server renders the game scene into a video and audio stream, which is transmitted to the player's game terminal through the network.
- the player's game terminal does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain player input instructions and send them to the cloud server.
- Embodiments of the present application may also relate to network media technology. Unlike traditional audio and video equipment, network media relies on technology and equipment provided by information technology (information technology, IT) equipment developers to transmit, store and process audio and video Signal.
- the traditional serial digital interface (Serial digital interface, SDI) transmission method lacks real network switching characteristics, and it takes a lot of work to use SDI to create some network functions similar to those provided by Ethernet and Internet Protocol (IP). Therefore, the network media technology in the video industry came into being.
- Internet media like traditional TV, newspapers, radio and other media, are channels for disseminating information, tools for exchanging and disseminating information, and information carriers.
- the embodiment of the present application relates to the data transmission between the cloud server and the software development kit (Software Development Kit, SDK) of the cloud game application platform on the terminal device.
- Fig. 1 is a schematic flow chart of the image processing process provided by the embodiment of the present application.
- the cloud server generates a video, and performs video image acquisition on the video, performs all processing on the collected video image, and processes the video image after processing.
- the video image is encoded to obtain the code stream of the video image, and the code stream is sent to the terminal device; correspondingly, the terminal device receives the code stream sent by the cloud server, decodes the code stream, and performs video image decoding according to the decoding result exhibit.
- Fig. 2 is a flow chart of another image processing process provided by the embodiment of the present application.
- the cloud server generates a video, and performs video image acquisition on the video, and directly encodes the video image without processing. , get the code stream of the video image, and send the code stream to the terminal device; correspondingly, the terminal device receives the code stream sent by the cloud server, decodes the code stream, and performs all tasks on the decoded video image , such as sharpening, blurring, noise reduction, etc., and finally display the processed video image; for example, processing the decoded video image may be displaying the video image according to fixed image parameters.
- the terminal does not process the decoded video image and directly displays it or displays it with fixed parameters, which cannot provide users with a better quality cloud game experience.
- a set of fixed parameter values is set for the image parameters on the terminal.
- the parameter values of this group of parameters are generally applicable to most games, but because the parameter values are all the same, there are certain limitations on the game display , and may not be available for all games.
- there are parameter values such as reducing brightness and improving clarity.
- reducing brightness and improving clarity When these parameter values are applied to some game screens with complex scenes and obvious edges, increasing the clarity will easily make the scene very sharp, resulting in messy pictures and reducing the The user’s gaming experience, and when the application is used in some games with dark screens, the reduction in brightness will also cause the screen to be dark and the details of the screen cannot be seen clearly.
- the terminal cannot understand the type of game it is processing, so it cannot perceive the parameters required by the game being played, and set a The group average, the most suitable parameter for most games, not only makes the parameters inflexible, but also prevents users from obtaining a better gaming experience.
- the embodiment of the present application provides an image display method, a terminal device, a server, and a storage medium, which can enable the terminal device and the cloud server to perform rendering tasks in coordination, and allow a part of the video image to be rendered according to the rendering capability of the terminal.
- the task is completed on the terminal, making full use of the resources of the terminal, optimizing the screen display of video images, and providing users with a better experience of cloud game quality.
- video or image rendering task completed by the cloud server is completed before video encoding (video pre-processing), and the video enhancement task completed by the smart terminal is completed after video decoding (video post-processing).
- the cloud server generates a video, and collects a video image of the video, performs some tasks (subtasks a-b) on the collected video image, encodes the processed video image, and obtains the video image code stream, and send the code stream to the terminal device; correspondingly, the terminal device receives the code stream sent by the cloud server, decodes the code stream, performs the remaining tasks (subtask c) on the decoded video image, and Display the processed video image.
- FIG. 4 is a schematic diagram of a scene 100 provided by an embodiment of the present application. It should be understood that FIG. 4 is only an example of the embodiment of the present application, and should not be construed as a limitation to the present application.
- the system framework 100 includes a terminal device 110 and a server 120 .
- the server 120 can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, Cloud servers for basic cloud computing services such as network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN, Content Delivery Network), and big data and artificial intelligence platforms are rendering cloud games , usually the server is a cloud server.
- a cloud server refers to a server that runs games on the cloud, and has functions such as video enhancement (pre-encoding processing), video encoding, etc.
- the terminal device 110 may be a smart TV, a family large-screen device, a smart phone, a tablet computer, a vehicle terminal, a handheld game console, and other small personal portable devices, such as a handheld computer (Personal Digital Assistant, PDA), an electronic book (electronic book), etc. , E-book), etc., but not limited to this.
- the terminal device 110 and the server 120 may be connected directly or indirectly through wired or wireless communication, which is not limited in this embodiment of the present application.
- terminal devices and servers in FIG. 4 are only illustrative, and there may be any number of terminal devices and servers according to actual needs.
- the terminal device 110 is installed with the SDK of the cloud game application platform, and the server 120 may be a server responsible for cloud game rendering processing; the terminal device 110 communicates with the server 120 through the SDK, and the network 130 connects the SDK and the server 120 provides a medium for the communication link.
- the server 120 can send the rendered cloud game image to the terminal device 110 through the application client, and the terminal device 110 receives the cloud game image through the SDK, and displays the cloud game image based on the parameter value of the image parameter on the terminal device.
- Image where commonly used image parameters may include options such as brightness, contrast, chromaticity, color temperature, gamma, sharpness, etc., as well as motion compensation, noise reduction, etc.
- High dynamic range (High Dynamic Range, HDR) capability mainly refers to the terminal or cloud HDR color correction capability or the standard dynamic range (Standard Dynamic Range, SDR) to HDR capability.
- Gamma Image brightness conversion function, which can map the image brightness according to the exponential curve change to achieve darker or brighter image quality.
- Image sharpening It is to compensate the outline of the image, enhance the edge of the image and the part of the grayscale jump, so that the image becomes clear; among them, image sharpening is divided into two types: spatial domain processing and frequency domain processing. Image sharpening is to highlight the edges and contours of objects on the image, or the features of some linear target elements. This filtering method improves the contrast between the edge of the ground object and the surrounding pixels, so it is also called edge enhancement.
- Image denoising refers to the process of reducing noise in digital images, sometimes called image denoising.
- the image display method provided by the embodiment of the present application can be implemented by the terminal device or the cloud server alone, or by the terminal device and the cloud server.
- the device obtains the adjustment capability of the image parameters in the terminal device, and the adjustment capability of the image parameters is used to indicate the image parameters that can be adjusted in the terminal device; obtains the first data of the image of the first application; if the first data includes M One parameter, based on the parameter values of the M first parameters, respectively adjust the parameter values of the M second parameters, and display the image of the first application based on the adjusted parameter values of the M second parameters; wherein, the first Parameter, which is the image parameter of the first application indicated by the adjustment ability, is used to control the display effect of the image of the first application; the first parameter corresponds to the second parameter one by one, and the adjustment range of the second parameter includes the first parameter Parameter value, M is greater than or equal to 1.
- FIG. 5 is a schematic flowchart of an image display method 200 provided by an embodiment of the present application; it should be noted that the method 200 can be executed by a terminal device, and the terminal device can be the terminal device shown in FIG. 4 110.
- the method 200 may include some or all of the following:
- the first parameters are image parameters of the first application indicated by the adjustment capability of the image parameters in the terminal device, and are used to control the display effect of the image of the first application , M ⁇ 1;
- the first data includes the M first parameters
- the first parameter corresponds to the second parameter one-to-one
- the adjustment range of the second parameter includes the parameter value of the first parameter
- the first parameter and the second parameter can be brightness, contrast, chroma, Options such as color temperature, gamma, and sharpness, as well as motion compensation, noise reduction, etc.
- the terminal device receives the first data of the image of the first application sent by the cloud server through the SDK of the application platform of the first application, and uses the SDK to identify whether the first data includes M first parameters , if the M first parameters are included, the interfaces of the M second parameters corresponding to the M first parameters are respectively called through the SDK, and the parameter values of the M second parameters are adjusted to the M first parameters. parameters, and display the image of the first application based on the adjusted parameter values of the M second parameters. It should be understood that the SDK stores the interfaces of the M second parameters.
- the cloud server may send the first data of the image of the first application to the terminal device through the application client of the first application.
- the terminal device after the terminal device obtains the adjustment capability of the image parameters in the terminal device, it can send the adjustment capability of the image parameter to the cloud server, so that the cloud server can determine the operation of the terminal device based on the adjustment capability of the image parameter in the terminal device.
- the M first parameters are parameters that match the identifier of the first application in the database of the cloud server.
- the M first parameters may also be parameters matching the image scene of the first application.
- the cloud server may actively send the first data of the image of the first application to the terminal device, for example, may periodically send the first data to the terminal device while the terminal device is running the first application, In this way, resource consumption caused by information interaction with the cloud server is reduced.
- the first data contains M adjustable first parameters indicated by the adjustment capabilities of the image parameters in the terminal device, based on the parameter values of the M first parameters, respectively adjust the second corresponding to each first parameter.
- the parameter value of the parameter since the first parameter is an adjustable image parameter, and the adjustment range of the second parameter includes the parameter value of the first parameter, it is ensured that the M second parameters in the terminal device are parameters that can be adjusted ; On the other hand, since the parameter value of the second parameter will be adjusted according to the parameter value of the first parameter, it is avoided that for different first applications (for example, cloud game applications), the parameter values of the M second parameters in the terminal device fixed, resulting in poor image display and poor user experience for certain applications; the embodiment of the present application uses M first parameters for controlling the display effect of the image of the first application to adjust the M second parameters The parameter value can enable the terminal device to improve the display effect of the image of the first application, thereby improving user experience.
- the M first parameters are sent to the terminal device, and the display effect of the image of the first application is controlled on the terminal device, there is no need for the cloud server to process the M first parameters of the image of the first application, Reduce the consumption of computing resources on the cloud server side and save costs.
- the method 200 may further include: if the first data does not include the M first parameters, directly displaying the image of the first application, the image of the first application is, the cloud server based on the M images after adjusting the first parameters.
- S202 includes: sending a first request to the cloud server in response to an operation performed by the user on the first application on the display interface of the terminal device.
- the operation performed on the first application may be a press operation, a double-click operation, a click operation, etc. performed on the first application, or an input operation performed on the first application. There is no limit to this.
- the first application may be a cloud game application
- the terminal device may send the first request to the cloud server through an SDK of an application platform of the cloud game application.
- the cloud server can send a video image rendering capability request to the terminal device through the client installed on the cloud server, and the terminal device receives the request, obtains the video image rendering capability on the terminal device, and sends the The image rendering capability is fed back to the cloud server, and the cloud server can receive a response of the video image rendering capability through a client installed on the cloud server.
- the video image rendering capability includes but is not limited to at least one of the following: protocol version number, video resolution, video frame rate, and queried rendering algorithm type.
- the protocol version number refers to the minimum protocol version supported by the cloud server, and the protocol can be a rendering protocol; the video resolution can be the resolution of the video source to be rendered, such as 1080p; the video frame rate can be The frame rate of the rendered video source, such as 60fps; the type of rendering algorithm to be queried can be at least one of the following: sharpening processing algorithm, noise reduction processing algorithm, blur processing algorithm, video high dynamic range imaging (High Dynamic Range Imaging, HDR) Enhanced capability algorithms, etc.
- the video resolution can be the resolution of the video source to be rendered, such as 1080p
- the video frame rate can be The frame rate of the rendered video source, such as 60fps
- the type of rendering algorithm to be queried can be at least one of the following: sharpening processing algorithm, noise reduction processing algorithm, blur processing algorithm, video high dynamic range imaging (High Dynamic Range Imaging, HDR) Enhanced capability algorithms, etc.
- the above video rendering capability request may be a rendering capability request for image parameters of the first application.
- the video rendering capability response may include at least one of the following, but is not limited thereto: an identification of whether the query of the rendering algorithm type to be queried by the cloud server is successful, the protocol version number supported by the terminal device, and capability information of the terminal device wait.
- the indication of whether the query of the rendering algorithm type to be queried by the cloud server is successful can be represented by 0, if the query of the rendering algorithm type to be queried by the cloud server is If it fails, the indication of whether the query of the rendering algorithm type to be queried by the cloud server is successful can be indicated by an error code, such as 001.
- the protocol version number refers to the minimum protocol version supported by the terminal device, and the protocol may be a rendering protocol.
- the rendering capability information of the terminal device includes at least one of the following items, but is not limited thereto: the type of rendering algorithm supported by the terminal device and the performance of the rendering algorithm.
- the performance of the rendering algorithm includes but is not limited to at least one of the following: video size, frame rate, and time delay that the algorithm can handle.
- the data structure of the video rendering capability response may be as shown in Table 3,
- the video rendering capability of the terminal device can be divided into the following three cases: Case 1: the terminal device has full video rendering capability for video images, as shown in Figure 2; Case 2: the terminal device has full video rendering capability for video images Partial video rendering capabilities, as shown in Figure 3; Case 3: The terminal device does not have video rendering capabilities, as shown in Figure 1.
- the terminal device acquires the first data of the image of the first application, it needs to first receive the terminal rendering capability request sent by the cloud server to the terminal device, and request to obtain the rendering capability of the terminal.
- the rendering capability can be It is the adjustment capability of image parameters in the embodiment of this application.
- S201 includes: receiving an adjustment capability request sent by the cloud server, the adjustment capability request is used to request the terminal device to query image parameters that can be adjusted among N image parameters, and the adjustment capability request includes the N image parameters
- the adjustment range of the third parameter is a numerical interval, then determine that the third parameter is an image parameter that can be adjusted in the terminal device;
- the adjustment range of the third parameter is not a numerical interval, then determine whether the adjustment range of the third parameter includes the target adjustment range corresponding to the third parameter; if the adjustment range of the third parameter includes the target adjustment range corresponding to the third parameter Target adjustment range, then determine that the third parameter is an image parameter that can be adjusted in the terminal device; if the adjustment range of the third parameter is not a numerical interval, and the adjustment range of the third parameter does not include the target value corresponding to the third parameter adjustment range, the third parameter is an image parameter that cannot be adjusted in the terminal device;
- the adjustment capabilities of the N image parameters are sent to the cloud server.
- the terminal device receives the adjustment capability request sent by the cloud server, for the third parameter among the N image parameters, if the adjustment range of the third parameter is a numerical interval, or the adjustment range of the third parameter is the same as the third Compared with the target adjustment range corresponding to the parameter, if the adjustment range of the third parameter is greater than or equal to the target adjustment range corresponding to the third parameter, then the third parameter is an image parameter that can be adjusted in the terminal device; if the adjustment of the third parameter If the range is not a numerical interval, and the adjustment range of the third parameter is compared with the target adjustment range corresponding to the third parameter, and the adjustment range of the third parameter is incomplete or absent, then the third parameter is determined to be an image that cannot be adjusted in the terminal device parameter.
- the terminal device after receiving the adjustment capability request sent by the cloud server through the SDK of the application platform of the first application, the terminal device sends an adjustment capability request to the operating system of the terminal device through the SDK, requesting the terminal device to adjust the N image parameters Query the image parameters that can be adjusted.
- the operating system of the terminal device accesses the hardware of the terminal device based on the interface of the N image parameters in the query request, obtains the adjustment range of the N image parameters, and converts the N The target adjustment ranges are respectively compared with the adjustment ranges of the N image parameters to determine adjustable image parameters among the N image parameters.
- the target adjustment range is a range preset by the cloud server for judging the image parameter adjustment capability of the terminal device.
- the target adjustment range may include a numerical interval, or may include multiple parameter value options.
- the cloud server Before receiving the first image data of the first application sent by the cloud server, first receive the adjustment ability request sent by the cloud server, and inquire about the adjustment ability of the image parameters in the terminal device, which is equivalent to considering that the image display effect will be partially optimized The task is handed over to the terminal device to reduce the pressure of data processing on the cloud server.
- the adjustment range of the third parameter is a numerical interval, it is necessary to determine whether the adjustment range of the third parameter includes the target adjustment range corresponding to the third parameter. For a corresponding target adjustment range, the third parameter is determined as an image parameter that can be adjusted in the terminal device; otherwise, the third parameter is an image parameter that cannot be adjusted in the terminal device.
- image parameters in all adjustment ranges on the terminal device may also be determined as adjustable image parameters.
- FIG. 7 is an interaction flowchart 300 for determining an adjustment capability between a terminal device and a cloud server according to an embodiment of the present application.
- the terminal device 320 includes an SDK module 321 , an operating system 322 of the terminal device, and a hardware information management module 323 .
- the cloud server 310 is configured to send an adjustment capability request to the terminal device 320, and the adjustment capability request includes N target adjustment ranges respectively corresponding to the N image parameters, and interfaces of the N image parameters;
- the terminal device 320 receives the adjustment capability request sent by the cloud server 310 through the SDK module 321, and sends the adjustment capability request to the operating system 322 of the terminal device through the SDK module 321;
- the operating system 322 receives the adjustment capability request, first, checks whether there are interfaces for the N image parameters on the terminal device, and if so, the operating system 322 calls the interfaces for the N image parameters, and obtains N image parameters from the hardware information management module 323.
- the adjustment ranges of image parameters secondly, compare the adjustment ranges of the N image parameters with the N target adjustment ranges, and determine the image parameters that can be adjusted among the N image parameters; finally, adjust the N image parameters
- the image parameters of the image are sent to the SDK module 321, that is, the adjustment capability is fed back to the SDK module 321.
- the SDK module 321 sends the adjustable image parameters among the N image parameters to the cloud server 310 .
- the cloud server may send an adjustment capability request to the terminal device through the application client of the first application.
- the operating system 322 sends the adjustment capability (image parameters that can be adjusted among the N image parameters) to the SDK module 321, if the adjustment range of the image parameter is a numerical interval, then the adjustment range of the image parameter is sent to the SDK module 321; if the adjustment range of the image parameter has multiple parameter value options, the operating system 322 feeds back to the SDK module 321 that only the image parameter is an adjustable parameter.
- the interface of the N image parameters may be determined after confirmation by the cloud and the manufacturer of the terminal device.
- the N target adjustment ranges respectively corresponding to the N image parameters may be shown in Table 5. It should be understood that the number of the N image parameters can be increased or decreased according to the capability of the terminal device, and the N target adjustment ranges respectively corresponding to the N image parameters can be the adjustment ranges of the N first parameters respectively corresponding to the N image parameters .
- first parameter target adjustment range brightness 0-100 contrast 0-100 Chroma 0-100 clarity 0-100 HDR capability switch image sharpening switch image noise reduction Off, Low, Medium, Strong Gamma Darker, Standard, Brighter color temperature Cool, Standard, Warm
- the adjustment range of the brightness parameter among the N image parameters in the terminal device is 0-255, as shown in Table 5, the target adjustment range corresponding to the brightness parameter is 0-100, because 0 If -255 includes 0-100, it is determined that the brightness parameter in the terminal device is an adjustable image parameter, and the adjustment range of the brightness parameter 0-255 is fed back to the cloud server.
- the adjustment range of the brightness parameter among the N image parameters is 0-255, since the adjustment range is a numerical interval, the brightness parameter in the terminal device can be directly determined as an adjustable image parameter.
- the target adjustment range corresponding to the color temperature parameter is cool color, standard, and warm color; because cool color and standard do not include cool color, standard, Warm color; then it is determined that the color temperature parameter is a parameter that cannot be adjusted among the N image parameters, and the adjustment ability of the color temperature parameter can be determined as NULL, and fed back to the cloud server.
- the interface of the third parameter when calling the interface of the third parameter to obtain the adjustment range of the third parameter, first determine whether the interface of the third parameter exists; if there is an interface of the third parameter, then call the third parameter Parameter interface to obtain the adjustment range of the third parameter; if there is no interface for the third parameter, the adjustment range of the third parameter is empty.
- the terminal device before calling the interface of the third parameter, the terminal device first determines whether the interface of the third parameter exists on the terminal device, and if so, calls the interface of the third parameter to obtain the adjustment range of the third parameter, If it does not exist, the adjustment range of the third parameter is empty, that is, the third parameter cannot be adjusted.
- the adjustment range of the third parameter is a numerical interval, and the adjustment range of the third parameter corresponds to the target adjustment of the third parameter If the ranges are different, send the adjustment range of the third parameter to the cloud server.
- sending the adjustment range of the third parameter to the cloud server is equivalent to, considering that when the subsequent cloud server sends the first parameter corresponding to the third parameter to the terminal device , if the adjustment range of the third parameter is different from the adjustment range of the first parameter, it is necessary to convert the parameter value of the first parameter into a parameter value in the adjustment range of the third parameter, so as to ensure that the parameter values of the parameters in the terminal device and The measurement standard of the corresponding parameters on the cloud server is unified, so that the subsequent terminal equipment can achieve the expected image display effect on the cloud server after adjusting the corresponding parameters on the terminal equipment based on the parameters sent by the cloud server.
- the N image parameters include at least one of the following:
- Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, image sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters are included in Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, image sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters.
- the cloud server when the image display method provided by the embodiment of the present application is implemented by the cloud server alone, the cloud server obtains the adjustment capability of the image parameters in the terminal device, and obtains the first data of the image of the first application; wherein, the image The parameter adjustment capability is used to indicate the image parameters that can be adjusted in the terminal device; if the first data includes M first parameters, the first data of the image of the first application is sent to the terminal device; wherein, the first The parameter is an image parameter of the first application indicated by the adjustment capability, and is used to control the display effect of the image of the first application; the parameter values of the M first parameters are used for the terminal device to adjust the parameter values of the M second parameters, And display the image of the first application based on the adjusted parameter values of the M second parameters; the first parameter corresponds to the second parameter one by one, and the adjustment range of the second parameter includes the parameter value of the first parameter, the M is greater than or equal to 1.
- the cloud server may obtain the adjustment capability of the image parameters in the terminal device in the following manner: receiving the terminal device identification sent by the terminal device, and obtaining the adjustment capability of the image parameters in the terminal device based on the identification of the terminal device; or,
- the cloud server may send the first data of the image of the first application to the terminal device in the following manner:
- the first data includes M first parameters
- the first data of the image of the first application is sent to the terminal device; wherein, the first request is used to request to obtain the first First data of an image of an application.
- the first request includes the identifier of the first application; the cloud server can acquire the first data of the image of the first application in the following manner: the cloud server acquires N first parameters and the first data based on the identifier of the first application An image of an application; wherein, N first parameters are used to control the display effect of the image of the first application, and the N first parameters include M first parameters, and N is greater than or equal to M; when the adjustment capability of the image parameter indicates When the image parameters include M second parameters, the M first parameters and the image of the first application respectively corresponding to the M second parameters are determined as the first data.
- FIG. 8 is a schematic flowchart of an image display method 400 provided by an embodiment of the present application; it should be noted that the method 400 can be executed by a cloud server, and the cloud server can be the server 120 shown in FIG. 4 . As shown in FIG. 8, the method 400 may include some or all of the following:
- S401 Receive a first request sent by a terminal device, where the first request is used to request to obtain first data of an image of a first application, where the first request includes an identifier of the first application and an identifier of the terminal device;
- N first parameters and an image of the first application are used to control the display effect of the image of the first application, and the first parameters are the - image parameters of the application;
- the image parameters indicated by the adjustment capability of the image parameters include M second parameters that meet the predetermined requirements
- the M first parameters respectively corresponding to the M second parameters and the image of the first application are used as
- the first data is sent to the terminal device so that the terminal device displays the image of the first application based on the M first parameters
- the predetermined requirement is that the adjustment ranges of the M second parameters respectively include the M first parameters.
- a parameter value of a parameter, the N first parameters include the M first parameters, N ⁇ M ⁇ 1.
- the cloud server receives the first request sent by the terminal device, firstly, based on the first application identifier in the first request, obtains N first parameters associated with the first application identifier in the database; secondly, based on The identification of the terminal device in the first request obtains the adjustment capability of the image parameter in the terminal device; finally, based on the adjustment capability of the image parameter in the terminal device, the image parameter indicated by the adjustment capability of the image parameter includes the image parameter that meets the predetermined requirements
- the M first parameters corresponding to the M second parameters and the image of the first application are sent to the terminal device, so that the terminal device adjusts the parameter values of the M second parameters corresponding to it based on the parameter values of the M first parameters, and The image of the first application is controlled to be displayed based on the adjusted parameter values of the M second parameters.
- the cloud server receives the first request sent by the SDK of the cloud game application platform on the terminal device through the application client.
- the first application is a cloud game application.
- the N first parameters may also be parameters matching the scene of the first application.
- N first parameters applicable to the image display of the first application are obtained, which is equivalent to considering the required parameters of different first applications (for example, cloud game applications)
- the value of the image parameter is different, and different parameters are customized for different first applications, which is beneficial to realize that the images of different applications have the best display effect when displayed;
- the adjustment ability is equivalent to considering that in order to save the computing resources of the cloud server, some tasks of controlling the image display of the first application are performed by the terminal device.
- the cloud server needs to determine the adjustment ability of the image parameters in the terminal device; Finally, among the image parameters indicated by the adjustment capability of the image parameters in the terminal device, the M first parameters corresponding to the M second parameters that meet the predetermined requirements and the image of the first application are sent to the terminal device as the first data , so that the terminal device controls the display of the image of the first application based on the M first parameters, which not only helps to achieve the best display effect of the first application to improve user experience, but also does not require the cloud server to control the M first parameters processing, reducing the consumption of computing resources on the cloud server side and saving costs.
- the N first parameters may be parameters predefined by the cloud server according to the type or scenario of the first application, and the N first parameters are associated with the identifier of the first application.
- method 400 also includes:
- the image parameters indicated by the adjustment ability of the image parameters do not include K second parameters that meet the predetermined requirements and correspond to the K first parameters, then adjust the first application based on the K first parameters.
- the adjusted image is obtained, and the adjusted image is sent to the terminal device as the first data, the N first parameters include the K first parameters, and K>1.
- the cloud server By adjusting the image of the first application based on the K first parameters, it is equivalent to, on the one hand, for the M second parameters that meet the predetermined requirements among the image parameters indicated by the adjustment capability of the image parameters, the cloud server will use the M
- the M first parameters corresponding to the second parameters are sent to the terminal device so that the terminal device can use the M first parameters to control the image display effect of the first application; on the other hand, the image parameter indicated by the adjustment capability of the image parameter
- the K second parameters that meet the predetermined requirements and correspond to the K first parameters are not included in , and the cloud server uses the K first parameters to adjust the image of the first application; that is, the terminal device and the cloud server coordinate operation, so as to improve the display effect of the image of the first application.
- N image parameters include the K second parameters.
- the K first parameters corresponding to the K second parameters are the 9 parameters shown in Table 6
- the cloud server does not need to make any adjustments , execute all the image processing processes on the terminal, so as to realize pure terminal processing of the image of the first application.
- S402 includes:
- the database includes at least one identifier and N first parameters corresponding to each identifier in the at least one identifier, and the at least one identifier includes the first The identity of the application.
- the cloud server classifies different applications, obtains the identifications of different applications, obtains image parameters customized for each application, associates the image parameters customized for each application with the identification of the application, and stores them in the In the configuration file of the cloud server, when the first application is running, the cloud server acquires image parameters (N first parameters) corresponding to the identifier of the first application from the configuration file.
- image parameters are generally stored in the form of character strings, which can be as shown in Table 6 above after parsing.
- the method before S404, the method further includes:
- the third parameter For the third parameter among the M second parameters, if the adjustment range of the third parameter is a numerical interval, and the target adjustment range corresponding to the third parameter is different from the adjustment range of the third parameter, then the third parameter The parameter value of the first parameter corresponding to the three parameters is converted into the corresponding parameter value in the adjustment range of the third parameter, and the new first parameter corresponding to the third parameter is obtained, and the new first parameter and the second parameter are combined.
- An image of an application is sent to the terminal device as the first data, and the target adjustment range is a range preset by the cloud server for judging the image parameter adjustment capability of the terminal device;
- the adjustment range of the third parameter is not a numerical interval, or the target adjustment range corresponding to the third parameter is the same as the adjustment range of the third parameter, then the first parameter corresponding to the third parameter and the first The image of the application is sent to the terminal device as the first data.
- the third parameter is one of brightness, contrast, chroma or sharpness, and the maximum value in the adjustment range of the third parameter is X max , the minimum value is X min , and X max is not equal to 100, and X min is not equal to 0, it is necessary to convert the parameter value of the first parameter corresponding to the third parameter into the corresponding parameter value in the adjustment range of the third parameter.
- the parameter value of the first parameter can be converted into the corresponding parameter value in the adjustment range of the third parameter by the following formula (1).
- X q is the parameter value of the first parameter corresponding to the third parameter
- x is the parameter value corresponding to the parameter value of the first parameter in the adjustment range of the third parameter to be calculated
- round is a rounding function
- X min is the minimum value in the adjustment range of the third parameter
- X max is the maximum value in the adjustment range of the third parameter.
- the cloud server sends the first parameter corresponding to the third parameter to the terminal device, if the adjustment range of the third parameter is different from the adjustment range of the first parameter, it needs to convert the parameter value of the first parameter into the adjustment of the third parameter The parameter value in the range, to ensure that the parameter value of the parameter in the terminal device and the parameter value of the corresponding parameter on the cloud server are unified, so that when the subsequent terminal device adjusts the corresponding parameter on the terminal device based on the parameters sent by the cloud server, It can achieve the expected image display effect on the cloud server.
- the method before S401, the method further includes:
- An adjustment capability request is sent to the terminal device, the adjustment capability request is used to request the terminal device to query adjustable image parameters among N image parameters, and the adjustment capability request includes N target adjustment ranges respectively corresponding to the N image parameters
- the interface with the N image parameters, N ⁇ 1, the N image parameters include the M second parameters, and the target adjustment range is the range preset by the cloud server to determine the image parameter adjustment capability of the terminal device;
- the adjustment capabilities of the N image parameters sent by the terminal device are received.
- the N image parameters may respectively correspond to N first parameters.
- the adjustment ranges of the N first parameters are shown in Table 5, that is, the target adjustment ranges corresponding to the N image parameters are shown in Table 5. shown. It should be understood that the number of the N image parameters may be increased or decreased according to the capability of the terminal device.
- the N image parameters include at least one of the following:
- Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters are included in Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters.
- FIG. 9 is a schematic block diagram of a terminal device 500 provided by an embodiment of the present application. As shown in FIG. 9, the terminal device 500 includes:
- the obtaining unit 510 is configured to obtain the adjustment capability of the image parameter in the terminal device, and the adjustment capability of the image parameter is used to indicate the image parameter that can be adjusted in the terminal device;
- the obtaining unit 510 is further configured to obtain the first data of the image of the first application
- the adjustment unit 520 is configured to adjust the parameter values of the M second parameters respectively based on the parameter values of the M first parameters if the first data includes the M first parameters, and based on the adjusted The parameter values of the M second parameters, displaying the image of the first application;
- the M first parameters are used to control the display effect of the image of the first application, and the first parameter is an image parameter of the first application indicated by the adjustment capability; the first The parameter corresponds to the second parameter one by one, and the adjustment range of the second parameter includes the parameter value of the first parameter, and the M is greater than or equal to 1.
- the obtaining unit 510 includes a sending unit and a receiving unit; wherein the sending unit is configured to send a first request to the cloud server, and the first request is used to request to obtain the first image of the image of the first application. data;
- the receiving unit is configured to receive the first data of the image of the first application sent by the cloud server.
- the device also includes:
- the determining unit is configured to determine whether the first data includes M first parameters respectively corresponding to M second parameters, and the first parameters meet a predetermined requirement, and the predetermined requirement is that the adjustment ranges of the M second parameters respectively include The parameter values of the M first parameters, M ⁇ 1;
- the sending unit is further configured to:
- a first request is sent to the cloud server.
- the acquisition unit is further configured to:
- the adjustment ability request is used to request the terminal device to query the image parameters that can be adjusted among the N image parameters, and the adjustment ability request includes N target adjustments corresponding to the N image parameters respectively Range, and the interface of the N image parameters, the N image parameters include the M second parameters, the target adjustment range is the range preset by the cloud server to determine the image parameter adjustment capability of the terminal device, N ⁇ M ⁇ 1;
- the adjustment range of the third parameter is a numerical interval, then determine that the third parameter is an image parameter that can be adjusted in the terminal device;
- the adjustment range of the third parameter is not a numerical interval, and the adjustment range of the third parameter includes the target adjustment range corresponding to the third parameter, then it is determined that the third parameter is an image parameter that can be adjusted in the terminal device; if The adjustment range of the third parameter does not include the target adjustment range corresponding to the third parameter, then determining that the third parameter is an image parameter that cannot be adjusted in the terminal device;
- the adjustment capabilities of the N image parameters are sent to the cloud server.
- the adjustment range of the third parameter is a numerical interval, and the adjustment range of the third parameter corresponds to the third parameter
- the adjustment range of the third parameter is sent to the cloud server.
- the obtaining unit is further configured to:
- the N image parameters include at least one of the following:
- Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, image sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters are included in Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, image sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters.
- the first application is a cloud game application.
- FIG. 10 is a schematic block diagram of a server 600 provided by an embodiment of the present application. As shown in Figure 10, the server 600 includes:
- the obtaining unit 610 is configured to obtain the adjustment capability of the image parameter in the terminal device, and obtain the first data of the image of the first application;
- the adjustment capability of the image parameter is used to indicate the adjustable image parameter in the terminal device
- the sending unit 620 is configured to send the first data to the terminal device if the first data includes M first parameters;
- the first parameter is an image parameter of the first application indicated by the adjustment capability, and is used to control the display effect of the image of the first application;
- the parameter values of the M first parameters are used for the terminal device to adjust the parameter values of the M second parameters, and based on the adjusted parameter values of the M second parameters, display the first application Image;
- the first parameter corresponds to the second parameter one by one, and the adjustment range of the second parameter includes the parameter value of the first parameter, and the M is greater than or equal to 1.
- the obtaining unit is further configured to receive the terminal device identification sent by the terminal device, and based on the terminal device identification, obtain the adjustment capability of the image parameters in the terminal device; or,
- the ability to adjust image parameters in the terminal device is received from the terminal device.
- the sending unit is further configured to: if the first data includes M first parameters, in response to the first request sent by the terminal device, send the first data, sent to the terminal device;
- the first request is used for requesting to acquire first data of the image of the first application.
- the first request includes an identifier of the first application; the acquiring unit is further configured to acquire N first parameters and an image of the first application based on the identifier of the first application; Wherein, the N first parameters are used to control the display effect of the image of the first application, the N first parameters include the M first parameters, and N is greater than or equal to M;
- the M first parameters corresponding to the M second parameters and the image of the first application are determined as the first data.
- the server 600 further includes an adjustment unit configured to:
- the image parameters indicated by the adjustment ability of the image parameters do not include K second parameters respectively corresponding to the K first parameters, adjust the image of the first application based on the K first parameters, and obtain the adjusted Image;
- the adjusted image is used as the first data
- the N first parameters include the K first parameters
- K is greater than 1.
- the acquiring unit 610 is further configured to:
- N first parameters matching the identifier of the first application in the database are queried, the database includes at least one identifier and N first parameters corresponding to each identifier, and the at least one identifier includes the identifier of the first application.
- the server 600 further includes a determining unit configured to:
- the adjustment range of the third parameter is a numerical interval, and the target adjustment range corresponding to the third parameter is different from the adjustment range of the third parameter, then the parameter value of the first parameter corresponding to the third parameter is converted into The parameter value corresponding to the third parameter in the adjustment range of the third parameter obtains a new first parameter corresponding to the third parameter, and determines the new first parameter and the image of the first application as the first data, the target adjustment range is the range preset by the cloud server to determine the image parameter adjustment capability of the terminal device;
- the adjustment range of the third parameter is not a numerical interval, or the target adjustment range corresponding to the third parameter is the same as the adjustment range of the third parameter, then the first parameter corresponding to the third parameter and the first The applied image is determined as the first data.
- the acquiring unit 610 is further configured to:
- An adjustment capability request is sent to the terminal device, the adjustment capability request is used to request the terminal device to query adjustable image parameters among N image parameters, and the adjustment capability request includes N target adjustment ranges respectively corresponding to the N image parameters , and the interface of the N image parameters, N ⁇ 1, the N image parameters include the M second parameters, and the target adjustment range is the range preset by the cloud server to determine the image parameter adjustment capability of the terminal device ;
- the adjustment capabilities of the N image parameters sent by the terminal device are received.
- the first application is a cloud game application.
- the N image parameters include at least one of the following:
- Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters are included in Brightness parameters, chromaticity parameters, contrast parameters, sharpness parameters, high dynamic range HDR capability parameters, sharpening parameters, image noise reduction parameters, gamma parameters, and color temperature parameters.
- the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, details are not repeated here.
- the terminal device 500 and the server 600 may correspond to the corresponding subjects in the implementation of the method 200 and the method 400 of the embodiment of the present application, and each unit in the terminal device 500 and the server 600 is to implement the method 200 and the method
- the corresponding processes in step 400 are not repeated here.
- the various units in the terminal device 500 and the server 600 involved in the embodiment of the present application can be respectively or all combined into one or several other units to form, or some (some) units can be further disassembled. Divided into a plurality of functionally smaller units, this can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
- the above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit may also be realized by multiple units, or the functions of multiple units may be realized by one unit. In other embodiments of the present application, the terminal device 500 and the server 600 may also include other units. In practical applications, these functions may also be assisted by other units, and may be implemented by cooperation of multiple units.
- a general-purpose computing device including a general-purpose computer such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and a storage element
- a general-purpose computer such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and a storage element
- Run computer programs (including program codes) capable of executing the steps involved in the corresponding methods to construct the terminal device 500 and server 600 involved in the embodiment of the present application, and realize the image display method in the embodiment of the present application.
- the computer program may be recorded in, for example, a computer-readable storage medium, loaded in the electronic device through the computer-readable storage medium, and run therein, to implement the corresponding method of the embodiment of the present application.
- the units mentioned above can be implemented in the form of hardware, can also be implemented by instructions in the form of software, and can also be implemented in the form of a combination of software and hardware.
- the steps of the method embodiments in the embodiments of the present application can be completed by instructions in the form of hardware integrated logic circuits and/or software in the processor, and the steps of the methods disclosed in the embodiments of the present application can be directly embodied It is completed by the hardware decoding processor, or by a combination of hardware and software in the decoding processor.
- the software may be located in mature storage media in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, and registers. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps in the above method embodiments in combination with its hardware.
- FIG. 11 is a schematic structural diagram of an electronic device 700 provided by an embodiment of the present application.
- the electronic device 700 includes at least a processor 710 and a computer-readable storage medium 720 .
- the processor 710 and the computer-readable storage medium 720 may be connected through a bus or in other ways.
- the computer-readable storage medium 720 is used for storing a computer program 721
- the computer program 721 includes computer instructions
- the processor 710 is configured to execute the computer instructions stored in the computer-readable storage medium 720 .
- the processor 710 is the computing core and control core of the electronic device 700, which is suitable for implementing one or more computer instructions, and is suitable for loading and executing one or more computer instructions to realize corresponding method procedures or corresponding functions.
- the processor 710 may also be called a central processing unit (Central Processing Unit, CPU).
- the processor 710 may include but not limited to: a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- FPGA Field Programmable Gate Array
- the computer-readable storage medium 720 can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one magnetic disk memory; 710 computer readable storage medium.
- the computer-readable storage medium 720 includes, but is not limited to: volatile memory and/or non-volatile memory.
- the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
- the volatile memory can be Random Access Memory (RAM), which acts as external cache memory.
- RAM Random Access Memory
- Static Random Access Memory SRAM
- Dynamic Random Access Memory DRAM
- Synchronous Dynamic Random Access Memory Synchronous DRAM, SDRAM
- double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDR SDRAM
- enhanced synchronous dynamic random access memory Enhanced SDRAM, ESDRAM
- synchronous connection dynamic random access memory SLDRAM
- Direct Rambus RAM Direct Rambus RAM
- the electronic device 700 may be the terminal device 500 and the server 600 shown in FIG. 9 and FIG. 10; computer instructions are stored in the computer-readable storage medium 720; Read the computer instructions stored in the storage medium 720 to implement the corresponding steps in the method embodiments shown in FIGS. 5 and 8; in practical applications, the computer instructions in the computer-readable storage medium 720 are loaded by the processor 710 and execute corresponding Steps are not repeated here to avoid repetition.
- the embodiment of the present application also provides a computer-readable storage medium (Memory).
- the computer-readable storage medium is a storage device in the electronic device 700 and is used to store programs and data.
- computer readable storage medium 720 may include a built-in storage medium in the electronic device 700 , and of course may also include an extended storage medium supported by the electronic device 700 .
- the computer-readable storage medium provides storage space, and the storage space stores the operating system of the electronic device 700 .
- one or more computer instructions adapted to be loaded and executed by the processor 710 are also stored in the storage space, and these computer instructions may be one or more computer programs 721 (including program codes).
- the electronic device 700 may further include: a transceiver 730 , and the transceiver 730 may be connected to the processor 710 or the computer-readable storage medium 720 .
- the computer-readable storage medium 720 can control the transceiver 730 to communicate with other devices, and in practical applications, can send information or data to other devices, or receive information or data sent by other devices.
- Transceiver 730 may include a transmitter and a receiver.
- the transceiver 730 may further include antennas, and the number of antennas may be one or more.
- An embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- computer program 721 the electronic device 700 may be a computer, the processor 710 reads the computer instructions from the computer-readable storage medium 720, and the processor 710 executes the computer instructions, so that the computer executes the image display method provided in the above-mentioned various optional modes .
- the computer program product includes one or more computer instructions.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, from a website, computer, server, or data center via Wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center.
- Wired such as coaxial cable, optical fiber, digital subscriber line (DSL)
- wireless such as infrared, wireless, microwave, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请提供了一种图像显示方法、终端设备、服务器、电子设备、存储介质及程序产品,涉及应用技术中应用基础技术领域。其中,方法包括:获取终端设备中图像参数的调节能力,图像参数的调节能力,用于指示终端设备中能够调节的图像参数;获取第一应用的图像的第一数据;若第一数据中包括M个第一参数,则基于M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的M个第二参数的参数值,显示第一应用的图像;其中,第一参数,为调节能力指示的第一应用的图像参数,用于控制第一应用的图像的显示效果;第一参数与第二参数一一对应、且第二参数的调节范围包括第一参数的参数值,M大于或等于1。
Description
相关申请的交叉引用
本申请基于申请号为202210101715.0、申请日为2022年01月27日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本申请实施例涉及应用技术中的应用基础技术领域,尤其涉及一种图像显示方法、终端设备、服务器、电子设备、存储介质及程序产品。
相关技术中,终端图像模式中的游戏模式都是通过对终端的图像参数设定一组固定的参数值来实现,其中常用的参数包含:亮度、对比度、色度、色温、伽玛、清晰度等选项,以及对运动补偿、降噪等功能开关进行选择。其中,该组参数的参数值一般适用于大部分游戏。
但由于针对游戏模式下的所有游戏,其设置的参数值都相同,导致在游戏显示上有一定的局限性,并不能适用于所有游戏。例如,游戏模式里有降低亮度、提高清晰度等参数值,这些参数的参数值应用在一些场景复杂、边缘明显的游戏画面时,提高清晰度容易使得场景变得十分锐利,导致画面凌乱从而降低用户游戏体验,而应用在一些画面较暗的游戏时,亮度降低也会导致画面灰暗、无法看清画面的细节。
发明内容
本申请实施例提供一种图像显示方法、终端设备、服务器、电子设备、计算机可读存储介质及计算机程序产品,能够使终端设备针对第一应用灵活的调整M个第二参数,提高第一应用的图像的显示效果。
本申请实施例提供了一种图像显示方法,该方法适用于终端设备,包括:
获取终端设备中图像参数的调节能力,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;
获取所述云服务器发送的所述第一应用的图像的第一数据;
若所述第一数据中包括所述M个第一参数,则基于所述M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;
其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于控制所述第一应用的图像的显示效果;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
本申请实施例还提供了一种图像显示方法,该方法适用于云服务器,包括:
获取终端设备中图像参数的调节能力,并获取第一应用的图像的第一数据;
其中,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;
若所述第一数据中包括M个第一参数,则将所述第一应用的图像的第一数据,发送至所述终端设备;
其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于控制所述第一应用的图像的显示效果;
所述M个第一参数的参数值,用于供所述终端设备调节M个第二参数的参数值,并 基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;
所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
本申请实施例提供了一种终端设备,包括:
获取单元,配置为获取终端设备中图像参数的调节能力,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;
获取单元,配置为获取第一应用的图像的第一数据;
调节单元,配置为若所述第一数据包括所述M个第一参数,则基于所述M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像,所述M个第一参数,用于控制所述第一应用的图像的显示效果,所述第一参数为所述调节能力指示的所述第一应用的图像参数;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
本申请实施例提供了一种服务器,包括:
获取单元,配置为获取终端设备中图像参数的调节能力,并获取第一应用的图像的第一数据;
其中,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;
发送单元,配置为若所述第一数据中包括M个第一参数,则将所述第一数据发送给所述终端设备;
其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于控制所述第一应用的图像的显示效果;
所述M个第一参数的参数值,用于供所述终端设备调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;
所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
本申请实施例提供了一种电子设备,包括:
处理器,配置为执行计算机程序;
计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,该计算机程序被该处理器执行时,实现本申请实施例提供的上述图像显示方法。
本申请实施例提供了一种计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行本申请实施例提供的上述图像显示方法。
本申请实施例提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时,实现本申请实施例提供的上述图像显示方法。
本申请实施例提供的技术方案可以带来如下有益效果:
当第一数据中包含终端设备中图像参数的调节能力所指示的M个能够调节的第一参数时,基于该M个第一参数的参数值,分别调节终端设备中与各第一参数相对应的第二参数的参数值;一方面,由于第一参数为可调节的图像参数,且第二参数的调节范围包括第一参数的参数值,保证了终端设备中的M个第二参数能够调节;另一方面,由于第二参数的参数值会依据第一参数的参数值进行调节,避免了针对不同的第一应用(例如,云游戏应用),终端设备中M个第二参数的参数值固定,从而导致某些应用的图像显示不佳,用户体验差的问题;同时,利用用于控制所述第一应用的图像的显示效果的M个第一参数,调节终端设备中M个第二参数的参数值,能够使终端设备提高针对第一应用的图像的显示效果,从而提升用户体验。
图1是本申请实施例提供的图像处理过程的流程图。
图2是本申请实施例提供的另一图像处理过程的流程图。
图3是本申请实施例提供的另一图像处理过程的流程图。
图4是本申请实施例提供的场景示意图。
图5是本申请实施例提供的图像显示方法的示意性流程图。
图6是本申请实施例提供的终端设备和云服务器之间确定视频渲染协同配置的流程图。
图7是本申请实施例提供的获取终端设备上图像参数的调节能力的示意性流程图。
图8是本申请实施例提供的图像显示方法的另一示意性流程图。
图9是本申请实施例提供的终端设备的示意性框图。
图10是本申请实施例提供的服务器的示意性框图。
图11是本申请实施例提供的电子设备的示意结构图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
本申请实施例涉及应用技术中的应用基础技术领域。例如,本申请实施例涉及云游戏技术领域。
云游戏(Cloud gaming)又可称为游戏点播(gaming on demand),是一种以云计算技术为基础的在线游戏技术。云游戏技术使图形处理与数据运算能力相对有限的轻端设备(thin client)能运行高品质游戏。在云游戏场景下,游戏并不在玩家游戏终端,而是在云端服务器中运行,并由云端服务器将游戏场景渲染为视频音频流,通过网络传输给玩家游戏终端。玩家游戏终端无需拥有强大的图形运算与数据处理能力,仅需拥有基本的流媒体播放能力与获取玩家输入指令并发送给云端服务器的能力即可。
本申请实施例也可以涉及网络媒体技术,与传统的音视频设备采用的工作方式不同,网络媒体依赖信息技术(information technology,IT)设备开发商提供的技术和设备来传输、存储和处理音视频信号。传统的串型数字接口(Serial digital interface,SDI)传输方式缺乏真正意义上的网络交换特性,需要做大量的工作才可能利用SDI创建类似以太网和因特网协议(IP)所提供的部分网络功能。所以,视频行业中的网络媒体技术就应运而生。网络媒体和传统的电视、报纸、广播等媒体一样,都是传播信息的渠道,是交流、传播信息的工具,信息载体。本申请实施例涉及云服务器和终端设备上的云游戏应用平台的软件开发工具包(Software Development Kit,SDK)之间的数据传输。
下面将结合附图,对本申请实施例中的技术方案进行描述。
在描述本申请实施例的技术方案以前,先结合图1至图2对图像处理过程的流程进行示意性说明。
图1是本申请实施例提供的图像处理过程的流程示意图,如图1所示,云服务器生成视频,并对该视频进行视频图像采集,对采集到的视频图像进行全部处理,对经过处理后的视频图像进行编码,得到视频图像的码流,并将该码流发送给终端设备;相应的,终端设备接收云服务器发送的码流,对该码流进行解码,按照解码结果进行视频图像的展示。
图2是本申请实施例提供的另一图像处理过程的流程图,如图2所示,云服务器生成视频,并对该视频进行视频图像采集,对采集到的视频图像不作处理,直接进行编码,得到视频图像的码流,并将该码流发送给终端设备;相应的,终端设备接收云服务器发送的 码流,对该码流进行解码,并对解码后的视频图像进行全部任务的处理,如锐化处理、模糊处理、降噪处理等,最后对处理后的视频图像进行展示;示例性的,对解码后的视频图像进行处理可以是按照固定的图像参数对视频图像进行展示。
然而,上述图像处理方式中终端对解码后的视频图像不处理直接显示或用固定参数显示,都无法为用户提供更优质的云游戏画质体验。
在实际应用中,对终端上的图像参数设定一组固定的参数值,该组参数的参数值一般适用于大部分游戏,但由于参数值都相同,导致在游戏显示上有一定的局限性,并不能适用于所有游戏。例如,游戏模式里有降低亮度、提高清晰度等参数值,这些参数的参数值应用在一些场景复杂、边缘明显的游戏画面时,提高清晰度容易使得场景变得十分锐利,导致画面凌乱从而降低用户游戏体验,而应用在一些画面较暗的游戏时,亮度降低也会导致画面灰暗、无法看清画面的细节。
简言之,由于终端图像模式中的游戏模式无法与运行的游戏进行参数的协同交互,终端无法理解其正在处理的游戏的类型,所以,无法感知正在游玩的游戏需要的参数,而设定一组平均、最适用于大部分游戏的参数,不但使参数缺少灵活性,而且导致用户不能获得较佳的游戏体验。
所以,为了解决上述问题,本申请实施例提供了一种图像显示方法、终端设备、服务器以及存储介质,能够使终端设备和云服务器进行渲染任务协同,根据终端的渲染能力,让一部分视频图像渲染任务在终端完成,充分利用终端的资源,优化视频图像的画面显示,为用户提供更优质的云游戏画质体验。
需要说明的是,云服务器完成的视频或图像渲染任务是在视频编码前完成(视频前处理),智能终端完成的视频增强任务是在视频解码后完成(视频后处理)。
下边结合图3对图像处理过程中端云协同的流程进行示意性说明。
如图3所示,云服务器生成视频,并对该视频进行视频图像采集,对采集到的视频图像进行部分任务(子任务a-b)处理,对经过处理后的视频图像进行编码,得到视频图像的码流,并将该码流发送给终端设备;相应的,终端设备接收云服务器发送的码流,对该码流进行解码,对解码后的视频图像进行剩余任务(子任务c)处理,并将处理后的视频图像进行展示。
下边将结合图4对本申请实施例提供的场景进行示意性说明。
图4是本申请实施例提供的场景示意图100。应理解,图4仅为本申请实施例的示例,不应理解为对本申请的限制。
如图4所示,该系统框架100包括终端设备110和服务器120。
需要说明的是,该服务器120可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(CDN,Content Delivery Network)、以及大数据和人工智能平台等基础云计算服务的云服务器,在对云游戏进行渲染处理时,通常该服务器为云服务器。需要说明的是,云服务器是指在云端运行游戏的服务器,并具备视频增强(编码前处理)、视频编码等功能。
该终端设备110可以是智能电视、家庭大屏设备、智能手机、平板电脑、车载终端、掌上游戏主机和其他小型个人携带型设备,如掌上电脑(Personal Digital Assistant,PDA)、电子书(electronic book,E-book)等,但并不局限于此。终端设备110和服务器120可以通过有线或者无线通信方式进行直接或间接地连接,本申请实施例对此并不限定。
应理解,图4中的终端设备和服务器的数目仅仅是示意性的,根据实际需要,可以具有任意数目的终端设备和服务器。
示例性的,终端设备110安装有云游戏应用平台的SDK,该服务器120可以是负责云游戏渲染处理的服务器;终端设备110通过该SDK和服务器120之间进行通信,网络130在该SDK和服务器120之间提供通信链路的介质。
通常情况下,服务器120可通过应用客户端将渲染好的云游戏图像发送给终端设备110,终端设备110通过SDK接收该云游戏图像,并基于终端设备上的图像参数的参数值显示该云游戏图像,其中,常用的图像参数可包括:亮度、对比度、色度、色温、伽玛、清晰度等选项,以及对运动补偿、降噪等。
为便于对本申请实施例的技术方案的理解,下面先对本申请实施例涉及的相关术语进行说明。
1、高动态范围(High Dynamic Range,HDR)能力:主要指终端或云端的HDR调色能力或标准动态范围(Standard Dynamic Range,SDR)转HDR的能力。
2、伽玛:图像亮度转换函数,可将图像亮度按照指数曲线变化做映射,实现偏暗或偏亮的画质。
3、图像锐化:是补偿图像的轮廓,增强图像的边缘及灰度跳变的部分,使图像变得清晰;其中,图像锐化分为空间域处理和频域处理两类。图像锐化是为了突出图像上地物的边缘、轮廓,或某些线性目标要素的特征。这种滤波方法提高了地物边缘与周围像元之间的反差,因此也被称为边缘增强。
4、图像降噪:是指减少数字图像中噪声的过程,有时候又称为图像去噪。
将通过如下实施例对本申请实施例提供的图像显示方案进行详细说明。
在一些实施例中,本申请实施例提供的图像显示方法可以由终端设备或云服务器单独实施,或由终端设备及云服务器协同实施,这里以终端设备单独实施为例,在实际应用中,终端设备获取终端设备中图像参数的调节能力,该图像参数的调节能力,用于指示终端设备中能够调节的图像参数;获取第一应用的图像的第一数据;若第一数据中包括M个第一参数,则基于M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的M个第二参数的参数值,显示第一应用的图像;其中,第一参数,为调节能力指示的第一应用的图像参数,用于控制第一应用的图像的显示效果;第一参数与第二参数一一对应、且第二参数的调节范围包括第一参数的参数值,M大于或等于1。
示例性地,图5是本申请实施例提供的图像显示方法200的示意性流程图;需要说明的是,该方法200可以由终端设备执行,该终端设备可以是如图4所示的终端设备110。
如图5所示,该方法200可包括以下中的部分或全部内容:
S201,获取终端设备中图像参数的调节能力,该图像参数的调节能力用于指示该终端设备中能够调节的图像参数;
S202,向该云服务器发送第一请求,该第一请求用于请求获取第一应用的图像的第一数据;
S203,接收该云服务器发送的该第一应用的图像的第一数据;
S204,确定该第一数据中是否包括M个第一参数,该第一参数,为终端设备中图像参数的调节能力指示的第一应用的图像参数,用于控制第一应用的图像的显示效果,M≥1;
S205,若该第一数据包括该M个第一参数,则基于该M个第一参数的参数值,分别调节该M个第二参数的参数值,并基于调节后的该M个第二参数的参数值,显示该第一应用的图像。
这里,第一参数与第二参数一一对应、且第二参数的调节范围包括第一参数的参数值;在实际应用中,第一参数及第二参数可以为亮度、对比度、色度、色温、伽玛、清晰度等选项,以及对运动补偿、降噪等。
在一种实现方式中,终端设备通过第一应用的应用平台的SDK接收云服务器发送的第一应用的图像的第一数据,并通过该SDK识别该第一数据中是否包括M个第一参数,若包括该M个第一参数,则通过该SDK分别调用与M个第一参数分别对应的M个第二参数的接口,将该M个第二参数的参数值调节为该M个第一参数的参数值,并基于调节后的M个第二参数的参数值显示该第一应用的图像。应理解,该SDK中保存有该M个第二参数的接口。
在一些实施例中,该云服务器可通过第一应用的应用客户端向终端设备发送第一应用的图像的第一数据。
在一些实施例中,终端设备获取终端设备中图像参数的调节能力后,可将该图像参数的调节能力发送给云服务器,以使云服务器基于终端设备中图像参数的调节能力,确定终端设备运行的第一应用的图像的第一数据并返回。
需要说明的是,该M个第一参数为该云服务器的数据库中与该第一应用的标识匹配的参数。当然,在其他一些实施例中,该M个第一参数也可以是与该第一应用的图像场景匹配的参数。
在一些实施例中,云服务器可向终端设备主动下发第一应用的图像的第一数据,例如,可在终端设备运行第一应用期间,向终端设备周期性的下发该第一数据,如此,减少与云服务器进行信息交互所带来的资源消耗。
当第一数据中包含终端设备中图像参数的调节能力所指示的M个能够调节的第一参数时,基于该M个第一参数的参数值,分别调节与各第一参数相对应的第二参数的参数值;一方面,由于第一参数为可调节的图像参数,且第二参数的调节范围包括第一参数的参数值,保证了终端设备中的M个第二参数为能够调节的参数;另一方面,由于第二参数的参数值会依据第一参数的参数值进行调节,避免了针对不同的第一应用(例如,云游戏应用),终端设备中M个第二参数的参数值固定,从而导致某些应用的图像显示不佳,用户体验差的问题;本申请实施例利用用于控制该第一应用的图像的显示效果的M个第一参数,调节该M个第二参数的参数值,能够使终端设备提高第一应用的图像的显示效果,从而提升用户体验。
此外,由于将M个第一参数发送给终端设备,在该终端设备上控制该第一应用的图像的显示效果,无需云服务器端对第一应用的图像的该M个第一参数进行处理,降低云服务器端计算资源的消耗,节省成本。
在一些实施例中,方法200还可包括:若该第一数据中不包括该M个第一参数,则直接显示该第一应用的图像,该第一应用的图像为,该云服务器基于该M个第一参数调节后的图像。
在一些实施例中,S202包括:响应于用户在该终端设备的显示界面上对该第一应用执行的操作,向该云服务器发送第一请求。
示例性的,对该第一应用执行的操作,可以是对该第一应用执行的按压操作、双击操作、单击操作等,也可以是对该第一应用执行的输入操作,本申请实施例对此不作限制。
示例性的,该第一应用可以是云游戏应用,终端设备可通过该云游戏应用的应用平台的SDK向该云服务器发送该第一请求。
需要说明的是,要实现视频图像的端云渲染协同配置,需要在视频图像渲染前探测终端的视频图像渲染能力,以实现端云协同的最优渲染配置。
下边将结合图6对视频渲染协同配置的确定流程进行示意性说明。
如图6所示,云服务器可以通过安装在云服务器上的客户端向终端设备发送视频图像渲染能力的请求,终端设备接收到该请求,获取终端设备上的视频图像渲染能力,并将该视频图像渲染能力反馈给云服务器,云服务器可通过安装在云服务器上的客户端接收该视频图像渲染能力的响应。
在一些实施例中,视频图像渲染能力包括但不限于以下中的至少一项:协议版本号、视频分辨率、视频帧率、查询的渲染算法类型。
在一些实施例中,协议版本号指的是云服务器支持的最低协议版本,该协议可以是渲染协议;视频分辨率可以是待渲染的视频源的分辨率,如1080p;视频帧率可以是待渲染的视频源的帧率,如60fps;查询的渲染算法类型可以是以下至少一项:锐化处理算法、降噪处理算法、模糊处理算法、视频高动态范围成像(High Dynamic Range Imaging,HDR)增强能力算法等。
在一些实施例中,不同的渲染算法可以通过枚举定义,如表1所示:
表1
渲染算法类型 | 枚举定义 |
未定义 | 0 |
锐化处理算法 | 1 |
HDR增强能力算法 | 2 |
在一些实施例中,上述视频渲染能力请求可以是针对第一应用的图像参数的渲染能力请求。
其中,终端设备的视频渲染能力的数据结构可以如表2所示:
表2
在一些实施例中,视频渲染能力响应可以包括以下至少一项,但不限于此:对于云服务器所要查询的渲染算法类型是否查询成功的标识、终端设备支持的协议版本号、终端设备的能力信息等。
在一些实施例中,若对于云服务器所要查询的渲染算法类型查询成功,则对于云服务器所要查询的渲染算法类型是否查询成功的标识可以用0表示,若对于云服务器所要查询的渲染算法类型查询失败,则对于云服务器所要查询的渲染算法类型是否查询成功的标识可以用错误码表示,如001等。
在一些实施例中,协议版本号指的是终端设备支持的最低协议版本,该协议可以是渲染协议。
在一些实施例中,终端设备的渲染能力信息包括以下至少一项,但不限于此:终端设备支持的渲染算法类型以及该渲染算法的性能。
在一些实施例中,该渲染算法的性能包括但不限于以下中的至少一项:该算法可以处理的视频尺寸、帧率以及时延。
示例性地,视频渲染能力响应的数据结构可以是表3所示,
表3
在一些实施例中,终端设备的视频渲染能力可以被划分为以下三种情况:情况一:终端设备针对视频图像具备完全视频渲染能力,如图2所示;情况二:终端设备针对视频图像具备局部视频渲染能力,如图3所示;情况三:终端设备不具备视频渲染能力,如图1所示。
其中,终端设备不同的视频渲染能力可通过枚举定义,如表4所示:
表4
渲染能力 | 枚举定义 |
未定义 | 0 |
不具备视频渲染能力 | 1 |
具备局部视频渲染能力 | 2 |
具备完全视频渲染能力 | 3 |
在一些实施例中,确定终端设备在获取到第一应用的图像的第一数据前,需先接收云服务器向终端设备发送的终端渲染能力的请求,请求获取终端的渲染能力,该渲染能力可以为本申请实施例中的图像参数的调节能力。
在一些实施例中,S201包括:接收该云服务器发送的调节能力请求,该调节能力请求用于请求该终端设备在N个图像参数中查询能够调节的图像参数,该调节能力请求包括该N个图像参数分别对应的N个目标调节范围、和该N个图像参数的接口,该N个图像参数包括该M个第二参数,该目标调整范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围,N≥M≥1;
响应于该调节能力请求,针对该N个图像参数中各第三参数分别执行如下处理:
调用该第三参数的接口,获取该第三参数的调节范围,第三参数为所述N个图像参数中任一图像参数;
若该第三参数的调节范围为数值区间时,则确定该第三参数为该终端设备中能够调节的图像参数;
若该第三参数的调节范围不为数值区间时,则确定该第三参数的调节范围是否包括该第三参数对应的目标调节范围;若该第三参数的调节范围包括该第三参数对应的目标调节范围,则确定该第三参数为该终端设备中能够调节的图像参数;若第三参数的调节范围不为数值区间,且该第三参数的调节范围不包括该第三参数对应的目标调节范围,则该第三参数为该终端设备中不能调节的图像参数;
向该云服务器发送该N个图像参数的调节能力。
换言之,终端设备接收该云服务器发送的调节能力请求后,针对该N个图像参数中的第三参数,若该第三参数的调节范围为数值区间、或该第三参数的调节范围和第三参数对应的目标调节范围相比较,第三参数的调节范围大于或等于该第三参数对应的目标调节范围,则第三参数为该终端设备中能够调节的图像参数;若该第三参数的调节范围不为数值区间、且第三参数的调节范围和第三参数对应的目标调节范围相比较,第三参数的调节范围不完整或无,则确定第三参数为该终端设备中不能调节的图像参数。
在一种实现方式中,该终端设备通过第一应用的应用平台的SDK接收云服务器发送的调节能力请求后,通过SDK向终端设备的操作系统发送调节能力请求,请求终端设备在N个图像参数中查询能够调节的图像参数,终端设备的操作系统接收到查询请求后,基于该查询请求中N个图像参数的接口,访问该终端设备的硬件,获取N个图像参数的调节范围,并将N个目标调节范围分别和N个图像参数的调节范围比较,确定N个图像参数中能够调节的图像参数。
需要说明的是,该目标调节范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围。该目标调节范围可以包括一个数值区间,也可以包括多个参数值选项。
通过在接收云服务器发送的第一应用的图像的第一数据之前,先接收云服务器发送的调节能力请求,查询该终端设备中图像参数的调节能力,相当于,考虑到将部分优化图像显示效果的任务交由终端设备执行,以降低云服务器端数据处理的压力。
当然,在其他可替代的实施例中,无论第三参数的调节范围是否为数值区间,都需确定第三参数的调节范围是否包括该第三参数对应的目标调节范围,若包括该第三参数对应的目标调节范围,则将该第三参数确定为该终端设备中能够调节的图像参数;否则,该第三参数为该终端设备中不能够调节的图像参数。
当然,在其他可替代的实施例中,也可以将终端设备上所有调节范围的图像参数,都确定为能够调节的图像参数。
示例性的,下边将结合图7对本申请实施例提供的获取调节能力的过程进行示例性说明。
图7是本申请实施例提供的终端设备和云服务器之间确定调节能力的交互流程图300。
如图7所示,包括云服务器310、终端设备320;其中,终端设备320中包括SDK模块321、终端设备的操作系统322和硬件信息管理模块323。
在一些实施例中,云服务器310配置为向终端设备320发送调节能力请求,该调节能力请求中包括N个图像参数分别对应的N个目标调节范围、和该N个图像参数的接口;
终端设备320通过SDK模块321接收云服务器310发送的调节能力请求,并通过SDK模块321将该调节能力请求发送给终端设备的操作系统322;
操作系统322接收到该调节能力请求,首先,检查终端设备上是否存在该N个图像参数的接口,若存在,则操作系统322调用N个图像参数的接口,从硬件信息管理模块323中获取N个图像参数的调节范围;其次,将该N个图像参数的调节范围和N个目标调节范围进行比较,在N个图像参数中确定能够调节的图像参数;最后,将N个图像参数中能够调节的图像参数发送给SDK模块321,即将调节能力反馈给SDK模块321。
SDK模块321将该N个图像参数中能够调节的图像参数发送给云服务器310。
示例性的,该云服务器可通过第一应用的应用客户端向终端设备发送调节能力请求。
需要说明的是,操作系统322在向SDK模块321发送调节能力(N个图像参数中能够调节的图像参数)时,若该图像参数的调节范围为数值区间,则将该图像参数的调节范围发送给SDK模块321;若该图像参数的调节范围为多个参数值选项时,则操作系统322向SDK模块321仅反馈该图像参数为能够调节的参数。
需要说明的是,该N个图像参数的接口可以是云端和终端设备的厂商确认后确定的。该N个图像参数分别对应的N个目标调节范围可以如表5所示。应理解,该N个图像参数的数量可根据终端设备的能力增加或减少,该N个图像参数分别对应的N个目标调节范 围可以为N个图像参数分别对应的N个第一参数的调节范围。
表5
第一参数 | 目标调节范围 |
亮度 | 0-100 |
对比度 | 0-100 |
色度 | 0-100 |
清晰度 | 0-100 |
HDR能力 | 开/关 |
图像锐化 | 开/关 |
图像降噪 | 关、低、中、强 |
伽玛 | 偏暗、标准、偏亮 |
色温 | 冷色、标准、暖色 |
将表5结合上述图7来说,若终端设备中N个图像参数中的亮度参数的调节范围为0-255,结合表5所示,亮度参数对应的目标调节范围为0-100,由于0-255包括0-100,则确定终端设备中亮度参数为能够调节的图像参数,将亮度参数的调节范围0-255反馈给云服务器。当然,在一些实施例中,若N个图像参数中的亮度参数的调节范围为0-255,由于该调节范围为数值区间,可直接确定终端设备中亮度参数为能够调节的图像参数。
若终端设备中N个图像参数中的色温参数的调节范围为冷色、标准,结合表5所示,色温参数对应的目标调节范围为冷色、标准、暖色;由于冷色、标准不包括冷色、标准、暖色;则确定该色温参数为N个图像参数中不能够调节的参数,可将该色温参数的调节能力确定为NULL,并反馈给云服务器。
在一些实施例中,在调用该第三参数的接口,获取该第三参数的调节范围时,先确定是否存在该第三参数的接口;若存在该第三参数的接口,则调用该第三参数的接口,获取该第三参数的调整范围;若不存在该第三参数的接口,则该第三参数的调节范围为空。
换言之,终端设备在调用第三参数的接口前,先确定该第三参数的接口在该终端设备上是否存在,若存在,则调用该第三参数的接口,获取该第三参数的调整范围,若不存在,则该第三参数的调节范围为空,即该第三参数为不能调节的参数。
通过在访问接口前先确定接口是否存在,相当于,考虑到,网络传输时有可能导致数据丢失或错误,为了保证数据访问的有效性,在调用第三参数的接口前,先确定该第三参数的接口是否存在。
在一些实施例中,若该第三参数为该终端设备中能够调节的图像参数、该第三参数的调节范围为数值区间、且该第三参数的调节范围和该第三参数对应的目标调节范围不同时,则向该云服务器发送该第三参数的调节范围。
在向该云服务器发送该第三参数调节能力时,向该云服务器发送该第三参数的调节范围,相当于,考虑到,后续云服务器在向终端设备发送第三参数对应的第一参数时,若该第三参数的调节范围和第一参数的调节范围不同,则需要将第一参数的参数值转化为第三参数的调节范围中的参数值,以保证终端设备中参数的参数值和云服务器端对应参数的参数值的衡量标准统一,以实现后续终端设备基于云服务器发送的参数,调节终端设备上对应的参数后,能达到云服务器端预期的图像显示效果。
在本申请的一些实施例中,该N个图像参数包括以下中的至少一项:
亮度参数、色度参数、对比度参数、清晰度参数、高动态范围HDR能力参数、图像锐化参数、图像降噪参数、伽玛参数、色温参数。
在一些实施例中,当本申请实施例提供的图像显示方法由云服务器单独实施时,云服务器获取终端设备中图像参数的调节能力,并获取第一应用的图像的第一数据;其中,图像参数的调节能力,用于指示终端设备中能够调节的图像参数;若第一数据中包括M个第一参数,则将第一应用的图像的第一数据,发送至终端设备;其中,第一参数,为调节能 力指示的第一应用的图像参数,用于控制第一应用的图像的显示效果;M个第一参数的参数值,用于供终端设备调节M个第二参数的参数值,并基于调节后的M个第二参数的参数值,显示第一应用的图像;第一参数与第二参数一一对应、且第二参数的调节范围包括第一参数的参数值,所述M大于或等于1。
在一些实施例中,云服务器可通过如下方式获取终端设备中图像参数的调节能力:接收终端设备发送的终端设备标识,并基于终端设备的标识,获取终端设备中图像参数的调节能力;或者,
接收终端设备发送的终端设备中图像参数的调节能力。
在一些实施例中,若第一数据中包括M个第一参数,则云服务器可通过如下方式将第一应用的图像的第一数据,发送至终端设备:
若第一数据中包括M个第一参数,则响应于终端设备发送的第一请求,将第一应用的图像的第一数据,发送至终端设备;其中,第一请求,用于请求获取第一应用的图像的第一数据。
在一些实施例中,第一请求包括第一应用的标识;云服务器可通过如下方式获取第一应用的图像的第一数据:云服务器基于第一应用的标识,获取N个第一参数和第一应用的图像;其中,N个第一参数,用于控制第一应用的图像的显示效果,N个第一参数包括M个第一参数,N大于或等于M;当图像参数的调节能力指示的图像参数中包括M个第二参数时,将该M个第二参数分别对应的M个第一参数及第一应用的图像,确定为第一数据。
示例性地,图8是本申请实施例提供的图像显示方法400的示意性流程图;需要说明的是,该方法400可以由云服务器执行,该云服务器可以是如图4所示的服务器120。如图8所示,该方法400可包括以下中的部分或全部内容:
S401,接收终端设备发送的第一请求,该第一请求用于请求获取第一应用的图像的第一数据,该第一请求包括该第一应用的标识和该终端设备的标识;
S402,基于该第一应用的标识,获取N个第一参数和该第一应用的图像,该N个第一参数用于控制该第一应用的图像的显示效果,该第一参数为该第一应用的图像参数;
S403,基于该终端设备的标识,获取该终端设备中中图像参数的调节能力,该图像参数的调节能力用于指示该终端设备中能够调节的图像参数;
S404,当该图像参数的调节能力指示的图像参数中包括满足预定要求的M个第二参数时,则将该M个第二参数分别对应的M个第一参数和该第一应用的图像作为该第一数据发送给该终端设备,以便该终端设备基于该M个第一参数对该第一应用的图像进行显示,该预定要求为该M个第二参数的调节范围分别包括该M个第一参数的参数值,该N个第一参数包括该M个第一参数,N≥M≥1。
换言之,云服务器接收终端设备发送的第一请求,首先,基于该第一请求中第一应用的标识,在数据库中获取与该第一应用的标识关联的N个第一参数;其次,在基于该第一请求中终端设备的标识,获取终端设备中图像参数的调节能力;最后,基于该终端设备中图像参数的调节能力,将该图像参数的调节能力指示的图像参数中包括满足预定要求的M个第二参数分别对应的M个第一参数和第一应用的图像发送给终端设备,以便终端设备基于M个第一参数的参数值调节与其对应的M个第二参数的参数值,并基于调节后M个第二参数的参数值控制第一应用的图像进行显示。
在一种实现方式中,云服务器通过应用客户端接收终端设备上云游戏应用平台的SDK发送的第一请求。示例性的,该第一应用为云游戏应用。需要说明的是,该N个第一参数还可以是与该第一应用的场景匹配的参数。
基于以上技术方案,首先,基于第一应用的标识,获取适用于第一应用的图像显示的N个第一参数,相当于,考虑到不同的第一应用(例如,云游戏应用)所需的图像参数值不同,为不同的第一应用定制不同的参数,有利于实现不同应用的图像在显示时都具有最佳的显示效果;其次,通过获取与终端设备标识对应的终端设备中图像参数的调节能力, 相当于,考虑到为了节约云服务器的计算资源,将控制第一应用的图像显示的部分任务由终端设备执行,为实现该目的,云服务器需确定终端设备中图像参数的调节能力;最后,将终端设备中图像参数的调节能力指示的图像参数中满足预定要求的M个第二参数分别对应的M个第一参数和该第一应用的图像作为该第一数据发送给该终端设备,以便该终端设备基于M个第一参数控制第一应用的图像进行显示,不仅有利于实现第一应用的最佳显示效果,以提升用户体验,而且无需云服务器端对该M个第一参数进行处理,降低云服务器端计算资源的消耗,节省成本。
下边将结合表6对与该第一应用的标识对应的N个第一参数进行示例性说明。
表6
第一参数 | 参数值 |
亮度 | 50 |
对比度 | 50 |
色度 | 50 |
清晰度 | 50 |
HDR能力 | 开 |
图像锐化 | 开 |
图像降噪 | 关 |
伽玛 | 偏亮 |
色温 | 暖色 |
需要说明的是,该N个第一参数可以是云服务器根据第一应用的类型或场景预定义的参数,该N个第一参数与该第一应用的标识关联。
在本申请的一些实施例中,方法400还包括:
若该图像参数的调节能力指示的图像参数中不包括满足预定要求的、且与K个第一参数分别对应的K个第二参数时,则基于该K个第一参数,调节该第一应用的图像,得到调节后的图像,并将该调节后的图像作为该第一数据发送给该终端设备,该N个第一参数包括该K个第一参数,K>1。
通过基于该K个第一参数,调节该第一应用的图像,相当于,一方面,对于图像参数的调节能力指示的图像参数中满足预定要求的M个第二参数,云服务器将该M个第二参数分别对应的M个第一参数发送给终端设备,以便终端设备利用该M个第一参数控制第一应用的图像显示效果;另一方面,针对该图像参数的调节能力指示的图像参数中不包括的满足预定要求的、且与K个第一参数分别对应的K个第二参数,云服务器利用该K个第一参数对第一应用的图像进行调节;即终端设备和云服务器协同操作,以实现第一应用的图像的显示效果的提升。
需要说明的是,该N个图像参数包括该K个第二参数。
结合表6来说,若M个第二参数分别对应的M个第一参数为亮度、对比度和色度,K个第二参数分别对应的K个第一参数为表6所示的9个参数中除亮度、对比度和色度以外的其他6个参数,结合表6中第一参数的参数值,即云服务器需要对第一应用的图像进行锐化处理、将清晰度调整至50、打开HDR能力、进行HDR调色、将伽玛函数设置为偏亮以及将图像色温转换为暖色;将表6中亮度、对比度和色度分别对应的参数值发送给终端设备,以便该终端设备基于亮度、对比度和色度的参数值对该第一应用的图像进行显示。
若该图像参数的调节能力指示的图像参数中包括满足预定要求的M个第二参数,且M个第二参数分别和N个第一参数一一对应,则云服务器端不需做任何调整,将所有图像处理过程放在终端执行,实现纯终端处理第一应用的图像。
在本申请的一些实施例中,S402包括:
查询数据库中与该第一应用的标识相匹配的N个第一参数,该数据库包括至少一个标 识和该至少一个标识中每一个标识对应的N个第一参数,该至少一个标识包括该第一应用的标识。
在一种实现方式中,云端服务器对不同的应用进行分类,得到不同应用的标识,并获取为每个应用定制的图像参数,将每个应用定制的图像参数与该应用的标识关联,存入云端服务器的配置文件中,当第一应用运行时,云端服务器从配置文件中获取与该第一应用的标识对应的图像参数(N个第一参数)。
需要说明的是,该图像参数一般以字符串的形式进行保存,解析后可以如上述表6所示。
在本申请的一些实施例中,S404之前,该方法还包括:
针对该M个第二参数中的第三参数,若该第三参数的调节范围为数值区间、且该第三参数对应的目标调节范围和该第三参数的调节范围不同时,则将该第三参数对应的第一参数的参数值转化为该第三参数的调节范围中与其对应的参数值,得到该第三参数对应的新的第一参数,并将该新的第一参数和该第一应用的图像作为该第一数据发送给该终端设备,该目标调整范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围;
若该第三参数的调节范围不为数值区间、或该第三参数对应的目标调节范围和该第三参数的调节范围相同时,则直接将该第三参数对应的第一参数和该第一应用的图像作为该第一数据发送给该终端设备。
在一种实现方式中,结合上述表5来说,若第三参数为亮度、对比度、色度或清晰度中的一种,且第三参数的调节范围中的最大值为X
max,最小值为X
min,且X
max不等于100,X
min不等于0时,则需要将第三参数对应的第一参数的参数值转化为该第三参数的调节范围中与其对应的参数值。示例性的,可通过如下公式(1)将第一参数的参数值转化为该第三参数的调节范围中与其对应的参数值。
X
q=round(x*(100-0)/(X
max-X
min)) 公式(1);
其中,X
q为第三参数对应的第一参数的参数值,x为需要计算的第三参数的调节范围中与第一参数的参数值对应的参数值,round为四舍五入取整函数,X
min为第三参数的调节范围中的最小值,X
max为第三参数的调节范围中的最大值。
云服务器在向终端设备发送第三参数对应的第一参数时,若该第三参数的调节范围和第一参数的调节范围不同,则需要将第一参数的参数值转化为第三参数的调节范围中的参数值,以保证终端设备中参数的参数值和云服务器端对应参数的参数值的衡量标准统一,以实现后续终端设备基于云服务器发送的参数,调节终端设备上对应的参数时,能达到云服务器端预期的图像显示效果。
在本申请的一些实施例中,S401之前,该方法还包括:
向该终端设备发送调节能力请求,该调节能力请求用于请求该终端设备在N个图像参数中查询能够调节的图像参数,该调节能力请求包括该N个图像参数分别对应的N个目标调节范围和该N个图像参数的接口,N≥1,该N个图像参数包括该M个第二参数,该目标调整范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围;
接收该终端设备发送的该N个图像参数的调节能力。
需要说明的是,该N个图像参数可以分别对应N个第一参数,例如,该N个第一参数的调节范围如表5所示,即该N个图像参数对应的目标调节范围如表5所示。应理解,该N个图像参数的数量可根据终端设备的能力增加或减少。
在本申请的一些实施例中,该N个图像参数包括以下中的至少一项:
亮度参数、色度参数、对比度参数、清晰度参数、高动态范围HDR能力参数、锐化参数、图像降噪参数、伽玛参数、色温参数。
上文对本申请实施例提供的方法进行了说明,下面对本申请实施例提供的图像显示装 置进行说明。
图9是本申请实施例提供的终端设备500的示意性框图。如图9所示,该终端设备500包括:
获取单元510,配置为获取终端设备中图像参数的调节能力,该图像参数的调节能力,用于指示该终端设备中能够调节的图像参数;
所述获取单元510,还配置为获取第一应用的图像的第一数据;
调节单元520,配置为若所述第一数据中包括所述M个第一参数,则基于所述M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;
其中,所述M个第一参数,用于控制所述第一应用的图像的显示效果,所述第一参数,为所述调节能力指示的所述第一应用的图像参数;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
在一些实施例中,所述获取单元510包括发送单元及接收单元;其中,发送单元,配置为向该云服务器发送第一请求,该第一请求用于请求获取第一应用的图像的第一数据;
接收单元,配置为接收该云服务器发送的该第一应用的图像的第一数据。
在一些实施例中,所述装置还包括:
确定单元,配置为确定该第一数据中是否包括M个第二参数分别对应的M个第一参数,该第一参数满足预定要求,该预定要求为该M个第二参数的调节范围分别包括该M个第一参数的参数值,M≥1;
在一些实施例中,发送单元还配置为:
响应于在该终端设备的显示界面上对该第一应用执行的操作,向该云服务器发送第一请求。
在一些实施例中,获取单元还配置为:
接收该云服务器发送的调节能力请求,该调节能力请求用于请求该终端设备在N个图像参数中查询能够调节的图像参数,该调节能力请求包括该N个图像参数分别对应的N个目标调节范围、和该N个图像参数的接口,该N个图像参数包括该M个第二参数,该目标调整范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围,N≥M≥1;
响应于该调节能力请求,针对该N个图像参数中各第三参数分别执行如下处理:
调用该第三参数的接口,获取该第三参数的调节范围,所述第三参数为所述N个图像参数中任一图像参数;
若该第三参数的调节范围为数值区间时,则确定该第三参数为该终端设备中能够调节的图像参数;
若该第三参数的调节范围不为数值区间、且该第三参数的调节范围包括该第三参数对应的目标调节范围,则确定该第三参数为该终端设备中能够调节的图像参数;若该第三参数的调节范围不包括该第三参数对应的目标调节范围,则确定该第三参数为该终端设备中不能调节的图像参数;
向该云服务器发送该N个图像参数的调节能力。
在本申请的一些实施例中,若该第三参数为该终端设备中能够调节的图像参数、该第三参数的调节范围为数值区间、且该第三参数的调节范围和该第三参数对应的目标调节范围不同时,则向该云服务器发送第三参数的调节范围。
在本申请的一些实施例中,获取单元还配置为:
确定是否存在该第三参数的接口;
若存在该第三参数的接口,则调用该第三参数的接口,获取该第三参数的调整范围;
若不存在该第三参数的接口,则确定该第三参数的调节范围为空。
在本申请的一些实施例中,该N个图像参数包括以下中的至少一项:
亮度参数、色度参数、对比度参数、清晰度参数、高动态范围HDR能力参数、图像 锐化参数、图像降噪参数、伽玛参数、色温参数。
在本申请的一些实施例中,该第一应用为云游戏应用。
图10是本申请实施例提供的服务器600的示意性框图。如图10所示,该服务器600包括:
获取单元610,配置为获取终端设备中图像参数的调节能力,并获取第一应用的图像的第一数据;
其中,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;
发送单元620,配置为若所述第一数据中包括M个第一参数,则将所述第一数据发送给所述终端设备;
其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于控制所述第一应用的图像的显示效果;
所述M个第一参数的参数值,用于供所述终端设备调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;
所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
在一些实施例中,获取单元,还配置为接收所述终端设备发送的所述终端设备标识,并基于所述终端设备的标识,获取终端设备中图像参数的调节能力;或者,
接收所述终端设备发送的所述终端设备中图像参数的调节能力。
在一些实施例中,发送单元,还配置为若所述第一数据中包括M个第一参数,则响应于所述终端设备发送的第一请求,将所述第一应用的图像的第一数据,发送至所述终端设备;
其中,所述第一请求,用于请求获取所述第一应用的图像的第一数据。
在一些实施例中,所述第一请求包括所述第一应用的标识;获取单元,还配置为基于所述第一应用的标识,获取N个第一参数和所述第一应用的图像;其中,所述N个第一参数,用于控制所述第一应用的图像的显示效果,所述N个第一参数包括所述M个第一参数,N大于或等于M;
当所述图像参数的调节能力指示的图像参数中包括所述M个第二参数时,将所述M个第二参数分别对应的M个第一参数及所述第一应用的图像,确定为所述第一数据。
在一些实施例中,服务器600还包括调节单元,该调节单元配置为:
若该图像参数的调节能力指示的图像参数中不包括与K个第一参数分别对应的K个第二参数时,则基于该K个第一参数,调节该第一应用的图像,得到调节后的图像;
将该调节后的图像作为该第一数据,该N个第一参数包括该K个第一参数,K大于1。
在本申请的一些实施例中,获取单元610还配置为:
查询数据库中与该第一应用的标识相匹配的N个第一参数,该数据库包括至少一个标识和每一个标识对应的N个第一参数,该至少一个标识包括该第一应用的标识。
在本申请的一些实施例中,服务器600还包括确定单元,该确定单元配置为:
针对该M个第二参数中各第三参数分别执行如下处理:
若该第三参数的调节范围为数值区间、且该第三参数对应的目标调节范围和该第三参数的调节范围不同时,则将该第三参数对应的第一参数的参数值,转化为该第三参数的调节范围中与第三参数对应的参数值,得到该第三参数对应的新的第一参数,并将该新的第一参数和该第一应用的图像确定为该第一数据,该目标调整范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围;
若该第三参数的调节范围不为数值区间、或该第三参数对应的目标调节范围和该第三参数的调节范围相同时,则直接将该第三参数对应的第一参数和该第一应用的图像确定为第一数据。
在本申请的一些实施例中,获取单元610还配置为:
向该终端设备发送调节能力请求,该调节能力请求用于请求该终端设备在N个图像参数中查询能够调节的图像参数,该调节能力请求包括该N个图像参数分别对应的N个目标调节范围、和该N个图像参数的接口,N≥1,该N个图像参数包括该M个第二参数,该目标调整范围为该云服务器预设的、判断该终端设备中图像参数调整能力的范围;
接收该终端设备发送的该N个图像参数的调节能力。
在本申请的一些实施例中,该第一应用为云游戏应用。
在本申请的一些实施例中,该N个图像参数包括以下中的至少一项:
亮度参数、色度参数、对比度参数、清晰度参数、高动态范围HDR能力参数、锐化参数、图像降噪参数、伽玛参数、色温参数。
应理解,装置实施例与方法实施例可以相互对应,类似的描述可以参照方法实施例。为避免重复,此处不再赘述。在实际应用中,该终端设备500和服务器600可以对应于执行本申请实施例的方法200和方法400中的相应主体,并且该终端设备500和服务器600中的各个单元分别为了实现方法200和方法400中的相应流程,为了简洁,在此不再赘述。
还应当理解,本申请实施例涉及的该终端设备500和服务器600中的各个单元可以分别或全部合并为一个或若干个另外的单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个单元来构成,这可以实现同样的操作,而不影响本申请的实施例的技术效果的实现。上述单元是基于逻辑功能划分的,在实际应用中,一个单元的功能也可以由多个单元来实现,或者多个单元的功能由一个单元实现。在本申请的其它实施例中,该终端设备500和服务器600也可以包括其它单元,在实际应用中,这些功能也可以由其它单元协助实现,并且可以由多个单元协作实现。根据本申请的另一个实施例,可以通过在包括例如中央处理单元(CPU)、随机存取存储介质(RAM)、只读存储介质(ROM)等处理元件和存储元件的通用计算机的通用计算设备上运行能够执行相应方法所涉及的各步骤的计算机程序(包括程序代码),来构造本申请实施例涉及的该终端设备500和服务器600,以及来实现本申请实施例的图像显示方法。其中,计算机程序可以记载于例如计算机可读存储介质上,并通过计算机可读存储介质装载于电子设备中,并在其中运行,来实现本申请实施例的相应方法。
换言之,上文涉及的单元可以通过硬件形式实现,也可以通过软件形式的指令实现,还可以通过软硬件结合的形式实现。在实际应用中,本申请实施例中的方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路和/或软件形式的指令完成,结合本申请实施例公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件组合执行完成。在一些实施例中,软件可以位于随机存储器,闪存、只读存储器、可编程只读存储器、电可擦写可编程存储器、寄存器等本领域的成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法实施例中的步骤。
图11是本申请实施例提供的电子设备700的示意结构图。
如图11所示,该电子设备700至少包括处理器710以及计算机可读存储介质720。其中,处理器710以及计算机可读存储介质720可通过总线或者其它方式连接。计算机可读存储介质720用于存储计算机程序721,计算机程序721包括计算机指令,处理器710配置为执行计算机可读存储介质720存储的计算机指令。处理器710是电子设备700的计算核心以及控制核心,其适于实现一条或多条计算机指令,适于加载并执行一条或多条计算机指令从而实现相应方法流程或相应功能。
作为示例,处理器710也可称为中央处理器(Central Processing Unit,CPU)。处理器710可以包括但不限于:通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等等。
作为示例,计算机可读存储介质720可以是高速RAM存储器,也可以是非不稳定的存储器(Non-Volatile Memory),例如至少一个磁盘存储器;在实际应用中,还可以是至少一个位于远离前述处理器710的计算机可读存储介质。在实际应用中,计算机可读存储介质720包括但不限于:易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。
在一种实现方式中,该电子设备700可以是图9和图10所示的终端设备500和服务器600;该计算机可读存储介质720中存储有计算机指令;由处理器710加载并执行计算机可读存储介质720中存放的计算机指令,以实现图5和图8所示方法实施例中的相应步骤;在实际应用中,计算机可读存储介质720中的计算机指令由处理器710加载并执行相应步骤,为避免重复,此处不再赘述。
本申请实施例还提供了一种计算机可读存储介质(Memory),计算机可读存储介质是电子设备700中的记忆设备,用于存放程序和数据。例如,计算机可读存储介质720。可以理解的是,此处的计算机可读存储介质720既可以包括电子设备700中的内置存储介质,当然也可以包括电子设备700所支持的扩展存储介质。计算机可读存储介质提供存储空间,该存储空间存储了电子设备700的操作系统。并且,在该存储空间中还存放了适于被处理器710加载并执行的一条或多条的计算机指令,这些计算机指令可以是一个或多个的计算机程序721(包括程序代码)。
该电子设备700还可包括:收发器730,该收发器730可连接至该处理器710或计算机可读存储介质720。
其中,计算机可读存储介质720可以控制该收发器730与其他设备进行通信,在实际应用中,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。收发器730可以包括发射机和接收机。收发器730还可以进一步包括天线,天线的数量可以为一个或多个。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。例如,计算机程序721。此时,电子设备700可以是计算机,处理器710从计算机可读存储介质720读取该计算机指令,处理器710执行该计算机指令,使得该计算机执行上述各种可选方式中提供的图像显示方法。
换言之,当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地运行本申请实施例的流程或实现本申请实施例的功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质进行传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元以 及流程步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
最后需要说明的是,以上实施例仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。
Claims (20)
- 一种图像显示方法,所述方法包括:获取终端设备中图像参数的调节能力,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;获取第一应用的图像的第一数据;若所述第一数据中包括M个第一参数,则基于所述M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于控制所述第一应用的图像的显示效果;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
- 根据权利要求1所述的方法,其中,所述获取第一应用的图像的第一数据,包括:向云服务器发送第一请求,所述第一请求,用于请求获取所述第一应用的图像的第一数据;接收所述云服务器发送的所述第一应用的图像的第一数据。
- 根据权利要求1所述的方法,其中,所述向云服务器发送第一请求,包括:响应于在显示界面上对所述第一应用执行的操作,向所述云服务器发送第一请求。
- 根据权利要求1所述的方法,其中,所述获取终端设备中图像参数的调节能力,包括:接收云服务器发送的调节能力请求,所述调节能力请求用于请求在N个图像参数中查询能够调节的图像参数;响应于所述调节能力请求,获取终端设备中图像参数的调节能力;所述方法还包括:将所述图像参数的调节能力发送给云服务器。
- 根据权利要求4所述的方法,其中,所述调节能力请求包括:所述N个图像参数分别对应的N个目标调节范围、和各所述图像参数的接口,所述N个图像参数包括所述M个第二参数,N大于或等于M;所述响应于所述调节能力请求,获取终端设备中图像参数的调节能力,包括:响应于所述调节能力请求,针对所述N个图像参数中各第三参数分别执行如下处理:调用所述第三参数的接口,获取所述第三参数的调节范围,所述第三参数为所述N个图像参数中任一图像参数;若所述第三参数的调节范围为数值区间时,则确定所述第三参数为所述终端设备中能够调节的图像参数;若所述第三参数的调节范围不为数值区间、且所述第三参数的调节范围包括所述第三参数对应的目标调节范围,则确定所述第三参数为所述终端设备中能够调节的图像参数;若所述第三参数的调节范围不为数值区间、且所述第三参数的调节范围不包括所述第三参数对应的目标调节范围,则确定所述第三参数为所述终端设备中不能调节的图像参数。
- 根据权利要求5所述的方法,其中,所述将所述图像参数的调节能力发送给云服务器,包括:针对所述N个图像参数中各所述第三参数,若所述第三参数为所述终端设备中能够调节的图像参数、所述第三参数的调节范围为数值区间、且所述第三参数的调节范围和所述第三参数对应的目标调节范围不同时,则向所述云服务器发送所述第三参数的调节范围。
- 根据权利要求5所述的方法,其中,所述调用所述第三参数的接口,获取所述第三参数的调节范围,包括:确定是否存在所述第三参数的接口;若存在所述第三参数的接口,则调用所述第三参数的接口,获取所述第三参数的调整范围;若不存在所述第三参数的接口,则确定所述第三参数的调节范围为空。
- 一种图像显示方法,包括:获取终端设备中图像参数的调节能力,并获取第一应用的图像的第一数据;其中,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;若所述第一数据中包括M个第一参数,则将所述第一应用的图像的第一数据,发送至所述终端设备;其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于 控制所述第一应用的图像的显示效果;所述M个第一参数的参数值,用于供所述终端设备调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
- 根据权利要求8所述的方法,其中,所述获取终端设备中图像参数的调节能力,包括:接收所述终端设备发送的所述终端设备标识,并基于所述终端设备的标识,获取终端设备中图像参数的调节能力;或者,接收所述终端设备发送的所述终端设备中图像参数的调节能力。
- 根据权利要求8所述的方法,其中,所述若所述第一数据中包括M个第一参数,则将所述第一应用的图像的第一数据,发送至所述终端设备,包括:若所述第一数据中包括M个第一参数,则响应于所述终端设备发送的第一请求,将所述第一应用的图像的第一数据,发送至所述终端设备;其中,所述第一请求,用于请求获取所述第一应用的图像的第一数据。
- 根据权利要求10所述的方法,其中,所述第一请求包括所述第一应用的标识;所述获取第一应用的图像的第一数据,包括:基于所述第一应用的标识,获取N个第一参数和所述第一应用的图像;其中,所述N个第一参数,用于控制所述第一应用的图像的显示效果,所述N个第一参数包括所述M个第一参数,N大于或等于M;当所述图像参数的调节能力指示的图像参数中包括所述M个第二参数时,将所述M个第二参数分别对应的M个第一参数及所述第一应用的图像,确定为所述第一数据。
- 根据权利要求11所述的方法,其中,所述方法还包括:若所述图像参数的调节能力指示的图像参数中不包括与K个第一参数分别对应的K个第二参数时,则基于所述K个第一参数,调节所述第一应用的图像,得到调节后的图像;将所述调节后的图像作为所述第一数据,所述N个第一参数包括所述K个第一参数,K大于1。
- 根据权利要求11所述的方法,其中,所述基于所述第一应用的标识,获取 N个第一参数,包括:查询数据库中与所述第一应用的标识相匹配的N个第一参数,所述数据库包括至少一个标识和每一个所述标识对应的N个第一参数;其中,所述至少一个标识包括所述第一应用的标识。
- 根据权利要求11所述的方法,其中,所述将所述M个第二参数分别对应的M个第一参数及所述第一应用的图像,确定为所述第一数据,包括:针对所述M个第二参数中各第三参数分别执行如下处理:若所述第三参数的调节范围为数值区间、且所述第三参数对应的目标调节范围和所述第三参数的调节范围不同时,则将所述第三参数对应的第一参数的参数值,转化为所述第三参数的调节范围中与所述第三参数对应的参数值,得到所述第三参数对应的新的第一参数,并将所述新的第一参数和所述第一应用的图像,确定为所述第一数据;若所述第三参数的调节范围不为数值区间、或所述第三参数对应的目标调节范围和所述第三参数的调节范围相同时,则直接将所述第三参数对应的第一参数和所述第一应用的图像,确定为所述第一数据。
- 根据权利要求8至14中任一项所述的方法,其中,所述获取终端设备中图像参数的调节能力,包括:向所述终端设备发送调节能力请求;其中,所述调节能力请求,用于请求所述终端设备在N个图像参数中查询能够调节的图像参数,所述调节能力请求包括所述N个图像参数分别对应的N个目标调节范围、和各所述图像参数的接口,N大于或等于1;所述N个图像参数包括所述M个第二参数;接收所述终端设备发送的所述N个图像参数的调节能力。
- 一种终端设备,包括:获取单元,配置为获取终端设备中图像参数的调节能力,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;所述获取单元,还配置为获取第一应用的图像的第一数据;调节单元,配置为若所述第一数据中包括所述M个第一参数,则基于所述M个第一参数的参数值,分别调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;其中,所述M个第一参数,用于控制所述第一应用的图像的显示效果,所述第一参数,为所述调节能力指示的所述第一应用的图像参数;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
- 一种服务器,包括:获取单元,配置为获取终端设备中图像参数的调节能力,并获取第一应用的图像的第一数据;其中,所述图像参数的调节能力,用于指示所述终端设备中能够调节的图像参数;发送单元,配置为若所述第一数据中包括M个第一参数,则将所述第一数据发送给所述终端设备;其中,所述第一参数,为所述调节能力指示的所述第一应用的图像参数,用于控制所述第一应用的图像的显示效果;所述M个第一参数的参数值,用于供所述终端设备调节M个第二参数的参数值,并基于调节后的所述M个第二参数的参数值,显示所述第一应用的图像;所述第一参数与所述第二参数一一对应、且所述第二参数的调节范围包括所述第一参数的参数值,所述M大于或等于1。
- 一种电子设备,包括:处理器,配置为执行计算机程序;计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被所述处理器执行时,实现如权利要求1至7中任一项所述的方法或如权利要求8至15中任一项所述的方法。
- 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至7中任一项所述的方法或如权利要求8至15中任一项所述的方法。
- 一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现如权利要求1至7中任一项所述的方法或如权利要求8至15中任一项所述的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/211,011 US20230334625A1 (en) | 2022-01-27 | 2023-06-16 | Image display method, terminal device, server, electronic device, storage medium and program product |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210101715.0 | 2022-01-27 | ||
CN202210101715.0A CN116567327A (zh) | 2022-01-27 | 2022-01-27 | 图像显示方法、终端设备、服务器以及存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/211,011 Continuation US20230334625A1 (en) | 2022-01-27 | 2023-06-16 | Image display method, terminal device, server, electronic device, storage medium and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023142664A1 true WO2023142664A1 (zh) | 2023-08-03 |
Family
ID=87470328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/135643 WO2023142664A1 (zh) | 2022-01-27 | 2022-11-30 | 图像显示方法、终端设备、服务器、电子设备、存储介质及程序产品 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20230334625A1 (zh) |
CN (1) | CN116567327A (zh) |
WO (1) | WO2023142664A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683734A (zh) * | 2013-11-26 | 2015-06-03 | 中兴通讯股份有限公司 | 一种视频监控的内容适配方法、系统及中心服务器、装置 |
US20150154934A1 (en) * | 2013-12-02 | 2015-06-04 | Nvidia Corporation | Method and system for customizing optimal settings using end-user preferences |
CN106215418A (zh) * | 2016-07-06 | 2016-12-14 | 深圳超多维科技有限公司 | 一种应用的显示控制方法及其装置、终端 |
CN107807852A (zh) * | 2017-10-11 | 2018-03-16 | 广东欧珀移动通信有限公司 | 应用程序性能控制方法及设备 |
CN109753207A (zh) * | 2017-11-02 | 2019-05-14 | 腾讯科技(深圳)有限公司 | 一种信息处理方法及其装置、存储介质 |
CN111176758A (zh) * | 2019-12-31 | 2020-05-19 | 腾讯科技(深圳)有限公司 | 配置参数的推荐方法、装置、终端及存储介质 |
-
2022
- 2022-01-27 CN CN202210101715.0A patent/CN116567327A/zh active Pending
- 2022-11-30 WO PCT/CN2022/135643 patent/WO2023142664A1/zh unknown
-
2023
- 2023-06-16 US US18/211,011 patent/US20230334625A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683734A (zh) * | 2013-11-26 | 2015-06-03 | 中兴通讯股份有限公司 | 一种视频监控的内容适配方法、系统及中心服务器、装置 |
US20150154934A1 (en) * | 2013-12-02 | 2015-06-04 | Nvidia Corporation | Method and system for customizing optimal settings using end-user preferences |
CN106215418A (zh) * | 2016-07-06 | 2016-12-14 | 深圳超多维科技有限公司 | 一种应用的显示控制方法及其装置、终端 |
CN107807852A (zh) * | 2017-10-11 | 2018-03-16 | 广东欧珀移动通信有限公司 | 应用程序性能控制方法及设备 |
CN109753207A (zh) * | 2017-11-02 | 2019-05-14 | 腾讯科技(深圳)有限公司 | 一种信息处理方法及其装置、存储介质 |
CN111176758A (zh) * | 2019-12-31 | 2020-05-19 | 腾讯科技(深圳)有限公司 | 配置参数的推荐方法、装置、终端及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN116567327A (zh) | 2023-08-08 |
US20230334625A1 (en) | 2023-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114501062B (zh) | 视频渲染协同方法、装置、设备及存储介质 | |
WO2020107988A1 (zh) | 视频处理方法、装置、电子设备以及存储介质 | |
JP6674150B2 (ja) | ディスプレイ制御のためのビデオコンテンツを処理する装置及び方法 | |
US9665247B2 (en) | Method and device for applying a new skin to a display environment | |
US20230162324A1 (en) | Projection data processing method and apparatus | |
CN108156533B (zh) | 智能电视背光调节方法、智能电视以及存储介质 | |
US9361537B2 (en) | Techniques to reduce color artifacts in a digital image | |
CN113507598B (zh) | 视频画面的显示方法、装置、终端及存储介质 | |
WO2021073304A1 (zh) | 一种图像处理的方法及装置 | |
US10404606B2 (en) | Method and apparatus for acquiring video bitstream | |
US20210233572A1 (en) | Video processing method, electronic device, and storage medium | |
CN113612979A (zh) | 一种投影方法、电子设备及计算机设备 | |
CN114205359A (zh) | 视频渲染协同方法、装置及设备 | |
CN116567346A (zh) | 视频处理方法、装置、存储介质及计算机设备 | |
CN109429099A (zh) | 用于播放媒体文件的方法、处理器和媒体播放设备 | |
US20050128511A1 (en) | Componentized application sharing | |
US20240098316A1 (en) | Video encoding method and apparatus, real-time communication method and apparatus, device, and storage medium | |
US20170279866A1 (en) | Adaptation of streaming data based on the environment at a receiver | |
WO2023142664A1 (zh) | 图像显示方法、终端设备、服务器、电子设备、存储介质及程序产品 | |
US11348553B2 (en) | Color gamut mapping in the CIE 1931 color space | |
US20200279356A1 (en) | Method and system for enhancing image, and computer readable storage medium | |
WO2020038071A1 (zh) | 视频增强控制方法、装置、电子设备及存储介质 | |
EP3759884B1 (en) | Artificial intelligence (ai) based enhanced resolution content delivery | |
CN107608643B (zh) | 基于低质量照片的多维度分析、识别与优化方法 | |
US11463655B2 (en) | Mediation method and computer readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22923455 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |