Game interface processing method, game interface processing device, equipment and medium

By comparing the color information of the main game interface and the control interface, the target game control interface is determined and combined, which solves the problem in the prior art that the control information displayed on the game interface is not clear, and improves the intuitiveness and aesthetics of the game interface.

CN118750872APending Publication Date: 2024-10-11SHANGHAI NETEASE CUICAN NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410759095.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing technology is difficult to intuitively and clearly display rich game control information in the game interface, and has high requirements for game performance and poor interface processing effects.

Method used

By obtaining the first color information of the game main interface and the second color information of the candidate game control interface for comparison, the target game control interface is determined, and combined with the game main interface to generate the target game interface, so as to improve the intuitiveness and convenience of the game interface. Aesthetics.

Benefits of technology

It achieves normal display of content on the main game interface while ensuring the clarity and accuracy of game control information, enriching the diversity of the game interface and improving the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118750872A_ABST
    Figure CN118750872A_ABST
Patent Text Reader

Abstract

The invention provides a game interface processing method, a game interface processing device, electronic equipment and a computer readable storage medium, and belongs to the technical field of game interface processing. The method comprises the following steps: acquiring a to-be-processed game main interface and first color information of the to-be-processed game main interface; obtaining a plurality of candidate game control interfaces and second color information of each candidate game control interface; determining a target game control interface from the plurality of candidate game control interfaces according to a comparison result of the first color information of the to-be-processed game main interface and the second color information of each candidate game control interface; and combining the to-be-processed game main interface with the target game control interface to generate a target game interface for display. According to the method and the device, the game main interface and the game control can be clearly and intuitively displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of game interface processing, and in particular to a game interface processing method, a game interface processing device, an electronic device, and a computer-readable storage medium. Background Art

[0002] Usually, in addition to the game content information such as the scenes and characters on the main interface of the game itself, the game interface also needs to display some controls related to the gameplay to provide users with corresponding game information, such as skill controls that players can control, character information display controls, backpack controls, or chat controls, etc.

[0003] However, the form of controls presented in the game interface is often relatively rigid and single, which is difficult to meet the display requirements of the rich and varied game main interface, making it impossible for players to clearly and intuitively understand the information presented by the game controls in some cases. In response to the above problems, the prior art proposes to improve the intuitiveness of the game control display and the readability of the information included in the game controls by blurring the background or adding a mask bottom plate to the game controls. However, these methods not only have high requirements on the game performance itself, but also have poor interface processing effects. In addition, they may also affect the information expression in the game main interface.

[0004] Therefore, how to effectively process the game interface to intuitively and clearly display the game content and game controls of the game interface is a problem that needs to be solved urgently in the prior art.

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

[0006] The present disclosure provides a game interface processing method, a game interface processing device, an electronic device and a computer-readable storage medium, thereby at least to a certain extent overcoming the problem that the prior art cannot intuitively and clearly present game controls in a game scene with rich game content.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of the present disclosure, a game interface processing method is provided, including: obtaining a main interface of a game to be processed, and first color information of the main interface of the game to be processed; obtaining multiple candidate game control interfaces, and second color information of each of the candidate game control interfaces; determining a target game control interface from the multiple candidate game control interfaces based on a comparison result of the first color information of the main interface of the game to be processed and the second color information of each of the candidate game control interfaces; combining the main interface of the game to be processed with the target game control interface to generate a target game interface for display.

[0009] In an exemplary embodiment of the present disclosure, obtaining the main interface of the game to be processed and the first color information of the main interface of the game to be processed includes: obtaining the main interface of the game to be processed and determining multiple sampling points from the main interface of the game to be processed; obtaining the colors of the multiple sampling points, and determining the first color information of the main interface of the game to be processed according to the colors of the multiple sampling points.

[0010] In an exemplary embodiment of the present disclosure, obtaining the colors of the multiple sampling points includes: obtaining the colors of a preset number of pixel points around each of the sampling points; and taking the average or median of the colors of the preset number of pixel points as the color of each of the sampling points.

[0011] In an exemplary embodiment of the present disclosure, determining the first color information of the main interface of the game to be processed according to the colors of the multiple sampling points includes: calculating the first color information of the main interface of the game to be processed according to the colors of the multiple sampling points.

[0012] In an exemplary embodiment of the present disclosure, determining a plurality of sampling points from the main interface of the game to be processed includes: determining an area for displaying controls in the main interface of the game to be processed; and determining a plurality of sampling points from the area for displaying controls.

[0013] In an exemplary embodiment of the present disclosure, the target game control interface is determined from the multiple candidate game control interfaces based on the comparison result of the first color information of the main interface of the game to be processed and the second color information of each of the candidate game control interfaces, including: taking the candidate game control interface corresponding to the second color information that is most different from the first color information of the main interface of the game to be processed as the target game control interface.

[0014] In an exemplary embodiment of the present disclosure, the first color information includes the interface representative color of the main interface of the game to be processed, and the second color information includes the base color of the color scheme of the candidate game control interface.

[0015] According to one aspect of the present disclosure, a game interface processing device is provided, including: a first color acquisition module, used to acquire a main interface of a game to be processed, and first color information of the main interface of the game to be processed; a second color acquisition module, used to acquire multiple candidate game control interfaces, and second color information of each of the candidate game control interfaces; a control interface determination module, used to determine a target game control interface from the multiple candidate game control interfaces based on a comparison result of the first color information of the main interface of the game to be processed and the second color information of each of the candidate game control interfaces; a target interface generation module, used to combine the main interface of the game to be processed with the target game control interface to generate a target game interface for display.

[0016] According to one aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned game interface processing methods by executing the executable instructions.

[0017] According to one aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the game interface processing method described in any one of the above is implemented.

[0018] The exemplary embodiments of the present disclosure have the following beneficial effects:

[0019] In this exemplary embodiment, a main interface of a game to be processed and first color information of the main interface of the game to be processed are obtained; multiple candidate game control interfaces and second color information of each candidate game control interface are obtained; based on the comparison result of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface, a target game control interface is determined from the multiple candidate game control interfaces; the main interface of the game to be processed and the target game control interface are combined to generate a target game interface for display. On the one hand, this exemplary embodiment proposes a new game interface processing method. Compared with displaying game controls in a solid, single-color form in the game main interface, this exemplary embodiment can determine game controls with better display effects based on the color of the game main interface, and generate a target game interface for display based on the target game control interface and the game main interface to be processed, thereby enriching the diversity of game controls displayed in the game interface and improving the intuitiveness and aesthetics of the game interface display. On the other hand, this exemplary embodiment can determine a target game control interface used to constitute a target game interface based on a comparison result between the first color information of the game main interface and the second color information of the candidate game control interface. Using the target game control interface to generate the target game interface can ensure the clarity and accuracy of the display of game control information while displaying the content of the game main interface normally, so that the game main interface information and the game control information can be presented clearly and accurately.

[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0022] Figure 1 A flowchart schematically shows a method for processing a game interface in this exemplary embodiment;

[0023] Figure 2 A schematic diagram schematically shows a main interface of a game to be processed in this exemplary embodiment;

[0024] Figure 3 A schematic diagram schematically illustrates a candidate game control interface in this exemplary embodiment;

[0025] Figure 4 A schematic diagram schematically illustrates another candidate game control interface in this exemplary embodiment;

[0026] Figure 5 A schematic diagram schematically illustrates a target game interface in this exemplary embodiment;

[0027] Figure 6 A structural block diagram of a game interface processing device in this exemplary embodiment is schematically shown;

[0028] Figure 7 An electronic device for implementing the above method in this exemplary embodiment is schematically shown. DETAILED DESCRIPTION

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0030] An exemplary embodiment of the present disclosure first provides a game interface processing method.

[0031] The following is combined with Figure 1 This exemplary embodiment is further described as follows. Figure 1 As shown, the game interface processing method may include the following steps S110-S140:

[0032] Step S110, obtaining the main interface of the game to be processed and the first color information of the main interface of the game to be processed.

[0033] Among them, the main interface of the game to be processed refers to the main interface of the game that needs to be processed. The main interface of the game mainly includes the game background, which may include specific game content such as game scenes, game characters or other game elements, such as the game scene interface of the game world. In addition, it may also include some game identification information, such as the nickname of the game character, skills or special effects animation, game map, map identification or other indication information (such as blood progress bar or cooling time progress bar, etc.). In this exemplary embodiment, the main interface of the game may also include some interactive controls that do not need further adjustment, but does not include interactive controls that need further adjustment, such as controls with non-translucent effects including joystick controls, backpack controls or chat controls that do not need to be adjusted, such as Figure 2As shown. The content contained in the main interface of the game here can be pre-configured. The first color information of the main interface of the game to be processed refers to the information used to reflect the color of the main interface of the game, which can be the color of any pixel in the main interface of the game, or it can be the color information that can reflect the main color or representative color of the main interface of the game. This exemplary embodiment can randomly sample one or more pixels from the main interface of the game to be processed, and use the color values ​​of the one or more pixels as the first color information of the main interface of the game to be processed. It can also determine the first color information with a mapping relationship or a corresponding relationship with the scene characteristics of the current main interface of the game to be processed. For example, when it is determined that the current big world game scene interface is a night scene interface, the first color information with a corresponding relationship with the night scene interface can be determined, such as information of darker colors such as black and gray; when it is determined that the current big world game scene interface is a daytime scene interface, the first color with a corresponding relationship with the daytime scene interface can be determined, such as information of brighter colors such as white and yellow.

[0034] Step S120, obtaining multiple candidate game control interfaces and second color information of each candidate game control interface.

[0035] Among them, the candidate game control interface refers to an interface that includes one or more game controls required for the game, wherein the game controls may be controls other than game content, such as message controls (such as chat interface controls, etc.), function box controls (such as backpack controls, controls for displaying game character information, controls for displaying game tasks or game progress, etc.), interactive operation controls (such as joystick controls, skill controls, etc.), etc., and the game controls may include corresponding game information, such as chat information, character information, skill information, etc. In this exemplary embodiment, the candidate game control interface may be an interface including game controls, without a background or with a certain degree of transparency, such as Figure 3 As shown, controls 310 related to live broadcast options, interactive controls 320 related to game activities, controls 330 related to chat, game activity information prompt controls 340, and other game information controls 350 are displayed.

[0036] Furthermore, the second color information of the candidate game control interface can also be obtained, and the second color information can refer to information used to reflect the color of the candidate game control interface, which can be the color of the game control included therein that accounts for the largest proportion or the theme color, etc. In this exemplary embodiment, multiple sampling points can be extracted from the position of the control in the candidate game control interface, and the second color information can be determined according to the color of the sampling points. When setting the candidate game control interface, the corresponding second color information can also be pre-configured. For example, when setting the candidate game control interface A, the corresponding second color information is set to blue, and when setting the candidate game control interface B, the corresponding second color information is set to pink. The specific setting of the second color information can also be determined based on the color of the control in the candidate game control interface.

[0037] In an exemplary embodiment, the first color information may include the interface representative color of the main interface of the game to be processed, such as the average color of the main interface, or the average color of multiple sampling points in the main interface, or the color of the pixel with the highest proportion in the main interface, etc. The second color information may include the base color of the color scheme of the candidate game control interface, such as Figure 3 and Figure 4 Two main interfaces of the games to be processed are shown, among which: Figure 3 and Figure 4 The main interface of the game to be processed shown can correspond to two color schemes, such as Figure 3 The "Search 1 time" option is displayed in blue. Figure 4 The "Search 1 time" option is displayed in pink, and the colors of other controls also vary according to the color scheme. The base color of the color scheme can refer to the theme color of the color scheme, or can reflect the main color of the color scheme, such as the color with the largest proportion, or can be a color calculated based on all the colors included in the color scheme.

[0038] Step S130, determining a target game control interface from a plurality of candidate game control interfaces based on a comparison result of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface.

[0039] This exemplary embodiment can select a target game control interface from multiple candidate game control interfaces by comparing the first color information with the second color information of each candidate game control interface. It can be considered that the color scheme of the game controls in the target game control interface can be displayed in the final target game interface.

[0040] The comparison between the first color information and the second color information can be performed by making a difference comparison, for example, taking the difference between the first color information and the second color information as the comparison result. According to the comparison result, determining the target game control interface from multiple candidate game control interfaces can be to judge the difference, for example, taking the candidate game control interface with a difference greater than a preset threshold as the target game control interface, or taking the candidate game control interface with the largest difference as the target game control interface, or by judging whether the difference meets the preset conditions, first selecting multiple game control interfaces, and then further combining the user's selection or preference setting to determine the target game control interface, for example, first determining the candidate game control interface with a difference greater than a preset threshold from multiple candidate game control interfaces, and then sending a selection prompt message to the user, or pulling the brightness and contrast parameter habit data of the user's current device, and further determining the target game control interface according to the user operation or user preference data, etc.

[0041] Step S140, combining the main interface of the game to be processed with the target game control interface to generate a target game interface for display.

[0042] Finally, the target game control interface can be combined with the main interface of the game to be processed to generate the target game interface. In this exemplary embodiment, the target game control interface can be an interface including controls and no background or a background with a certain degree of transparency. Therefore, by superimposing the target game control interface on the main interface of the game to be processed and adjusting the transparency to a preset value, the combination of the main interface of the game to be processed and the target game control interface can be achieved, or the game controls in the target game control interface can be added to the main interface of the game to be processed, which can also achieve the combination of the main interface of the game to be processed and the target game control interface. For example, when the target game control interface is selected, Figure 3 When the candidate game control interface shown is used as the target interface, Figure 2 By combining the main interface of the game to be processed shown in FIG. Figure 5 The target game interface shown.

[0043] It should be noted that, when combining, the content of the game to be processed in the main interface can also be adjusted according to the actual needs of the target game interface, such as omitting some game information or adding some game information.

[0044] Based on the above description, in this exemplary embodiment, the main interface of the game to be processed and the first color information of the main interface of the game to be processed are obtained; multiple candidate game control interfaces and the second color information of each candidate game control interface are obtained; based on the comparison result of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface, the target game control interface is determined from the multiple candidate game control interfaces; the main interface of the game to be processed and the target game control interface are combined to generate a target game interface for display. On the one hand, this exemplary embodiment proposes a new game interface processing method. Compared with displaying game controls in a solid, single-color form in the game main interface, this exemplary embodiment can determine game controls with better display effects based on the color of the game main interface, and generate a target game interface for display based on the target game control interface and the game main interface to be processed, thereby enriching the diversity of game controls displayed in the game interface and improving the intuitiveness and aesthetics of the game interface display. On the other hand, this exemplary embodiment can determine a target game control interface used to constitute a target game interface based on a comparison result between the first color information of the game main interface and the second color information of the candidate game control interface. Using the target game control interface to generate the target game interface can ensure the clarity and accuracy of the display of game control information while displaying the content of the game main interface normally, so that the game main interface information and the game control information can be presented clearly and accurately.

[0045] In an exemplary embodiment, the above step S110 may include the following steps:

[0046] Obtaining a main interface of the game to be processed, and determining a plurality of sampling points from the main interface of the game to be processed;

[0047] The colors of multiple sampling points are obtained, and first color information of the main interface of the game to be processed is determined according to the colors of the multiple sampling points.

[0048] This exemplary embodiment can extract multiple sampling points from the main interface of the game to be processed, and determine the first color information of the game to be processed according to the color of each sampling point. For example, a preset number of sampling points can be extracted from the main interface to be processed, such as extracting 9 sampling points, and obtaining color data corresponding to the preset number of sampling points, such as data values ​​of RGB (Red GreenBlue) color mode, and then calculate the first color information of the main interface of the game to be processed according to the color data of the preset number of sampling points.

[0049] The positions of the multiple sampling points may be determined randomly or according to specific rules. In an exemplary embodiment, the multiple sampling points may be determined from the main interface of the game to be processed, which may include:

[0050] Determine an area for displaying controls in the main interface of the game to be processed;

[0051] Determines multiple sampling points from the region used for control display.

[0052] Considering that the present exemplary embodiment needs to select and determine a control interface with a suitable color scheme, and the determination of the target game interface is highly correlated with the game controls that need to be displayed, in order to improve the accuracy and effectiveness of the determination of the first color information, an area for displaying controls can be determined in the main interface of the game to be processed, and multiple sampling points can be determined from the area for displaying controls. The area for displaying controls refers to the area range in the main interface of the game where the game controls are to be placed, for example, Figure 2 In the main interface of the game shown, combined with Figure 3 In the control interface shown in FIG. 1 , the control related to the live broadcast is located in the upper right area of ​​the control interface, and the control will eventually be placed in the corresponding position of the main game interface. Therefore, this exemplary embodiment can determine multiple sampling points from this area. In addition, when there are multiple game controls, such as Figure 3 As shown, multiple areas for control display can be determined from the game main interface, and then multiple sampling points can be jointly determined from each area. According to actual needs, priorities can also be set for different areas. For example, controls related to user behavior operations can be set with a higher priority, and then more sampling points can be determined in the higher priority area, and a small number of sampling points can be determined from the lower priority area, and so on.

[0053] In an exemplary embodiment, the above-mentioned obtaining the colors of the multiple sampling points may include:

[0054] Get the colors of a preset number of pixels around each sampling point;

[0055] The average or median of the colors of a preset number of pixels is used as the color of each sampling point.

[0056] In order to ensure the validity and accuracy of the color of each sampling point, the exemplary embodiment can determine the color of each sampling point by calculating the colors of a preset number of pixel points around the sampling point. Specifically, the preset number of pixel points around can be randomly selected or can be selected within a specific range. For example, a 10*10 rectangle is determined around the sampling point, and the pixel points within the rectangle are used as the preset number of pixel points, or a circle or other shape is determined around the sampling point, and a preset number of pixel points are determined in the corresponding shape area, etc. The present disclosure does not make specific limitations on this. Then, the average or median of the colors of the preset number of pixel points can be calculated, and the average or median is used as the color of the corresponding sampling point.

[0057] In an exemplary embodiment, the above-mentioned determining the first color information of the main interface of the game to be processed according to the colors of the plurality of sampling points may include:

[0058] Calculate first color information of the main interface of the game to be processed according to the colors of the multiple sampling points.

[0059] After determining multiple sampling points from the main interface of the game to be processed and determining the color of each sampling point, the first color information of the main interface of the game to be processed can be calculated according to the color of each sampling point. Specifically, this exemplary embodiment can directly use the average or median of the colors of multiple sampling points as the first color information of the main interface of the game to be processed; the first color information of the main interface of the game to be processed can also be calculated according to the positions of different sampling points in combination with their position weights. For example, different weights are set for different areas according to the importance of the game controls displayed in the main interface of the game. The weight of the sampling point area is the weight of the sampling point. The first color information of the main interface of the game to be processed is calculated according to the colors of the sampling points in combination with the weight of the sampling point area.

[0060] In an exemplary embodiment, the above-mentioned determining the target game control interface from a plurality of candidate game control interfaces according to the comparison result of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface may include:

[0061] The candidate game control interface corresponding to the second color information that is most different from the first color information of the main game interface to be processed is used as the target game control interface.

[0062] In order to improve the intuitiveness of the display of each game control information in the game interface while avoiding the influence of the game control information display on the content display of the game main interface, and to improve the transparency of the game interface content display, this exemplary embodiment can use the candidate game control interface corresponding to the second color information that is most different from the first color information of the game main interface to be processed as the target game control interface. For example, the difference between the first color information and the second color information of different candidate game control interfaces is calculated, and the candidate game control interface corresponding to the second color information with the largest difference is used as the target game control interface.

[0063] The exemplary embodiment of the present disclosure also provides a game interface processing device. Figure 6The device 600 may include a first color acquisition module 610, which is used to acquire the main interface of the game to be processed and the first color information of the main interface of the game to be processed; a second color acquisition module 620, which is used to acquire multiple candidate game control interfaces and the second color information of each candidate game control interface; a control interface determination module 630, which is used to determine the target game control interface from multiple candidate game control interfaces according to the comparison result of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface; a target interface generation module 640, which is used to combine the main interface of the game to be processed with the target game control interface to generate a target game interface for display.

[0064] In an exemplary embodiment, obtaining a main interface of a game to be processed and first color information of the main interface of the game to be processed includes: obtaining the main interface of the game to be processed and determining a plurality of sampling points from the main interface of the game to be processed; obtaining the colors of the plurality of sampling points and determining the first color information of the main interface of the game to be processed according to the colors of the plurality of sampling points.

[0065] In an exemplary embodiment, obtaining the colors of a plurality of sampling points includes: obtaining the colors of a preset number of pixel points around each sampling point; and taking the average or median of the colors of the preset number of pixel points as the color of each sampling point.

[0066] In an exemplary embodiment of the present disclosure, determining the first color information of the main interface of the game to be processed according to the colors of multiple sampling points includes: calculating the first color information of the main interface of the game to be processed according to the colors of the multiple sampling points.

[0067] In an exemplary embodiment, determining a plurality of sampling points from the main interface of the game to be processed includes: determining an area for displaying controls in the main interface of the game to be processed; and determining a plurality of sampling points from the area for displaying controls.

[0068] In an exemplary embodiment, based on the comparison results of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface, a target game control interface is determined from multiple candidate game control interfaces, including: taking the candidate game control interface corresponding to the second color information that is most different from the first color information of the main interface of the game to be processed as the target game control interface.

[0069] In an exemplary embodiment, the first color information includes the interface representative color of the main interface of the game to be processed, and the second color information includes the base color of the color scheme of the candidate game control interface.

[0070] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0071] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0072] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the game interface processing method described above is implemented.

[0073] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory (Nand Flash), and the like.

[0074] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0075] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0076] Computer programs can be carried or transmitted through electrical, magnetic, optical, electromagnetic, infrared and other signals. Electronic devices can convert signals carrying computer programs into digital signals to run computer programs. When a computer program is running on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device can be executed) the method steps of various exemplary embodiments of the present disclosure, such as the above-mentioned game interface processing method, which includes the following steps: obtaining the main interface of the game to be processed, and the first color information of the main interface of the game to be processed; obtaining multiple candidate game control interfaces, and the second color information of each candidate game control interface; determining the target game control interface from multiple candidate game control interfaces according to the comparison results of the first color information of the main interface of the game to be processed and the second color information of each candidate game control interface; combining the main interface of the game to be processed with the target game control interface to generate a target game interface for display.

[0077] By executing the above method steps through a computer program, on the one hand, this exemplary embodiment proposes a new game interface processing method. Compared with displaying solidified, single-color game controls in the game main interface, this exemplary embodiment can determine game controls with better display effects according to the color of the game main interface, and generate a target game interface for display according to the target game control interface and the game main interface to be processed, thereby enriching the diversity of game controls displayed in the game interface and improving the intuitiveness and aesthetics of the game interface display; on the other hand, this exemplary embodiment can determine a target game control interface for constituting a target game interface according to a comparison result between the first color information of the game main interface and the second color information of the candidate game control interface. Using the target game control interface to generate the target game interface can ensure the clarity and accuracy of the display of the game control information while the content of the game main interface is displayed normally, so that the game main interface information and the game control information can be presented clearly and accurately.

[0078] The exemplary embodiment of the present disclosure also provides an electronic device. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.

[0079] Reference below Figure 7 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Figure 7 The electronic device 700 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0080] like Figure 7As shown, the electronic device 700 may include: a processor 710 , a memory 720 , a bus 730 , an I / O (input / output) interface 740 , a network adapter 750 , and a display 760 .

[0081] The memory 720 may include a volatile memory, such as a RAM 721, a cache unit 722, and may also include a non-volatile memory, such as a ROM 723. The memory 720 may also include one or more program modules 724, such program modules 724 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 724 may include each module in the above-mentioned device.

[0082] The processor 710 may include one or more processing units. For example, the processor 710 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.

[0083] The processor 710 may be used to execute executable instructions stored in the memory 720, such as executing the above-mentioned game interface processing method.

[0084] The bus 730 is used to realize the connection between different components of the electronic device 700, and may include a data bus, an address bus, and a control bus.

[0085] The electronic device 700 can communicate with one or more external devices 800 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 740 .

[0086] The electronic device 700 can communicate with one or more networks through the network adapter 750. For example, the network adapter 750 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 750 can communicate with other modules of the electronic device 700 through the bus 730.

[0087] The electronic device 700 can display a graphical user interface, such as a game interface, through the display 760 .

[0088] although Figure 7 Not shown, other hardware and / or software modules may also be provided in the electronic device 700, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID system, a tape drive, and a data backup storage system.

[0089] As can be seen from the above, the technical solution of the present disclosure can be implemented as a method, an apparatus, a system, a computer program product, a storage medium, an electronic device, etc. Those skilled in the art can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, such as being respectively referred to as a "circuit", "module" or "system".

[0090] It should be understood that the present disclosure is not limited to the specific method steps or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. Those skilled in the art will easily think of other embodiments based on the specific embodiments provided by the present disclosure. Therefore, the specific embodiments provided by the present disclosure are only exemplary, and the scope and spirit of the present disclosure are indicated by the claims, and any variations, uses or adaptive changes of the present disclosure should be covered, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure.

[0091] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0092] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A game interface processing method, characterized in that: include: Obtaining a main interface of a game to be processed and first color information of the main interface of the game to be processed; Acquire multiple candidate game control interfaces and second color information of each of the candidate game control interfaces; Determining a target game control interface from the plurality of candidate game control interfaces according to a comparison result of the first color information of the to-be-processed game main interface and the second color information of each of the candidate game control interfaces; The to-be-processed game main interface is combined with the target game control interface to generate a target game interface for display.

2. The method according to claim 1, characterized in that The obtaining of the main interface of the game to be processed and the first color information of the main interface of the game to be processed includes: Obtaining a main interface of a game to be processed, and determining a plurality of sampling points from the main interface of the game to be processed; The colors of the plurality of sampling points are obtained, and the first color information of the main interface of the game to be processed is determined according to the colors of the plurality of sampling points.

3. The method according to claim 2, characterized in that The obtaining of the colors of the plurality of sampling points comprises: Obtaining the colors of a preset number of pixel points around each of the sampling points; The average or median of the colors of the preset number of pixel points is used as the color of each of the sampling points.

4. The method according to claim 2, characterized in that: The determining the first color information of the main interface of the game to be processed according to the colors of the plurality of sampling points includes: The first color information of the main interface of the game to be processed is calculated according to the colors of the multiple sampling points.

5. The method according to claim 2, characterized in that: The step of determining a plurality of sampling points from the main interface of the game to be processed includes: Determining an area for displaying controls in the main interface of the game to be processed; A plurality of sampling points are determined from the area used for displaying the control.

6. The method according to claim 1, characterized in that The step of determining a target game control interface from the plurality of candidate game control interfaces according to a comparison result between the first color information of the to-be-processed game main interface and the second color information of each of the candidate game control interfaces comprises: The candidate game control interface corresponding to the second color information that is most different from the first color information of the main game interface to be processed is used as the target game control interface.

7. The method according to claim 1, characterized in that The first color information includes the interface representative color of the main interface of the game to be processed, and the second color information includes the base color of the color scheme of the candidate game control interface.

8. A game interface processing device, characterized in that: include: A first color acquisition module, used to acquire a main interface of a game to be processed and first color information of the main interface of the game to be processed; A second color acquisition module, used to acquire a plurality of candidate game control interfaces and second color information of each of the candidate game control interfaces; A control interface determination module, configured to determine a target game control interface from the plurality of candidate game control interfaces according to a comparison result between the first color information of the to-be-processed game main interface and the second color information of each of the candidate game control interfaces; The target interface generation module is used to combine the main interface of the game to be processed with the target game control interface to generate a target game interface for display.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.