Nothing Special   »   [go: up one dir, main page]

CN112203131B - Prompting method and device based on display equipment and storage medium - Google Patents

Prompting method and device based on display equipment and storage medium Download PDF

Info

Publication number
CN112203131B
CN112203131B CN202010988944.XA CN202010988944A CN112203131B CN 112203131 B CN112203131 B CN 112203131B CN 202010988944 A CN202010988944 A CN 202010988944A CN 112203131 B CN112203131 B CN 112203131B
Authority
CN
China
Prior art keywords
time period
preset time
user
distance value
value set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010988944.XA
Other languages
Chinese (zh)
Other versions
CN112203131A (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.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group 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 China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202010988944.XA priority Critical patent/CN112203131B/en
Publication of CN112203131A publication Critical patent/CN112203131A/en
Application granted granted Critical
Publication of CN112203131B publication Critical patent/CN112203131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42201Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] biosensors, e.g. heat sensor for presence detection, EEG sensors or any limb activity sensors worn by the user
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42202Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] environmental sensors, e.g. for detecting temperature, luminosity, pressure, earthquakes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Remote Sensing (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Environmental Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Ecology (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Neurosurgery (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application is applicable to the technical field of display, and provides a prompting method and device based on display equipment and a computer readable storage medium, wherein the prompting method comprises the following steps: if the preset operation for carrying out gesture prompt when the display equipment is in an open state is detected, acquiring a first distance value set between the display equipment and a user within a first preset time period; judging the attitude change amplitude of the user in a first preset time period based on the first distance value set; and if the posture change amplitude is smaller than or equal to a first preset threshold value, prompting the user to change the posture. The prompting method based on the display equipment can automatically detect the behaviors of the user and can remind the user when the incorrect behaviors of the user in the process of using the display equipment are detected.

Description

Prompting method and device based on display equipment and storage medium
Technical Field
The present application relates to the field of display technologies, and in particular, to a prompting method and apparatus based on a display device, and a computer-readable storage medium.
Background
With the development of science and technology and the improvement of living standard of people, display equipment has entered into thousands of households, and most people are used to watch videos through the display equipment. The display device may be a television or a display device connected to a computer host through a cable. With the great popularity of display devices, more and more people are beginning to be unconsciously accustomed to keeping a posture sitting in front of the display device for a long time to stare at the display device screen, thereby causing certain impact on people's bodies. The traditional display equipment can only execute corresponding operation according to the instruction of the user and cannot automatically detect the behavior of the user, so that the traditional display equipment cannot remind the user when the incorrect behavior of the user in the use of the display equipment is detected.
Disclosure of Invention
The embodiment of the application provides a prompting method and device based on a display device and a computer readable storage medium, which can solve the problem that the traditional display device can only execute corresponding operation according to the instruction of a user and cannot automatically detect the behavior of the user, so that the user cannot be reminded when incorrect behavior of the user in using the display device is detected.
In a first aspect, an embodiment of the present application provides a display device-based prompting method, including:
if the preset operation for carrying out gesture prompt when the display equipment is in an open state is detected, acquiring a first distance value set between the display equipment and a user within a first preset time period;
judging the attitude change amplitude of the user in the first preset time period based on the first distance value set;
and if the posture change amplitude in the first preset time period is less than or equal to a first preset threshold value, prompting the user to change the posture.
Further, the determining the gesture variation amplitude of the user within the first preset time period based on the first distance value set includes:
determining the distance value of the starting moment of the first preset time period as an initial value;
calculating a difference value between the initial value and each distance value in the first distance value set to obtain a difference value set;
and judging the attitude change amplitude of the user in the first preset time period according to the difference set.
Further, after obtaining the first set of distance values between the display device and the user within the first preset time period, the method further includes:
and if the distance value smaller than or equal to a first preset distance threshold value exists in the first distance value set, prompting the user to be far away from the display equipment.
Further, the first preset time period includes at least one second preset time period, and after the first set of distance values between the display device and the user in the first preset time period is obtained, the method further includes:
acquiring a second distance value set in the second preset time period;
judging the attitude change amplitude of the user in the second preset time period based on the second distance value set;
and if the posture change amplitude in the second preset time period is larger than a second preset threshold value, closing the display equipment.
Further, after obtaining the second set of distance values within the second preset time period, the method further includes:
and if each distance value in the second distance value set is zero, closing the display equipment.
Further, the first preset time period includes at least one third preset time period, and after the second preset time period and the display device is turned off, the method further includes:
acquiring a third distance value set in the third preset time period;
judging the attitude change amplitude of the user in the third preset time period based on the third distance value set;
and if the attitude change amplitude in the third preset time period is less than or equal to the first preset threshold, starting the display equipment.
In a second aspect, an embodiment of the present application provides a display device-based prompting apparatus, including:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a first distance value set between the display device and a user within a first preset time period if a preset operation for carrying out gesture prompt when the display device is in an open state is detected;
a first judging unit, configured to judge, based on the first distance value set, a posture variation amplitude of the user within the first preset time period;
and the first prompting unit is used for prompting the user to change the posture if the posture change amplitude in the first preset time period is less than or equal to a first preset threshold value.
In a third aspect, an embodiment of the present application provides a display device-based prompting apparatus, including:
a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of prompting according to any one of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the prompting method according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a display device based hinting apparatus, causes the display device based hinting apparatus to perform the hinting method according to any one of the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the prompting method based on the display equipment, if the preset operation for carrying out posture prompting when the display equipment is in the starting state is detected, a first distance value set between the display equipment and a user in a first preset time period is obtained; judging the attitude change amplitude of the user in a first preset time period based on the first distance value set; and if the posture change amplitude is smaller than or equal to a first preset threshold value, prompting the user to change the posture. According to the prompting method based on the display equipment, when the preset operation is detected, the first distance value set of the user in the first preset time period can be automatically acquired, the behavior of the user is automatically detected, and when the gesture change amplitude is detected to be smaller than or equal to the first preset threshold value, the fact that the gesture of the user is not changed all the time in the first preset time period is determined, namely the fact that the incorrect behavior of the user when the user uses the display equipment is detected is explained, and the user is further prompted to change the gesture.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a prompting method based on a display device according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a specific implementation of S102 in a prompting method based on a display device according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating an implementation of a prompting method based on a display device according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating an implementation of a prompting method based on a display device according to yet another embodiment of the present application;
FIG. 5 is a flowchart illustrating an implementation of a prompting method based on a display device according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a prompting apparatus based on a display device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a prompting apparatus based on a display device according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a prompting method based on a display device according to an embodiment of the present disclosure. In the embodiment of the application, the main execution body of the prompting method is a prompting device based on display equipment. The display device may be a television, a display connected to the host computer by wire, or an integrated machine integrated with the host computer. The prompting device can be a server or a processor in the server. Here, the server may be a smartphone, a tablet computer, a desktop computer, or the like.
As shown in fig. 1, a prompting method based on a display device provided in an embodiment of the present application may include S101 to S103, which are detailed as follows:
in S101, if a preset operation for performing gesture prompt when the display device is in an on state is detected, a first distance value set between the display device and the user within a first preset time period is obtained.
In the embodiment of the application, when the display device is in the open state, the prompting device can detect whether the preset operation for performing the gesture prompt when the display device is in the open state exists. The preset operation may be determined according to actual needs, and is not limited herein. For example, the preset operation may be clicking a preset control, that is, if it is detected that the user clicks the preset control of the display device when the display device is in an open state, the prompting device considers that the preset operation for performing the gesture prompt when the display device is in the open state is detected.
In an embodiment of the application, the prompting device may preset that the display device has two working modes when being in an on state, one of which is a common mode, that is, a working mode in which the gesture prompt is not performed on the user; one mode is a prompt mode, i.e., a working mode in which a user can be prompted for a posture. Therefore, the preset operation that the prompting device detects that the display device is in the on state for gesture prompting may be: the display device is detected to be in a working mode of a prompt mode.
When the prompting device detects a preset operation for performing gesture prompting when the display device is in an on state, the prompting device may acquire a first set of distance values between the display device and the user within a first preset time period. The first preset time period may be set according to actual needs, and is not limited herein, and for example, the first preset time period may be 30 minutes. Each distance value in the first set of distance values refers to a distance between the display device and the user.
In an implementation manner of the embodiment of the present application, the prompting apparatus may obtain and store a plurality of first distance values between the display device and the user in advance. When the prompting device detects a preset operation for gesture prompting when the display equipment is in an open state, a first distance value set in a first preset time period is directly acquired from the prompting device.
In another implementation manner of the embodiment of the present application, the prompting apparatus may further acquire, from another device, a first set of distance values between the display device and the user within a first preset time period. For example, the prompting device may obtain, through the ranging module, a first set of distance values between the display device and the user within a first preset time period. The distance measurement module can acquire the distance value between the display equipment and the user in real time. By way of example and not limitation, the ranging module may be an ultrasonic range finder.
In practical applications, since a fixed obstacle (such as a wall) usually exists in front of the display device, the prompting device may also obtain the distance value between the display device and the fixed obstacle, and therefore, in order to determine that the distance value obtained by the prompting device is the distance value between the display device and the user, the prompting device may compare each distance value in the obtained distance value set with the second preset distance threshold. Wherein the second preset distance threshold is a distance value between the display device and the fixed obstacle.
And if the prompting device detects that each distance value in the distance value set is smaller than a second preset distance threshold value, determining that each distance value in the acquired distance value set is a distance value between the display device and the user.
In S102, determining a posture variation amplitude of the user within the first preset time period based on the first distance value set.
In the embodiment of the application, when the user uses the display device, the distance value between the user and the display device is in a constantly changing state along with the action of the user, so that the prompting device can judge the gesture change amplitude of the user in the first preset time period based on the first distance value set. That is to say, the prompting device may determine the gesture change amplitude of the user in the first preset time period through the change between the distance values at different times in the first preset time period.
Specifically, the prompting device may determine the gesture change amplitude of the user within the first preset time period through steps S201 to S203 shown in fig. 2, which are detailed as follows:
in S201, the distance value at the start time of the first preset time period is determined as an initial value.
In this embodiment, after obtaining the first distance value set in the first preset time period, the prompting device may determine, as an initial value, that is, a reference value, the distance value at the start time of the first preset time period, in order to determine whether the distance values at different times in the first preset time period change significantly.
In S202, a difference value between the initial value and each distance value in the first set of distance values is calculated, so as to obtain a difference value set.
In this embodiment, the prompting device may calculate a difference between the initial value and each distance value, except the initial value, in the first distance value set when determining the initial value in the first preset time period, to obtain a difference value set. Wherein the set of differences comprises the difference between the initial value and each distance value.
In one embodiment of the present application, since the distance values in the first distance value set within the first preset time period are too many and the calculation time is long, the prompting device may calculate the difference between the initial value and the distance value in the first distance value set at every preset time interval, thereby reducing the calculation amount. The preset time interval may be set according to actual needs, and is not limited herein.
In S203, determining a posture variation range of the user in the first preset time period according to the difference set.
In this embodiment, since the prompting device may determine, by a difference between the initial value and each distance value in the first distance value set in the first preset time period, a change in distance between the display device and the user in the first preset time period, so as to determine whether the posture of the user changes, the prompting device may determine, by the difference set, a posture change amplitude of the user in the first preset time period.
In one embodiment of the application, since the user may be able to ignore the slight change of the user posture when using the display device, that is, when the user posture changes slightly, the user posture may be regarded as not changing, and therefore, the prompting device may compare the posture change amplitude of the user with the first preset threshold after determining the posture change amplitude within the first preset time period. If the prompting device detects that the attitude change amplitude is smaller than or equal to a first preset threshold, executing a step S103; if the prompting device detects that the gesture change amplitude is larger than a first preset threshold value, the gesture of the user is adjusted within a first preset time period, and the prompting device does not need to prompt the user to change the gesture.
In S103, if the posture variation range in the first preset time period is less than or equal to a first preset threshold, prompting the user to change the posture.
In the embodiment of the application, after the prompting device detects that the posture change amplitude of the user is smaller than or equal to the first preset threshold, it can be determined that the posture of the user is not changed in the first preset time period, that is, the posture of the user is not changed all the time when the user faces the display device in the first preset time period, so that the prompting device can prompt the user to change the posture, and the purpose of protecting the cervical vertebra and the vertebra of the user is achieved.
In one embodiment of the present application, the prompting device may be provided with an information prompting module. Therefore, the prompting device can control the information prompting module to output the first prompting information when prompting the user to change the posture. Wherein the first prompt message is used for prompting the user to change the gesture. By way of example and not limitation, the information prompt module may be an alarm or an indicator light.
As can be seen from the above, according to the prompting method based on the display device provided in the embodiment of the present application, if the preset operation for performing the gesture prompt when the display device is in the on state is detected, the first distance value set between the display device and the user within the first preset time period is obtained; judging the attitude change amplitude of the user in a first preset time period based on the first distance value set; and if the posture change amplitude is smaller than or equal to a first preset threshold value, prompting the user to change the posture. According to the prompting method based on the display equipment, when the preset operation is detected, the first distance value set of the user in the first preset time period can be automatically obtained, the behavior of the user is automatically detected, and when the gesture change amplitude is detected to be smaller than or equal to the first preset threshold value, the fact that the gesture of the user is not changed all the time in the first preset time period is determined, namely that the fact that the user has incorrect behavior when using the display equipment is detected, is indicated, and the user is prompted to change the gesture.
In another embodiment of the present application, since the user is prone to cause visual fatigue when the user is too close to the display device and affects the eyesight of the user, after the first distance value set between the display device and the user within the first preset time period is obtained, the prompting device may further compare each distance value in the first distance value set with the first preset distance threshold. If the prompting device detects that a distance value smaller than or equal to a first preset distance threshold exists in the first distance value set, the prompting device executes step S301 shown in fig. 3; if the prompting device detects that each distance value in the first distance value set is greater than the first preset distance threshold value, it is determined that the distance between the user and the display device does not affect the eyesight of the user, and therefore the prompting device does not need to prompt the user to be far away from the display device. Wherein the first preset distance threshold may be a minimum value of a safe distance between the display device and the user.
It should be noted that the first preset distance threshold may be determined according to a size of a display device screen, and specifically, the larger the display device screen is, the larger the first preset distance threshold is.
Referring to fig. 3, fig. 3 is a flowchart illustrating an implementation of a prompting method based on a display device according to another embodiment of the present application. With respect to the embodiment corresponding to fig. 1, after S101, the method for prompting based on a display device in this embodiment may further include S301, which is detailed as follows:
in S301, if it is detected that a distance value smaller than or equal to a first preset distance threshold exists in the first distance value set, the user is prompted to move away from the display device.
In this embodiment, the prompting device may prompt the user to move away from the display device when detecting that a distance value smaller than or equal to the first preset distance threshold exists in the first distance value set, which indicates that the distance between the user and the display device is smaller than the minimum value of the safe distance between the user and the display device.
In an embodiment of the present application, in conjunction with S103, the prompting device is provided with an information prompting module. Therefore, when the prompting device prompts the user to be far away from the display equipment, the information prompting module can be controlled to output the second prompting information. And the second prompt message is used for prompting the user to get away from the display equipment.
As can be seen from the above, in the prompting method based on the display device provided in this embodiment, by detecting whether a distance value smaller than or equal to the first preset distance threshold exists in the first distance value set, if it is detected that a distance value smaller than or equal to the first preset distance threshold exists in the first distance value set, the user is prompted to be far away from the display device, so that the eyesight of the user is protected.
In yet another embodiment of the present application, the first preset time period includes at least one second preset time period. The second preset time period may be set according to actual needs, and is not limited herein, and for example, the second preset time period may be 5 minutes. Based on this, please refer to fig. 4, and fig. 4 is a flowchart illustrating an implementation of a prompting method based on a display device according to yet another embodiment of the present application. With respect to the embodiment corresponding to fig. 1, the prompting method based on the display device in this embodiment may further include, after S101, S401 to S403, which are detailed as follows:
in S401, a second distance value set in the second preset time period is obtained.
In this embodiment, since the second preset time period is included in the first preset time period, the prompting device may obtain the second distance value set in the second preset time period from the first distance value set in the first preset time period.
For example, assuming that the first preset time period is 30 minutes, and the second preset time period is 5 minutes, the prompting device may use the first distance value set within any 5 minutes, which is obtained from the first distance value sets within 30 minutes of the first preset time period, as the second distance value set within the second preset time period.
In S402, determining a posture variation amplitude of the user within the second preset time period based on the second distance value set.
In this embodiment, the prompting device may determine the gesture variation range of the user in the second preset time period by the variation between the distance values at different times in the second preset time period.
Specifically, the prompting device may determine a distance value at a starting time of a second preset time period as an initial value of the second preset time period, calculate a difference between the initial value of the second preset time period and a distance value, except the initial value of the second preset time period, in the second distance value set, obtain a difference value set of the second preset time period, and determine a posture change amplitude of the user in the second preset time period according to the difference value set of the second preset time period.
In this embodiment, since the prompting device may determine, by using a difference between the initial value and each distance value in the second distance value set in the second preset time period, a change in distance between the display device and the user in the second preset time period, so as to determine whether the posture of the user changes, the prompting device may determine, by using the difference set, a posture change amplitude of the user in the second preset time period.
In an embodiment of the present application, after determining the gesture change amplitude of the user within the second preset time period, the prompting device may compare the gesture change amplitude within the second preset time period with a second preset threshold. If the prompting device detects that the attitude change amplitude in the second preset time period is larger than a second preset threshold, executing step S403; if the prompting device detects that the gesture change amplitude is smaller than or equal to the second preset threshold, it indicates that the user does not change the gesture within the second preset time period, that is, the user is using the display device, and therefore the prompting device can control the display device to keep the on state. The second preset threshold may be set according to actual needs, and is not limited herein.
It should be noted that the second preset threshold is greater than the first preset threshold.
In S403, if the gesture variation amplitude in the second preset time period is greater than a second preset threshold, the display device is turned off.
In this embodiment, when detecting that the gesture variation amplitude in the second preset time period is greater than the second preset threshold, the prompting device may determine that the user does not use the display device in the second preset time period, that is, the user does not watch the video through the display device, and therefore, the prompting device may turn off the display device.
In another embodiment of the present application, after the prompting device obtains the second distance value set within the second preset time period, it may further determine whether each distance value in the second distance value set is zero. If the prompting device detects that each distance value in the first distance value set is zero, it is determined that the user is not in front of the display device, that is, the user does not use the display device, and therefore the prompting device can close the display device.
As can be seen from the above, in the prompting method based on the display device provided in this embodiment, the second distance value set in the second preset time period is obtained; judging the attitude change amplitude of the user in a second preset time period based on the second distance value set; and if the posture change amplitude in the second preset time period is larger than a second preset threshold value, closing the display equipment. According to the prompting method, when the gesture change amplitude in the second preset time period is detected to be larger than the second preset threshold, the fact that the user does not use the display equipment can be determined, and therefore the prompting device can directly close the display equipment, power consumption of the display equipment is reduced, and the service life of the display equipment is prolonged.
In another embodiment of the present application, the first preset time period includes at least one third preset time period, and the third preset time period is after the second preset time period. The third preset time period may be set according to actual needs, and is not limited herein, and for example, the third preset time period may be 1 minute. Based on this, please refer to fig. 5, wherein fig. 5 is a flowchart illustrating an implementation of a prompting method based on a display device according to another embodiment of the present application. With respect to the embodiment corresponding to fig. 4, the control method of the bench press device in this embodiment may further include, before S403, S501 to S503, which are detailed as follows:
in S501, a third distance value set in the third preset time period is obtained.
In this embodiment, since the third preset time period is included in the first preset time period and is after the second preset time period, the prompting device may obtain, from the first distance value set within the first preset time, a third distance value set within the third preset time period after the second preset time period.
For example, assuming that the first preset time period is 30 minutes, the second preset time period is 5 minutes, and the third preset time period is 1 minute, the prompting device may use the first distance value set within 30 minutes of the first preset time period and the distance value set within any one 1-minute time period after 5 minutes of the second preset time period elapses as the third distance value set within the third preset time period.
In S502, determining a posture variation amplitude of the user within the third preset time period based on the third distance value set.
In this embodiment, the prompting device may determine the gesture variation range of the user in a third preset time period by variation between distance values at different times in the third preset time period.
Specifically, the prompting device may determine a distance value at a starting time of a third preset time period as an initial value of the third preset time period, calculate a difference value between the initial value of the third preset time period and a distance value in the third distance value set except the initial value of the third preset time period, obtain a difference value set of the third preset time period, and determine the posture change amplitude of the user in the third preset time period according to the difference value set of the third preset time period.
In this embodiment, since the prompting device may determine, by using a difference between the initial value and each distance value in the third distance value set in the third preset time period, a change in distance between the display device and the user in the third preset time period, so as to determine whether the posture of the user changes, the prompting device may determine, by using the difference set, a posture change amplitude of the user in the third preset time period.
In an embodiment of the present application, after determining the gesture change amplitude of the user within the third preset time period, the prompting device may compare the gesture change amplitude within the third preset time period with the first preset threshold. If the prompting device detects that the attitude change amplitude in the third preset time period is smaller than or equal to the first preset threshold, executing step S503; if the prompting device detects that the gesture change amplitude is larger than the first preset threshold, it indicates that the user changes the gesture within the third preset time period, that is, the user does not use the display device, and therefore the prompting device can control the display device to keep the off state.
In S503, if the gesture change amplitude in the third preset time period is less than or equal to the first preset threshold, the display device is turned on.
In this embodiment, the gesture variation amplitude of the prompting device in the third preset time period is detected to be less than or equal to the first preset threshold, which indicates that the user needs to use the display device, and therefore, the prompting device may turn on the display device.
As can be seen from the above, in the prompting method based on the display device provided in this embodiment, the third distance value set in the third preset time period is obtained; judging the attitude change amplitude of the user in a third preset time period based on the third distance value set; and if the posture change amplitude in the third preset time period is less than or equal to the first preset threshold, starting the display equipment. According to the prompting method, when the gesture change amplitude in the third preset time period is detected to be smaller than or equal to the first preset threshold, the fact that the user needs to use the display equipment can be determined, therefore, the prompting device can directly start the display equipment, the user does not need to manually start the display equipment, and the working efficiency is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by functions and internal logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the display device-based prompting method described in the foregoing embodiments, fig. 6 shows a block diagram of a display device-based prompting apparatus provided in the embodiments of the present application, and for convenience of description, only the portions related to the embodiments of the present application are shown. Referring to fig. 6, the presentation apparatus 600 includes: a first acquiring unit 61, a first judging unit 62 and a first prompting unit 63. Wherein:
the first obtaining unit 61 is configured to obtain a first distance value set between the display device and a user within a first preset time period if a preset operation for performing gesture prompt when the display device is in an on state is detected.
The first determining unit 62 is configured to determine a gesture change amplitude of the user in the first preset time period based on the first distance value set.
The first prompting unit 63 is configured to prompt the user to change the posture if the posture change amplitude in the first preset time period is smaller than or equal to a first preset threshold.
In an embodiment of the present application, the first determining unit 62 specifically includes: the device comprises a determining unit, a calculating unit and an amplitude judging unit. Wherein:
the determining unit is used for determining the distance value of the starting time of the first preset time period as an initial value.
The calculation unit is configured to calculate a difference between the initial value and each distance value in the first set of distance values, so as to obtain a difference set.
The amplitude judgment unit is used for judging the posture change amplitude of the user in the first preset time period according to the difference value set.
In an embodiment of the present application, the prompting device 600 further includes: and a second prompting unit.
The second prompting unit is used for prompting the user to keep away from the display device if the first distance value set is detected to have a distance value smaller than or equal to a first preset distance threshold value.
In an embodiment of the application, the first preset time period includes at least one second preset time period, and the prompting device 600 further includes: the device comprises a second acquisition unit, a second judgment unit and a first closing unit. Wherein:
the second obtaining unit is configured to obtain a second distance value set in the second preset time period.
The second judging unit is used for judging the posture change amplitude of the user in the second preset time period based on the second distance value set.
The first closing unit is used for closing the display device if the attitude change amplitude in the second preset time period is larger than a second preset threshold value.
In an embodiment of the present application, the prompting device 600 further includes: a second closing unit.
The second closing unit is configured to close the display device if each distance value in the second set of distance values is zero.
In an embodiment of the application, the first preset time period includes at least one third preset time period, and the third preset time period is after the second preset time period, the prompting device 600 may further include: a third obtaining unit, a third judging unit and a starting unit.
The third obtaining unit is configured to obtain a third distance value set within the third preset time period.
The third judging unit is used for judging the gesture change amplitude of the user in the third preset time period based on the third distance value set.
The starting unit is used for starting the display device if the posture change amplitude in the third preset time period is smaller than or equal to the first preset threshold.
As can be seen from the above, according to the prompt apparatus based on a display device provided in the embodiment of the present application, if a preset operation for performing gesture prompt when the display device is in an on state is detected, a first distance value set between the display device and a user within a first preset time period is obtained; judging the attitude change amplitude of the user in a first preset time period based on the first distance value set; and if the posture change amplitude is less than or equal to a first preset threshold value, prompting the user to change the posture. When the prompting device based on the display equipment detects the preset operation, the first distance value set of the user in the first preset time period can be automatically acquired, the behavior of the user is automatically detected, and when the gesture change amplitude is detected to be smaller than or equal to the first preset threshold value, the fact that the gesture of the user is not changed in the first preset time period is determined, namely the fact that the incorrect behavior of the user when the user uses the display equipment is detected is explained, and then the user is prompted to change the gesture.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 7 is a schematic structural diagram of a display device-based prompting apparatus according to an embodiment of the present application. As shown in fig. 7, the display device-based prompting apparatus 7 of this embodiment includes: at least one processor 70 (only one shown in fig. 7), a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, wherein the processor 70 implements the steps of any of the various hinting method embodiments described above when executing the computer program 72.
The prompting device 7 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The video transmission device may include, but is not limited to, a processor 70, a memory 71. It will be understood by those skilled in the art that fig. 7 is merely an example of the prompting device 7, and does not constitute a limitation to the prompting device 7, and may include more or less components than those shown, or combine some components, or different components, such as input and output devices, network access devices, and the like.
The Processor 70 may be a Central Processing Unit (CPU), and the Processor 70 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may in some embodiments be an internal storage unit of the prompting device 7, such as a hard disk or a memory of the prompting device 7. The memory 71 may also be an external storage device of the prompting device 7 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the prompting device 7. Further, the memory 71 may include both an internal storage unit and an external storage device of the presentation apparatus 7. The memory 71 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 71 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the foregoing method embodiments.
The embodiment of the present application provides a computer program product, which when running on a prompting apparatus based on a display device, enables the prompting apparatus of the display device to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above may be implemented by instructing relevant hardware by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal device, recording medium, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunication signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed prompting apparatus and method based on a display device may be implemented in other ways. For example, the above-described embodiment of the prompting device based on the display device is merely illustrative, for example, the division of the module or unit is only one logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (8)

1. A prompting method based on a display device is characterized by comprising the following steps:
if the preset operation for carrying out gesture prompt when the display equipment is in an open state is detected, acquiring a first distance value set between the display equipment and a user within a first preset time period;
if each distance value in the first distance value set is smaller than a second preset distance threshold value, judging the attitude change amplitude of the user in the first preset time period based on the first distance value set;
if the posture change amplitude in the first preset time period is smaller than or equal to a first preset threshold value, prompting a user to change the posture;
the first preset time period includes at least one second preset time period, and after the first distance value set between the display device and the user in the first preset time period is acquired, the method further includes:
acquiring a second distance value set in the second preset time period;
judging the attitude change amplitude of the user in the second preset time period based on the second distance value set; the method specifically comprises the following steps: calculating a difference value between the initial value of the second preset time period and a distance value in the second distance value set except the initial value of the second preset time period to obtain a difference value set of the second preset time period, and judging the posture change amplitude of the user in the second preset time period according to the difference value set of the second preset time period;
if the attitude change amplitude in the second preset time period is larger than a second preset threshold value, closing the display equipment;
the first preset time period includes at least one third preset time period, and the third preset time period is after the second preset time period, after the display device is closed, the method further includes:
acquiring a third distance value set in the third preset time period;
judging the attitude change amplitude of the user in the third preset time period based on the third distance value set; the method specifically comprises the following steps: calculating a difference value between the initial value of the third preset time period and a distance value in the third distance value set except the initial value of the third preset time period to obtain a difference value set of the third preset time period, and judging the posture change amplitude of the user in the third preset time period according to the difference value set of the third preset time period;
and if the attitude change amplitude in the third preset time period is less than or equal to the first preset threshold, starting the display equipment.
2. The prompting method of claim 1, wherein the determining a gesture change amplitude of the user within the first preset time period based on the first set of distance values comprises:
determining the distance value of the starting moment of the first preset time period as an initial value;
calculating a difference value between the initial value and each distance value in the first distance value set to obtain a difference value set;
and judging the attitude change amplitude of the user in the first preset time period according to the difference set.
3. The prompting method of claim 1, wherein after obtaining the first set of distance values between the display device and the user over the first preset time period, further comprising:
and if the distance value smaller than or equal to a first preset distance threshold value exists in the first distance value set, prompting the user to be far away from the display equipment.
4. The prompting method according to claim 1, wherein after obtaining the second set of distance values within the second preset time period, further comprising:
and if each distance value in the second distance value set is zero, closing the display equipment.
5. A prompting device based on a display device is characterized by comprising:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a first distance value set between the display device and a user within a first preset time period if a preset operation for carrying out gesture prompt when the display device is in an open state is detected;
the first judging unit is used for judging the gesture change amplitude of the user in the first preset time period based on the first distance value set if each distance value in the first distance value set is smaller than a second preset distance threshold value;
the first prompting unit is used for prompting the user to change the posture if the posture change amplitude in the first preset time period is less than or equal to a first preset threshold value;
the first preset time period includes at least one second preset time period, and after the first distance value set between the display device and the user in the first preset time period is obtained, the method further includes:
acquiring a second distance value set in the second preset time period;
judging the attitude change amplitude of the user in the second preset time period based on the second distance value set; the method specifically comprises the following steps: calculating a difference value between the initial value of the second preset time period and a distance value in the second distance value set except the initial value of the second preset time period to obtain a difference value set of the second preset time period, and judging the posture change amplitude of the user in the second preset time period according to the difference value set of the second preset time period;
if the attitude change amplitude in the second preset time period is larger than a second preset threshold value, closing the display equipment;
the first preset time period includes at least one third preset time period, and the third preset time period is after the second preset time period, after the display device is closed, the method further includes:
acquiring a third distance value set in the third preset time period;
judging the attitude change amplitude of the user in the third preset time period based on the third distance value set; the method specifically comprises the following steps: calculating a difference value between the initial value of the third preset time period and a distance value in the third distance value set except the initial value of the third preset time period to obtain a difference value set of the third preset time period, and judging the posture change amplitude of the user in the third preset time period according to the difference value set of the third preset time period;
and if the posture change amplitude in the third preset time period is less than or equal to the first preset threshold, starting the display equipment.
6. The prompting device according to claim 5, wherein the first determining unit specifically includes:
the determining unit is used for determining the distance value of the starting moment of the first preset time period as an initial value;
the calculating unit is used for calculating a difference value between the initial value and each distance value in the first distance value set to obtain a difference value set;
and the amplitude judgment unit is used for judging the posture change amplitude of the user in the first preset time period according to the difference value set.
7. A presentation apparatus based on a display device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
CN202010988944.XA 2020-09-18 2020-09-18 Prompting method and device based on display equipment and storage medium Active CN112203131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010988944.XA CN112203131B (en) 2020-09-18 2020-09-18 Prompting method and device based on display equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010988944.XA CN112203131B (en) 2020-09-18 2020-09-18 Prompting method and device based on display equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112203131A CN112203131A (en) 2021-01-08
CN112203131B true CN112203131B (en) 2022-12-02

Family

ID=74015670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010988944.XA Active CN112203131B (en) 2020-09-18 2020-09-18 Prompting method and device based on display equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112203131B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113511020A (en) * 2021-05-29 2021-10-19 深圳华一精品科技有限公司 Posture correcting pen for correcting pen holding mode and sitting posture

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101908420B1 (en) * 2012-07-06 2018-12-19 엘지전자 주식회사 Mobile terminal and control method for the same
CN107343100B (en) * 2017-06-30 2019-12-31 Oppo广东移动通信有限公司 Information prompting method and device, storage medium and electronic equipment
CN108257361B (en) * 2018-03-15 2021-06-25 广东聚光电子科技有限公司 Sitting posture adjustment prompting method and device, intelligent desk lamp and storage medium
CN109558053A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 A kind of method, mobile terminal and computer readable storage medium for adjusting screen and showing
CN109725719A (en) * 2018-12-28 2019-05-07 歌尔科技有限公司 Apparatus control method, device and electronic equipment, storage medium

Also Published As

Publication number Publication date
CN112203131A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN109739223B (en) Robot obstacle avoidance control method and device, terminal device and storage medium
US10269377B2 (en) Detecting pause in audible input to device
CN111816139A (en) Screen refresh rate switching method and electronic equipment
CN111367407B (en) Intelligent glasses interaction method, intelligent glasses interaction device and intelligent glasses
CN108228300B (en) Method and device for controlling real-time refreshing of content
CN108874134A (en) Eyeshield mode treatment method, mobile terminal and computer readable storage medium
US20170300225A1 (en) Displaying application page of mobile terminal
CN111367402B (en) Task triggering method, interaction equipment and computer equipment
CN110716642A (en) Method and equipment for adjusting display interface
CN112286347A (en) Eyesight protection method, device, storage medium and terminal
CN112286411A (en) Display mode control method and device, storage medium and electronic equipment
CN112203131B (en) Prompting method and device based on display equipment and storage medium
CN108801321B (en) Sensor calibration method, electronic device and computer-readable storage medium
CN110809083B (en) Mobile terminal information reminding method, mobile terminal and storage medium
CN110874729B (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN113495616A (en) Terminal display control method, terminal, and computer-readable storage medium
CN109444905B (en) Dynamic object detection method and device based on laser and terminal equipment
CN115856705A (en) Electronic equipment, current detection method and device
CN113703592B (en) Secure input method and device
CN111857350B (en) Method, device and equipment for rotating display equipment
CN110442241A (en) Schedule display methods, device, mobile terminal and computer readable storage medium
CN108021648B (en) Question searching method and device and intelligent terminal
CN110874730A (en) Information processing method, information processing device and mobile terminal
CN117170756B (en) Equipment display control method, device and storage medium
CN113448659B (en) Push message processing method and device

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