CN109922207B - Method for dynamically adjusting application software interactive interface - Google Patents
Method for dynamically adjusting application software interactive interface Download PDFInfo
- Publication number
- CN109922207B CN109922207B CN201910053114.5A CN201910053114A CN109922207B CN 109922207 B CN109922207 B CN 109922207B CN 201910053114 A CN201910053114 A CN 201910053114A CN 109922207 B CN109922207 B CN 109922207B
- Authority
- CN
- China
- Prior art keywords
- data
- time
- adjusting
- interactive interface
- application software
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method for dynamically adjusting an application software interactive interface, which uses an environment sensor, time service and position service of a mobile phone to obtain the current environment light brightness, time and position data of a mobile phone player, dynamically adjusts the screen brightness without manual adjustment of the player, and thereby, the player can concentrate on the current urgent matters to be handled.
Description
Technical Field
The invention belongs to the field of computer application, and particularly relates to a method for dynamically adjusting an application software interactive interface.
Background
The smart phone has developed rapidly for more than ten years from birth to present, and application software running on the smart phone also pursues superiority in terms of function implementation, interactive interface and the like from the first to present only implementing basic functions. Especially in terms of user interaction and interface presentation, users are increasingly inclined to use application software products that are interaction-friendly, interface-refreshing, and comfortable to use.
The traditional user interaction interface is to treat all users as unified individuals, namely, consider that all users have unified preference and aesthetic value, as long as basic functions are realized, and neglect the aesthetic value of all users. In fact, the user's preferences are very different, and with the development of smartphone application software, it is increasingly important to solve the problem, and even the market competitiveness of the application software is affected.
As shown in fig. 1, in the prior art, the light condition of the environment is detected by hardware, whether a stored display setting corresponding to the detected light condition exists in the memory is determined, if the corresponding stored display setting does not exist, the user is requested to input the display setting as the corresponding stored display setting, and the display setting of the display is adjusted according to the corresponding stored display setting to adjust the setting parameter of the interface. This solution has the following disadvantages:
1. the judgment condition of the adjustment parameters is too single, and the environment variable of the user is not comprehensively considered;
2. the user is required to heavily participate in setting adjustment, and the intelligent and automatic setting adjustment is not enough.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method for dynamically adjusting an application software interactive interface, aiming at solving the following problems:
1. the problem of unsatisfactory effect caused by insufficient reference conditions when the application software interaction interface is adjusted;
2. the adjustment process requires user involvement.
The invention provides a method for dynamically adjusting an application software interactive interface, which is characterized by comprising the following steps of:
s201: starting a timer while starting the client;
s202: judging whether the time for adjusting the interactive interface is up, if so, continuing to execute S203, and if not, continuing to execute S204;
s203: adjusting the interactive interface;
s204: and (5) finishing the adjustment.
Preferably, the step S203 of adjusting the interactive interface further includes:
s301: starting adjustment;
s302: starting data acquisition;
s303: collecting position data;
s304: collecting time data;
s305: collecting ambient light data;
s306: generating sunrise and sunset time, weather conditions and illumination intensity data according to the acquired data;
s307: generating new configuration data according to the calculated data;
s308: judging whether the data is within an allowable deviation range with the data configured last time; if the judgment result is no, executing S309; if the judgment result is yes, continuing to execute S310;
s309: adjusting screen brightness, screen color temperature and interface picture animation;
s310: and (5) finishing the adjustment.
Preferably, a sensor carried by the mobile phone is started to collect various data respectively.
Preferably, the location data includes, but is not limited to: longitude, latitude;
preferably, the time data precision is minutes;
preferably, the ambient light data includes, but is not limited to: the intensity of the light.
Preferably, the sunrise and sunset time is calculated for selecting different picture resources to be invoked, thereby distinguishing between a day mode and a night mode.
Preferably, the sunrise and sunset time is calculated as follows:
sunrise time ═ 180+ time zone × (15-longitude-arccos) (tan (10547 pi/81000 × (2 pi × (date +9)/365)) × (tan (latitude × (pi/180)) × (180/pi)/15 × (tan (2 pi/81000 ×))) -%
Sunset time ═ 180+ time zone × (15-longitude + arccos) (tan (10547 pi/81000 × (2 pi × (date +9)/365)) × (tan (latitude × (pi/180)) × (180/pi)/15 × (tan (2 pi/81000 ×)) -%
Wherein, the unit of longitude and latitude is degree, east longitude and north latitude are positive, west longitude and south latitude are negative;
the east time zone is positive and the west time zone is negative.
Preferably, the weather conditions are calculated to display different environment pictures according to different weather conditions, so that scene display in the mobile phone is consistent with the actual environment; the weather conditions may be adjusted according to the location data and the time data.
Preferably, the computing environment illumination intensity is used to set the brightness of the handset so as not to cause the user to perceive the screen as being dazzling or blindly looking at the screen content.
Preferably, the new configuration data is compared with the old configuration data to determine whether the configuration needs to be updated.
Preferably, the position of the sun and the shadow in the display interface are adjusted according to the position and time of the user.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Drawings
FIG. 1 is a flow chart illustrating the adjustment of an interactive interface in the prior art;
FIG. 2 illustrates a flow diagram for dynamically adjusting an application software interactive interface, according to one embodiment of the invention;
FIG. 3 illustrates a flow diagram for dynamically adjusting an application software interactive interface, according to another embodiment of the invention;
FIG. 4 illustrates a schematic diagram of a dynamically adjusting application software interactive interface, according to one embodiment of the invention;
FIG. 5 shows a schematic diagram of a dynamically adjusting application software interactive interface, according to one embodiment of the invention.
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description will be given to the specific implementation, features and effects of the method for dynamically adjusting the application software interactive interface according to the present invention with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "an embodiment" refers to not necessarily the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
The terms used in the present invention are as follows:
application software: the software installed on the smart phone can complete various specific functions, provide rich use experience for users, and can be divided into categories such as video, chat, reading, working, games and the like.
An interactive interface: the computer is a channel for information exchange between people and the computer, a user inputs information to the computer through an interactive interface and operates, and the computer provides information for the user through the interactive interface for reading, analysis and judgment.
The time for a game player to continuously use a game application program for a single time usually reaches 2 hours, in the process, the time may be changed from day to night, and the user position may also be moved from indoor to outdoor or from outdoor to indoor, so the use experience of the application software may be affected by the change of the ambient light.
According to one embodiment of the invention, data of the environment where the user is located is collected and used for dynamically adjusting the interactive interface of the application software.
According to a specific embodiment of the present invention, the display of the interactive interface is adjusted according to the ambient light data, and different interface elements and color arrangements are used, so that the style displayed by the application software is basically synchronous with the ambient light of the user. Therefore, the color collocation of the application software can be dynamically changed, the freshness of the player is ensured, and the dislike of the player to a certain color can not be caused. The invention dynamically adjusts the light based on the user environment, does not need the manual selection operation of the user, and reduces the complexity of the operation.
According to a specific embodiment of the invention, the current ambient light brightness, time and position data of the mobile phone player are obtained by using the environment sensor, the time service and the position service of the mobile phone, and the screen brightness is dynamically adjusted without manual adjustment of the player, so that the player can concentrate on the current urgent need to be handled.
According to a specific embodiment of the invention, the brightness and the color temperature of the screen are dynamically adjusted, so that the screen is not dazzled due to too bright while the interface content is ensured to be displayed to a user clearly, and the visual fatigue of the user is reduced; and the color temperature is adjusted, so that the blue light of the screen can be reduced, and the visual impairment of a user is reduced.
As shown in fig. 2, according to an embodiment of the present invention, a method for dynamically adjusting an interactive interface of application software is provided, which includes the following steps:
s201: starting a timer while starting the client;
according to a preferred embodiment of the invention, a timer is preset, and the timer is started when a client is started; after the client is started, firstly detecting whether the interactive interface needs to be adjusted once, and then triggering to detect the environment variable when the detection timer expires every time;
s202: judging whether the time for adjusting the interactive interface is up, if so, continuing to execute S203, and if not, continuing to execute S204;
according to a preferred embodiment of the present invention, starting the client application, a polling mechanism is working, the timer triggers detecting the environment variable at intervals, and determines whether the variation value of the environment variable reaches a threshold value for adjusting the interactive interface, and if the variation value reaches the threshold value, the interactive interface is adjusted.
According to a preferred embodiment of the present invention, the smaller the time interval of the timer, the more fine and smooth the adjustment of the interactive interface, and the less influence on the user.
The detection and determination process is automatically completed in the background and is transparent to the user, so that no manual involvement by the user is required.
S203: adjusting the interactive interface;
s204: and (5) finishing the adjustment.
If the adjusting time is not reached or the adjusting is finished, entering an adjusted processing flow and storing some environment variables and configuration variables. The environmental variables and the configuration variables stored in the storage device can be used as comparison reference data for next adjustment, so that the adjustment between two adjacent times is enabled to be 'slightly changed' and 'user-imperceptible' as much as possible, and the user cannot be disturbed.
According to a preferred embodiment of the present invention, as shown in fig. 3, the step S203 of adjusting the interactive interface further includes:
s301: starting adjustment;
s302: starting data acquisition;
according to a preferred embodiment of the invention, a sensor of the mobile phone is started to collect various data respectively;
s303: collecting position data;
the location data includes, but is not limited to: longitude, latitude;
s304: collecting time data;
according to a preferred embodiment of the invention, the time data precision is minutes;
s305: collecting ambient light data;
the ambient light data includes, but is not limited to: the illumination intensity;
s306: and generating sunrise and sunset time, weather conditions and illumination intensity data according to the acquired data.
According to a preferred embodiment of the present invention, the sunrise and sunset time is calculated for selectively invoking different picture resources, thereby distinguishing a daytime mode from a night mode;
according to a preferred embodiment of the invention, the sunrise and sunset time is calculated as follows:
sunrise time ═ 180+ time zone × (15-longitude-arccos) (tan (10547 pi/81000 × (2 pi × (date +9)/365)) × (tan (latitude × (pi/180)) × (180/pi)/15 × (tan (2 pi/81000 ×))) -%
Sunset time ═ 180+ time zone × (15-longitude + arccos) (tan (10547 pi/81000 × (2 pi × (date +9)/365)) × (tan (latitude × (pi/180)) × (180/pi)/15 × (tan (2 pi/81000 ×)) -%
Wherein, the unit of longitude and latitude is degree, east longitude and north latitude are positive, west longitude and south latitude are negative;
for example: 100 degrees 13 '30 degrees east longitude and 35 degrees 20' 15 degrees north latitude, which means 100.225 degrees longitude and 35.3375 degrees latitude; the longitude of 25 degrees 15 '54 degrees and the latitude of 50 degrees 45' 18 degrees represent-25.265 degrees and-50.755 degrees
The east time zone is positive and the west time zone is negative; for example: the Chinese time zone is the eight east zone, and the time zone is 8;
the date is a calendar date, 1 month and 1 day represents that the date is 1, 2 months and 15 days represent that the date is 46, and 12 months and 31 days represent that the date is 365;
the calculated value of 6.69 indicates 41 minutes and 24 seconds at 6 hours, and the calculated value of 19.26 indicates 15 minutes and 36 seconds at 19 hours.
According to a preferred embodiment of the invention, the weather conditions are calculated and used for displaying different environment pictures according to different weather conditions, so that scene display in the mobile phone is consistent with the actual environment; the weather conditions can be corresponding to the position data and the time data;
according to a preferred embodiment of the present invention, the computing environment illumination intensity is used to set the brightness of the mobile phone so as not to make the user feel dazzling or dark and unclear the screen content;
s307: generating new configuration data according to the calculated data;
according to a preferred embodiment of the present invention, the configuration data is a series of judgment elements generated depending on the collected location, time, ambient light, and weather information data acquired via the network therefrom, as follows:
TABLE 1
S308: judging whether the data is within an allowable deviation range with the data configured last time; if the judgment result is no, executing S309; if the judgment result is yes, continuing to execute S310;
according to a preferred embodiment of the present invention, the new configuration data is compared with the old configuration data to determine whether the configuration needs to be updated, wherein the determination needs to comprehensively consider the configuration table data generated in the previous step, such as:
when a user is in a scenic spot/residential area, the content of the interactive interface can be adjusted to be colorful, more interaction is provided for the user, and the user can adjust the interactive interface to be efficient, concise and clear when the user is in a working area;
during holidays/weekends, holiday-related interactive elements can be displayed, the interactive interface needs to be adjusted to be softer and moderate in brightness before sleep, and the blue light part of the screen is filtered;
the weather is different, the mood of the user is different when the user uses the system, and the display of the interactive interface is required to be adjusted;
s309: adjusting screen brightness, screen color temperature and interface picture animation;
according to a preferred embodiment of the present invention, if the configuration needs to be updated, the screen brightness, the screen color temperature, the interface picture animation, etc. are adjusted;
according to a preferred embodiment of the invention, the screen brightness is adjusted to clearly show the picture, which neither appears dark nor dazzles;
according to a preferred embodiment of the invention, the color temperature of the screen is adjusted to protect the visual health of the user, for example, blue light is filtered out, so that the visual fatigue can be relieved, and the sleep of the user is not affected;
according to a preferred embodiment of the present invention, the display of the animation pictures on the interface can be performed according to specific parameters, specifically, the shadow angle of the interface elements can be adjusted, some pictures can be displayed/hidden, the animation severity can be adjusted, and the like;
according to a preferred embodiment of the present invention, the position of the sun and the shade in the display interface are adjusted according to the position and time of the user. As shown in fig. 4 and 5, the elements that the application presents to the user are the sun and trees, assuming that the time of fig. 4 is in the morning and the time of fig. 5 is in the afternoon. Then, in the time change process, the application software can also dynamically adjust the position of the sun and the orientation of the tree shadow, so that the interactive interface in the game is related to the real world and looks more vivid and interesting. All adjustments are performed in the background, and the method is efficient and convenient.
S310: and (5) finishing the adjustment.
By implementing the method and the device, the environmental variables (data such as position, time and ambient illumination) of the user are fully collected, the real experience of the user is fully considered, and the problems of adjustment errors and the like caused by insufficient input variables are avoided; all actions are automatically operated by programs in the background, and a user does not need to manually select and participate, so that the software is more automatic and intelligent, the interactive experience is better, and the adjustment efficiency is higher;
although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (7)
1. A method for dynamically adjusting an application software interactive interface is characterized by comprising the following steps:
s201: starting a timer while starting the client;
s202: judging whether the time for adjusting the interactive interface is up, if so, continuing to execute S203, and if not, continuing to execute S204;
s203: adjusting the interactive interface;
s204: finishing the adjustment;
the step S203 of adjusting the interactive interface further includes:
s301: starting adjustment;
s302: starting data acquisition;
s303: collecting position data;
s304: collecting time data;
s305: collecting ambient light data;
s306: generating sunrise and sunset time, weather conditions and illumination intensity data according to the acquired data;
s307: generating new configuration data according to the calculated data;
s308: comparing the new configuration data with the old configuration data, and judging whether the new configuration data and the old configuration data are within an allowable deviation range; if the judgment result is no, executing S309; if the judgment result is yes, continuing to execute S310;
s309: adjusting screen brightness, screen color temperature and interface picture animation;
when the user is determined to be in a scenic area/residential area according to the position data, adjusting interface picture animations corresponding to the scenic area/residential area;
when the user is determined to be in the working area according to the position data, adjusting the interface picture animation corresponding to the working area;
when the current time is determined to be on holidays/weekends according to the time data, adjusting interface picture animations corresponding to the holidays/weekends;
when the current time is determined to be the time before sleep according to the time data, adjusting the screen brightness and the screen color temperature corresponding to the time before sleep;
adjusting the position and the shade of the sun in a display interface according to the time data and the position data;
the elements displayed to the user by the application software are the sun and trees, and the application software can dynamically adjust the position of the sun and the corresponding orientation of tree shadows according to time change;
s310: and (5) finishing the adjustment.
2. The method for dynamically adjusting an interactive interface of application software according to claim 1, wherein:
and starting a sensor of the mobile phone to collect various data respectively.
3. The method for dynamically adjusting an interactive interface of application software according to claim 1, wherein:
the location data includes, but is not limited to: longitude, latitude;
the time data precision is minutes;
the ambient light data includes, but is not limited to: the intensity of the light.
4. The method for dynamically adjusting an interactive interface of application software according to claim 1, wherein:
and calculating the sunrise and sunset time for selectively calling different picture resources so as to distinguish the daytime mode from the night mode.
5. The method for dynamically adjusting an interactive interface of application software according to claim 3, wherein:
the sunrise and sunset time is calculated as follows:
sunrise time ═ 180+ time zone × (15-longitude-arccos) (tan (10547 pi/81000 × (2 pi × (date +9)/365)) × (tan (latitude × (pi/180)) × (180/pi)/15 × (tan (2 pi/81000 ×))) -%
Sunset time ═ 180+ time zone × (15-longitude + arccos) (tan (10547 pi/81000 × (2 pi × (date +9)/365)) × (tan (latitude × (pi/180)) × (180/pi)/15 × (tan (2 pi/81000 ×)) -%
Wherein, the unit of longitude and latitude is degree, east longitude and north latitude are positive, west longitude and south latitude are negative;
the east time zone is positive and the west time zone is negative.
6. The method for dynamically adjusting an interactive interface of application software according to claim 1, wherein:
calculating weather conditions to display different environment pictures according to different weather conditions, so that scene display in the mobile phone is consistent with the actual environment; the weather conditions may be adjusted according to the location data and the time data.
7. The method for dynamically adjusting an interactive interface of application software according to claim 1, wherein:
the computing environment illumination intensity is used for setting the brightness of the mobile phone, so that a user does not feel dazzling or dark and cannot clearly see the screen content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910053114.5A CN109922207B (en) | 2019-01-21 | 2019-01-21 | Method for dynamically adjusting application software interactive interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910053114.5A CN109922207B (en) | 2019-01-21 | 2019-01-21 | Method for dynamically adjusting application software interactive interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109922207A CN109922207A (en) | 2019-06-21 |
CN109922207B true CN109922207B (en) | 2021-01-01 |
Family
ID=66960461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910053114.5A Active CN109922207B (en) | 2019-01-21 | 2019-01-21 | Method for dynamically adjusting application software interactive interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109922207B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035195B (en) * | 2020-07-30 | 2024-07-02 | 北京达佳互联信息技术有限公司 | Application interface display method and device, electronic equipment and storage medium |
CN114501751A (en) * | 2022-01-06 | 2022-05-13 | 深圳拓邦股份有限公司 | Personal lighting system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856823A (en) * | 2012-12-06 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Interface adjustment method, device and terminal |
CN104657064A (en) * | 2015-03-20 | 2015-05-27 | 上海德晨电子科技有限公司 | Method for realizing automatic exchange of theme desktop for handheld device according to external environment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902460B (en) * | 2011-07-26 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Screen display brightness adjusting method and terminal |
US9124998B2 (en) * | 2012-03-20 | 2015-09-01 | Samsung Electronics Co., Ltd. | Smart alarm |
CN105575360A (en) * | 2014-10-11 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Screen brightness adjusting method, screen brightness adjusting device and intelligent electronic equipment |
CN107179889B (en) * | 2016-03-09 | 2020-06-16 | 阿里巴巴集团控股有限公司 | Interface color adjusting method, webpage color adjusting method and webpage color adjusting device |
CN107608729A (en) * | 2017-09-14 | 2018-01-19 | 光锐恒宇(北京)科技有限公司 | A kind of method and apparatus for showing dynamic effect in the application |
-
2019
- 2019-01-21 CN CN201910053114.5A patent/CN109922207B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856823A (en) * | 2012-12-06 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Interface adjustment method, device and terminal |
CN104657064A (en) * | 2015-03-20 | 2015-05-27 | 上海德晨电子科技有限公司 | Method for realizing automatic exchange of theme desktop for handheld device according to external environment |
Also Published As
Publication number | Publication date |
---|---|
CN109922207A (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103135895B (en) | A kind of method and device controlling display mode | |
CN108538265B (en) | Display brightness adjusting method and device of liquid crystal display screen | |
CN101253764B (en) | Imaging camera processing unit and method | |
CN109525901A (en) | Method for processing video frequency, device, electronic equipment and computer-readable medium | |
CN109922207B (en) | Method for dynamically adjusting application software interactive interface | |
CN104869242A (en) | Method and system for adjusting screen brightness | |
US20150071043A1 (en) | Relative Clock Time Display Device and Relative Clock Time Display Program | |
CN104581099A (en) | Shooting method and terminal | |
CN106205557A (en) | Screen brightness regulation method and device | |
CN102308332B (en) | Image display apparatus | |
CN105810152B (en) | Method for controlling backlight thereof and device, the television set of display terminal | |
CN106200917B (en) | A kind of content display method of augmented reality, device and mobile terminal | |
CN109005627A (en) | A kind of lamp light control method, device, terminal and storage medium | |
CN105719618A (en) | Method for saving energy by means of automatically adjusting brightness of mobile phone screen | |
CN106293060A (en) | The control method of display screen and device | |
CN106548765A (en) | Screen luminance adjustment method and device | |
CN105788565B (en) | A kind of brightness adjusting method and device | |
CN109885272A (en) | A kind of display methods and terminal | |
CN113691874A (en) | Television-based film watching dynamic adjustment method and device, intelligent terminal and medium | |
CN106204743A (en) | Control method, device and the mobile terminal of a kind of augmented reality function | |
KR20190008765A (en) | Method for controlling screen in eye health and terminal for the same | |
WO2016078440A1 (en) | Method and apparatus for controlling screen of mobile terminal | |
CN110556080B (en) | Method, device, terminal and storage medium for adjusting backlight | |
JP2010191775A (en) | Image processing device, electronic equipment, program, and image processing method | |
CN106550135B (en) | Display screen backlight brightness control method and system based on mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |