CN113010025A - Method, device, medium, and computer program product for controlling screen-on duration - Google Patents

Method, device, medium, and computer program product for controlling screen-on duration Download PDF

Info

Publication number
CN113010025A
CN113010025A CN202110447804.6A CN202110447804A CN113010025A CN 113010025 A CN113010025 A CN 113010025A CN 202110447804 A CN202110447804 A CN 202110447804A CN 113010025 A CN113010025 A CN 113010025A
Authority
CN
China
Prior art keywords
screen
wearable device
state
duration
wearing
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
CN202110447804.6A
Other languages
Chinese (zh)
Other versions
CN113010025B (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202110447804.6A priority Critical patent/CN113010025B/en
Publication of CN113010025A publication Critical patent/CN113010025A/en
Application granted granted Critical
Publication of CN113010025B publication Critical patent/CN113010025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • 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/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means
    • 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/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B2027/0178Eyeglass type
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Electromagnetism (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method, equipment, medium and computer program product for controlling the screen-on duration, wherein the method for controlling the screen-on duration comprises the following steps: when the wearable device is in the screen-on state, the wearable device is judged to be in the wearing state, the screen-on time duration control information corresponding to the wearable device is determined based on the wearing state, and then the wearable device is controlled to be converted from the screen-on state to the screen-on state based on the screen-on time duration control information. The technical problem that the bright screen power consumption of wearable equipment is high is solved.

Description

Method, device, medium, and computer program product for controlling screen-on duration
Technical Field
The present application relates to the field of intelligent terminal control technologies, and in particular, to a method, device, medium, and computer program product for controlling a screen-on duration.
Background
With the continuous development of the internet, wearable devices are also more and more widely applied. At present, it is a very common method to reduce the power consumption of a wearable device by reducing the screen-on time, and a screen control method of a current wearable device generally controls the wearable device to switch from the screen-on state to the screen-off state according to the pressing operation of a physical key or a screen gesture so as to reduce the screen-on time, but both the pressing operation or the screen gesture need manual operation, and when a user forgets to perform corresponding operation on the wearable device, the wearable device will continue to screen-on for a long time and then screen-off, thereby increasing the power consumption of the wearable device.
Disclosure of Invention
The application mainly aims to provide a method, equipment, a medium and a computer program product for controlling the screen-on duration, and aims to solve the technical problem that wearable equipment in the prior art is high in screen-on power consumption.
In order to achieve the above object, the present application provides a method for controlling a screen-on duration, where the method for controlling a screen-on duration is applied to a device for controlling a screen-on duration, and the method for controlling a screen-on duration includes:
when the wearable equipment is in a bright screen state, judging the wearing state of the wearable equipment;
determining screen-on duration control information corresponding to the wearable device based on the wearing state;
and controlling the wearable equipment to be converted from the screen-on state to the screen-off state based on the screen-on duration control information.
The application still provides a long controlling means when bright screen, long controlling means is virtual device when bright screen, just long controlling means is applied to long controlgear when bright screen, long controlling means includes when bright screen:
the wearable state acquisition module is used for judging the wearable state of the wearable device when the wearable device is in a bright screen state;
the control information determining module is used for determining the screen-on duration control information corresponding to the wearable device based on the wearing state;
and the screen turning-off module is used for controlling the wearable equipment to be converted from the screen turning-off state into the screen turning-off state based on the screen turning-on duration control information.
The application still provides a long controlgear when bright screen, long controlgear is the entity equipment when bright screen, long controlgear includes when bright screen: the method comprises a memory, a processor and a program of the bright screen time length control method stored on the memory and capable of running on the processor, wherein the program of the bright screen time length control method can realize the steps of the bright screen time length control method when being executed by the processor.
The present application further provides a medium, which is a readable storage medium, in which a program for implementing the method for controlling the screen-on duration is stored, and when the program for implementing the method for controlling the screen-on duration is executed by a processor, the steps of the method for controlling the screen-on duration are implemented.
The present application further provides a computer program product comprising a computer program, which when executed by a processor implements the steps of the method for controlling the duration of a bright screen as described above.
Compared with the technical means of controlling the screen to be switched from the screen lightening state to the screen rest state based on manual pressing operation or screen gestures adopted in the prior art, the screen lightening duration control method, the screen lightening duration control device, the medium and the computer program product have the advantages that when the wearable device is in the screen lightening state, the wearable device is judged to be in the wearing state, the screen lightening duration control information corresponding to the wearable device is determined based on the wearing state, namely, the screen lightening duration control information is dynamically adjusted based on the wearing state, the wearable device is controlled to be switched from the screen lightening state to the screen rest state based on the screen lightening duration control information, different wearing states based on the wearable device can be realized, the purpose of automatically screen-resting the wearable device can be realized, and further, the manual operation of a user is not needed, the screen is turned off to wearable equipment automatically, and it is right to have overcome user's subjectivity in prior art wearable equipment presses down the operation or screen gesture control screen turns off the screen, when the user forgets to carry out corresponding operation to wearable equipment, leads to wearable equipment to last bright screen very long period and just can turn off the screen, and then has increased the technical defect of wearable equipment's consumption to wearable equipment's consumption has been reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a first embodiment of a method for controlling a screen-on duration according to the present application;
fig. 2 is a schematic structural diagram of AR glasses in a folded state according to the method for controlling screen-lighting duration provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of AR glasses in an extended state according to the method for controlling a screen-up duration provided in the embodiment of the present application;
FIG. 4 is a flowchart illustrating a second embodiment of the method for controlling the screen-on duration of the present application;
fig. 5 is a schematic structural diagram of a hardware operating environment related to the method for controlling the screen-on duration in the embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In a first embodiment of the method for controlling a screen-on duration, referring to fig. 1, the method for controlling a screen-on duration includes:
step S10, when the wearable device is in a bright screen state, the wearable device is judged to be in a wearing state;
in this embodiment, it should be noted that the screen state and the wearing state of the wearable device are detected in real time, the screen state includes a bright screen state, a screen rest state, and the like, the wearing state at least includes one of a folded state and an unfolded state, where the unfolded state may be a wearing state or a taking-off state.
When the wearable device is in a bright screen state, the wearable device is judged to be in a wearing state, and specifically, detecting whether a wearable device is in a folded state or an unfolded state when the wearable device is in a bright screen state, further acquiring the wearing state of the wearable device, further detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, outputting a pulse signal corresponding to the magnetic field intensity of the magnetic substance, and further, based on the pulse signal, whether the wearing state of the wearable device is a folded state or an unfolded state is judged, and further, the distance between the wearable device and the wearing target is detected through the distance sensor, the motion track of the wearable device is detected through the acceleration sensor, and whether the unfolding state of the wearable device is the taking-off state or the wearing state is judged.
Wherein the wearing state comprises a folded state,
when the wearable device is in the bright screen state, the step of determining the wearing state of the wearable device comprises the following steps:
step S11, detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, and acquiring a pulse signal output by the Hall sensor;
in this embodiment, it should be noted that the magnetic substance may include a magnet, cobalt, nickel, and the like, and both the magnetic substance and the hall sensor are disposed on the wearable device, the Hall sensor can detect the magnetic field intensity of the magnetic substance, the closer the Hall sensor is to the magnetic substance, the stronger the magnetic field intensity detected by the Hall sensor is, in the embodiment of the present application, taking AR glasses as an example, referring to fig. 2, fig. 2 is a schematic structural diagram of the AR glasses related to the screen-up duration control method in the embodiment of the present application when the AR glasses are in a folded state, the Hall sensors can be arranged at two sides of a mirror frame of the wearable device, the magnetic substances can be arranged at one ends of mirror legs of the wearable device far away from the mirror plates, the hall sensor is a sensor for outputting a pulse signal according to the magnetic field strength of the magnetic substance.
Detect through hall sensor set up in the magnetic field intensity of the last magnetic substance of wearable equipment acquires the pulse signal of hall sensor output, specifically, it is right as the user when the folding processing is carried out to wearable equipment, wherein, folding processing includes single-legged folding and both legs are folding etc. also there is at least one hall sensor can detect set up in the magnetic field intensity of the last magnetic substance of wearable equipment, and then through hall sensor detects the change of magnetic field intensity, with the detection a series of magnetic field intensity among the folding processing turn into corresponding pulse signal.
Step S12, judging whether the pulse signal accords with a preset pulse signal;
in this embodiment, it is determined whether the pulse signal matches a preset pulse signal, specifically, when the hall sensor detects the magnetic field strength of the magnetic substance disposed on the wearable device, the hall sensor outputs a corresponding pulse signal according to the magnetic field strength, wherein the amplitude of the pulse signal can be determined by the magnetic field strength, the stronger the magnetic field strength is, the larger the amplitude of the pulse signal output by the Hall sensor is, further based on the pulse signal, judging whether the pulse signal accords with a preset pulse signal, wherein, the preset pulse signal is a pulse signal output by the Hall sensor when the distance between the Hall sensor and the magnetic substance is within a first preset distance threshold value, if the preset pulse signal is consistent with the first preset distance threshold value, and if the wearable state of the wearable device is not in a folded state, judging that the wearable state of the wearable device is not in the folded state.
Step S13, if yes, it is determined that the wearable device is in the folded state.
In this embodiment, specifically, if yes, it is proved that the pulse signal output by the hall sensor conforms to the preset pulse signal, and then it is determined that the wearable device is in the folded state, and if no, it is determined that the wearable device is in the unfolded state.
Wherein the unfolded state includes a wearing state and a taking-off state,
when the wearable device is in the bright screen state, the step of determining the wearing state of the wearable device comprises the following steps:
step S14, detecting the target distance between the wearable device and the wearing target through a distance sensor;
in this embodiment, it should be noted that the distance sensor is disposed on the wearable device, and is a sensor for detecting a distance between the wearable device and the wearable target, taking AR glasses as an example, refer to fig. 3, and fig. 3 is a schematic structural diagram of the AR glasses related to the screen-on duration control method in this embodiment when the AR glasses are in an unfolded state, and the distance sensor may be disposed on a temple of the wearable device.
The method comprises the steps of detecting a target distance between the wearable device and a wearing target through a distance sensor, specifically, detecting the target distance between the wearable device and the wearing target through the distance sensor when the wearing target is detected, measuring a target time of ultrasonic waves or light pulses from emission to reflection of the ultrasonic waves or the light pulses back to the distance sensor by the wearing target through the distance sensor, and calculating a target distance between the wearing target and the distance sensor according to the target time.
Step S15, judging whether the target distance meets a preset distance threshold value;
in this embodiment, it is determined whether the target distance satisfies a preset distance threshold, specifically, a target distance between the wearable device and the wearable target is obtained, and then it is determined whether the target distance is smaller than the preset distance threshold, if so, it is determined that the expansion state of the wearable device is not the removal state, and if not, it is determined that the expansion state of the wearable device is the removal state.
Step S16, if the target distance satisfies the preset distance threshold, determining whether the wearable device is in the on-wearing state or the off-wearing state based on a motion trajectory of the wearable device;
in this embodiment, it should be noted that the motion trajectory is a motion trajectory obtained by performing trajectory detection on the wearable device by using a measurement device, and the measurement device includes at least one of an acceleration sensor, a velocity sensor, or a displacement sensor.
If the target distance meets the preset distance threshold, determining whether the wearable device is in the wearing state or the taking-off state based on the motion trajectory of the wearable device, specifically, if the target distance meets the preset distance threshold, determining whether the motion trajectory of the wearable device meets a preset wearing action condition, if the motion trajectory of the wearable device meets the preset wearing action condition, determining that the wearable device is in the wearing state, and if the motion trajectory of the wearable device does not meet the preset wearing action condition, determining that the wearable device is in the taking-off state, wherein the preset wearing action condition is a condition for determining whether the motion trajectory of the wearable device meets the motion trajectory of wearing the wearable device, for example, determining whether the motion trajectory of the wearable device is consistent with the motion trajectory of wearing the wearable device, or judging whether the goodness of fit between the motion trail of the wearable device and the motion trail of the wearable device worn on the wearable device exceeds a preset goodness of fit threshold value or not.
Step S17, if the target distance does not satisfy the preset distance threshold, determining that the wearable device is in the off-hook state.
In this embodiment, specifically, if the target distance does not satisfy the preset distance threshold, it is directly determined that the wearable device is in the off-hook state.
Wherein the determining whether the wearable device is in the on-state or the off-state based on the motion trajectory of the wearable device comprises:
step A10, detecting the motion track of the wearable device through an acceleration sensor;
in this embodiment, it should be noted that the acceleration sensor is disposed on the wearable device, and is a sensor for detecting a motion trajectory of the wearable device, and taking AR glasses as an example, referring to fig. 2, the acceleration sensor may be disposed at a nose pad of the wearable device.
The method comprises the steps of detecting a motion track of the wearable device through an acceleration sensor, specifically, detecting corresponding acceleration components of the wearable device on each space coordinate axis through the acceleration sensor when the wearable device is worn, wherein the acceleration components comprise an X-axis acceleration component, a Y-axis acceleration component and a Z-axis acceleration component, and further calculating the motion track of the wearable device based on each acceleration component.
Step A20, judging whether the motion trail of the wearable device meets preset wearing action conditions or not based on the motion trail;
in this embodiment, whether the motion trajectory of the wearable device meets a preset wearing motion condition is determined based on the motion trajectory, specifically, acceleration components corresponding to the wearable device on each spatial coordinate axis are detected by an acceleration sensor, the motion trajectory of the wearable device can be calculated according to each acceleration component, and then whether the motion trajectory meets the preset wearing motion condition is determined.
Step A30, if yes, determining that the wearable device is in the wearing state;
step A40, if not, determining that the wearable device is in the off-hook state;
in this embodiment, specifically, if the motion trajectory of the wearable device satisfies a preset wearing motion condition, it is verified that there is a motion of wearing the wearable device, and then it is determined that the wearable device is in the wearing state, and if the motion trajectory of the wearable device does not satisfy the preset wearing motion condition, it is verified that there is no motion of wearing the wearable device, and then it is determined that the wearable device is in the taking-off state.
Step S20, determining the screen-on duration control information corresponding to the wearable device based on the wearing state;
in this embodiment, it should be noted that the screen-on duration control information is a signal for controlling the screen-on duration of the wearable device, and different wearing states correspond to different screen-on duration control information, and the screen-on duration specifically refers to the continuous screen-on duration during which no operation is performed on the wearable device.
Based on wearing state, confirm long control information of bright screen that wearable equipment corresponds, specifically, based on the preset mapping relation between wearing state and the long control information of bright screen, match long control information of bright screen that wearing state corresponds, and then output long control information of bright screen that wearable equipment corresponds, for example, work as when wearing state is fold condition, then output long control information T1 of bright screen that fold condition corresponds, when wearing state is for wearing the state, then output and wear the long control information T2 of bright screen that the state corresponds, when wearing state is for plucking the state, then output and pluck the long control information T3 of bright screen that the state corresponds.
Wherein the screen-on duration control information comprises user-defined screen-on duration control information and default screen-on duration control information,
the step of determining the screen-on duration control information corresponding to the wearable device based on the wearing state comprises:
step S21, judging whether a target instruction for customizing the screen-on duration of the wearable device is received;
step S22, if yes, determining that the wearing state of the wearable device corresponds to the user-defined bright screen duration control information;
in this embodiment, if, it is determined that the wearing state where the wearable device is located corresponds to the user-defined screen-on duration control information, and specifically, if, according to the target instruction, the user-defined screen-on duration corresponding to the wearing state of the wearable device is set, and the user-defined screen-on duration control information corresponding to the user-defined screen-on duration corresponding to the wearing state is generated.
Step S23, if not, determining that the wearing state of the wearable device corresponds to the default bright screen duration control information.
In this embodiment, specifically, if not, it is proved that the wearable device is not customized to set the screen-on duration, and the default screen-on duration control information corresponding to the wearing state of the wearable device is obtained.
And step S30, controlling the wearable equipment to be converted from the screen-on state to the screen-off state based on the screen-on duration control information.
In this embodiment, based on the screen-on duration control information, the wearable device is controlled to be switched from the screen-on state to the screen-off state, specifically, the wearable device is detected in real time by the timer of the wearable device, the duration of any operation on the wearable device is not performed when the wearable device is in the screen-on state, and then whether the duration reaches the control duration corresponding to the screen-on duration control information is judged, if so, the wearable device is controlled to be switched from the screen-on state to the screen-off state, and if not, the wearable device is returned to execute the step of judging the wearing state where the wearable device is located.
The step of controlling the wearable device to be switched from the screen-on state to the screen-off state based on the screen-on duration control information comprises:
step S31, judging whether the duration of the wearable device in the bright screen state meets the control duration corresponding to the bright screen duration control information;
in this embodiment, it is determined whether the duration that the wearable device is in the bright screen state satisfies the control duration corresponding to the bright screen duration control information, specifically, the time at which the wearable device is operated for the last time is taken as a first time, the current time is detected in real time by a system timer of the wearable device, an absolute value of a difference between the current time and the first time is taken as the duration, and it is determined whether the duration satisfies the control duration corresponding to the bright screen duration control information, and if the timer detects that the wearable device is operated during the current time, the step of calculating the duration is restarted.
Step S32, if yes, controlling the wearable device to be converted from the bright screen state to the dark screen state;
and step S33, if not, returning to the step of judging the wearing state of the wearable device.
In this embodiment, specifically, if the wearable device is in the bright screen state, it is proved that the duration of the wearable device in the bright screen state reaches the control duration corresponding to the bright screen duration control information, and the wearable device is controlled to be converted from the bright screen state to the bright screen state, and if the duration of the wearable device in the bright screen state is not met, it is proved that the duration of the wearable device in the bright screen state reaches the control duration corresponding to the bright screen duration control information, and then the step of determining the wearing state of the wearable device is returned to be executed, so that the wearing state of the wearable device is continuously detected.
Compared with the technical means of controlling the screen to be switched from the screen lightening state to the screen extinguishing state based on manual pressing operation or screen gestures adopted in the prior art, the screen lightening time control method has the advantages that the wearing state of the wearable equipment is judged when the wearable equipment is in the screen lightening state, the screen lightening time control information corresponding to the wearable equipment is determined based on the wearing state, namely, the screen lightening time control information is dynamically adjusted based on the wearing state, the wearable equipment is controlled to be switched from the screen lightening state to the screen extinguishing state based on the screen lightening time control information, the purpose of automatically extinguishing the screen of the wearable equipment based on different wearing states of the wearable equipment can be realized, the purpose of automatically extinguishing the screen of the wearable equipment without manual operation of a user is further realized, and the screen of the wearable equipment is automatically extinguished, the technical defect that in the prior art, the screen is controlled to be turned off by pressing the wearable equipment or controlling the screen to be turned off by screen gestures due to subjectivity of a user, when the user forgets to perform corresponding operation on the wearable equipment, the wearable equipment is continuously turned on for a long time, and then the power consumption of the wearable equipment is increased is overcome, and therefore the power consumption of the wearable equipment is reduced.
Further, referring to fig. 4, based on the first embodiment of the present application, in another embodiment of the present application, the wearing state includes a folded state, a taken-off state, and a wearing state, and the step of determining the wearing state of the wearable device includes:
step B10, detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, and acquiring a pulse signal output by the Hall sensor;
in this embodiment, the magnetic field strength of the magnetic substance disposed on the wearable device is detected by the hall sensor, and the pulse signal output by the hall sensor is obtained, specifically, the hall sensor can detect the magnetic field strength of the magnetic substance disposed on the wearable device, and then the change of the magnetic field strength is detected by the hall sensor, and a series of detected magnetic field strengths are converted into corresponding pulse signals, which is substantially the same as step S11 in the first embodiment of the above-mentioned method for controlling the screen-on duration, and is not described herein again.
Step B20, judging whether the pulse signal accords with a preset pulse signal;
in the embodiment, whether the pulse signal conforms to a preset pulse signal is determined, specifically, when the hall sensor detects the magnetic field intensity of the magnetic substance disposed on the wearable device, outputting corresponding pulse signals according to the magnetic field intensity through the Hall sensor, further judging whether the pulse signals accord with preset pulse signals, wherein, the preset pulse signal is a pulse signal output by the Hall sensor when the distance between the Hall sensor and the magnetic substance is within a first preset distance threshold value, if the preset pulse signal is consistent with the first preset distance threshold value, if not, it is determined that the wearable device is not in the folded state, and the specific implementation of step B20 may refer to the specific content in step S12 in the first embodiment of the present application, which is not described herein again.
Step B30, if yes, determining that the wearable device is in the folded state;
step B40, if not, detecting the target distance between the wearable device and the wearable target through a distance sensor, and judging whether the target distance meets a preset distance threshold value;
in this embodiment, specifically, if yes, it is determined that the wearable device is in the folded state, and if not, it is determined that the wearable device is in the unfolded state, and further, a target distance between the wearable device and a wearable target is detected by a distance sensor, and then it is determined whether the target distance meets the preset distance threshold, and specific embodiments of steps B30 to B40 may refer to the contents of steps S13 to S15 in the first embodiment of the present application, which is not described herein again.
Step B50, if the target distance meets a preset distance threshold, judging whether the motion track of the wearable device meets a preset wearing action condition;
in this embodiment, specifically, if the target distance meets a preset distance threshold, it is further determined whether the motion trajectory of the wearable device meets a preset wearing action condition.
Step B60, if the motion trajectory of the wearable device satisfies the preset wearing action condition, determining that the wearing state of the wearable device is the wearing state, and if the motion trajectory of the wearable device does not satisfy the preset wearing action condition, determining that the wearing state of the wearable device is the taking-off state;
in this embodiment, if the motion trajectory of the wearable device satisfies the preset wearing action condition, it is determined that the wearing state of the wearable device is the wearing state, specifically, when the target distance satisfies a preset distance threshold, it is determined whether the motion trajectory of the wearable device satisfies the preset wearing action condition, specifically, an acceleration sensor detects an acceleration component of the wearable device in each spatial coordinate axis, and further, the motion trajectory of the wearable device is calculated based on each acceleration classification, if the motion trajectory of the wearable device satisfies the preset wearing action condition, it is determined that the wearing state of the wearable device is the wearing state, and if the motion trajectory of the wearable device does not satisfy the preset wearing action condition, it is determined that the wearing state of the wearable device is not the wearing state, in other words, the specific implementation of the steps B50 to B60 refers to the specific contents of the steps S16 and the steps a10 to a40 in the first embodiment, and will not be described again.
Step B70, if the target distance does not satisfy the preset distance threshold, determining that the wearable device is in the wearing state as the taking-off state.
In this embodiment, specifically, if the target distance does not satisfy the preset distance threshold, it is proved that the target distance does not satisfy the preset distance threshold, and it is determined that the wearable device is in the off state.
The embodiment of the application provides a wearable state obtaining method, namely, detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, obtaining a pulse signal output by the Hall sensor, further judging whether the pulse signal accords with a preset pulse signal, if so, judging that the wearable device is in a folded state, if not, further detecting the target distance between the wearable device and a wearable target through a distance sensor, judging whether the target distance meets a preset distance threshold value, if not, judging that the wearable device is in a wearing state as the taking-off state, if the target distance meets the preset distance threshold value, further judging whether the motion track of the wearable device meets a preset wearing action condition, if the motion track of the wearable device meets the preset wearing action condition, then judge wearable equipment's wearing state does wear the state, if wearable equipment's motion trajectory is unsatisfied predetermine and wear the action condition, then judge wearable equipment's wearing state does take off the state, also detect simultaneously wearable equipment's fold condition, take off the state and wear the state, and then realize based on wearable equipment's different wearing states, it is right wearable equipment carries out the purpose of automatic screen of coming down, it is right for overcoming user subjectivity wearable equipment presses operation or screen gesture control screen and is felt the screen, when the user forgets to carry out corresponding operation to wearable equipment, leads to wearable equipment to last bright screen very long time just can the screen of coming down, and then has increased the technical defect of wearable equipment's consumption's technical defect and has established the basis.
Referring to fig. 5, fig. 5 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 5, the bright screen time period control apparatus may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the on-screen duration control device may further include a rectangular user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. The rectangular user interface may comprise a Display screen (Display), an input sub-module such as a Keyboard (Keyboard), and the optional rectangular user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
It will be understood by those skilled in the art that the structure of the lighting period controlling apparatus shown in fig. 5 does not constitute a limitation of the lighting period controlling apparatus, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 5, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, and a screen-on duration control program therein. The operating system is a program for managing and controlling hardware and software resources of the screen-on duration control device, and supports the operation of the screen-on duration control program and other software and/or programs. The network communication module is used for realizing communication among the components in the memory 1005 and communication with other hardware and software in the bright screen time control system.
In the screen-up period control apparatus shown in fig. 5, the processor 1001 is configured to execute the screen-up period control program stored in the memory 1005, and implement the steps of any one of the above-described screen-up period control methods.
The specific implementation of the screen-on duration control device of the present application is substantially the same as that of each embodiment of the screen-on duration control method, and is not described herein again.
The embodiment of the present application still provides a long controlling means of bright screen, long controlling means of bright screen is applied to long controlgear of bright screen, long controlling means includes during bright screen:
the wearable state acquisition module is used for judging the wearable state of the wearable device when the wearable device is in a bright screen state;
the control information determining module is used for determining the screen-on duration control information corresponding to the wearable device based on the wearing state;
and the screen turning-off module is used for controlling the wearable equipment to be converted from the screen turning-off state into the screen turning-off state based on the screen turning-on duration control information.
Optionally, the wearing state obtaining module is further configured to:
the step of determining the wearing state of the wearable device comprises:
detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, and acquiring a pulse signal output by the Hall sensor;
judging whether the pulse signal accords with a preset pulse signal or not;
if yes, the wearable device is judged to be in the folded state.
Optionally, the wearing state obtaining module is further configured to:
the step of determining the wearing state of the wearable device comprises:
detecting a target distance between the wearable device and a wearing target through a distance sensor;
judging whether the target distance meets a preset distance threshold value or not;
if the target distance meets the preset distance threshold, determining whether the wearable device is in the wearing state or the taking-off state based on a motion track of the wearable device;
and if the target distance does not meet the preset distance threshold, determining that the wearable device is in the off-hook state.
Optionally, the wearing state obtaining module is further configured to:
detecting a motion track of the wearable device through an acceleration sensor;
judging whether the motion trail of the wearable equipment meets a preset wearing action condition or not based on the motion trail;
if the motion trail of the wearable device meets a preset wearing action condition, determining that the wearable device is in the wearing state, and if the motion trail of the wearable device does not meet the preset wearing action condition, determining that the wearing state of the wearable device is the taking-off state;
and if the target distance does not meet a preset distance threshold, determining that the wearable device is in the off-hook state.
Optionally, the control information determining module is further configured to:
judging whether a target instruction for customizing the screen-on duration of the wearable equipment is received;
if so, judging the user-defined screen-on duration control information corresponding to the wearing state of the wearable device;
and if not, judging the default screen-on duration control information corresponding to the wearing state of the wearable device.
Optionally, the breath screen module is further configured to:
judging whether the duration of the wearable device in the screen-on state meets the control duration corresponding to the screen-on duration control information;
if so, controlling the wearable equipment to be converted from the screen-on state to the screen-off state;
and if not, returning to the step of judging the wearing state of the wearable equipment.
Optionally, the screen-on duration control device is further configured to:
detecting a motion track of the wearable device through an acceleration sensor;
judging whether the motion trail of the wearable equipment meets a preset wearing action condition or not based on the motion trail;
if yes, determining that the wearable device is in the wearing state;
if not, determining that the wearable device is in the off-state.
Optionally, the screen-on duration control device is further configured to:
detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, and acquiring a pulse signal output by the Hall sensor;
judging whether the pulse signal accords with a preset pulse signal or not;
if yes, determining that the wearable device is in the folded state;
if not, detecting the target distance between the wearable device and the wearable target through a distance sensor, and judging whether the target distance meets a preset distance threshold value;
if the target distance meets a preset distance threshold, judging whether the motion track of the wearable equipment meets a preset wearing action condition;
if the motion trail of the wearable device meets the preset wearing action condition, determining that the wearing state of the wearable device is the wearing state, and if the motion trail of the wearable device does not meet the preset wearing action condition, determining that the wearing state of the wearable device is the taking-off state;
and if the target distance does not meet a preset distance threshold, determining that the wearing state of the wearable device is the taking-off state.
The specific implementation of the screen-on duration control device of the present application is substantially the same as that of each embodiment of the screen-on duration control method, and is not described herein again.
The present application provides a medium, which is a readable storage medium, and the readable storage medium stores one or more programs, and the one or more programs are further executable by one or more processors for implementing the steps of the method for controlling the screen-lighting duration described in any one of the above.
The specific implementation manner of the readable storage medium of the present application is substantially the same as that of each embodiment of the above-mentioned screen-on duration control method, and is not described herein again.
The embodiment of the present application provides a computer program product, and the computer program product includes one or more computer programs, which are also executable by one or more processors for implementing the steps of the method for controlling the screen-lighting duration described in any one of the above.
The specific implementation manner of the computer program product of the present application is substantially the same as that of each embodiment of the above-mentioned bright screen duration control method, and is not described herein again.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A method for controlling the screen-on duration is characterized by comprising the following steps:
when the wearable equipment is in a bright screen state, judging the wearing state of the wearable equipment;
determining screen-on duration control information corresponding to the wearable device based on the wearing state;
and controlling the wearable equipment to be converted from the screen-on state to the screen-off state based on the screen-on duration control information.
2. The screen-lighting duration control method according to claim 1, wherein the wearing state includes a folded state,
the step of determining the wearing state of the wearable device comprises:
detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, and acquiring a pulse signal output by the Hall sensor;
judging whether the pulse signal accords with a preset pulse signal or not;
if yes, the wearable device is judged to be in the folded state.
3. The screen-up duration control method according to claim 1, wherein the wearing state includes a wearing state and a taking-off state,
the step of determining the wearing state of the wearable device comprises:
detecting a target distance between the wearable device and a wearing target through a distance sensor;
judging whether the target distance meets a preset distance threshold value or not;
if the target distance meets the preset distance threshold, determining whether the wearable device is in the wearing state or the taking-off state based on a motion track of the wearable device;
and if the target distance does not meet the preset distance threshold, determining that the wearable device is in the off-hook state.
4. The screen-on duration control method according to claim 3, wherein the step of determining whether the wearable device is in the on-wearing state or the off-wearing state based on the motion trajectory of the wearable device comprises:
detecting a motion track of the wearable device through an acceleration sensor;
judging whether the motion trail of the wearable equipment meets a preset wearing action condition or not based on the motion trail;
if yes, determining that the wearable device is in the wearing state;
if not, determining that the wearable device is in the off-state.
5. The screen-on duration control method according to claim 1, wherein the screen-on duration control information includes custom screen-on duration control information and default screen-on duration control information,
the step of determining the screen-on duration control information corresponding to the wearable device based on the wearing state comprises:
judging whether a target instruction for customizing the screen-on duration of the wearable equipment is received;
if yes, determining that the wearing state of the wearable equipment corresponds to the user-defined screen-on duration control information;
if not, determining that the wearing state of the wearable equipment corresponds to the default screen-on duration control information.
6. The method for controlling the screen-on duration as claimed in claim 1, wherein the step of controlling the wearable device to switch from the screen-on state to the screen-off state based on the screen-on duration control information comprises:
judging whether the duration of the wearable device in the screen-on state meets the control duration corresponding to the screen-on duration control information;
if so, controlling the wearable equipment to be converted from the screen-on state to the screen-off state;
and if not, returning to the step of judging the wearing state of the wearable equipment.
7. The screen-up duration control method according to claim 1, wherein the wearing state includes a folded state, a taken-off state, and a put-on state,
the step of determining the wearing state of the wearable device comprises:
detecting the magnetic field intensity of a magnetic substance arranged on the wearable device through a Hall sensor, and acquiring a pulse signal output by the Hall sensor;
judging whether the pulse signal accords with a preset pulse signal or not;
if yes, determining that the wearable device is in the folded state;
if not, detecting the target distance between the wearable device and the wearable target through a distance sensor, and judging whether the target distance meets a preset distance threshold value;
if the target distance meets a preset distance threshold, judging whether the motion track of the wearable equipment meets a preset wearing action condition;
if the motion trail of the wearable device meets the preset wearing action condition, determining that the wearing state of the wearable device is the wearing state, and if the motion trail of the wearable device does not meet the preset wearing action condition, determining that the wearing state of the wearable device is the taking-off state;
and if the target distance does not meet a preset distance threshold, determining that the wearing state of the wearable device is the taking-off state.
8. The screen-lighting time period control device is characterized by comprising: a memory, a processor, and a program stored on the memory for implementing the bright screen duration control method,
the memory is used for storing a program for realizing the method for controlling the screen-on duration;
the processor is configured to execute a program implementing the method for controlling the screen-on duration to implement the steps of the method for controlling the screen-on duration as recited in any one of claims 1 to 7.
9. A medium which is a readable storage medium, characterized in that the readable storage medium has stored thereon a program for implementing the method for controlling a lighting period, the program being executed by a processor to implement the steps of the method for controlling a lighting period according to any one of claims 1 to 7.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the steps of the method for controlling the duration of a bright screen according to any one of claims 1 to 7.
CN202110447804.6A 2021-04-25 2021-04-25 Method, device, medium and computer program product for controlling bright screen duration Active CN113010025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110447804.6A CN113010025B (en) 2021-04-25 2021-04-25 Method, device, medium and computer program product for controlling bright screen duration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110447804.6A CN113010025B (en) 2021-04-25 2021-04-25 Method, device, medium and computer program product for controlling bright screen duration

Publications (2)

Publication Number Publication Date
CN113010025A true CN113010025A (en) 2021-06-22
CN113010025B CN113010025B (en) 2023-06-09

Family

ID=76389205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110447804.6A Active CN113010025B (en) 2021-04-25 2021-04-25 Method, device, medium and computer program product for controlling bright screen duration

Country Status (1)

Country Link
CN (1) CN113010025B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018018415A1 (en) * 2016-07-26 2018-02-01 华为技术有限公司 Method for determining wearing state of wearable device and wearable device
CN107817891A (en) * 2017-11-13 2018-03-20 广东欧珀移动通信有限公司 Screen control method, device, equipment and storage medium
CN109117071A (en) * 2018-07-16 2019-01-01 华为技术有限公司 A kind of control method for screen display and device
CN109343656A (en) * 2018-09-13 2019-02-15 Oppo(重庆)智能科技有限公司 Electronic equipment
CN110070812A (en) * 2019-04-12 2019-07-30 华为技术有限公司 Wear electronic equipment and its control method
CN110087292A (en) * 2019-04-28 2019-08-02 努比亚技术有限公司 Intelligent wearable device, energy-saving control method and computer readable storage medium
CN110413134A (en) * 2018-04-26 2019-11-05 Oppo广东移动通信有限公司 Wearing state detection method and relevant device
CN112018843A (en) * 2020-08-20 2020-12-01 Oppo广东移动通信有限公司 Wearable equipment, place box and wearable equipment subassembly
CN212181165U (en) * 2020-05-09 2020-12-18 联想(北京)有限公司 Head-mounted device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018018415A1 (en) * 2016-07-26 2018-02-01 华为技术有限公司 Method for determining wearing state of wearable device and wearable device
CN108351668A (en) * 2016-07-26 2018-07-31 华为技术有限公司 A kind of the wearing state determination method and wearable device of wearable device
CN107817891A (en) * 2017-11-13 2018-03-20 广东欧珀移动通信有限公司 Screen control method, device, equipment and storage medium
CN110413134A (en) * 2018-04-26 2019-11-05 Oppo广东移动通信有限公司 Wearing state detection method and relevant device
CN109117071A (en) * 2018-07-16 2019-01-01 华为技术有限公司 A kind of control method for screen display and device
CN109343656A (en) * 2018-09-13 2019-02-15 Oppo(重庆)智能科技有限公司 Electronic equipment
CN110070812A (en) * 2019-04-12 2019-07-30 华为技术有限公司 Wear electronic equipment and its control method
CN110087292A (en) * 2019-04-28 2019-08-02 努比亚技术有限公司 Intelligent wearable device, energy-saving control method and computer readable storage medium
CN212181165U (en) * 2020-05-09 2020-12-18 联想(北京)有限公司 Head-mounted device
CN112018843A (en) * 2020-08-20 2020-12-01 Oppo广东移动通信有限公司 Wearable equipment, place box and wearable equipment subassembly

Also Published As

Publication number Publication date
CN113010025B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
KR102093803B1 (en) Terminal and method for detecting luminance of ambient light
CN109951595A (en) Intelligence adjusts method, apparatus, storage medium and the mobile terminal of screen intensity
US20170269812A1 (en) Displaying method and electronic apparatus
US10922846B2 (en) Method, device and system for identifying light spot
CN105426079B (en) The method of adjustment and device of picture luminance
CN104902186A (en) Method for fast starting camera program and mobile terminal using the method
CN103425443A (en) Control method, control system and electronic equipment
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
CN112229507A (en) Ambient light detection method and device, storage medium and mobile terminal
CN108076223A (en) Target switching method, device, terminal device and storage medium
CN112950525A (en) Image detection method and device and electronic equipment
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN109561255B (en) Terminal photographing method and device and storage medium
US20190250694A1 (en) Method for Adjusting Screen-On Duration of Terminal and Terminal
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN110930964A (en) Display screen brightness adjusting method and device, storage medium and terminal
CN107272946A (en) A kind of screen control method and device
CN105472679A (en) Communication terminal network switching method and device
CN113010025A (en) Method, device, medium, and computer program product for controlling screen-on duration
US8694445B1 (en) Triggering attract mode for devices using viewability conditions and detected proximity of human to device
CN112416172A (en) Electronic equipment control method and device and electronic equipment
CN106791169A (en) Screen control method and device
CN111147790A (en) Auxiliary function starting method, mobile terminal and computer readable storage medium
CN114092452A (en) Method and device for enhancing image visual effect, storage medium and terminal equipment
CN115774567A (en) Adaptive screen parameter configuration method and device, storage medium and terminal equipment

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