WO2018040505A1 - Configuration display method, and terminal - Google Patents

Configuration display method, and terminal Download PDF

Info

Publication number
WO2018040505A1
WO2018040505A1 PCT/CN2017/072973 CN2017072973W WO2018040505A1 WO 2018040505 A1 WO2018040505 A1 WO 2018040505A1 CN 2017072973 W CN2017072973 W CN 2017072973W WO 2018040505 A1 WO2018040505 A1 WO 2018040505A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
parameter data
data
background
content
Prior art date
Application number
PCT/CN2017/072973
Other languages
French (fr)
Chinese (zh)
Inventor
杨四海
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018040505A1 publication Critical patent/WO2018040505A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • This document relates to, but is not limited to, the field of terminal technologies, and relates to a configuration display method and a terminal.
  • Smartphone applications are becoming more and more abundant, and the demand for diverse themes is increasing, and color applications and pictures are becoming more and more abundant.
  • the development of the Internet application market in order to attract users, a variety of theme color switching emerges in an endless stream, in addition to switching the main color, secondary tones, etc., will also dynamically switch the dynamic picture background, and the phone will be in different use scenarios. This causes the content display color or style to be mismatched with the background color hue in different light brightness or screen brightness scenes after the theme is switched. More seriously, the user cannot see the content displayed on the interface when using similar colors.
  • the theme switching methods are fixed by several theme schemes, and each time the content style is switched, it is a fixed following transformation or unchanged.
  • the display content of the current interface does not change.
  • the mobile phone provides an automatic brightness adjustment function to dynamically adjust the brightness of the screen to solve the problem that the display cannot be clearly seen.
  • the embodiment of the invention provides a configuration display method and a terminal, which solves the problem that the color display of the display content of the terminal interface is unclear in the related art.
  • An embodiment of the present invention provides a configuration display method, where the configuration display method includes:
  • the step of acquiring parameter data of the target interface background includes at least one of the following:
  • the parameter data of the target interface background is acquired.
  • the step of displaying the interface content on the target interface according to the parameter data includes:
  • the interface content is displayed on the target interface according to the parameter data and/or current data of the preset parameters.
  • the step of displaying the interface content on the target interface according to the current data of the parameter data and/or the preset parameter comprises:
  • the interface content is displayed on the target interface according to at least one of a red, green and blue value of the content interface, a current light intensity value of the environment in which the terminal is located, and a current brightness value of the terminal screen.
  • the step of displaying the interface content on the target interface according to the parameter data includes:
  • the interface content is displayed on the target interface according to the target style data.
  • the target style data includes a color and a model of the interface content.
  • the step of acquiring parameter data of the target interface background includes:
  • the parameter data is acquired according to the location information.
  • the step of acquiring the parameter data of the target interface background when the preset adjustment condition is met includes:
  • the step of obtaining target style data according to the parameter data includes:
  • the target style data is obtained by querying in the style database according to the parameter data.
  • the embodiment of the invention further provides a terminal, where the terminal includes:
  • a first acquiring module configured to acquire parameter data of a target interface background when the preset adjustment condition is met
  • the first display module is configured to display the interface content on the target interface according to the parameter data.
  • the configuration display method provided by the present application acquires parameter data of a target interface background when the preset adjustment condition is met, and displays the interface content on the target interface according to the parameter data.
  • the above technical solution can realize the dynamic refresh display during the switching of the dynamic interface background, avoiding the difficulty or invisibility of viewing content caused by different light intensities or similar content styles and backgrounds, and the user does not need to dynamically change the background or adjust the screen.
  • the brightness is used to see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration display method is implemented.
  • FIG. 1 is a schematic flowchart of a configuration display method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a background area color obtaining method according to Embodiment 1 of the present invention.
  • FIG. 3 is another flowchart of a configuration display method according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 2 of the present invention.
  • the present application provides a variety of solutions for the problem that the color display of the terminal interface display content in the related art is unclear (possibly close to the background color, resulting in inconvenient use), as follows:
  • the configuration display method provided in Embodiment 1 of the present invention includes:
  • Step 11 Obtain parameter data of a target interface background when the preset adjustment condition is met;
  • Step 12 Display interface content on the target interface according to the parameter data.
  • the interface content includes content displayed by a user interface of various user terminals UE, such as an icon and/or a name of an application.
  • the configuration display method provided by the first embodiment of the present invention acquires parameter data of a target interface background when the preset adjustment condition is met, and displays the interface content on the target interface according to the parameter data.
  • the above technical solution can realize the dynamic refresh display during the switching of the dynamic interface background, avoiding the difficulty or invisibility of viewing content caused by different light intensities or similar content styles and backgrounds, and the user does not need to dynamically change the background or adjust the screen.
  • the brightness is used to see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.
  • the step of acquiring parameter data of the target interface background includes one or more of the following operations:
  • the parameter data of the target interface background is acquired.
  • the step of displaying the interface content on the target interface according to the parameter data comprises: displaying the interface content on the target interface according to the parameter data and/or current data of the preset parameter .
  • the step of displaying the interface content on the target interface according to the current data of the parameter data and/or the preset parameter comprises: according to a red, green, and blue value of the content interface, and a current light of an environment in which the terminal is located At least one of a strong value and a current brightness value of the terminal screen displays interface content on the target interface.
  • the step of displaying the interface content on the target interface according to the parameter data includes: obtaining target style data according to the parameter data; and displaying the interface content on the target interface according to the target style data.
  • the target style data may include the color and model of the interface content.
  • the step of acquiring parameter data of the target interface background includes: acquiring location information of the target interface display content; and acquiring the parameter data according to the location information.
  • the step of acquiring parameter data of the target interface background when the preset adjustment condition is met includes: determining, after receiving the configuration instruction, whether the preset adjustment condition is met, when the preset adjustment condition is met , get the parameter data of the target interface background.
  • the step of obtaining the target style data according to the parameter data comprises: querying the style database according to the parameter data to obtain target style data.
  • the configuration display method provided by the embodiment of the present invention further includes: setting the style database, and periodically updating.
  • the configuration display method provided in the first embodiment of the present invention is further described below.
  • Identification unit configuration unit, display unit and control unit; wherein:
  • Identification unit Set to obtain the background color RGB (red, green and blue) value of the specified coordinate point drawing area (the position area of the icon) of the LCD (Liquid Crystal Display) screen.
  • RGB red, green and blue
  • the display unit is a system frame basic display control (View).
  • the recognition unit identifies the current background color value (target background color value) of the unit area (the position area of the icon), and returns a The calculated color value.
  • Control unit set to obtain the light intensity data and screen brightness data of the light sensor in real time, and determine whether it is necessary to refresh the content display effect of the current interface according to the difference in light perception.
  • the configuration unit is an algorithm logic module, which is divided into two parts: a data receiving part and a data management part.
  • the data receiving portion is configured to receive the background data result of the identification unit and the light of the control unit
  • the intensity data and the screen brightness data are subjected to the next data configuration process
  • the data management portion is set to read and write configuration library data, and returns reasonable matching data according to the received data (for example, at least one of the three data).
  • Display unit set to refresh the display of the LCD screen.
  • the style configuration data is displayed according to the obtained content in the display unit area where the content needs to be displayed, and the corresponding style or color is configured for the display content that needs to be dynamically updated, and refreshed.
  • the data of the display unit in the specific area of the current interface displays a new display effect to the user.
  • the above-mentioned functional unit enables the user to display the content after the style or color is dynamically configured according to the background of the display area on the interface after the background switching.
  • the configuration display method provided by the embodiment of the present invention can be described as follows:
  • the user can arbitrarily change the background setting or the light intensity environment of the terminal in an interface that can dynamically change the background setting (such as theme color change or background image modification);
  • the recognition unit acquires the background color of each unit content display area, and transmits After processing the configuration unit, the configuration unit returns the content style data suitable for the current display area according to the current background data (such as the area position and color value), the current light intensity, and the screen brightness;
  • the display unit traverses the content display area that needs to be changed on the current interface, and sets the display content according to the acquired style data; the display unit completes the refresh display of the overall interface content, and completely displays the content to the user according to the configured style.
  • the implementation process of the identification unit includes:
  • Step 21 Obtain a coordinate value of a target area that is input to the display unit.
  • coordinate data (LCD coordinate value ⁇ (x0, y0)(x1, y1) ⁇ )) corresponding to the target area of the basic display unit can be obtained.
  • Step 22 Obtain target area background data and current light intensity data.
  • This step can obtain current background data and current according to the corresponding display target area.
  • the light intensity data of the mobile phone can obtain current background data and current according to the corresponding display target area.
  • Step 23 Return an RGB value after calculation
  • This step can return a reasonable background color RGB value after the configuration is calculated by data analysis.
  • the configuration unit is divided into two parts: color configuration library management and data reception processing, where:
  • the data receiving processing part After receiving the RGB value, the data receiving processing part transmits the acquired data to the configuration unit, and the configuration unit reads the current light intensity data and the screen brightness data, and then returns the identification from the existing data according to the matching algorithm. Unit one data.
  • the matching principle here is to find a suitable color scheme style data, so that the content display style and the background color can be perfectly combined and displayed to the user.
  • the color configuration library management part in addition to the basic read and write operations for processing the underlying data, is also responsible for the initialization or update synchronization of the underlying database.
  • the local style configuration database can be updated by system upgrade or online synchronization if the end user setting allows.
  • the display unit is configured to refresh and display the content of the LCD screen of the current display interface, and display the element information of the replacement style in different areas of the interface or specific coordinate points, and display the information to the user with a display effect suitable for the current background color and the light intensity effect.
  • the control unit is configured to monitor and acquire the light sensing data and the screen brightness data, provide the light sensing data sample and the screen brightness sample of the current scene when configuring the style, and simultaneously detect the scene switching when the terminal is in use, and detect whether the difference in the light sense changes Affects the user to view the current content, so as to determine whether the current interface needs to be dynamically configured to refresh the display.
  • the configuration display method provided by the embodiment of the present invention includes:
  • Step 41 Display dynamic configuration is enabled
  • the terminal owner needs to set a preset option to open the dynamic display function.
  • Step 42 Initialize the style color configuration library
  • a style color configuration library can be established, including: obtaining data of the best color difference effect under each color background, obtaining data of the best display style under each display brightness, and establishing a display color difference data model and The brightness display difference data model is stored in the local storage unit.
  • the configuration unit maps the color difference data model and the brightness display difference data model with specific matching rules (such as one-to-one correspondence between light and color), and stores the mapping relationship data into a local storage unit.
  • Step 43 The display unit initiates dynamic configuration when the interface actively refreshes and/or the control unit detects that the light perception change is greater than a set threshold;
  • the background of the terminal display interface may be changed or the external light intensity environment of the terminal may be changed, which may include:
  • the display unit After confirming that the dynamic configuration display needs to be triggered, the display unit simultaneously acquires the content unit display area data, and calls the identification unit to perform color recognition of the background of each unit area.
  • Step 44 Acquire all content display unit areas on the interface
  • Step 45 Obtain background data corresponding to each content unit display area.
  • the identification unit After receiving the content unit display area data, the identification unit acquires the background RGB value of the corresponding area according to the data coordinates, and returns it to the display unit.
  • the display unit After the display unit confirms the content unit area data (such as the background data) and the matching current area background RGB, the data is transmitted to the configuration unit, and the configuration unit acquires the display style setting data of the unit area.
  • the content unit area data such as the background data
  • the configuration unit acquires the display style setting data of the unit area.
  • Step 46 Configure an optimal content display style according to the background data and the current light sense and screen brightness
  • the configuration unit After receiving the dynamic configuration call instruction and related data, the configuration unit first reads the current light intensity data by calling the control unit, and inputs the background RGB data and the light intensity data, from the style color configuration library (experimental). Query matching style data and return it to the display processing unit.
  • Step 47 Refresh the display content according to each unit area content style after the configuration
  • the display unit refreshes the content display area by unit by unit, and displays the latest style setting after replacing.
  • the solution provided by the embodiment of the present invention enables the user to give a suitable background according to the background of the current content display area, the light intensity, and the screen brightness when the user uses the terminal to view the content interface or when the content interface background is changed.
  • the content display style is displayed to the user, so that the user can easily distinguish between the current background and the light and the brightness of the screen, which greatly improves the display effect of the terminal and improves the user experience of the product.
  • the solution provided by the embodiment of the present invention can implement dynamic refresh display when the dynamic interface background is switched.
  • the dynamic background page When browsing the dynamic background page, it can avoid the situation caused by different light intensities or content styles close to the background. Viewing content is difficult or invisible. Users don't need to dynamically change the background or adjust the screen brightness to easily see the phone interface, which improves the convenience of the terminal.
  • each display unit can be based on its own background and mobile phone light.
  • the intensity of the sense is displayed on the screen in a suitable configuration style (such as font color, style, etc.), so as to be displayed to the user (for example, dynamically changing to other styles according to the background color of the unit background and the brightness of the current light), Increased user satisfaction and user experience.
  • a second embodiment of the present invention provides a terminal, where the terminal includes:
  • the first obtaining module 51 is configured to acquire parameter data of the target interface background when the preset adjustment condition is met;
  • the first display module 52 is configured to display the interface content on the target interface according to the parameter data.
  • the terminal provided by the second embodiment of the present invention acquires parameter data of a target interface background when the preset adjustment condition is met, and displays the interface content on the target interface according to the parameter data.
  • the above technical solution can realize the dynamic refresh display during the switching of the dynamic interface background, avoiding the difficulty or invisibility of viewing the content under different light intensities or the content style and the background, and does not require the user to dynamically change the background or adjust.
  • the brightness of the screen is used to see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.
  • the first obtaining module includes at least one of the following:
  • the first obtaining sub-module is configured to obtain parameter data of the target interface background when the interface background is switched; and the second acquiring sub-module is configured to acquire the target when the light intensity value of the environment in which the terminal is located exceeds a threshold value within a preset duration Parameter data of the interface background; the third obtaining sub-module is configured to obtain parameter data of the target interface background when the brightness value of the terminal screen changes exceeds the threshold within a preset time period.
  • the first display module includes: a first display sub-module configured to display the interface content on the target interface according to the parameter data and/or current data of the preset parameter.
  • the first display submodule includes: a first display unit, configured to be according to at least one of a red, green and blue value of the content interface, a current light intensity value of the environment in which the terminal is located, and a current brightness value of the terminal screen. Displaying interface content on the target interface.
  • the first display module includes: a first processing submodule configured to obtain target style data according to the parameter data; and a second display submodule configured to be on the target interface according to the target style data Display interface content.
  • the target style data may include the color and model of the interface content.
  • the first obtaining module includes: a fourth acquiring submodule configured to acquire location information of the content displayed on the target interface; and a fifth acquiring submodule configured to be based on the location information Obtain the parameter data.
  • the first acquiring module includes: a sixth acquiring submodule, configured to acquire parameter data of a target interface background when the preset adjustment condition is met after receiving the configuration instruction.
  • the first processing submodule includes: a first query unit, configured to query the style database according to the parameter data to obtain target style data.
  • the implementation embodiments of the foregoing configuration display method are applicable to the embodiment of the terminal, and the same technical effects can be achieved.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration display method is implemented.
  • the modules/sub-modules may be implemented in software for execution by various types of processors.
  • an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute a module and implement the provisions of the module. purpose.
  • the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices.
  • operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
  • the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost.
  • the hardware circuitry includes conventional Very Large Scale Integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components.
  • VLSI Very Large Scale Integration
  • the modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software. Those skilled in the art should understand that the technical solution of the present application can be modified. Rather, the scope of the claims of the present application should be included in the scope of the claims.
  • the above technical solution can realize the dynamic refresh display when the dynamic interface background is switched, and avoids the problem that the viewing content is difficult or invisible under different light intensities or the content style is close to the background; and the user does not need to dynamically change the background or By adjusting the brightness of the screen, you can see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Disclosed are a configuration display method, and a terminal. The configuration display method comprises: when a pre-set adjustment condition is met, acquiring parameter data of a background of a target interface; and displaying, according to the parameter data, an interface content on the target interface. The above technical solution can realize a dynamic refresh display during the switching of a dynamic interface background, thereby avoiding difficulty or dimness when viewing a content under different light intensities or similar content type and background. At the same time, a user does not need to change the background dynamically or adjust the screen luminance to see a mobile phone interface clearly, thereby improving the ease of use of the terminal and the satisfaction of the user.

Description

一种配置显示方法及终端Configuration display method and terminal 技术领域Technical field
本文涉及但不限于终端技术领域,涉及一种配置显示方法及终端。This document relates to, but is not limited to, the field of terminal technologies, and relates to a configuration display method and a terminal.
背景技术Background technique
智能手机应用越来越丰富,多样化主题的需求越来越多,色彩应用、图片使用也越来越丰富。尤其是互联网应用市场发展,为了吸引用户,各种主题色彩切换层出不穷,除了要切换主色调,次要色调等,还会动态切换动态图片背景,并且手机会处于不同的使用场景。这样就导致有时候主题切换后在不同光线亮度或屏幕亮度场景下,内容显示色彩或样式与背景色彩色调不搭配,更严重的是,在使用相近色彩时用户无法看清界面上展现的内容。Smartphone applications are becoming more and more abundant, and the demand for diverse themes is increasing, and color applications and pictures are becoming more and more abundant. In particular, the development of the Internet application market, in order to attract users, a variety of theme color switching emerges in an endless stream, in addition to switching the main color, secondary tones, etc., will also dynamically switch the dynamic picture background, and the phone will be in different use scenarios. This causes the content display color or style to be mismatched with the background color hue in different light brightness or screen brightness scenes after the theme is switched. More seriously, the user cannot see the content displayed on the interface when using similar colors.
目前大多数主题切换的做法是固定几种主题方案,每次切换内容样式都是固定的跟随变换或不变。在动态设置图片背景时,当前界面显示内容不改变,在不同光线强度下,手机提供了自动亮度调节的功能,来动态调节屏幕亮度解决显示看不清的问题。At present, most of the theme switching methods are fixed by several theme schemes, and each time the content style is switched, it is a fixed following transformation or unchanged. When the background of the picture is dynamically set, the display content of the current interface does not change. Under different light intensities, the mobile phone provides an automatic brightness adjustment function to dynamically adjust the brightness of the screen to solve the problem that the display cannot be clearly seen.
但是,这样导致的问题是用户更换非特定的背景色或背景图片,屏幕亮度自动变换后,界面上显示的部分或全部内容也可能和背景色相近,导致分辨困难或者完全看不清楚;另外屏幕亮度动态切换频繁也不能解决根本问题,反而影响干扰用户视觉感官,这会给用户的使用带来极大的不便。However, the problem caused by this is that the user replaces the non-specific background color or background image. After the screen brightness is automatically changed, some or all of the content displayed on the interface may be similar to the background color, resulting in difficulty in distinguishing or completely unclear; Frequent dynamic switching of brightness can not solve the fundamental problem, but affects the user's visual sense, which will bring great inconvenience to the user.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种配置显示方法及终端,解决了相关技术中终端界面显示内容的颜色显示不清楚的问题。The embodiment of the invention provides a configuration display method and a terminal, which solves the problem that the color display of the display content of the terminal interface is unclear in the related art.
本发明实施例提供一种配置显示方法,所述配置显示方法包括:An embodiment of the present invention provides a configuration display method, where the configuration display method includes:
在满足预设调整条件时,获取目标界面背景的参数数据;Obtaining parameter data of the target interface background when the preset adjustment condition is met;
根据所述参数数据在所述目标界面上显示界面内容。 Displaying interface content on the target interface according to the parameter data.
可选地,所述在满足预设调整条件时,获取目标界面背景的参数数据的步骤包括以下至少之一:Optionally, when the preset adjustment condition is met, the step of acquiring parameter data of the target interface background includes at least one of the following:
在界面背景切换时,获取目标界面背景的参数数据;Obtaining parameter data of the target interface background when the interface background is switched;
在预设时长内终端所处环境的光强值变化超过阈值时,获取目标界面背景的参数数据;Obtaining parameter data of a target interface background when a change in a light intensity value of the environment in which the terminal is located exceeds a threshold value within a preset duration;
在预设时长内终端屏幕的亮度值变化超过阈值时,获取目标界面背景的参数数据。When the brightness value of the terminal screen changes exceeds the threshold within the preset time period, the parameter data of the target interface background is acquired.
可选地,所述根据所述参数数据在所述目标界面上显示界面内容的步骤包括:Optionally, the step of displaying the interface content on the target interface according to the parameter data includes:
根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容。The interface content is displayed on the target interface according to the parameter data and/or current data of the preset parameters.
可选地,所述根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容的步骤包括:Optionally, the step of displaying the interface content on the target interface according to the current data of the parameter data and/or the preset parameter comprises:
根据内容界面的红绿蓝值、终端所处环境的当前光强值和终端屏幕的当前亮度值中的至少一种,在所述目标界面上显示界面内容。The interface content is displayed on the target interface according to at least one of a red, green and blue value of the content interface, a current light intensity value of the environment in which the terminal is located, and a current brightness value of the terminal screen.
可选地,所述根据所述参数数据在所述目标界面上显示界面内容的步骤包括:Optionally, the step of displaying the interface content on the target interface according to the parameter data includes:
根据所述参数数据得到目标样式数据;Obtaining target style data according to the parameter data;
根据所述目标样式数据在所述目标界面上显示界面内容。The interface content is displayed on the target interface according to the target style data.
可选地,所述目标样式数据包括界面内容的颜色和型号。Optionally, the target style data includes a color and a model of the interface content.
可选的,所述获取目标界面背景的参数数据的步骤包括:Optionally, the step of acquiring parameter data of the target interface background includes:
获取目标界面显示内容的位置信息;Obtaining location information of the content displayed on the target interface;
根据所述位置信息获取所述参数数据。The parameter data is acquired according to the location information.
可选地,所述在满足预设调整条件时,获取目标界面背景的参数数据的步骤包括:Optionally, the step of acquiring the parameter data of the target interface background when the preset adjustment condition is met includes:
在接收到配置指令后,判断是否满足预设调整条件,当满足预设调整条件时,获取目标界面背景的参数数据。 After receiving the configuration command, it is determined whether the preset adjustment condition is met, and when the preset adjustment condition is met, the parameter data of the target interface background is acquired.
可选地,所述根据所述参数数据得到目标样式数据的步骤包括:Optionally, the step of obtaining target style data according to the parameter data includes:
根据所述参数数据在样式数据库查询,得到目标样式数据。The target style data is obtained by querying in the style database according to the parameter data.
本发明实施例还提供了一种终端,所述终端包括:The embodiment of the invention further provides a terminal, where the terminal includes:
第一获取模块,设置为在满足预设调整条件时,获取目标界面背景的参数数据;a first acquiring module, configured to acquire parameter data of a target interface background when the preset adjustment condition is met;
第一显示模块,设置为根据所述参数数据在所述目标界面上显示界面内容。The first display module is configured to display the interface content on the target interface according to the parameter data.
本申请提供的配置显示方法通过在满足预设调整条件时,获取目标界面背景的参数数据,并根据所述参数数据在所述目标界面上显示界面内容。上述技术方案可以实现在动态界面背景切换时的动态刷新显示,避免了在不同光线强度下或内容样式与背景相近导致的查看内容费劲或看不清,同时用户不需要动态的变换背景或调整屏幕亮度以看清手机界面,提升了终端使用的便捷性和用户满意度。本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现配置显示方法。The configuration display method provided by the present application acquires parameter data of a target interface background when the preset adjustment condition is met, and displays the interface content on the target interface according to the parameter data. The above technical solution can realize the dynamic refresh display during the switching of the dynamic interface background, avoiding the difficulty or invisibility of viewing content caused by different light intensities or similar content styles and backgrounds, and the user does not need to dynamically change the background or adjust the screen. The brightness is used to see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal. The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration display method is implemented.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为本发明实施例一的配置显示方法的流程示意图;1 is a schematic flowchart of a configuration display method according to Embodiment 1 of the present invention;
图2为本发明实施例一的背景区域色彩获取方法的流程图;2 is a flowchart of a background area color obtaining method according to Embodiment 1 of the present invention;
图3为本发明实施例一的配置显示方法的另一流程图;3 is another flowchart of a configuration display method according to Embodiment 1 of the present invention;
图4为本发明实施例一的配置显示方法的又一流程图;4 is still another flowchart of a configuration display method according to Embodiment 1 of the present invention;
图5为本发明实施例二的终端结构示意图。FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 2 of the present invention.
具体实施方式detailed description
下面将结合附图及具体实施例进行详细描述。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不限定本申请。 The detailed description will be made below in conjunction with the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本申请针对相关的技术中终端界面显示内容的颜色显示不清楚(可能与背景色相近,导致使用不便)的问题,提供了多种解决方案,具体如下:The present application provides a variety of solutions for the problem that the color display of the terminal interface display content in the related art is unclear (possibly close to the background color, resulting in inconvenient use), as follows:
实施例一Embodiment 1
如图1所示,本发明实施例一提供的配置显示方法包括:As shown in FIG. 1, the configuration display method provided in Embodiment 1 of the present invention includes:
步骤11:在满足预设调整条件时,获取目标界面背景的参数数据;Step 11: Obtain parameter data of a target interface background when the preset adjustment condition is met;
步骤12:根据所述参数数据在所述目标界面上显示界面内容。Step 12: Display interface content on the target interface according to the parameter data.
其中,所述界面内容包括各种用户终端UE的用户界面显示的内容,例如应用程序的图标和/或名称等。The interface content includes content displayed by a user interface of various user terminals UE, such as an icon and/or a name of an application.
本发明实施例一提供的所述配置显示方法通过在满足预设调整条件时,获取目标界面背景的参数数据,并根据所述参数数据在所述目标界面上显示界面内容。上述技术方案可以实现在动态界面背景切换时的动态刷新显示,避免了在不同光线强度下或内容样式与背景相近导致的查看内容费劲或看不清,同时用户不需要动态的变换背景或调整屏幕亮度以看清手机界面,提升了终端使用的便捷性和用户满意度。The configuration display method provided by the first embodiment of the present invention acquires parameter data of a target interface background when the preset adjustment condition is met, and displays the interface content on the target interface according to the parameter data. The above technical solution can realize the dynamic refresh display during the switching of the dynamic interface background, avoiding the difficulty or invisibility of viewing content caused by different light intensities or similar content styles and backgrounds, and the user does not need to dynamically change the background or adjust the screen. The brightness is used to see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.
可选地,所述在满足预设调整条件时,获取目标界面背景的参数数据的步骤包括以下操作中的一项或多项:Optionally, when the preset adjustment condition is met, the step of acquiring parameter data of the target interface background includes one or more of the following operations:
在界面背景切换时,获取目标界面背景的参数数据;Obtaining parameter data of the target interface background when the interface background is switched;
或者在预设时长内终端所处环境的光强值变化超过阈值时,获取目标界面背景的参数数据;Or obtaining the parameter data of the target interface background when the change of the light intensity value of the environment in which the terminal is located exceeds the threshold within the preset duration;
或者在预设时长内终端屏幕的亮度值变化超过阈值时,获取目标界面背景的参数数据。Or, when the brightness value of the terminal screen changes exceeds the threshold within the preset time period, the parameter data of the target interface background is acquired.
在本实施例中,所述根据所述参数数据在所述目标界面上显示界面内容的步骤包括:根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容。In this embodiment, the step of displaying the interface content on the target interface according to the parameter data comprises: displaying the interface content on the target interface according to the parameter data and/or current data of the preset parameter .
可选地,所述根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容的步骤包括:根据内容界面的红绿蓝值、终端所处环境的当前光强值和终端屏幕的当前亮度值中的至少一种,在所述目标界面上显示界面内容。 Optionally, the step of displaying the interface content on the target interface according to the current data of the parameter data and/or the preset parameter comprises: according to a red, green, and blue value of the content interface, and a current light of an environment in which the terminal is located At least one of a strong value and a current brightness value of the terminal screen displays interface content on the target interface.
其中,所述根据所述参数数据在所述目标界面上显示界面内容的步骤包括:根据所述参数数据得到目标样式数据;根据所述目标样式数据在所述目标界面上显示界面内容。所述目标样式数据可包括界面内容的颜色和型号。The step of displaying the interface content on the target interface according to the parameter data includes: obtaining target style data according to the parameter data; and displaying the interface content on the target interface according to the target style data. The target style data may include the color and model of the interface content.
可选地,为了减少不必要的处理量,所述获取目标界面背景的参数数据的步骤包括:获取目标界面显示内容的位置信息;根据所述位置信息获取所述参数数据。Optionally, in order to reduce unnecessary processing amount, the step of acquiring parameter data of the target interface background includes: acquiring location information of the target interface display content; and acquiring the parameter data according to the location information.
可选地,为了节能,所述在满足预设调整条件时,获取目标界面背景的参数数据的步骤包括:在接收到配置指令后,判断是否满足预设调整条件,当满足预设调整条件时,获取目标界面背景的参数数据。Optionally, in order to save energy, the step of acquiring parameter data of the target interface background when the preset adjustment condition is met includes: determining, after receiving the configuration instruction, whether the preset adjustment condition is met, when the preset adjustment condition is met , get the parameter data of the target interface background.
可选地,在本实施例中,所述根据所述参数数据得到目标样式数据的步骤包括:根据所述参数数据在样式数据库查询,得到目标样式数据。Optionally, in this embodiment, the step of obtaining the target style data according to the parameter data comprises: querying the style database according to the parameter data to obtain target style data.
可选地,本发明实施例提供的所述配置显示方法还包括:设置所述样式数据库,并定期更新。Optionally, the configuration display method provided by the embodiment of the present invention further includes: setting the style database, and periodically updating.
下面对本发明实施例一提供的配置显示方法进行进一步说明。The configuration display method provided in the first embodiment of the present invention is further described below.
本发明实施例提供的方案可通过如下功能单元实现:The solution provided by the embodiment of the present invention can be implemented by the following functional units:
识别单元、配置单元、显示单元和控制单元;其中:Identification unit, configuration unit, display unit and control unit; wherein:
识别单元:设置为获取LCD(Liquid Crystal Display,液晶显示器)屏指定坐标点绘制区域(图标的位置区域)的背景色彩RGB(红绿蓝)值。Identification unit: Set to obtain the background color RGB (red, green and blue) value of the specified coordinate point drawing area (the position area of the icon) of the LCD (Liquid Crystal Display) screen.
显示单元为一个系统框架基础显示控件(View),在显示单元需要去显示刷新内容时,调用识别单元识别单位区域(图标的位置区域)的当前背景色彩值(目标背景色彩值),并返回一个计算出来的色彩值。The display unit is a system frame basic display control (View). When the display unit needs to display the refresh content, the recognition unit identifies the current background color value (target background color value) of the unit area (the position area of the icon), and returns a The calculated color value.
控制单元:设置为实时获取光线感应器的光感强度数据和屏幕亮度数据,根据光感变化差异,判定是否需要刷新当前界面的内容显示效果。Control unit: set to obtain the light intensity data and screen brightness data of the light sensor in real time, and determine whether it is necessary to refresh the content display effect of the current interface according to the difference in light perception.
配置单元:配置单元为算法逻辑模块,分为两个部分:数据接收部分和数据管理部分。Configuration unit: The configuration unit is an algorithm logic module, which is divided into two parts: a data receiving part and a data management part.
数据接收部分设置为接收到识别单元的背景数据结果以及控制单元的光 感强度数据和屏幕亮度数据,进行下一步数据配置流程;数据管理部分设置为读写配置库数据,根据接收的数据(例如三个数据中的至少一个)返回合理的匹配数据。The data receiving portion is configured to receive the background data result of the identification unit and the light of the control unit The intensity data and the screen brightness data are subjected to the next data configuration process; the data management portion is set to read and write configuration library data, and returns reasonable matching data according to the received data (for example, at least one of the three data).
显示单元:设置为刷新LCD屏幕的显示,当进行界面刷新时,在需要显示内容的显示单元区域内根据得到的内容显示样式配置数据,对需要动态更新的显示内容配置对应的样式或色彩,刷新显示单元在当前界面具体区域的数据,展现新的显示效果给用户。Display unit: set to refresh the display of the LCD screen. When the interface refresh is performed, the style configuration data is displayed according to the obtained content in the display unit area where the content needs to be displayed, and the corresponding style or color is configured for the display content that needs to be dynamically updated, and refreshed. The data of the display unit in the specific area of the current interface displays a new display effect to the user.
上述功能单元,使得用户可以在背景切换后的界面上,显示根据显示区域背景动态配置样式或色彩后的内容,本发明实施例提供的配置显示方法对应可以描述如下:The above-mentioned functional unit enables the user to display the content after the style or color is dynamically configured according to the background of the display area on the interface after the background switching. The configuration display method provided by the embodiment of the present invention can be described as follows:
用户可在一个能够动态改变背景设置(如主题色彩改变或背景图片修改)的界面,随意改变背景设置或终端所处光感强度环境;The user can arbitrarily change the background setting or the light intensity environment of the terminal in an interface that can dynamically change the background setting (such as theme color change or background image modification);
显示单元在界面刷新显示(如动态自动更新或手动更新)或控制单元判断到光感强度和/或屏幕亮度变化大于预设阈值时,调用识别单元获取每个单位内容显示区域的背景色彩,传递给配置单元处理后,配置单元根据当前背景数据(如区域位置和色彩值)、当前光感强度与屏幕亮度匹配返回当前显示区域合适的内容样式数据;When the display unit refreshes the display (such as dynamic automatic update or manual update) or the control unit determines that the light intensity and/or the screen brightness change is greater than the preset threshold, the recognition unit acquires the background color of each unit content display area, and transmits After processing the configuration unit, the configuration unit returns the content style data suitable for the current display area according to the current background data (such as the area position and color value), the current light intensity, and the screen brightness;
显示单元遍历当前界面需要更改的内容显示区域,根据获取的样式数据,设置显示内容;显示单元完成整体界面内容的刷新显示,根据配置的样式完整展现给用户。The display unit traverses the content display area that needs to be changed on the current interface, and sets the display content according to the acquired style data; the display unit completes the refresh display of the overall interface content, and completely displays the content to the user according to the configured style.
下面分别对上述功能单元作进一步的说明。The above functional units will be further described below.
1、识别单元1. Identification unit
如图2所示,识别单元的实现流程包括:As shown in FIG. 2, the implementation process of the identification unit includes:
步骤21:获取显示单元传入的目标区域坐标值;Step 21: Obtain a coordinate value of a target area that is input to the display unit.
本步骤可以获取基础显示单元对应目标区域的坐标数据(LCD坐标值{(x0,y0)(x1,y1)})。In this step, coordinate data (LCD coordinate value {(x0, y0)(x1, y1)})) corresponding to the target area of the basic display unit can be obtained.
步骤22:获取目标区域背景数据和当前光感强度数据;Step 22: Obtain target area background data and current light intensity data.
本步骤可以根据对应的显示目标区域,获取当前区域背景数据以及当前 手机所处光感强度数据。This step can obtain current background data and current according to the corresponding display target area. The light intensity data of the mobile phone.
步骤23:计算后返回一个RGB值;Step 23: Return an RGB value after calculation;
本步骤可以通过数据分析计算配置后返回一个合理的背景色彩RGB值。This step can return a reasonable background color RGB value after the configuration is calculated by data analysis.
2、配置单元2, the configuration unit
如图3所示,配置单元分为两个部分,分别为:色彩配置库管理和数据接收处理,其中:As shown in Figure 3, the configuration unit is divided into two parts: color configuration library management and data reception processing, where:
数据接收处理部分,在识别单元得到RGB值之后,会把获取的数据传输给配置单元,配置单元读取当前光感强度数据和屏幕亮度数据,然后从已有的数据中根据匹配算法返回给识别单元一个数据。这里的匹配原则是找出一个适合的配色方案样式数据,让内容显示样式和背景颜色可以完美的搭配结合展示给用户。After receiving the RGB value, the data receiving processing part transmits the acquired data to the configuration unit, and the configuration unit reads the current light intensity data and the screen brightness data, and then returns the identification from the existing data according to the matching algorithm. Unit one data. The matching principle here is to find a suitable color scheme style data, so that the content display style and the background color can be perfectly combined and displayed to the user.
色彩配置库管理部分,除了负责处理基础数据的基础读写操作外,还需要负责基础数据库的初始化或更新同步操作。在终端用户设置允许的情况下可以通过系统升级或在线同步等方式进行本地样式配置数据库的更新。The color configuration library management part, in addition to the basic read and write operations for processing the underlying data, is also responsible for the initialization or update synchronization of the underlying database. The local style configuration database can be updated by system upgrade or online synchronization if the end user setting allows.
3、显示单元3, the display unit
显示单元设置为对当前显示界面LCD屏的内容进行刷新显示,在界面不同区域或具体坐标点位显示更换样式的元素信息,以一种适合当前背景色和光感强度效果的显示效果展现给用户。The display unit is configured to refresh and display the content of the LCD screen of the current display interface, and display the element information of the replacement style in different areas of the interface or specific coordinate points, and display the information to the user with a display effect suitable for the current background color and the light intensity effect.
4、控制单元4, the control unit
控制单元设置为对光感数据和屏幕亮度数据进行监听和获取,在配置样式时提供当前场景的光感数据样本和屏幕亮度样本,同时检测终端在使用时的场景切换,检测光感变化差异是否影响用户查看当前内容,从而判断当前界面是否需要进行动态配置样式刷新显示。The control unit is configured to monitor and acquire the light sensing data and the screen brightness data, provide the light sensing data sample and the screen brightness sample of the current scene when configuring the style, and simultaneously detect the scene switching when the terminal is in use, and detect whether the difference in the light sense changes Affects the user to view the current content, so as to determine whether the current interface needs to be dynamically configured to refresh the display.
结合上述内容,本发明实施例提供的配置显示方法,如图4所示,包括:With reference to the above, the configuration display method provided by the embodiment of the present invention, as shown in FIG. 4, includes:
步骤41:显示动态配置开启;Step 41: Display dynamic configuration is enabled;
本步骤中,终端机主需要设置预设选项,打开动态显示功能。In this step, the terminal owner needs to set a preset option to open the dynamic display function.
步骤42:初始化样式色彩配置库; Step 42: Initialize the style color configuration library;
本步骤中,可以建立样式色彩配置库,包括:获取在每种色彩背景下的最佳色差效果的数据,获取每种显示亮度下的最佳显示样式的数据,并建立显示色彩差异数据模型和亮度显示差异数据模型储存至本地存储单元中。配置单元将色彩差异数据模型和亮度显示差异数据模型与特定的匹配规则(如光线与颜色一一对应)进行映射,并将映射关系数据存储至本地存储单元中。In this step, a style color configuration library can be established, including: obtaining data of the best color difference effect under each color background, obtaining data of the best display style under each display brightness, and establishing a display color difference data model and The brightness display difference data model is stored in the local storage unit. The configuration unit maps the color difference data model and the brightness display difference data model with specific matching rules (such as one-to-one correspondence between light and color), and stores the mapping relationship data into a local storage unit.
步骤43:在界面主动刷新和/或控制单元检测到光感变化大于设定的阈值时,显示单元发起动态配置;Step 43: The display unit initiates dynamic configuration when the interface actively refreshes and/or the control unit detects that the light perception change is greater than a set threshold;
本步骤中,可以改变终端显示界面的背景或改变终端所处的外接光感强度环境,可以包括:In this step, the background of the terminal display interface may be changed or the external light intensity environment of the terminal may be changed, which may include:
A.在背景可以切换设置的界面上随机选择不同背景,在终端首次刷新显示当前界面时触发动态配置显示;A. randomly select different backgrounds on the interface where the background can be switched, and trigger the dynamic configuration display when the terminal first refreshes and displays the current interface;
B.间断性的切换终端显示时所处的光照强度环境,当前后△t时间内光感变换差值达到指定阈值时,控制单元确认需要触发动态配置显示。B. Intermittent switching of the light intensity environment in which the terminal is displayed. When the light sensitivity change difference reaches the specified threshold within the current Δt time, the control unit confirms that the dynamic configuration display needs to be triggered.
在确认需要触发动态配置显示后,显示单元同时获取内容单位显示区域数据,调用识别单元进行每个单位区域背景的色彩识别。After confirming that the dynamic configuration display needs to be triggered, the display unit simultaneously acquires the content unit display area data, and calls the identification unit to perform color recognition of the background of each unit area.
步骤44:获取界面上所有内容显示单位区域;Step 44: Acquire all content display unit areas on the interface;
步骤45:获取每个内容单位显示区域对应的背景数据;Step 45: Obtain background data corresponding to each content unit display area.
本步骤中,识别单元接收到内容单位显示区域数据后,根据数据坐标,获取对应区域的背景RGB数值,并返回给显示单元。In this step, after receiving the content unit display area data, the identification unit acquires the background RGB value of the corresponding area according to the data coordinates, and returns it to the display unit.
显示单元确认内容单位区域数据(如背景数据)及匹配的当前区域背景RGB后,将数据传输给配置单元,由配置单元获取单位区域的显示样式设置数据。After the display unit confirms the content unit area data (such as the background data) and the matching current area background RGB, the data is transmitted to the configuration unit, and the configuration unit acquires the display style setting data of the unit area.
步骤46:根据背景数据和当前光感及屏幕亮度配置最佳内容显示样式;Step 46: Configure an optimal content display style according to the background data and the current light sense and screen brightness;
本步骤中,配置单元收到需要动态配置调用指令及相关数据后,首先通过调用控制单元读取当前光感强度数据,输入背景RGB数据和光感强度数据,从样式色彩配置库(实验得到)中查询匹配的样式数据,返回给显示处理单元。In this step, after receiving the dynamic configuration call instruction and related data, the configuration unit first reads the current light intensity data by calling the control unit, and inputs the background RGB data and the light intensity data, from the style color configuration library (experimental). Query matching style data and return it to the display processing unit.
步骤47:根据配置后的每个单位区域内容样式刷新显示内容; Step 47: Refresh the display content according to each unit area content style after the configuration;
本步骤中,显示单元接收到匹配的样式数据后,对内容显示区域地逐个单位的进行刷新,更换最新的样式设置后显示出来。In this step, after receiving the matched style data, the display unit refreshes the content display area by unit by unit, and displays the latest style setting after replacing.
由上可知,本发明实施例提供的方案使得用户在户外使用终端查看内容界面时或者进行内容界面背景变换时,可以根据当前内容显示区域的背景以及光感强度、屏幕亮度,给出一个合适的内容显示样式展现给用户,使得用户在当前背景和光线及屏幕亮度下容易分辨,极大的提升了终端显示效果,提高了产品用户体验。It can be seen that the solution provided by the embodiment of the present invention enables the user to give a suitable background according to the background of the current content display area, the light intensity, and the screen brightness when the user uses the terminal to view the content interface or when the content interface background is changed. The content display style is displayed to the user, so that the user can easily distinguish between the current background and the light and the brightness of the screen, which greatly improves the display effect of the terminal and improves the user experience of the product.
综上所述,本发明实施例提供的方案可以实现在动态界面背景切换时的动态刷新显示,在浏览动态背景页面时,可以避免在不同光线强度下或内容样式与背景相近的情况下造成的查看内容费劲或看不清的问题,用户无需动态的变换背景或调整屏幕亮度就能方便看清手机界面,提升了终端使用的便捷性;同事,每个显示单元可以根据其自身背景和手机光感强度分别以合适的配置样式(如字体色彩,样式等)显示在屏幕上,从而展现给用户查看(如根据自身单位背景底色和当前光感亮度,动态改变为其他样式展现给用户),提高了用户满意度和用户体验。In summary, the solution provided by the embodiment of the present invention can implement dynamic refresh display when the dynamic interface background is switched. When browsing the dynamic background page, it can avoid the situation caused by different light intensities or content styles close to the background. Viewing content is difficult or invisible. Users don't need to dynamically change the background or adjust the screen brightness to easily see the phone interface, which improves the convenience of the terminal. Colleagues, each display unit can be based on its own background and mobile phone light. The intensity of the sense is displayed on the screen in a suitable configuration style (such as font color, style, etc.), so as to be displayed to the user (for example, dynamically changing to other styles according to the background color of the unit background and the brightness of the current light), Increased user satisfaction and user experience.
实施例二Embodiment 2
如图5所示,本发明实施例二提供一种终端,终端包括:As shown in FIG. 5, a second embodiment of the present invention provides a terminal, where the terminal includes:
第一获取模块51,设置为在满足预设调整条件时,获取目标界面背景的参数数据;The first obtaining module 51 is configured to acquire parameter data of the target interface background when the preset adjustment condition is met;
第一显示模块52,设置为根据所述参数数据在所述目标界面上显示界面内容。The first display module 52 is configured to display the interface content on the target interface according to the parameter data.
本发明实施例二提供的所述终端通过在满足预设调整条件时,获取目标界面背景的参数数据,并根据所述参数数据在所述目标界面上显示界面内容。上述技术方案可以实现在动态界面背景切换时的动态刷新显示,避免了在不同光线强度下或内容样式与背景相近而查看内容费劲或看不清,也不需要用户再去动态的变换背景或调整屏幕亮度以看清手机界面,提升了终端使用的便捷性和用户满意度。The terminal provided by the second embodiment of the present invention acquires parameter data of a target interface background when the preset adjustment condition is met, and displays the interface content on the target interface according to the parameter data. The above technical solution can realize the dynamic refresh display during the switching of the dynamic interface background, avoiding the difficulty or invisibility of viewing the content under different light intensities or the content style and the background, and does not require the user to dynamically change the background or adjust. The brightness of the screen is used to see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.
可选地,所述第一获取模块包括以下至少之一: Optionally, the first obtaining module includes at least one of the following:
第一获取子模块,设置为在界面背景切换时,获取目标界面背景的参数数据;第二获取子模块,设置为在预设时长内终端所处环境的光强值变化超过阈值时,获取目标界面背景的参数数据;第三获取子模块,设置为在预设时长内终端屏幕的亮度值变化超过阈值时,获取目标界面背景的参数数据。The first obtaining sub-module is configured to obtain parameter data of the target interface background when the interface background is switched; and the second acquiring sub-module is configured to acquire the target when the light intensity value of the environment in which the terminal is located exceeds a threshold value within a preset duration Parameter data of the interface background; the third obtaining sub-module is configured to obtain parameter data of the target interface background when the brightness value of the terminal screen changes exceeds the threshold within a preset time period.
可选地,所述第一显示模块包括:第一显示子模块,设置为根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容。Optionally, the first display module includes: a first display sub-module configured to display the interface content on the target interface according to the parameter data and/or current data of the preset parameter.
可选地,所述第一显示子模块包括:第一显示单元,设置为根据内容界面的红绿蓝值、终端所处环境的当前光强值和终端屏幕的当前亮度值中的至少一种,在所述目标界面上显示界面内容。Optionally, the first display submodule includes: a first display unit, configured to be according to at least one of a red, green and blue value of the content interface, a current light intensity value of the environment in which the terminal is located, and a current brightness value of the terminal screen. Displaying interface content on the target interface.
可选地,所述第一显示模块包括:第一处理子模块,设置为根据所述参数数据得到目标样式数据;第二显示子模块,设置为根据所述目标样式数据在所述目标界面上显示界面内容。所述目标样式数据可包括界面内容的颜色和型号。Optionally, the first display module includes: a first processing submodule configured to obtain target style data according to the parameter data; and a second display submodule configured to be on the target interface according to the target style data Display interface content. The target style data may include the color and model of the interface content.
可选地,为了减少不必要的处理量,所述第一获取模块包括:第四获取子模块,设置为获取目标界面显示内容的位置信息;第五获取子模块,设置为根据所述位置信息获取所述参数数据。Optionally, the first obtaining module includes: a fourth acquiring submodule configured to acquire location information of the content displayed on the target interface; and a fifth acquiring submodule configured to be based on the location information Obtain the parameter data.
可选地,为了节能,所述在第一获取模块包括:第六获取子模块,设置为在接收到配置指令后,满足预设调整条件时,获取目标界面背景的参数数据。Optionally, in order to save energy, the first acquiring module includes: a sixth acquiring submodule, configured to acquire parameter data of a target interface background when the preset adjustment condition is met after receiving the configuration instruction.
可选地,所述第一处理子模块包括:第一查询单元,设置为根据所述参数数据在样式数据库查询,得到目标样式数据。Optionally, the first processing submodule includes: a first query unit, configured to query the style database according to the parameter data to obtain target style data.
在本实施例中,上述配置显示方法的所述实现实施例均适用于该终端的实施例中,也能达到相同的技术效果。In this embodiment, the implementation embodiments of the foregoing configuration display method are applicable to the embodiment of the terminal, and the same technical effects can be achieved.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现配置显示方法。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration display method is implemented.
需要说明的是,此说明书中所描述的许多功能部件都被称为模块/子模块,以便更加特别地强调其实现方式的独立性。 It should be noted that many of the functional components described in this specification are referred to as modules/sub-modules to more particularly emphasize the independence of their implementation.
本发明实施例中,模块/子模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In an embodiment of the invention, the modules/sub-modules may be implemented in software for execution by various types of processors. For example, an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute a module and implement the provisions of the module. purpose.
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。In practice, the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices. As such, operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost. The hardware circuitry includes conventional Very Large Scale Integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components. The modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
以上所述的是本申请的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本申请所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. These improvements and retouchings should also be considered. This is the scope of protection of this application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改 或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software. Those skilled in the art should understand that the technical solution of the present application can be modified. Rather, the scope of the claims of the present application should be included in the scope of the claims.
工业实用性Industrial applicability
上述技术方案可以实现在动态界面背景切换时的动态刷新显示,避免了在不同光线强度下或内容样式与背景相近导致的查看内容费劲或看不清得问题;同时用户不需要动态的变换背景或调整屏幕亮度就可以看清手机界面,提升了终端使用的便捷性和用户满意度。 The above technical solution can realize the dynamic refresh display when the dynamic interface background is switched, and avoids the problem that the viewing content is difficult or invisible under different light intensities or the content style is close to the background; and the user does not need to dynamically change the background or By adjusting the brightness of the screen, you can see the interface of the mobile phone, which improves the convenience and user satisfaction of the terminal.

Claims (10)

  1. 一种配置显示方法,所述配置显示方法包括:A configuration display method, the configuration display method includes:
    在满足预设调整条件时,获取目标界面背景的参数数据;Obtaining parameter data of the target interface background when the preset adjustment condition is met;
    根据所述参数数据在所述目标界面上显示界面内容。Displaying interface content on the target interface according to the parameter data.
  2. 根据权利要求1所述的配置显示方法,其中,所述在满足预设调整条件时,获取目标界面背景的参数数据的步骤包括以下至少之一:The configuration display method according to claim 1, wherein the step of acquiring parameter data of the target interface background when the preset adjustment condition is satisfied comprises at least one of the following:
    在界面背景切换时,获取目标界面背景的参数数据;Obtaining parameter data of the target interface background when the interface background is switched;
    在预设时长内终端所处环境的光强值变化超过阈值时,获取目标界面背景的参数数据;Obtaining parameter data of a target interface background when a change in a light intensity value of the environment in which the terminal is located exceeds a threshold value within a preset duration;
    在预设时长内终端屏幕的亮度值变化超过阈值时,获取目标界面背景的参数数据。When the brightness value of the terminal screen changes exceeds the threshold within the preset time period, the parameter data of the target interface background is acquired.
  3. 根据权利要求1所述的配置显示方法,其中,所述根据所述参数数据在所述目标界面上显示界面内容的步骤包括:The configuration display method according to claim 1, wherein the displaying the interface content on the target interface according to the parameter data comprises:
    根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容。The interface content is displayed on the target interface according to the parameter data and/or current data of the preset parameters.
  4. 根据权利要求3所述的配置显示方法,其中,所述根据所述参数数据和/或预设参数的当前数据,在所述目标界面上显示界面内容的步骤包括:The configuration display method according to claim 3, wherein the step of displaying the interface content on the target interface according to the current data of the parameter data and/or the preset parameter comprises:
    根据内容界面的红绿蓝值、终端所处环境的当前光强值和终端屏幕的当前亮度值中的至少一种,在所述目标界面上显示界面内容。The interface content is displayed on the target interface according to at least one of a red, green and blue value of the content interface, a current light intensity value of the environment in which the terminal is located, and a current brightness value of the terminal screen.
  5. 根据权利要求1所述的配置显示方法,其中,所述根据所述参数数据在所述目标界面上显示界面内容的步骤包括:The configuration display method according to claim 1, wherein the displaying the interface content on the target interface according to the parameter data comprises:
    根据所述参数数据得到目标样式数据;Obtaining target style data according to the parameter data;
    根据所述目标样式数据在所述目标界面上显示界面内容。The interface content is displayed on the target interface according to the target style data.
  6. 根据权利要求5所述的配置显示方法,其中:所述目标样式数据包括界面内容的颜色和型号。The configuration display method according to claim 5, wherein the target style data includes a color and a model number of the interface content.
  7. 根据权利要求1所述的配置显示方法,其中,所述获取目标界面背景的参数数据的步骤包括: The configuration display method according to claim 1, wherein the step of acquiring parameter data of a target interface background comprises:
    获取目标界面显示内容的位置信息;Obtaining location information of the content displayed on the target interface;
    根据所述位置信息获取所述参数数据。The parameter data is acquired according to the location information.
  8. 根据权利要求1所述的配置显示方法,其中,所述在满足预设调整条件时,获取目标界面背景的参数数据的步骤包括:The configuration display method according to claim 1, wherein the step of acquiring parameter data of the target interface background when the preset adjustment condition is met comprises:
    在接收到配置指令后,判断是否满足预设调整条件,当满足预设调整条件时,获取目标界面背景的参数数据。After receiving the configuration command, it is determined whether the preset adjustment condition is met, and when the preset adjustment condition is met, the parameter data of the target interface background is acquired.
  9. 根据权利要求5所述的配置显示方法,其中,所述根据所述参数数据得到目标样式数据的步骤包括:The configuration display method according to claim 5, wherein the step of obtaining target style data according to the parameter data comprises:
    根据所述参数数据在样式数据库查询,得到目标样式数据。The target style data is obtained by querying in the style database according to the parameter data.
  10. 一种终端,所述终端包括:A terminal, the terminal comprising:
    第一获取模块,设置为在满足预设调整条件时,获取目标界面背景的参数数据;a first acquiring module, configured to acquire parameter data of a target interface background when the preset adjustment condition is met;
    第一显示模块,设置为根据所述参数数据在所述目标界面上显示界面内容。 The first display module is configured to display the interface content on the target interface according to the parameter data.
PCT/CN2017/072973 2016-09-05 2017-02-06 Configuration display method, and terminal WO2018040505A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610802958.1 2016-09-05
CN201610802958.1A CN107807833A (en) 2016-09-05 2016-09-05 One kind configuration display methods and terminal

Publications (1)

Publication Number Publication Date
WO2018040505A1 true WO2018040505A1 (en) 2018-03-08

Family

ID=61299947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072973 WO2018040505A1 (en) 2016-09-05 2017-02-06 Configuration display method, and terminal

Country Status (2)

Country Link
CN (1) CN107807833A (en)
WO (1) WO2018040505A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471738A (en) * 2019-08-22 2019-11-19 北京字节跳动网络技术有限公司 Method for switching theme, device, electronic equipment and the storage medium of application program
CN111161555A (en) * 2018-11-07 2020-05-15 北京嘀嘀无限科技发展有限公司 Information collection method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408189B (en) * 2018-11-02 2022-07-12 北京字节跳动网络技术有限公司 Dynamic adjustment method, device, equipment and medium for client interface layout
CN112102765A (en) * 2020-09-02 2020-12-18 维沃移动通信有限公司 Display parameter adjusting method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938863A (en) * 2012-11-27 2013-02-20 乐视致新电子科技(天津)有限公司 Intelligent television icon theme replacement method and device based on Android system
CN103065338A (en) * 2011-10-19 2013-04-24 北京千橡网景科技发展有限公司 Method and device providing shadow for foreground image in background image
CN105551434A (en) * 2016-02-24 2016-05-04 广东欧珀移动通信有限公司 Adjusting method and device for brightness of display screen
US9411561B2 (en) * 2011-07-25 2016-08-09 Samsung Electronics Co., Ltd Apparatus and method for changing theme of application in portable terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346057B (en) * 2013-08-02 2021-10-12 腾讯科技(深圳)有限公司 Background color adjusting method and device
CN103870155B (en) * 2014-02-21 2017-08-25 联想(北京)有限公司 The method and electronic equipment of information processing
CN104978119B (en) * 2014-05-22 2019-11-22 腾讯科技(深圳)有限公司 A kind of messagewindow display methods, device and user terminal
WO2015178707A1 (en) * 2014-05-22 2015-11-26 Samsung Electronics Co., Ltd. Display device and method for controlling the same
CN105224162A (en) * 2014-06-12 2016-01-06 乐蛙科技(上海)有限公司 The matching process of terminal demonstration style and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9411561B2 (en) * 2011-07-25 2016-08-09 Samsung Electronics Co., Ltd Apparatus and method for changing theme of application in portable terminal
CN103065338A (en) * 2011-10-19 2013-04-24 北京千橡网景科技发展有限公司 Method and device providing shadow for foreground image in background image
CN102938863A (en) * 2012-11-27 2013-02-20 乐视致新电子科技(天津)有限公司 Intelligent television icon theme replacement method and device based on Android system
CN105551434A (en) * 2016-02-24 2016-05-04 广东欧珀移动通信有限公司 Adjusting method and device for brightness of display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111161555A (en) * 2018-11-07 2020-05-15 北京嘀嘀无限科技发展有限公司 Information collection method and system
CN110471738A (en) * 2019-08-22 2019-11-19 北京字节跳动网络技术有限公司 Method for switching theme, device, electronic equipment and the storage medium of application program

Also Published As

Publication number Publication date
CN107807833A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
WO2018040505A1 (en) Configuration display method, and terminal
CN107945769B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
CN105827990B (en) A kind of automatic explosion method and mobile terminal
WO2022048506A1 (en) Wallpaper displaying method, device, and electronic device
US20160180593A1 (en) Wearable device-based augmented reality method and system
US9665952B2 (en) Information processing method and electronic device
US10255874B2 (en) Display controlling method and display device
US20170308349A1 (en) Multi-screen sharing based application management method and device, and storage medium
US20210092472A1 (en) Image processing method and device therefor
CN113010126A (en) Display control method, display control device, electronic device, and medium
RU2596612C2 (en) Method of displaying background, background display device and electronic device
US11197156B2 (en) Electronic device, user terminal apparatus, and control method thereof
CN103686423A (en) Configuration method and device for image quality parameter visible for user
CN111448847B (en) Illumination control system for controlling a plurality of light sources based on source image and method thereof
US20230007973A1 (en) Interface display method, apparatus, device and storage medium
CN112333541A (en) Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium
KR101911947B1 (en) Screen design method and screen design system for improving information readability and harmonizing background image
CN109885172A (en) A kind of object interaction display method and system based on augmented reality AR
KR20190001873A (en) Apparatus for searching object and method thereof
WO2018045699A1 (en) Display processing method and apparatus
CN113487497A (en) Image processing method and device and electronic equipment
CN111328391B (en) Icon display method and icon display device of intelligent terminal
WO2021087773A1 (en) Recognition method and apparatus, electronic device, and storage medium
CN110225177B (en) Interface adjusting method, computer storage medium and terminal equipment
KR101108779B1 (en) Picture adjust apparatus for mobile communication terminal

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: 17844816

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17844816

Country of ref document: EP

Kind code of ref document: A1