CN109407817A - Put out control method, device, electronic equipment and the storage medium of screen clock - Google Patents

Put out control method, device, electronic equipment and the storage medium of screen clock Download PDF

Info

Publication number
CN109407817A
CN109407817A CN201811296437.9A CN201811296437A CN109407817A CN 109407817 A CN109407817 A CN 109407817A CN 201811296437 A CN201811296437 A CN 201811296437A CN 109407817 A CN109407817 A CN 109407817A
Authority
CN
China
Prior art keywords
state
electronic equipment
out screen
screen
put out
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.)
Granted
Application number
CN201811296437.9A
Other languages
Chinese (zh)
Other versions
CN109407817B (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811296437.9A priority Critical patent/CN109407817B/en
Publication of CN109407817A publication Critical patent/CN109407817A/en
Application granted granted Critical
Publication of CN109407817B publication Critical patent/CN109407817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of control method, device, electronic equipment and storage medium for putting out screen clock, belong to field of computer technology, by the way that the state of the screen of electronic equipment is divided into bright screen state and puts out screen state, when the state of screen, first when putting out screen state, obtain the status information of electronic equipment, it determines that corresponding second puts out screen state according to status information, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen state.Since electronic equipment can be according to state parameter, determine that corresponding second puts out screen state, electronic equipment it is current first put out screen state and put out screen state difference with above-mentioned second when, the screen of electronic equipment is adjusted to second and puts out screen state, improve the state of the screen of electronic equipment and the matching of electronic equipment oneself state, it improves electronic equipment and shows the efficiency for putting out screen clock, reduce electronic equipment for showing the overall power for putting out screen clock.

Description

Put out control method, device, electronic equipment and the storage medium of screen clock
Technical field
The invention relates to field of computer technology, in particular to a kind of control method for putting out screen clock, device, electricity Sub- equipment and storage medium.
Background technique
With extensive use of the intelligent electronic device in life, user checks current system time using electronic equipment Behavior also gradually increase.
In the related technology, electronic equipment can be shown currently in the taskbar of system in the state that screen is lighted System time.In the state that electronic equipment is in screen extinguishing, electronic equipment can be current to show by putting out screen clock System time.
Since when electronic equipment, which is in, puts out screen state, electronic equipment, which always show, puts out screen clock, causes biggish software and hardware Expense.
Summary of the invention
The embodiment of the present application provides a kind of control method, device, electronic equipment and storage medium for putting out screen clock, can be with Solve due to electronic equipment be in put out screen state when, electronic equipment, which always show, puts out screen clock, causes biggish software and hardware expense The problem of.The technical solution is as follows:
According to the one side content of the application, a kind of control method for putting out screen clock is provided, is applied in electronic equipment, The state of the screen of the electronic equipment includes bright screen state and puts out screen state, and the screen state of putting out includes black state and puts out screen Clock display state, the control method for putting out screen clock include:
When the state of the screen be first put out screen state when, obtain the status information of the electronic equipment, the state Information is used to indicate state of the electronic equipment in time and/or space, and described first to put out screen state be the blank screen shape State or described put out shield clock display state;
According to the state information, determine that corresponding second puts out screen state, described second to put out screen state be the blank screen shape State or described put out shield clock display state;
When described first, which puts out screen state, puts out screen state difference with described second, the state of the screen is adjusted to described Second puts out screen state.
According to the another aspect content of the application, a kind of control device for putting out screen clock is provided, electronic equipment is applied to In, the state of the screen of the electronic equipment includes bright screen state and puts out screen state, it is described put out screen state include black state and Screen clock display state is put out, which includes:
Obtain module, for the state of the screen be first put out screen state when, obtain the state of the electronic equipment Information, the status information are used to indicate state of the electronic equipment in time and/or space, and described first puts out screen state It is that the black state or described put out shield clock display state;
Determining module, for according to the state information, determining that corresponding second puts out screen state, described second puts out screen state It is that the black state or described put out shield clock display state;
Module is adjusted, for when described first puts out screen state and put out screen state difference with described second, by the screen State is adjusted to described second and puts out screen state.
According to the another aspect content of the application, provide a kind of electronic equipment, the electronic equipment include processor and Memory, at least one instruction is stored in the memory, and described instruction is loaded by the processor and executed to realize such as The application implements the control method for putting out screen clock provided.
According to the another aspect content of the application, a kind of computer readable storage medium is provided, in the storage medium It is stored at least one instruction, described instruction is loaded by processor and executed to realize as what the application implemented to provide puts out screen clock Control method.
Technical solution bring beneficial effect provided by the embodiments of the present application may include:
By the way that the state of the screen of electronic equipment is divided into bright screen state and puts out screen state, when the state of screen, first puts out When screen state, the status information of electronic equipment is obtained, determines that corresponding second puts out screen state according to status information, puts out screen when first When state puts out screen state difference with second, the state of screen is adjusted to second and puts out screen state.Since electronic equipment being capable of basis The state parameter of itself determines that corresponding second puts out screen state, electronic equipment it is current first put out screen state and above-mentioned second When putting out screen state difference, the screen of electronic equipment is adjusted to second and puts out screen state, improves the state of the screen of electronic equipment It with the matching of electronic equipment oneself state, improves electronic equipment and shows the efficiency for putting out screen clock, reduce electronic equipment use The overall power of screen clock is put out in display.
Detailed description of the invention
It, below will be to institute in the embodiment of the present application description in order to more clearly introduce the technical solution in the embodiment of the present application Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the structural block diagram for the electronic equipment that one exemplary embodiment of the application provides;
Fig. 2 is the flow chart for the control method for putting out screen clock that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart for the control method for putting out screen clock that another exemplary embodiment of the application provides;
Fig. 4 is the flow chart for the control method for putting out screen clock that another exemplary embodiment of the application provides;
Fig. 5 is a kind of flow chart of the control method for putting out screen clock provided based on Fig. 4 embodiment;
Fig. 6 is the flow chart that the control method of screen clock is put out based on another kind provided by embodiment illustrated in fig. 5;
Fig. 7 is the structural block diagram for the control device for putting out screen clock that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they are only the device and side consistent with some aspects as detailed in the attached claim, the application The example of method.
For scheme shown in the embodiment of the present application it can be readily appreciated that below to several nouns occurred in the embodiment of the present application into Row is introduced.
Bright screen state: refer to that the screen of electronic equipment is in illuminating state, and show user interface.In a kind of possible mode In, bright screen state includes bright screen lock state and bright screen unlocks state.Bright screen lock state refers to that electronic equipment is in screen locking State, and the backlight assembly of screen is already on to show locking user interface.Bright screen unlocks state refers to that electronic equipment is in screen Curtain unlocked state, and the backlight assembly of screen is already on to show active user interface.In a kind of possible mode, the work Dynamic user interface is system desktop.In alternatively possible mode, which is the user interface of application program.
In the mode of another kind description, bright screen state is a display shape of the screen of electronic equipment in open state State.
It puts out screen state: referring to that the screen of electronic equipment is in OFF state.In a kind of possible mode, putting out screen state includes Black state and put out screen clock display state.When the screen of electronic equipment is in black state, in the screen of electronic equipment not Show any content, screen is in black state.When the screen of electronic equipment, which is in, puts out screen clock display state, electronic equipment Screen in show and put out screen clock.Optionally, when the screen of electronic equipment, which is in, puts out screen clock display state, electronic equipment Screen in can also show the reminder messages such as unread message item number or missed call number, herein without limitation.
Status information: being used to indicate state of the electronic equipment in time and/or space, and the state in the time can refer to The current system moment;In a kind of mode, state in space refers to the current geographical location of electronic equipment;Another way In, state in space refers to kinematic parameter.That is, when status information includes the current geographical location of electronic equipment, system At least one of quarter and kinematic parameter.In a kind of possible scene, status information further includes that the current side of electronic equipment is set Standby link information.
It should be noted that term "and/or", being used to indicate status information includes three kinds of meanings.In oneainstance, shape State information is used to indicate state of the electronic equipment in the time.In another scenario, status information is used to indicate electronic equipment State in space.In another situation, status information is used to indicate state of the electronic equipment in room and time.
Put out screen clock: the clock being displayed on the screen in the case where putting out screen clock display state.In the present embodiment, electronic equipment It can select to enable the control method provided in this embodiment for putting out screen clock in set interface.In addition, electronic equipment can be with Have and put out screen clock closed state, that is, closes the function of putting out screen clock.Or, electronic equipment can also have put out screen clock be always on shape State, i.e. electronic equipment always show in putting out screen state puts out screen clock.
It should be noted that the embodiment of the present application is not defined the specific implementation of status information, has instruction The information of state of the electronic equipment in time and/or space, can be implemented as status information signified in the application.
Illustratively, the control method of screen clock is put out shown in the embodiment of the present application, can be somebody's turn to do using in the electronic device Electronic equipment has display screen and has the function for the control for putting out screen clock.Electronic equipment may include mobile phone, tablet computer, intelligence It can wrist-watch, digital camera, MP4 broadcasting electronic equipment, MP5 broadcasting electronic equipment, learning machine, point reader, electric paper book or electronics word Allusion quotation etc..
Referring to FIG. 1, it is the structural block diagram for the electronic equipment that one exemplary embodiment of the application provides, such as Fig. 1 institute Show, which includes processor 120, memory 140 and screen assembly 160, is stored at least one in the memory 140 Item instruction, described instruction are loaded as the processor 120 and are executed to realize and put out screen clock described in as above each embodiment Control method.Screen assembly 160 includes bright screen state and puts out screen state, puts out screen state and includes black state and put out screen clock display State.Screen assembly 160 has the content of corresponding backlight lightening mode and display in the state of difference.
In this application, electronic equipment 100 is the electronic equipment for having display and putting out screen time clock feature.When electronic equipment 100 Screen state when first when putting out screen state, determine that corresponding second puts out screen state according to the status information of electronic equipment, when First puts out screen state when putting out screen state difference with second, and the state of screen can be adjusted to second and put out screen shape by electronic equipment 100 State.
It should be noted that first puts out screen state and second puts out term " first " in screen state and " second " is only used for face Ripe purpose, cannot be understood as indicating or implying relative importance.
Processor 120 may include one or more processing core.Processor 120 utilizes various interfaces and connection Various pieces in entire electronic equipment 100, by running or executing the instruction being stored in memory 140, program, code set Or instruction set, and the data being stored in memory 140 are called, execute the various functions and processing data of electronic equipment 100. Optionally, processor 120 can be compiled using Digital Signal Processing (Digital Signal Processing, DSP), scene Journey gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 120 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for The rendering and drafting of content to be shown needed for display screen;Modem is for handling wireless communication.On it is understood that Stating modem can not also be integrated into processor 120, be realized separately through chip piece.
It should be noted that multiple processing cores indicate the processing core of two or more integer number.
Memory 140 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 140 can be used for store instruction, program, generation Code, code set or instruction set.Memory 140 may include storing program area and storage data area, wherein storing program area can store Instruction for realizing operating system, the instruction at least one function (such as touch function, sound-playing function, image Playing function etc.), for realizing instruction of following each embodiments of the method etc.;It is real that storage data area can store following each method Apply the data etc. being related in example.
In the embodiment of the present application, electronic equipment can put out screen clock by obtaining the status information of electronic equipment to adjust Display state, details can refer to following examples.
Referring to FIG. 2, it is the flow chart for the control method for putting out screen clock that one exemplary embodiment of the application provides. The control method for putting out screen clock can be applied in the electronic equipment shown in above-mentioned.The state of the screen of electronic equipment includes bright Screen state and screen state is put out, puts out screen state and include black state and put out screen clock display state.In Fig. 2, the control of screen clock is put out Method processed includes:
Step 210, when the state of screen be first put out screen state when, obtain the status information of electronic equipment, status information It is used to indicate state of the electronic equipment in time and/or space, first, which puts out screen state, is black state or puts out screen clock display State.
In a kind of possible mode, electronic equipment can determine screen by a process, background service or application The state of curtain.So that it is determined that the current state of electronic equipment is bright screen state or puts out screen state out.
In alternatively possible mode, electronic equipment can indicate that its screen is current by one marker of setting State.In this implementation, electronic equipment is without other launching process, background service or application come the shape that determines screen State.
When the state of screen be first put out screen state when, electronic equipment obtains the status information of itself.That is, when electronics is set When standby determination itself is in black state or puts out screen clock display state, the status information of itself will acquire.It needs to illustrate It is that status information is the state for being used to indicate electronic equipment in time and/or space.
Optionally, status information can be the current system time of the current geographical location of electronic equipment, electronic equipment and Current at least one of the kinematic parameter of electronic equipment.
In one possible implementation, status information is a kind of single information.In a kind of scene, status information It is the current geographical location of electronic equipment.In another scene, status information is the current system time of electronic equipment.Again In a kind of scene, status information is the current kinematic parameter of electronic equipment.
In alternatively possible implementation, combined information that status information is made of two kinds of information.In a kind of field Jing Zhong, status information are the current geographical location of electronic equipment and the current system time of electronic equipment.In another scene, Status information is the current geographical location of electronic equipment and the current kinematic parameter of electronic equipment.In another scene, state Information is the current system time of electronic equipment and the current kinematic parameter of electronic equipment.
In another possible implementation, combined information that status information is made of three kinds of information.I.e. state is believed Breath be include the current kinematic parameter of the current geographical location of electronic equipment, electronic equipment current system time and electronic equipment Information.
Step 220, according to status information, determine that corresponding second puts out screen state, second put out screen state be black state or Put out screen clock display state.
In the embodiment of the present application, electronic equipment can determine that corresponding second puts out screen state according to status information.It needs Illustrate, electronic equipment can realize in specified electronic building brick in the electronic device determined according to status information it is corresponding Second puts out screen state.
In a kind of possible mode, electronic equipment can enable the processor in electronic equipment according to status information, with And pre-stored corresponding relationship, determine that corresponding second puts out screen state.Alternatively, processor is according to status information, by calculating Determine that corresponding second puts out screen state.
In alternatively possible mode, electronic equipment can not also enable processor, by being used to drive in electronic equipment The driving chip that dynamic screen is shown to determine that corresponding second puts out screen state according to status information.In the present embodiment, electronics Equipment can select driving chip to carry out alternative processor realization and determine the corresponding second operation for putting out screen state according to status information. Since driving chip and processor can be completed to determine the corresponding second operation for putting out screen state according to status information, and in electronics When equipment puts out screen, processor needs are waken up executes aforesaid operations again, and driving chip can directly execute aforesaid operations.It is identical In the case of, it is lower using the power consumption of driving chip, so that the decline of the overall power of electronic equipment.
Step 230, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen State.
In the embodiment of the present application, electronic equipment, which will compare first and put out screen state and second, puts out screen state, puts out screen when first When state puts out screen state difference with second, the state of screen is adjusted to second and puts out screen state.
For example, to put out screen state be black state when first, and second to put out screen state be electronics when putting out screen clock display state The state of screen is adjusted to put out screen clock display state by equipment.
To put out screen state be to put out screen clock display state, and second when to put out screen state be black state when first, electronic equipment The state of screen is adjusted to black state.
Correspondingly, as another executive mode arranged side by side with step 230, electronic equipment determine first put out screen state and Second put out screen state it is identical when, electronic equipment will not adjust, and maintain electronic equipment to be in current and put out screen state.
In conclusion the present embodiment bright screen state and puts out screen state by the way that the state of the screen of electronic equipment to be divided into, when First when putting out screen state when the state of screen, obtains the status information of electronic equipment, determines corresponding second according to status information Screen state is put out, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen state.Its In, status information is used to indicate state of the electronic equipment in time and/or space.Due to electronic equipment can according to itself Such as at least one of current geographical location, system time and kinematic parameter state parameter, determine that corresponding second puts out screen shape State, electronic equipment it is current first put out screen state and put out screen state difference with above-mentioned second when, the screen of electronic equipment is adjusted Screen state is put out to second, the state of the screen of electronic equipment and the matching of electronic equipment oneself state is improved, improves electricity Sub- equipment shows the efficiency for putting out screen clock, reduces electronic equipment for showing the overall power for putting out screen clock.
Based on scheme disclosed in upper one embodiment, electronic equipment can also include that electronic equipment is current in status information Kinematic parameter when, accordingly according to status information, determine the corresponding second operation for putting out screen state, with realize set according to electronics Standby motion conditions adjust the effect for putting out screen clock of electronic equipment, please refer to following examples.
Fig. 3 is referred to, is the control method flow chart for putting out screen clock that another exemplary embodiment of the application provides. The control method for putting out screen clock can be applied in the electronic equipment shown in above-mentioned.In Fig. 3, this puts out the controlling party of screen clock Method includes:
Step 310, when the state of screen be first put out screen state when, obtain the current kinematic parameter of electronic equipment.
In the embodiment of the present application, electronic equipment can the state of screen be first put out screen state when, obtain electronics set Standby current kinematic parameter.In one possible implementation, electronic equipment can start a service to realize monitor screen The state of curtain, in the state of screen, first when putting out screen state, and the current fortune of electronic equipment will be obtained by similarly servicing Dynamic parameter, or, enabling other services to obtain the current kinematic parameter of electronic equipment.
In a kind of possible mode, the current kinematic parameter of electronic equipment is obtained, electronic equipment can be adjusted by service Interface is obtained with specified kinematic parameter, to obtain corresponding kinematic parameter.
It should be noted that kinematic parameter may include in speed, acceleration, angular speed, angular acceleration and average speed At least one physical quantity.In one possible implementation, electronic equipment can pass through gyroscope and/or acceleration transducer (English: G-sensor) obtains kinematic parameter.
That is, electronic equipment obtains kinematic parameter by acceleration transducer in a kind of possible mode.In another kind In possible mode, electronic equipment obtains kinematic parameter by gyroscope.In another possible mode, electronic equipment knot Resultant acceleration sensor and gyroscope obtain kinematic parameter, and in the method for the acquisition kinematic parameter, electronic equipment can make One in above-mentioned two device is used as main sampler, uses another as assisted acquisition device, passes through default adjustment and calculates Method adjusts the kinematic parameter of main sampler acquisition using the kinematic parameter that assisted acquisition device acquires, be subject to acquisition compared with True kinematic parameter.
Step 320, the kinematic parameter current according to electronic equipment, determines corresponding movement state information.
In the embodiment of the present application, movement state information is used to indicate the motion state for having specified kinematic parameter.It should Specified kinematic parameter is a parameter, alternatively, one group of parameter.When the kinematic parameter is a parameter, which is needed Meet specified motion model.When the kinematic parameter is one group of parameter, each of this group of kinematic parameter kinematic parameter, It requires to meet specified motion model.
In a kind of possible mode, electronic equipment can determine corresponding movement by the kinematic parameter of instantaneous state State.In the manner, electronic equipment obtains the kinematic parameter of sampling instant, and by preset corresponding relationship, determining should The corresponding motion state of kinematic parameter.
In alternatively possible mode, electronic equipment determines corresponding movement by the kinematic parameter in a period of time State.In the manner, electronic equipment obtains the kinematic parameter in a period of time.If the kinematic parameter in this time, Meet the variation tendency of the kinematic parameter in motion model, then the corresponding motion state of the motion model is determined as electronic equipment Motion state.It should be noted that this time, can also be referred to as sampling time section.
Step 330, according to movement state information, determine that corresponding second puts out screen state.
In the present embodiment, electronic equipment determines that corresponding second puts out screen state according to movement state information.Wherein, electric Sub- equipment can find according to preset mapping relations, according to movement state information and determine that corresponding second puts out screen state.It needs Illustrate, a kind of movement state information is used to indicate a kind of motion state.In a kind of possible mode, in electronic equipment Preset motion state is 4 kinds, and preset mapping relations may refer to data shown in table one.
Table one
According to the mapping relations that table one provides, electronic equipment can obtain corresponding second and put out screen shape according to motion state State.Based on the preset mapping relations that table one provides, electronic equipment in the present embodiment can realize the in corresponding state Two put out the determination of screen state.
(1) in the mode that the determination motion state of a kind of possible realization corresponding second puts out screen state, electronic equipment Motion state be stationary state.In this state, black state is determined as corresponding according to stationary state by electronic equipment Two put out screen state.It should be noted that it may include at least two scenes that electronic equipment, which remains static,.
In a kind of scene, electronic equipment determines that electronic equipment remains static by instantaneous parameters.For example, electronics is set The standby kinematic parameter for obtaining sampling instant.It is when the kinematic parameter instruction electronic equipment of the sampling instant remains static, then electric Sub- equipment determines that motion state is stationary state.
In another scene, electronic equipment determines that electronic equipment remains static by the parameter in a period of time. For example, it is by the kinematic parameter in section that electronic equipment, which obtains sampling,.When the kinematic parameter in this section of sampling time section indicates electronics Equipment remains static, then stationary state when electronic equipment determines motion state.For example, electronic equipment can be by 1 second, 2 seconds Or the period of the specified duration such as 5 seconds is determined as sampling time section.State, electronics are remain stationary in specified ability sampling time section The motion state of determination itself is stationary state by equipment.
(2) in the mode that the determination motion state of alternatively possible realization corresponding second puts out screen state, electronics is set Standby motion state is that walking is servo-actuated state.In this state, electronic equipment is servo-actuated state according to walking, and black state is determined Screen state is put out for corresponding second.
It is that walking is servo-actuated in the mode of state in a kind of determining motion state, electronic equipment can pass through preset gait point Algorithm is analysed to determine whether electronic equipment is in the state with user's walking movement.That is, the walking is servo-actuated state for referring to Show that electronic equipment is in the state with user's walking movement.
In a kind of possible gait analysis algorithm, which possesses a walking movement model, which can be with By the ginseng of at least one dimension in vertical direction speed, horizontal direction speed, vertical direction acceleration and horizontal direction acceleration Number is constituted.When the current kinematic parameter of electronic equipment meets the walking movement model, the motion state of electronic equipment is determined State is servo-actuated for walking.
For example, when user carries electronic equipment, for example, electronic equipment is packed into pocket or knapsack, Huo Zhechi by user Be held in the hand, be perhaps suspended on perhaps tie up processor when on arm in electronic equipment or driving chip can It determines whether electronic equipment is in walking and is servo-actuated state by gait analysis algorithm, is servo-actuated state when electronic equipment is in walking When, electronic equipment puts out screen state for second and is determined as black state.
As a kind of optional scheme, electronic equipment can be when determining motion state be that walking is servo-actuated state, according to light Bright parameter determines that second puts out screen state.When bright parameter is no more than the first bright threshold value, electronic equipment puts out screen state for second It is determined as black state.When bright parameter is greater than the first bright threshold value, terminal puts out screen state for second and is determined as putting out screen clock Display state.In this scene, electronic equipment can follow user to walk about and in the pocket or when in knapsack, by blank screen shape State is determined as second and puts out screen state;Screen clock display can will be put out when following user to walk about and being in the state of user's grip State is determined as second and puts out screen state.
It should be noted that the numerical value unit of bright parameter and the first bright threshold value can be candela, it is abbreviated as cd.
(3) in the mode that the determination motion state of another possible realization corresponding second puts out screen state, electronics is set Standby motion state is that lift wrist is servo-actuated state.In this state, electronic equipment will be servo-actuated state according to lift wrist, will put out screen clock and show Show that state is determined as corresponding second and puts out screen state.
Judge that motion state is in walking and is servo-actuated state similar to electronic equipment, judges whether itself is in electronic equipment Lift wrist be servo-actuated state when, electronic equipment can by preset lift wrist motion analysis algorithm, determine electronic equipment whether be in User hand lift.
In the possible lift wrist motion analysis algorithm of one kind, which possesses a lift wrist motion model, the lift wrist motion model It can be by least one dimension in vertical direction speed, horizontal direction speed, vertical direction acceleration and horizontal direction acceleration Parameter constitute.When the current kinematic parameter of electronic equipment meets the lift wrist motion model, by the motion state of electronic equipment It is determined as lifting the servo-actuated state of wrist.
For example, electronic equipment is taken from the place that pocket, knapsack or desktop etc. were originally placed when user holds electronic equipment When rising, electronic equipment will lift together with the wrist of user.At this point, the processor or driving chip in electronic equipment can It determines whether electronic equipment is in lift wrist and is servo-actuated state by lifting wrist motion analysis algorithm, is servo-actuated shape when electronic equipment is in lift wrist When state, electronic equipment puts out screen state for second and is determined as putting out screen clock display state.
(4) in the mode that the determination motion state of alternatively possible realization corresponding second puts out screen state, electronics is set Standby motion state is touching state.In this state, electronic equipment it is true will will to put out screen clock display state according to touching state It is set to corresponding second and puts out screen state.
In a kind of mode that determining motion state is touching state, electronic equipment can be by calling corresponding sensor Component realizes kinematic parameter, and then judges whether the motion state of electronic equipment is touching state.In the present embodiment, electronics Equipment can be embodied as several optional implementation according to the difference of the sensor module of selection.
It is a kind of it is possible sensor module determine second put out screen state by way of in, electronic equipment selects gyroscope As the sensor module for obtaining kinematic parameter, when the collected kinematic parameter of gyroscope, indicate that electronic equipment is in static shape Touch action is received under state, then electronic equipment will put out screen clock display state and be determined as corresponding second and put out screen state.
It is alternatively possible sensor module determine second put out screen state by way of in, electronic equipment select accelerate Sensor is spent as the sensor module for obtaining kinematic parameter, when the kinematic parameter that acceleration transducer collection arrives, indicates that electronics is set Standby is to receive touch action under static state, then electronic equipment, which will put out screen clock display state and be determined as corresponding second, puts out Screen state.
Optionally, electronic equipment can also acquire kinematic parameter using acceleration transducer and gyroscope simultaneously.It will accelerate Sensor is spent as main sampler, using gyroscope as assisted acquisition device.Alternatively, being adopted acceleration transducer as auxiliary Collect device, using gyroscope as main sampler.
It should be noted that when electronic equipment selects at least one of acceleration transducer and gyroscope sensor module When acquiring kinematic parameter, electronic equipment can without dead angle monitor the actual touching state of electronic equipment.Since electronic equipment is whole When machine generates movement after being touched in stationary state, the velocity amplitude and acceleration value necessarily led to, and the numerical value can be added At least one of velocity sensor and gyroscope sensor module collect.Therefore, above scheme can be in electronic equipment It when any one part of outer surface is touched, determines that electronic equipment is in touching state, improves determining electronic equipment and be in touching The sensitivity for touching state saves the hardware spending of electronic equipment installation other sensors component.It should be noted that electronics is set Standby outer surface includes but is not limited to shell, screen and camera.
Another it is possible sensor module determine second put out screen state by way of in, electronic equipment select pressure Sensor acquires kinematic parameter.In a kind of mode of possible pressure sensor setting, which can be film shape The sensor of state.Glass cover-plate in screen is covered on the top of the pressure sensor of the film morphology.It is passed in another pressure In the set-up mode of sensor, which be can be set in the specified region of the center of electronic equipment.
Electronic equipment can detect pressure value by pressure sensor, using the pressure value as kinematic parameter, when this When pressure value is more than specified pressure threshold value, the motion state of electronic equipment is determined as touching state.
It should be noted that electronic equipment will acquire electronic equipment and enter the in a kind of mode for judging touching state One, which puts out putting out for screen state, shields the duration.When putting out screen duration not shorter than starting judgment threshold duration, electronic equipment is executed The step of whether motion state is touching state is determined in step 310, step 320 and step 330.For example, putting out the screen duration It is that can be a constant, for example, the time spans such as 5 seconds or 10 seconds.
Step 340, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen State.
In the present embodiment, the executive mode of step 340 and the executive mode of step 230 are identical, and details are not described herein again.
In conclusion the present embodiment can the state of screen be first put out screen state when, according to the movement of electronic equipment Parameter determines movement state information, according to movement state information, determines that corresponding second puts out screen state, when first put out screen state and Second when putting out screen state difference, and the state of screen is adjusted to second and puts out screen state, so that movement of the electronic equipment according to itself Status information determines the correct state that screen currently should be at, i.e., second puts out screen state, is currently at when electronic equipment First puts out screen state when putting out screen state difference with second, and the state of the screen of electronic equipment is adjusted to second and puts out screen state.By This puts out screen clock as it can be seen that the present embodiment can be improved electronic equipment and correctly show with displacement state, improves when putting out screen The display efficiency of clock reduces electronic equipment for showing the power consumption for putting out screen clock.
Method shown in based on the above embodiment, the embodiment of the present application also provide a kind of control method for putting out screen clock, energy Enough when status information includes the current system time of electronic equipment, realizes and determine that corresponding second puts out screen shape according to status information The mode of state, please refers to following examples.
Referring to FIG. 4, it is the process for the control method for putting out screen clock that another exemplary embodiment of the application provides Figure.This method can be using in electronic equipment shown in Fig. 1.In Fig. 4, include the following steps:
Step 410, when the state of screen be first put out screen state when, obtain the current system time of electronic equipment.
In the present embodiment, electronic equipment can obtain the current system time of electronic equipment from moment function.This is System the moment can be stored in a function of state, the storage position of the present embodiment system time not current to electronic equipment and Acquisition modes limit.
Step 421, when system time is in the first preset period of time, determine that second puts out screen state to put out screen clock display shape State.
In the present embodiment, the first preset period of time is will to put out screen state in electronic equipment to be appointed as putting out screen clock display state Period.
In a kind of implementation of first preset period of time, which is one section with specified time length The continuous period on a timeline.
In the implementation of another first preset period of time, which is on a timeline multiple continuous At the time of, be one by it is discrete at the time of form at the time of set.
In the present embodiment, when the current system time of electronic equipment is in the first preset period of time, electronic equipment is determined Second puts out screen state to put out screen clock display state.That is the first preset period of time can be preset when putting out screen in electronic equipment The clock specified display period, when the current system time of electronic equipment, which be in this, puts out that screen clock is specified to show the period, electronics It is to put out screen clock display state that equipment, which puts out screen state for second,.
In a kind of set-up mode of possible first preset period of time, which is provided to user and sets manually It sets.
In the set-up mode of the first alternatively possible preset period of time, it is logical which can be electronic equipment Cross automatic setting.In the automatic plan of establishment, the first default scene period is set the first preset period of time by electronic equipment, this One default scene period included but is not limited to commute early period, lunch period, afternoon tea period and commuting late period.Electronic equipment By sensing data, the daily schedule of schedule information disclosed in electronic equipment and/or electronic equipment by user's authorization is true The fixed first default scene period.
Step 422, when system time is in the second preset period of time, determine that second puts out screen state for black state.
In the present embodiment, the second preset period of time is the period that will be put out screen state in electronic equipment and be appointed as black state. The similar setting with the first preset period of time, the second preset period of time either include several discrete at the time of points at the time of collection It closes.Second preset period of time is also possible to one section of continuous period on a timeline.
In a kind of set-up mode of possible second preset period of time, which is provided to user and sets manually It sets.
In the set-up mode of the second alternatively possible preset period of time, it is logical which can be electronic equipment Cross automatic setting.In the automatic plan of establishment, the second default scene period is set the second preset period of time by electronic equipment, this Two default scene periods included but is not limited to, lunch break period, the office period in the morning office period in the afternoon and were in the rest period.Electricity Sub- equipment passes through the work and rest of user's authorization by schedule information disclosed in sensing data, electronic equipment and/or electronic equipment Time determined for the second default scene period.
Step 430, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen State.
In the present embodiment, the executive mode of step 430 and the executive mode of step 230 are identical, and details are not described herein again.
In conclusion the control method provided in this embodiment for putting out screen clock, can obtain electronic equipment it is current be It unites after the moment, determines that the period where the system time determines that second puts out screen when the system time is in the first preset period of time State is to put out screen clock display state;When the system time is in the second preset period of time, determine that second puts out screen state for blank screen The state of the screen of electronic equipment is adjusted to second and puts out screen by state when first puts out screen state and put out screen state difference with second State improves the ability that screen clock adaptation set period is shown of putting out.
Optionally, the present embodiment can also by electronic equipment intelligent decision electronic equipment the first default scene period and/ Or second the default scene period determine that second puts out when the current system time of electronic equipment was in for the first default scene period Screen state is to put out screen clock display state;When the current system time of electronic equipment was in for the second default scene period, determine Second puts out screen state for black state, when first puts out screen state and put out screen state difference with second, by the screen of electronic equipment State is adjusted to second and puts out screen state, and electronic equipment intelligently may be checked frequently in user and put out the period for shielding clock It remains and puts out screen clock display state, check that the period for putting out screen clock remains black state in the lower possibility of user.Compared with Big possibility meets under the premise of user frequently uses the function of putting out screen clock, saves lower may check of user and puts out screen clock When show this put out screen clock bring energy consumption waste, improve put out screen clock display efficiency.
In another possible control method for putting out screen clock provided by the present application, electronic equipment can go according to subscribing Journey determines the first preset period of time, puts out screen clock according to the function of the reservation stroke intelligent display in electronic equipment to realize, asks Embodiment shown in Figure 5.
Fig. 5 is referred to, is a kind of flow chart of the control method for putting out screen clock provided based on Fig. 4 embodiment, the party Method can be applied in electronic equipment as shown in Figure 1.In Fig. 5, this method comprises:
Step 510, when the state of screen be first put out screen state when, obtain the current system time of electronic equipment.
In the present embodiment, the executive mode of step 510 and the executive mode of step 410 are identical, and details are not described herein again.
Step 521a, according to the reservation stroke at the beginning of determine first preset period of time.
In the present embodiment, the finish time of the first preset period of time be not later than subscribe stroke at the beginning of.
Step 521b obtains the reservation stroke in the electronic equipment when system time is in the first preset period of time.
In the present embodiment, stroke is subscribed to be used to indicate in the following stroke carried out relative to the system time.? In a kind of implementation, subscribing stroke can be the stroke that electronic equipment is determined according to the travel information obtained after authorization.For example, Electronic equipment from short message, application of calling a taxi, ticketing service application, travelling application or purchase by group using etc. acquisitions subscribe stroke.The reservation row The period that journey is occurred is the future relative to system time.For example, system time is the A moment, subscribe that stroke started when Quarter is the B moment, then at the time of the B moment is the future relative to the A moment.
Step 530, when system time is in the first preset period of time, determine that second puts out screen state to put out screen clock display shape State.
In the embodiment of the present application, the executive mode of step 530 and the executive mode of step 421 are identical, no longer superfluous herein It states.
Step 540, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen State.
In the embodiment of the present application, the executive mode of step 540 and the executive mode of step 230 are identical, no longer superfluous herein It states.
In the embodiment of the present application, for the setting of the first preset period of time, since electronic equipment is in the first preset period of time, The state of screen is determined as to put out screen clock display state.Therefore, the first preset period of time inner electronic equipment needs are putting out screen shape It is continuously display when state to put out screen clock, stroke is subscribed to prompt user to execute, does not delay the reservation stroke.Therefore the application is by first The finish time of preset period of time is set as at the beginning of being not later than reservation stroke, realizes the system for reminding user current in time The effect at moment saves user before the start-up time for subscribing stroke, and frequent active operation electronic equipment is to check the time Operation improves and puts out the efficiency that screen clock is shown with stroke is subscribed.
In one possible implementation, on the basis of electronic equipment can be with embodiment shown in Fig. 5, the electronics of acquisition The current geographical location of equipment, by the geographical location as a part of status information.In this scene, electronic equipment can be When system time is in the first preset period of time, following proposal is executed, details please refer to Fig. 6.
Fig. 6 is please referred to, it illustrates the control methods that screen clock is put out based on another kind provided by embodiment illustrated in fig. 5 Flow chart.Fig. 6 can be applied in electronic equipment as shown in Figure 1.In Fig. 6, method includes:
Step 610, when the state of screen be first put out screen state when, obtain the current system time of electronic equipment.
In the present embodiment, the executive mode of step 610 and the executive mode of step 410 are identical, and details are not described herein again.
Step 620, according to subscribe stroke at the beginning of determine the first preset period of time.
In the present embodiment, the executive mode of step 620 is identical with the executive mode of step 521a, and details are not described herein again.
Step 630, when system time is in the first preset period of time, the reservation stroke in electronic equipment is obtained.
In the present embodiment, the executive mode of step 630 is identical with the executive mode of step 521b, and details are not described herein again.
Step 640, when system time is in the first preset period of time, the current geographical location of electronic equipment is determined.
In the present embodiment, electronic equipment can determine that electronic equipment is worked as when system time is in the first preset period of time Preceding geographical location.
In a kind of determination method in possible geographical location, electronic equipment can determine electronics by navigational satellite system The current geographical location of equipment.Navigational satellite system includes but is not limited to Beidou satellite navigation pilot system (English: Beidou Satellite Navigation Test System), global positioning system (English: Global Positioning System, referred to as: GPS) and GLONASS navigational satellite system (English: Global Navigation Satellite At least one of System).
In the determination method in alternatively possible geographical location, electronic equipment can pass through the company of WLAN around Situation is connect to be positioned.It should be noted that connection is used to indicate the letter of electronic equipment access surrounding WLAN Number intensity and WLAN such as indicate at the information.Optionally, the corresponding information of above-mentioned connection can be WLAN and refer to Line.
In the determination method in alternatively possible geographical location, electronic equipment can be received by electronic equipment Reconnaissance on map operates the geographical location for determining that electronic equipment is current.For example, electronic equipment shows map application, in user circle Map reconnaissance operation is received on face, and map reconnaissance is operated into corresponding geographical location and is determined as the current geographical position of electronic equipment It sets.
Step 650, when the current geographical location of electronic equipment is to subscribe the corresponding target location of stroke, determine that second puts out Screen state is to put out screen clock display state.
In the present embodiment, target location include parking lot, automobile stop point, bus stop, subway station, railway station, At least one of airport, harbour, ferry, cinema rest area, gymnasium auditorium and theater rest area
Electronic equipment will be determined when determining the current geographical location of electronic equipment is to subscribe the corresponding target location of stroke Second puts out screen state to put out screen clock display state.It should be noted that the target location can be done when subscribing stroke difference It is corresponding to change.
When subscribing stroke is driving stroke, target location can be parking lot.
When subscribing stroke is to call a taxi stroke, target location can be automobile stop point.
When subscribing stroke is to multiply public transport stroke, target location can be bus stop.
When subscribing stroke is to take the subway stroke, target location can be subway station.
When subscribing stroke is stroke by train, target location can be railway station.
When subscribing stroke is stroke by air, by plane, target location can be airport.
When subscribing stroke is stroke by ship, target location can be harbour or ferry.
When subscribing stroke is to watch movie stroke, target location can be cinema rest area.
When subscribing stroke is to see concert stroke or see performance stroke, target location can be theater rest area.
When subscribing stroke is to watch the match stroke, target location can be gymnasium auditorium.
In one embodiment provided by the present application, electronic equipment can also include that the electronic equipment is worked as in status information Preceding all side apparatus link informations.Wherein, this week side apparatus link information is used to indicate the electronic equipment and other electronic equipments Between short-distance wireless connection.In this scene, electronic equipment can indicate electronics in this week side apparatus link information When equipment and automobile establish connection, the current geographical location of electronic equipment is obtained.It should be noted that electronic equipment is built with automobile Vertical connection can refer to that electronic equipment establishes connection by short-distance wireless interconnection technique and fixed vehicle-mounted computer in the car. When the position of electronic equipment is in target location, electronic equipment determines that second puts out screen state to put out screen clock display state.
For example, the present embodiment can stop vehicle in the scene got on the bus to other users such as target locations in user, electricity is enabled Sub- equipment is continuously display to put out screen clock in putting out screen state, when avoiding user and waiting other passengers in the car, frequent starting Mobile phone checks the time, improve put out screen clock et al. display efficiency in scene.
Step 660, when first, which puts out screen state, puts out screen state difference with second, the state of screen is adjusted to second and puts out screen State.
In the present embodiment, the implementation procedure of step 660 and the implementation procedure of step 230 are identical, and details are not described herein again.
It should be noted that the embodiment of the present application can also by above-mentioned Fig. 2 to method shown in fig. 6 according to actual demand into The arbitrary combination of row.For example, status information can be the current geographical position of current system moment, electronic equipment, electronic equipment is worked as Any one information in the current all side apparatus link informations of preceding kinematic parameter and electronic equipment, when the status information includes When corresponding specifying information, electronic equipment can both execute corresponding method operation, and the present embodiment is not construed as limiting this.
In conclusion the method for the control provided in this embodiment for putting out screen clock, can be in electronic equipment and need to hold Continuous display is put out in the first preset period of time of screen clock, determines whether the place that electronic equipment is currently located is that reservation stroke is corresponding Target location illustrates that electronic equipment needs are continuously display and puts out screen clock, so as to user when electronic equipment is in the target location Frequently check the time, it is seen then that the present embodiment can electronic equipment be in wait subscribe stroke start execute target location when, It is continuously display when putting out screen state to put out screen clock, it improves and puts out screen clock based on the display efficiency for subscribing stroke, improve display Effect.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 7, the knot of the control device for putting out screen clock provided it illustrates one exemplary embodiment of the application Structure block diagram.Put out screen clock control device be applied to electronic equipment in, the state of the screen of electronic equipment include bright screen state and Put out screen state, put out screen state include black state and put out screen clock display state.The control device for putting out screen clock can pass through Software, hardware or both be implemented in combination with as electronic equipment all or part of.The device includes:
Obtain module 710, for the state of the screen be first put out screen state when, obtain the shape of the electronic equipment State information, the status information are used to indicate state of the electronic equipment in time and/or space, and described first puts out screen shape State is that the black state or described put out shield clock display state;
Determining module 720, for according to the state information, determining that corresponding second puts out screen state, described second puts out screen State is that the black state or described put out shield clock display state;
Module 730 is adjusted, for when described first puts out screen state and put out screen state difference with described second, by the screen State be adjusted to described second and put out screen state.
In an alternative embodiment, the status information includes the current kinematic parameter of the electronic equipment, described Obtain module 710, for when the state of the screen be described first put out screen state when, obtain the current fortune of the electronic equipment Dynamic parameter;According to the current kinematic parameter of the electronic equipment, determine that corresponding movement state information, the motion state are tools The motion state of the standby specified kinematic parameter;The determining module 720, for determining according to the movement state information Corresponding described second puts out screen state.
In an alternative embodiment, the status information includes that stationary state or walking are servo-actuated state, the determination The black state is determined as corresponding described by module 720 for being servo-actuated state according to the stationary state or the walking Second puts out screen state.
In an alternative embodiment, the movement state information includes that lift wrist is servo-actuated state or touching state, described Determining module 720 determines the screen clock display state of putting out for being servo-actuated state or the touching state according to the lift wrist Screen state is put out for corresponding described second.
In an alternative embodiment, the status information includes the current system time of the electronic equipment, described Determining module 720 is used for when the system time is in the first preset period of time, determines that described second puts out screen state for when putting out screen Clock shows state, first preset period of time be in the electronic equipment by it is described put out screen state and be appointed as the screen clock that puts out show Show the period of state;When the system time is in the second preset period of time, determine described second put out screen state be black state, Second preset period of time is in the electronic equipment by the period put out screen state and be appointed as the black state.
In an alternative embodiment, described device further includes execution module, the execution module, described for obtaining Reservation stroke in electronic equipment, the stroke of subscribing are used to indicate in the following row carried out relative to the system time Journey;First preset period of time, the finish time of first preset period of time are determined at the beginning of according to the reservation stroke It is not later than the start time.
In an alternative embodiment, the status information includes the current geographical location of the electronic equipment, described Determining module 720, for when the system time is in the first preset period of time, determining the current geographical position of the electronic equipment It sets;When the current geographical location of the electronic equipment is the corresponding target location of the reservation stroke, determine that described second puts out Screen state is to put out screen clock display state.
In an alternative embodiment, the status information includes the current all side apparatus connection letter of the electronic equipment Breath, the determining module 720, for indicating that the electronic equipment and automobile establish connection when all side apparatus link informations When, obtain the current geographical location of the electronic equipment;When the current geographical location of the electronic equipment is in the target location When, determine that described second puts out screen state to put out screen clock display state.
In an alternative embodiment, the target location includes parking lot, automobile stop point, bus stop, subway At least one of station, railway station, airport, harbour, ferry, cinema rest area, gymnasium auditorium and theater rest area.
The embodiment of the present application also provides a kind of computer-readable medium, which has at least one Instruction, at least one instruction, which is loaded as the processor and executed, puts out screen clock described in as above each embodiment to realize Control method.
It should be understood that the control device provided by the above embodiment for putting out screen clock is executing the controlling party for putting out screen clock When method, only the example of the division of the above functional modules, in practical application, it can according to need and by above-mentioned function Distribution is completed by different functional modules, i.e., the internal structure of equipment is divided into different functional modules, to complete above retouch The all or part of function of stating.In addition, the control device provided by the above embodiment for putting out screen clock and the control for putting out screen clock Embodiment of the method belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the exemplary embodiments that can be realized of the application, not to limit the application, it is all Within spirit herein and principle, any modification, equivalent replacement, improvement and so on should be included in the protection of the application Within the scope of.

Claims (12)

1. a kind of control method for putting out screen clock, which is characterized in that it is applied in electronic equipment, the screen of the electronic equipment State includes bright screen state and puts out screen state, and the screen state of putting out includes black state and puts out screen clock display state, the side Method includes:
When the state of the screen be first put out screen state when, obtain the status information of the electronic equipment, the status information Be used to indicate state of the electronic equipment in time and/or space, described first put out screen state be the black state or It is described to put out screen clock display state;
According to the state information, determine that corresponding second puts out screen state, described second put out screen state be the black state or It is described to put out screen clock display state;
When described first, which puts out screen state, puts out screen state difference with described second, the state of the screen is adjusted to described second Put out screen state.
2. the method according to claim 1, wherein the status information includes the current fortune of the electronic equipment Dynamic parameter, it is described when the state of the screen be first put out screen state when, obtain the status information of the electronic equipment, comprising:
When the state of the screen be described first put out screen state when, obtain the current kinematic parameter of the electronic equipment;
According to the current kinematic parameter of the electronic equipment, determine that corresponding movement state information, the motion state are that have The motion state of the specified kinematic parameter;
It is described according to the state information, determine that corresponding second puts out screen state, comprising:
According to the movement state information, determine that corresponding described second puts out screen state.
3. according to the method described in claim 2, it is characterized in that, the movement state information include stationary state or walking with Dynamic state, it is described according to the movement state information, determine that corresponding described second puts out screen state, comprising:
It is servo-actuated state according to the stationary state or the walking, the black state is determined as corresponding described second and puts out screen State.
4. according to the method described in claim 2, it is characterized in that, the movement state information includes that lift wrist is servo-actuated state or touching State is touched, it is described according to the movement state information, determine that corresponding described second puts out screen state, comprising:
Be servo-actuated state or the touching state according to the lift wrist, by it is described put out screen clock display state be determined as it is corresponding described Second puts out screen state.
5. the method according to claim 1, wherein the status information include the electronic equipment it is current be Unite the moment, it is described according to the state information, determine that corresponding second puts out screen state, comprising:
When the system time is in the first preset period of time, determine described second put out screen state be put out screen clock display state, First preset period of time be in the electronic equipment by it is described put out screen state be appointed as it is described put out screen clock display state when Section;
When the system time is in the second preset period of time, determine described second put out screen state be black state, described second Preset period of time is in the electronic equipment by the period put out screen state and be appointed as the black state.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Obtain the reservation stroke in the electronic equipment, the reservation stroke be used to indicate relative to the system time not Come the stroke carried out;
First preset period of time, the finish time of first preset period of time are determined at the beginning of according to the reservation stroke It is not later than the start time.
7. according to the method described in claim 6, it is characterized in that, the status information includes the current ground of the electronic equipment Position is managed, it is described when the system time is in the first preset period of time, determine that described second puts out screen state to put out screen clock and showing Show state, comprising:
When the system time is in the first preset period of time, the current geographical location of the electronic equipment is determined;
When the current geographical location of the electronic equipment is the corresponding target location of the reservation stroke, determine that described second puts out Screen state is to put out screen clock display state.
8. the method according to the description of claim 7 is characterized in that the status information further includes that the electronic equipment is current All side apparatus link informations, it is described according to the state information, determine that corresponding second puts out screen state, comprising:
When all side apparatus link informations indicate that the electronic equipment and automobile establish connection, obtains the electronic equipment and work as Preceding geographical location;
When the current geographical location of the electronic equipment is in the target location, determining described second, to put out screen state be when putting out screen Clock shows state.
9. method according to claim 7 or 8, which is characterized in that the target location includes parking lot, automobile stop Point, bus stop, subway station, railway station, airport, harbour, ferry, cinema rest area, gymnasium auditorium and theater are stopped Cease at least one of area.
10. a kind of control device for putting out screen clock, which is characterized in that be applied in electronic equipment, the screen of the electronic equipment State include bright screen state and put out screen state, the screen state of putting out includes black state and puts out screen clock display state, described Device includes:
Obtain module, for the state of the screen be first put out screen state when, obtain the status information of the electronic equipment, The status information is used to indicate state of the electronic equipment in time and/or space, and described first to put out screen state be institute It states black state or described put out shields clock display state;
Determining module determines that corresponding second puts out screen state for according to the state information, and described second to put out screen state be institute It states black state or described put out shields clock display state;
Module is adjusted, for when described first puts out screen state and put out screen state difference with described second, by the state of the screen It is adjusted to described second and puts out screen state.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, is deposited in the memory Contain at least one instruction, described instruction loaded by the processor and executed with realize as claim 1 to weigh 9 it is any as described in Put out screen clock control method.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium State instruction load by processor and is executed with realize as claim 1 to weigh 9 it is any as described in put out shield clock control method.
CN201811296437.9A 2018-11-01 2018-11-01 Control method and device of screen-off clock, electronic equipment and storage medium Active CN109407817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811296437.9A CN109407817B (en) 2018-11-01 2018-11-01 Control method and device of screen-off clock, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811296437.9A CN109407817B (en) 2018-11-01 2018-11-01 Control method and device of screen-off clock, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109407817A true CN109407817A (en) 2019-03-01
CN109407817B CN109407817B (en) 2020-08-04

Family

ID=65471094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811296437.9A Active CN109407817B (en) 2018-11-01 2018-11-01 Control method and device of screen-off clock, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109407817B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275637A (en) * 2019-06-24 2019-09-24 Oppo广东移动通信有限公司 Calibration method, device, storage medium and the electronic equipment of proximity sensor
CN110989882A (en) * 2019-11-28 2020-04-10 维沃移动通信有限公司 Control method, electronic device and computer readable storage medium
CN111356217A (en) * 2020-02-17 2020-06-30 Oppo广东移动通信有限公司 Terminal control method, terminal control device, terminal equipment and storage medium
CN112083905A (en) * 2020-09-16 2020-12-15 青岛海信移动通信技术股份有限公司 Electronic equipment and layer drawing method thereof
CN114449096A (en) * 2020-10-30 2022-05-06 华为技术有限公司 Method and device for adjusting state of breath screen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160104461A1 (en) * 2014-05-22 2016-04-14 Huawei Technologies Co., Ltd. Time display method and apparatus
CN106095473A (en) * 2016-08-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of time display method and device thereof
CN106527896A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Information display method under screen-off state and mobile terminal
CN107608728A (en) * 2017-09-04 2018-01-19 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN107659986A (en) * 2017-09-18 2018-02-02 维沃移动通信有限公司 One kind puts out screen clock control method and mobile terminal
CN107835286A (en) * 2017-10-27 2018-03-23 维沃移动通信有限公司 It is a kind of to prevent from misreading the method locked and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160104461A1 (en) * 2014-05-22 2016-04-14 Huawei Technologies Co., Ltd. Time display method and apparatus
CN106095473A (en) * 2016-08-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of time display method and device thereof
CN106527896A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Information display method under screen-off state and mobile terminal
CN107608728A (en) * 2017-09-04 2018-01-19 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN107659986A (en) * 2017-09-18 2018-02-02 维沃移动通信有限公司 One kind puts out screen clock control method and mobile terminal
CN107835286A (en) * 2017-10-27 2018-03-23 维沃移动通信有限公司 It is a kind of to prevent from misreading the method locked and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275637A (en) * 2019-06-24 2019-09-24 Oppo广东移动通信有限公司 Calibration method, device, storage medium and the electronic equipment of proximity sensor
CN110989882A (en) * 2019-11-28 2020-04-10 维沃移动通信有限公司 Control method, electronic device and computer readable storage medium
CN110989882B (en) * 2019-11-28 2021-04-02 维沃移动通信有限公司 Control method, electronic device and computer readable storage medium
CN111356217A (en) * 2020-02-17 2020-06-30 Oppo广东移动通信有限公司 Terminal control method, terminal control device, terminal equipment and storage medium
CN112083905A (en) * 2020-09-16 2020-12-15 青岛海信移动通信技术股份有限公司 Electronic equipment and layer drawing method thereof
CN114449096A (en) * 2020-10-30 2022-05-06 华为技术有限公司 Method and device for adjusting state of breath screen

Also Published As

Publication number Publication date
CN109407817B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN109407817A (en) Put out control method, device, electronic equipment and the storage medium of screen clock
CN108237918B (en) Vehicle and control method thereof
WO2020244622A1 (en) Notification prompt method, terminal and system
CN112995409B (en) Display method of intelligent communication strategy effective scene, mobile terminal and computer readable storage medium
US20170038740A1 (en) Timeline user interface
CN115033323A (en) Notification display method and electronic equipment
CN107923980A (en) Method and apparatus for providing positional information
CN113779166B (en) Geofence control method and device, storage medium and electronic equipment
WO2022247326A1 (en) Notification display method and apparatus based on scenario
CN109887268B (en) Vehicle scheduling method, device and storage medium
CN108389028A (en) The method, device and mobile terminal of stroke reminding
CN112468653A (en) Schedule reminding method and wearable electronic equipment
KR102598270B1 (en) Method for recognizing of boarding vehicle and electronic device for the same
WO2019196686A1 (en) Methods and systems for time determination in carpool service
CN111459569A (en) Fast traffic method, device, electronic equipment and storage medium
CN115659069A (en) Card punching recommendation method and device and terminal equipment
CN110888947B (en) Service request processing method and system
WO2022022335A1 (en) Method and apparatus for displaying weather information, and electronic device
CN113973153A (en) Display method, graphical interface and related device
EP4404546A1 (en) Method and apparatus for identifying terminal state
CN115409458A (en) Prompting method, graphical user interface and related device
EP4293597A1 (en) Method for prompting travel information, and electronic device
EP4391508A1 (en) Method and apparatus for recognizing state of terminal
CN114997728B (en) Vehicle scheduling method, device, equipment and storage medium
EP4418233A1 (en) Map information display method, electronic device and medium

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