CN107918534A - Time display method and device, computer installation and computer-readable recording medium - Google Patents

Time display method and device, computer installation and computer-readable recording medium Download PDF

Info

Publication number
CN107918534A
CN107918534A CN201711131343.1A CN201711131343A CN107918534A CN 107918534 A CN107918534 A CN 107918534A CN 201711131343 A CN201711131343 A CN 201711131343A CN 107918534 A CN107918534 A CN 107918534A
Authority
CN
China
Prior art keywords
display
color
terminal
temporal information
time
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.)
Withdrawn
Application number
CN201711131343.1A
Other languages
Chinese (zh)
Inventor
黎旭辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711131343.1A priority Critical patent/CN107918534A/en
Publication of CN107918534A publication Critical patent/CN107918534A/en
Withdrawn legal-status Critical Current

Links

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of time display method, which includes:If detecting the trigger event of display time, the light intensity of terminal surrounding is obtained;Determine that the terminal shows the display parameters of temporal information according to the light intensity of the terminal surrounding;According to the display parameters the terminal display screen display temporal information.The invention also discloses a kind of time display apparatus, computer installation and computer-readable recording medium.The present invention can clearly show the time, facilitate user to check, avoid visual discomfort, improve user experience.

Description

Time display method and device, computer installation and computer-readable recording medium
Technical field
The present invention relates to intelligent terminal technical field, and in particular to a kind of time display method and device, computer installation And computer-readable recording medium.
Background technology
Time showing can be usually carried out in the terminals such as mobile phone, tablet, especially at night, when user is checked by terminal Between it is more.In the prior art, when showing the time at night, light can be very dazzling after the bright screen of terminal, user can not be made to see clearly immediately Time, and easily cause the discomforts such as visual fatigue, reduce user experience.
The content of the invention
In consideration of it, it is necessary to provide a kind of time display method and device, computer installation and computer-readable storage medium Matter, can clearly show the time, facilitate user to check, avoid visual discomfort, improve user experience.
One aspect of the present invention provides a kind of time display method, and the time display method includes:
If detecting the trigger event of display time, the light intensity of terminal surrounding is obtained;
Determine that the terminal shows the display parameters of temporal information according to the light intensity of the terminal surrounding;
According to the display parameters the terminal display screen display temporal information.
Alternatively, the display parameters include following one or more:Background color, background patterns, temporal information it is aobvious Show color, the display size of temporal information, the display location of temporal information, screen intensity.
Alternatively, the light intensity according to the terminal surrounding determines that the terminal shows the display ginseng of temporal information Number includes:
If the light intensity of the terminal surrounding is less than first threshold, it is the first dead color system face to determine the background color Color, the display color of the temporal information is the first light tone system color, and the screen intensity is less than the first brightness;
If the light intensity of the terminal surrounding is higher than second threshold, it is the second light tone system face to determine the background color Color, the display color of the temporal information is the second dead color system color, and the screen intensity is more than the second brightness, wherein described Two threshold values are more than the first threshold, and second brightness is more than first brightness, the first dead color system color with it is described Second dead color system color is identical or different color, and the first light tone system color is identical with the second light tone system color Or different color.
Alternatively, the time display method further includes:
Judge whether the terminal is changed into picking up state from static placement status;
If so, determine to detect the trigger event of display time.
Alternatively, the time display method further includes:
If the terminal, which is in idle state, exceedes preset time, if detecting the triggering thing of display time described in performing Part, the step of obtaining the light intensity of terminal surrounding.
Alternatively, the time display method further includes:
In the display screen display temporal information, in the display screen display flashlight button, the flashlight Button is used for the flashlight for opening or closing the terminal.
Another aspect of the present invention additionally provides a kind of time display apparatus, and the time display apparatus includes:
Acquisition module, if the trigger event for detecting the display time, obtains the light intensity of terminal surrounding;
Determining module, for determining that the terminal shows the display of temporal information according to the light intensity of the terminal surrounding Parameter;
Display module, for according to the display parameters the terminal display screen display temporal information.
Alternatively, the display parameters include following one or more:Background color, background patterns, temporal information it is aobvious Show color, the display size of temporal information, the display location of temporal information, screen intensity.
Alternatively, the determining module is specifically used for:
If the light intensity of the terminal surrounding is less than first threshold, it is the first dead color system face to determine the background color Color, the display color of the temporal information is the first light tone system color, and the screen intensity is less than the first brightness;
If the light intensity of the terminal surrounding is higher than second threshold, it is the second light tone system face to determine the background color Color, the display color of the temporal information is the second dead color system color, and the screen intensity is more than the second brightness, wherein described Two threshold values are more than the first threshold, and second brightness is more than first brightness, the first dead color system color with it is described Second dead color system color is identical or different color, and the first light tone system color is identical with the second light tone system color Or different color.
Alternatively, the time display apparatus further includes:
Judgment module, for judging whether the terminal from static placement status is changed into picking up state;
The determining module, is changed into picking up state, determines to detect aobvious if being additionally operable to the terminal from static placement status Show the trigger event of time.
Alternatively, the time display apparatus further includes:
Trigger module, if being in idle state for the terminal exceedes preset time, triggering acquisition module is detecting During to the trigger event for showing the time, the light intensity of terminal surrounding is obtained.
Alternatively, the display module, is additionally operable in the display screen display temporal information, on the display screen Show flashlight button, the flashlight button is used for the flashlight for opening or closing the terminal.
Further aspect of the present invention also provides a kind of computer installation, and the computer installation includes processor, the processing The step of device is used to realize above-mentioned time display method when performing the computer program stored in memory.
Another aspect of the invention also provides a kind of computer-readable recording medium, is stored thereon with computer instruction, described The step of above-mentioned time display method is realized when computer instruction is executed by processor.
If the present invention detects the trigger event of display time, the light intensity of terminal surrounding is obtained;According to the terminal The light intensity of surrounding determines that the terminal shows the display parameters of temporal information;According to the display parameters in the terminal Show screen display temporal information.Due to when detecting the trigger event of display time, being shown according to the light intensity of surrounding Show temporal information, avoid and dazzling light is produced in the environment that terminal is presently in, so as to fulfill clear display time, side Just user checks, avoids visual discomfort, improves the purpose of user experience.
Brief description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of time display method provided in an embodiment of the present invention;
Fig. 2 is the functional block diagram of time display apparatus provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of computer installation provided in an embodiment of the present invention.
Following embodiment will combine above-mentioned attached drawing and further illustrate the present invention.
Embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Applying example, the present invention will be described in detail.It should be noted that in the case where there is no conflict, embodiments herein and embodiment In feature can be mutually combined.
Elaborate many details in the following description to facilitate a thorough understanding of the present invention, described embodiment only Only it is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's all other embodiments obtained without making creative work, belong to the scope of protection of the invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The normally understood implication of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment
Fig. 1 is the schematic flow diagram of time display method provided in an embodiment of the present invention.As shown in Figure 1, time showing side Method may include following steps:
S10:If detecting the trigger event of display time, the light intensity of terminal surrounding is obtained.
Time display method of the present invention can be applied to terminal, and the terminal can be that mobile phone, tablet computer etc. can To carry out the electronic equipment of time showing.
The light intensity of above-mentioned terminal surrounding is the light intensity that terminal is presently in environment, during specific implementation, Ke Yitong The light sensor for crossing terminal built-in obtains the light intensity of terminal surrounding.
The trigger event of above-mentioned display time is used to trigger carries out time showing in terminal, can be in current time During preset time, or when receiving default voice messaging, the preset touch for detecting and acting on the terminal can also be During instruction, determine to detect the trigger event of display time.
Further, in an alternative embodiment of the invention, when can also determine whether to detect display by the following method Between trigger event.The time display method further includes:
Judge whether the terminal is changed into picking up state from static placement status;If so, determine to detect the display time Trigger event.
Wherein, above-mentioned static placement status can be state when terminal keeps flat static, can pass through the biography of terminal built-in Sensor (such as gyroscope) is detected.The above-mentioned state for picking up terminal when state picks up terminal for user.
Meanwhile show that the trigger event of time can be one of the above or a variety of combinations, can not also be limited to the above and carry That arrives is several, can be pre-set as needed.
S20:Determine that the terminal shows the display parameters of temporal information according to the light intensity of the terminal surrounding.
Above-mentioned display parameters may include following one or more:Background color, background patterns, the display face of temporal information Color, the display size of temporal information, the display location of temporal information, screen intensity.
Wherein, above-mentioned background color is background color when showing temporal information, if for example, the light of terminal surrounding compared with Secretly, then background color when showing the time also selects dead color system color (such as to determine black to show background face during temporal information Color).
Above-mentioned background patterns are background patterns when showing temporal information, and background patterns can be default background patterns, Can also be random pattern, if such as surrounding light intensity it is dark, it is determined that the deeper screen protection pattern of color for display when Between information when background patterns.
The display color of above-mentioned temporal information is the specific color of time, if for example, the dark of terminal surrounding, with indigo plant Color shows temporal information (such as time is 1:00 AM).
The display size of above-mentioned temporal information can show temporal information or with preset ratio with full screen display Temporal information.For example, when if terminal surrounding does not have light, be displayed in full screen the time, then at this time temporal information on the screen with maximum Change is shown, user can be facilitated to see the time clearly.
The display location of above-mentioned temporal information is the position for showing the time.If for example, detecting dark, can combine Grip position when user grips terminal carries out time showing, and palm has been covered below terminal screen when gripping terminal such as user Region, then side shows temporal information on a terminal screen.
Above-mentioned screen intensity is screen intensity when showing temporal information, and in display, screen intensity can be with surrounding environment Brightness be adapted so that display temporal information when light it is milder.
Further, can also be horizontal according to the horizontal/vertical screen status display temporal information of terminal, if terminal is transverse screen state Screen shows temporal information, if terminal is portrait layout state, vertical screen display temporal information.
Further, in an alternative embodiment of the invention, the step S30 is true according to the light intensity of the terminal surrounding The fixed terminal shows that the display ginseng of temporal information may include:
If the light intensity of the terminal surrounding is less than first threshold, it is the first dead color system face to determine the background color Color, the display color of the temporal information is the first light tone system color, and the screen intensity is less than the first brightness;
If the light intensity of the terminal surrounding is higher than second threshold, it is the second light tone system face to determine the background color Color, the display color of the temporal information is the second dead color system color, and the screen intensity is more than the second brightness, wherein described Two threshold values are more than the first threshold, and second brightness is more than first brightness, the first dead color system color with it is described Second dead color system color is identical or different color, and the first light tone system color is identical with the second light tone system color Or different color.
Wherein, the light intensity of terminal surrounding is used to determine whether terminal local environment is dark ring less than first threshold In border.Above-mentioned first threshold can be the relatively low value of light intensity value, and specific numerical value can be set as needed.
Above-mentioned first dead color system color can be the colors such as black, grey.Above-mentioned first light tone system color can be green, The colors such as yellow.
Above-mentioned first brightness can be less than the value of the light intensity of Current ambient, or strong with the light of Current ambient Spend the value being not much different.
At this time, show that the color of temporal information is brighter, background color is dark, and screen intensity is relatively low or light with surrounding Line strength is not much different so that will not produce too strong light.Simultaneously because the color of temporal information is brighter, user can also be made It is clearly seen that temporal information.
Wherein, the light intensity of terminal surrounding is used to determine whether terminal local environment is bright ring higher than second threshold In border.Above-mentioned second threshold can be the higher value of light intensity value, and specific numerical value can be set as needed.
Above-mentioned second dead color system color can be the color identical or different with the first dead color system color, such as can be black The colors such as color, brown.Above-mentioned second light tone system color can be the color identical or different with the second light tone system color, such as can To be the colors such as white, yellow.
Above-mentioned second brightness can be above the value of the light intensity of Current ambient, or strong with the light of Current ambient Spend the value being not much different.
At this time, terminal is in bright light environments, and the color of temporal information is dark, and background color is brighter, and screen intensity compared with Height is not much different with the light intensity of surrounding so that the integral color that terminal is shown differs not with brightness with surrounding environment Greatly, eyesight discomfort will not be produced, and can be clearly seen that temporal information.
S30:According to the display parameters the terminal display screen display temporal information.
After the display parameters of display temporal information are determined, time showing can be carried out according to display parameters, then shown at this time Temporal information can according to environment adjust show, avoid external environment be dark state under when show strong light, so as to protect The discomfort of eyesight is avoided, user is clearly seen the time.
Further, in an alternative embodiment of the invention, the time display method further includes:
In the display screen display temporal information, in the display screen display flashlight button, the flashlight Button is used for the flashlight for opening or closing the terminal.
When user is in the poor environment of light, it can timely provide light by flashlight button and illuminate surrounding Environment, improves user experience.
Further, in an alternative embodiment of the invention, the time display method further includes:
In the display screen display temporal information, in the display screen display voice broadcast button, the voice Button is reported to be used to carry out voice broadcast to current time.
By voice broadcast button, user can be made quickly and conveniently to obtain temporal information.
Further, in an alternative embodiment of the invention, the time display method further includes:
If the terminal, which is in idle state, exceedes preset time, if detecting the triggering thing of display time described in performing Part, the step of obtaining the light intensity of terminal surrounding.
Wherein, show user's non-operating terminal when terminal is idle state, can by obtain the relevant information of terminal come Determine whether terminal is in restriction state.If such as detect that the posture of terminal does not change and/or terminal is puts out screen state When, it may be determined that terminal is idle state.
Above-mentioned preset time can be value set in advance, such as preset time is one hour, or preset time is half A hour.
At the same time it can also determine the value of preset time according to the current specific time, if for example, current time is night Evening, then preset time is half an hour, if current time is daytime, preset time is two hours.
If the terminal, which is in idle state, exceedes preset time, if detecting the triggering thing of display time described in performing Part, the step of obtaining the light intensity of terminal surrounding, i.e. terminal, are in idle state and exceed preset time, ability triggering terminal according to After time display method of the present invention carries out time showing, such as mobile phone idle a period of time at night, user's midnight needs See the time, then trigger above-mentioned special time showing pattern, without unlock, it is possible to check the time, and only show the time Screen font bigger, facilitates user to check, and the screen intensity intelligently set, does not hinder eye.
Meanwhile which kind of mode triggering terminal is time showing is carried out by and is not limited to method mentioned above, can be according to it He uses time display method of the present invention progress time showing at mode triggering terminal.
If time display method provided by the invention shows the trigger event of time by detecting, terminal surrounding is obtained Light intensity;Determine that the terminal shows the display parameters of temporal information according to the light intensity of the terminal surrounding;According to institute State display screen display temporal information of the display parameters in the terminal.Due to detect display the time trigger event when, Temporal information is shown according to the light intensity of surrounding, avoids and dazzling light is produced in the environment that terminal is presently in, So as to fulfill the clear display time, facilitate user to check, avoid visual discomfort, improve the purpose of user experience.
Above is the detailed description carried out to method provided by the present invention.According to different demands, in shown flow chart The execution sequence of square can change, and some squares can be omitted, and time display method can also be in above-mentioned time display method Middle selective is applied in combination, or is applied in combination with other above-mentioned unmentioned time display methods.Below to institute of the present invention The device of offer is described.
Embodiment
Fig. 2 is the structure chart of time display apparatus provided in an embodiment of the present invention, as shown in Fig. 2, time display apparatus can With including:Acquisition module 210, determining module 220 and display module 230.
Acquisition module 210, if the trigger event for detecting the display time, obtains the light intensity of terminal surrounding.
Terminal of the present invention can be the electronic equipment that mobile phone, tablet computer etc. can carry out time showing.
The light intensity of above-mentioned terminal surrounding is the light intensity that terminal is presently in environment, during specific implementation, Ke Yitong The light sensor for crossing terminal built-in obtains the light intensity of terminal surrounding.
The trigger event of above-mentioned display time is used to trigger carries out time showing in terminal, can be in current time During preset time, or when receiving default voice messaging, the preset touch for detecting and acting on the terminal can also be During instruction, determine to detect the trigger event of display time.
Further, in an alternative embodiment of the invention, when can also be by determining whether to detect display with lower module Between trigger event.The time display apparatus further includes:
Judgment module, for judging whether the terminal from static placement status is changed into picking up state.
Determining module 220, if being changed into picking up state from static placement status for the terminal, when determining to detect display Between trigger event.
Wherein, above-mentioned static placement status can be state when terminal keeps flat static, can pass through the biography of terminal built-in Sensor (such as gyroscope) is detected.The above-mentioned state for picking up terminal when state picks up terminal for user.
Meanwhile show that the trigger event of time can be one of the above or a variety of combinations, can not also be limited to the above and carry That arrives is several, can be pre-set as needed.
Determining module 220, for determining that the terminal shows temporal information according to the light intensity of the terminal surrounding Display parameters.
Above-mentioned display parameters may include following one or more:Background color, background patterns, the display face of temporal information Color, the display size of temporal information, the display location of temporal information, screen intensity.
Wherein, above-mentioned background color is background color when showing temporal information, if for example, the light of terminal surrounding compared with Secretly, then background color when showing the time also selects dead color system color (such as to determine black to show background face during temporal information Color).
Above-mentioned background patterns are background patterns when showing temporal information, and background patterns can be default background patterns, Can also be random pattern, if such as surrounding light intensity it is dark, it is determined that the deeper screen protection pattern of color for display when Between information when background patterns.
The display color of above-mentioned temporal information is the specific color of time, if for example, the dark of terminal surrounding, with indigo plant Color shows temporal information (such as time is 1:00 AM).
The display size of above-mentioned temporal information can show temporal information or with preset ratio with full screen display Temporal information.For example, when if terminal surrounding does not have light, be displayed in full screen the time, then at this time temporal information on the screen with maximum Change is shown, user can be facilitated to see the time clearly.
The display location of above-mentioned temporal information is the position for showing the time.If for example, detecting dark, can combine Grip position when user grips terminal carries out time showing, and palm has been covered below terminal screen when gripping terminal such as user Region, then side shows temporal information on a terminal screen.
Above-mentioned screen intensity is screen intensity when showing temporal information, and in display, screen intensity can be with surrounding environment Brightness be adapted so that display temporal information when light it is milder.
Further, can also be horizontal according to the horizontal/vertical screen status display temporal information of terminal, if terminal is transverse screen state Screen shows temporal information, if terminal is portrait layout state, vertical screen display temporal information.
Further, in an alternative embodiment of the invention, the determining module 220 is specifically used for:
If the light intensity of the terminal surrounding is less than first threshold, it is the first dead color system face to determine the background color Color, the display color of the temporal information is the first light tone system color, and the screen intensity is less than the first brightness;
If the light intensity of the terminal surrounding is higher than second threshold, it is the second light tone system face to determine the background color Color, the display color of the temporal information is the second dead color system color, and the screen intensity is more than the second brightness, wherein described Two threshold values are more than the first threshold, and second brightness is more than first brightness, the first dead color system color with it is described Second dead color system color is identical or different color, and the first light tone system color is identical with the second light tone system color Or different color.
Wherein, the light intensity of terminal surrounding is used to determine whether terminal local environment is dark ring less than first threshold In border.Above-mentioned first threshold can be the relatively low value of light intensity value, and specific numerical value can be set as needed.
Above-mentioned first dead color system color can be the colors such as black, grey.Above-mentioned first light tone system color can be green, The colors such as yellow.
Above-mentioned first brightness can be less than the value of the light intensity of Current ambient, or strong with the light of Current ambient Spend the value being not much different.
At this time, show that the color of temporal information is brighter, background color is dark, and screen intensity is relatively low or light with surrounding Line strength is not much different so that will not produce too strong light.Simultaneously because the color of temporal information is brighter, user can also be made It is clearly seen that temporal information.
Wherein, the light intensity of terminal surrounding is used to determine whether terminal local environment is bright ring higher than second threshold In border.Above-mentioned second threshold can be the higher value of light intensity value, and specific numerical value can be set as needed.
Above-mentioned second dead color system color can be the color identical or different with the first dead color system color, such as can be black The colors such as color, brown.Above-mentioned second light tone system color can be the color identical or different with the second light tone system color, such as can To be the colors such as white, yellow.
Above-mentioned second brightness can be above the value of the light intensity of Current ambient, or strong with the light of Current ambient Spend the value being not much different.
At this time, terminal is in bright light environments, and the color of temporal information is dark, and background color is brighter, and screen intensity compared with Height is not much different with the light intensity of surrounding so that the integral color that terminal is shown differs not with brightness with surrounding environment Greatly, eyesight discomfort will not be produced, and can be clearly seen that temporal information.
Display module 230, for according to the display parameters the terminal display screen display temporal information.
After the display parameters of display temporal information are determined, display module 230 carries out time showing according to display parameters, then The temporal information shown at this time can be adjusted according to environment and shown, avoid showing strong light when external environment is under dark state, So as to be protected from the discomfort of eyesight, user is set to clearly see the time.
Further, in an alternative embodiment of the invention, the display module 230 is additionally operable to:
In the display screen display temporal information, in the display screen display flashlight button, the flashlight Button is used for the flashlight for opening or closing the terminal.
When user is in the poor environment of light, it can timely provide light by flashlight button and illuminate surrounding Environment, improves user experience.
Further, in an alternative embodiment of the invention, the time showing display module is additionally operable to:
In the display screen display temporal information, in the display screen display voice broadcast button, the voice Button is reported to be used to carry out voice broadcast to current time.
By voice broadcast button, user can be made quickly and conveniently to obtain temporal information.
Further, in an alternative embodiment of the invention, the time display apparatus further includes:
Trigger module, if being in idle state for the terminal exceedes preset time, triggering acquisition module is detecting During to the trigger event for showing the time, the light intensity of terminal surrounding is obtained.
Wherein, show user's non-operating terminal when terminal is idle state, can by obtain the relevant information of terminal come Determine whether terminal is in restriction state.If such as detect that the posture of terminal does not change and/or terminal is puts out screen state When, it may be determined that terminal is idle state.
Above-mentioned preset time can be value set in advance, such as preset time is one hour, or preset time is half A hour.
At the same time it can also determine the value of preset time according to the current specific time, if for example, current time is night Evening, then preset time is half an hour, if current time is daytime, preset time is two hours.
If the terminal, which is in idle state, exceedes preset time, if in the trigger event for detecting the display time When, the light intensity of the acquisition terminal surrounding of acquisition module 210, i.e. terminal are in idle state and exceed preset time, trigger module Trigger time display apparatus of the present invention and carry out time showing.
Meanwhile time showing is carried out by trigger module triggering terminal and is not limited to above-mentioned mode, can also basis Other trigger modules trigger time display apparatus of the present invention and carry out time showing.
Time display apparatus provided by the invention, when detecting the trigger event of display time, is obtained by acquisition module The light intensity of terminal surrounding;Determining module determines that the terminal shows temporal information according to the light intensity of the terminal surrounding Display parameters;Display module according to the display parameters the terminal display screen display temporal information.Due to examining When measuring the trigger event of display time, temporal information is shown according to the light intensity of surrounding, is avoided in the current institute of terminal Dazzling light is produced in the environment at place, so as to fulfill the clear display time, facilitates user to check, avoids visual discomfort, improve The purpose of user experience.
Embodiment
Fig. 3 is refer to, Fig. 3 is the schematic diagram of computer installation 1 provided in an embodiment of the present invention.The computer installation 1 Including memory 20, processor 30 and it is stored in the computer that can be run in the memory 20 and on the processor 30 Program 40, such as time showing program.The processor 30 realizes above-mentioned time showing side when performing the computer program 40 Step in method embodiment, such as step S10~S30 shown in Fig. 1.Alternatively, the processor 30 performs the computer journey The function of each module/unit in above device embodiment, such as module 210~230 are realized during sequence 40.
Exemplary, the computer program 40 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 20, and are performed by the processor 30, to complete the present invention.Described one A or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, which is used for Implementation procedure of the computer program 40 in the computer installation 1 is described.For example, the computer program 40 can be by Acquisition module 210, determining module 220 and the display module 230 being divided into Fig. 2, each module concrete function is referring to foregoing implementation Example.
The computer installation 1 can be the meter such as desktop PC, laptop, palm PC and cloud server Calculate machine equipment.It will be understood by those skilled in the art that the schematic diagram 3 be only computer installation 1 example, form pair The restriction of computer installation 1, can include than illustrating more or fewer components, either combine some components or different Component, such as the computer installation 1 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 30 can also be any conventional processor Deng the processor 30 is the control centre of the computer installation 1, utilizes various interfaces and connection whole computer dress Put 1 various pieces.
The memory 20 can be used for storing the computer program 40 and/or module/unit, and the processor 30 passes through Operation performs the computer program and/or module/unit being stored in the memory 20, and calls and be stored in memory Data in 20, realize the various functions of the computer installation 1.The memory 20 can mainly include storing program area and deposit Store up data field, wherein, storing program area can storage program area, the application program needed at least one function (for example broadcast by sound Playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to computer installation 1 Such as voice data, phone directory) etc..In addition, memory 20 can include high-speed random access memory, can also include non-easy The property lost memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
If the integrated module/unit of the computer installation 1 is realized in the form of SFU software functional unit and as independently Production marketing or in use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention Realize all or part of flow in above-described embodiment method, relevant hardware can also be instructed by computer program come complete Into the computer program can be stored in a computer-readable recording medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..The meter Calculation machine computer-readable recording medium can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need what is illustrated It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium, which does not include electric carrier wave, to be believed Number and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed method and apparatus, can also pass through Other modes are realized.For example, device embodiment described above is only schematical, for example, the division of the module, Only a kind of division of logic function, can there is other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple Device can also be realized by same device or system by software or hardware.The first, the second grade word is used for representing name Claim, and be not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference The present invention is described in detail in preferred embodiment, it will be understood by those of ordinary skill in the art that, can be to the present invention's Technical solution is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.

Claims (10)

  1. A kind of 1. time display method, it is characterised in that the described method includes:
    If detecting the trigger event of display time, the light intensity of terminal surrounding is obtained;
    Determine that the terminal shows the display parameters of temporal information according to the light intensity of the terminal surrounding;
    According to the display parameters the terminal display screen display temporal information.
  2. 2. the method as described in claim 1, it is characterised in that the display parameters include following one or more:Background face Color, background patterns, the display color of temporal information, the display size of temporal information, the display location of temporal information, screen are bright Degree.
  3. 3. method as claimed in claim 2, it is characterised in that described in the light intensity according to the terminal surrounding determines Terminal shows that the display parameters of temporal information include:
    If the light intensity of the terminal surrounding is less than first threshold, determine that the background color is the first dead color system color, institute The display color for stating temporal information is the first light tone system color, and the screen intensity is less than the first brightness;
    If the light intensity of the terminal surrounding is higher than second threshold, determine that the background color is the second light tone system color, institute The display color for stating temporal information is the second dead color system color, and the screen intensity is more than the second brightness, wherein second threshold Value is more than the first threshold, and second brightness is more than first brightness, the first dead color system color and described second Dead color system color is identical or different color, and the first light tone system color and the second light tone system color are identical or not Same color.
  4. 4. such as the method any one of claim 1-3, it is characterised in that the method further includes:
    Judge whether the terminal is changed into picking up state from static placement status;
    If so, determine to detect the trigger event of display time.
  5. 5. such as the method any one of claim 1-3, it is characterised in that the method further includes:
    If the terminal, which is in idle state, exceedes preset time, if detecting the trigger event of display time described in performing, The step of obtaining the light intensity of terminal surrounding.
  6. 6. such as the method any one of claim 1-3, it is characterised in that the method further includes:
    In the display screen display temporal information, in the display screen display flashlight button, the flashlight button For opening or closing the flashlight of the terminal.
  7. 7. a kind of time display apparatus, it is characterised in that described device includes:
    Acquisition module, if the trigger event for detecting the display time, obtains the light intensity of terminal surrounding;
    Determining module, for determining that the terminal shows that the display of temporal information is joined according to the light intensity of the terminal surrounding Number;
    Display module, for according to the display parameters the terminal display screen display temporal information.
  8. 8. device as claimed in claim 7, it is characterised in that the display parameters include following one or more:Background face Color, background patterns, the display color of temporal information, the display size of temporal information, the display location of temporal information, screen are bright Degree.
  9. 9. a kind of computer installation, it is characterised in that the computer installation includes processor, and the processor is deposited for execution The time display method as described in any one in claim 1-6 is realized during the computer program stored in reservoir.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that:The computer instruction The time display method as described in any one in claim 1-6 is realized when being executed by processor.
CN201711131343.1A 2017-11-15 2017-11-15 Time display method and device, computer installation and computer-readable recording medium Withdrawn CN107918534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711131343.1A CN107918534A (en) 2017-11-15 2017-11-15 Time display method and device, computer installation and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711131343.1A CN107918534A (en) 2017-11-15 2017-11-15 Time display method and device, computer installation and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107918534A true CN107918534A (en) 2018-04-17

Family

ID=61895606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711131343.1A Withdrawn CN107918534A (en) 2017-11-15 2017-11-15 Time display method and device, computer installation and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107918534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650421A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Display control method and related product
CN110149442A (en) * 2019-04-10 2019-08-20 华为技术有限公司 A kind of control method and terminal device for putting out screen display

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140035851A1 (en) * 2012-07-31 2014-02-06 Samsung Electronics Co., Ltd. Method for controlling user input and electronic device thereof
CN104735247A (en) * 2015-03-11 2015-06-24 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness of mobile terminal
CN105869604A (en) * 2015-12-03 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for regulating display brightness of screen and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140035851A1 (en) * 2012-07-31 2014-02-06 Samsung Electronics Co., Ltd. Method for controlling user input and electronic device thereof
CN104735247A (en) * 2015-03-11 2015-06-24 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness of mobile terminal
CN105869604A (en) * 2015-12-03 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for regulating display brightness of screen and electronic device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650421A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Display control method and related product
CN108650421B (en) * 2018-05-10 2020-12-08 Oppo广东移动通信有限公司 Display control method and related product
CN110149442A (en) * 2019-04-10 2019-08-20 华为技术有限公司 A kind of control method and terminal device for putting out screen display
CN113411445A (en) * 2019-04-10 2021-09-17 华为技术有限公司 Control method for screen-off display and terminal equipment
CN113647084A (en) * 2019-04-10 2021-11-12 华为技术有限公司 Control method for screen-off display and terminal equipment
CN113647084B (en) * 2019-04-10 2023-02-10 华为技术有限公司 Control method for screen-off display, terminal equipment and storage medium
US11847949B2 (en) 2019-04-10 2023-12-19 Huawei Technologies Co., Ltd. Always on display control method and terminal device

Similar Documents

Publication Publication Date Title
CN109427083B (en) Method, device, terminal and storage medium for displaying three-dimensional virtual image
CN108492363B (en) Augmented reality-based combination method and device, storage medium and electronic equipment
CN108021161A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN104345876B (en) A kind of information processing method and electronic equipment
CN107025683A (en) A kind of information processing method and electronic equipment
CN112562284A (en) Cabinet lattice door opening prompting method and device of intelligent cabinet and electronic equipment
CN104200249B (en) A kind of method of clothing automatic collocation, apparatus and system
CN109147023A (en) Three-dimensional special efficacy generation method, device and electronic equipment based on face
CN107395958A (en) Image processing method and device, electronic equipment and storage medium
CN108038836A (en) A kind of image processing method, device and mobile terminal
CN108961157A (en) Image processing method, picture processing unit and terminal device
CN108416235A (en) The anti-peeping method, apparatus of display interface, storage medium and terminal device
CN106502606A (en) A kind of method of showing edge image and electronic equipment
CN106408646B (en) Instant photochromic rendering system and rendering method for game scene
CN106201521A (en) A kind of message treatment method, device and terminal unit
CN107918534A (en) Time display method and device, computer installation and computer-readable recording medium
CN107563325A (en) A kind of method, apparatus and terminal device for testing fatigue strength
CN106708394A (en) Mobile terminal and system theme switching method thereof
CN109816601A (en) A kind of image processing method and terminal device
CN112528909A (en) Living body detection method, living body detection device, electronic apparatus, and computer-readable storage medium
CN107194232A (en) Solve lock control method, device, computer installation and computer-readable recording medium
CN108564537A (en) Method, apparatus, electronic equipment and the medium of image procossing
CN104238770B (en) A kind of control method and electronic equipment
CN109743448A (en) Reminding method and terminal device
CN109246298A (en) A kind of method and mobile terminal of prompt information

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180417

WW01 Invention patent application withdrawn after publication