CN112968992A - Dynamic distance prompting method and terminal equipment - Google Patents

Dynamic distance prompting method and terminal equipment Download PDF

Info

Publication number
CN112968992A
CN112968992A CN202110188199.5A CN202110188199A CN112968992A CN 112968992 A CN112968992 A CN 112968992A CN 202110188199 A CN202110188199 A CN 202110188199A CN 112968992 A CN112968992 A CN 112968992A
Authority
CN
China
Prior art keywords
distance
target
user
terminal equipment
terminal device
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
CN202110188199.5A
Other languages
Chinese (zh)
Other versions
CN112968992B (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202110188199.5A priority Critical patent/CN112968992B/en
Publication of CN112968992A publication Critical patent/CN112968992A/en
Application granted granted Critical
Publication of CN112968992B publication Critical patent/CN112968992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • 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)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a distance dynamic prompting method and terminal equipment, which are applied to the technical field of terminal equipment and can solve the problem that a user with a small age may not understand the meaning of a text prompting message and still is close to a display screen, so that the text prompting message cannot achieve the effect of prompting the user. The method comprises the following steps: acquiring a target image through a camera; if the facial features of the user exist in the target image, acquiring the target distance between the user and the terminal equipment; and if the target distance is within the target distance range, displaying a distance dynamic prompting interface corresponding to the target distance range, wherein the distance dynamic prompting interface is used for dynamically displaying the target distance between the user and the terminal equipment so as to prompt the user to be far away from a display screen of the terminal equipment.

Description

Dynamic distance prompting method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of terminal equipment, in particular to a dynamic distance prompting method and terminal equipment.
Background
With the popularization of terminal technology, the application of terminals (also called terminal devices) is more and more widespread. Some users may not approach the display screen autonomously due to excessive concentration while using the terminal device, which increases the risk of myopia. At present, when a part of terminal equipment detects that a user is close to a display screen through a distance sensor, a text prompt message is displayed on the display screen of the terminal equipment so as to prompt the user to keep away from the display screen. But the user with a small age may not understand the meaning of the text prompt message and still be close to the display screen, so that the text prompt message cannot achieve the effect of prompting the user.
Disclosure of Invention
The embodiment of the invention provides a distance dynamic prompting method and terminal equipment, which are used for solving the problem that in the prior art, a user with a small age may not understand the meaning of a text prompting message and is still close to a display screen, so that the text prompting message cannot achieve the effect of prompting the user. In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for dynamically prompting a distance is provided, in which a camera is disposed on a terminal device on the same side as a display screen, and the method includes: acquiring a target image through the camera;
if the facial features of the user exist in the target image, acquiring the target distance between the user and the terminal equipment;
and if the target distance is within a target distance range, displaying a distance dynamic prompting interface corresponding to the target distance range, wherein the distance dynamic prompting interface is used for dynamically displaying the target distance between the user and the terminal equipment so as to prompt the user to be far away from a display screen of the terminal equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the terminal device is provided with an infrared distance sensor, before the acquiring a target image by the camera, the method further includes:
detecting whether an object to be shot exists in a preset distance range of the display screen through the infrared distance sensor;
and if so, starting the camera.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the acquiring, by the camera, a target image includes:
acquiring a first image through the camera;
determining an image area including a shooting object as a target image in the first image, wherein the image area is an external image area including the shooting object;
detecting whether the photographic subject in the target image includes the facial features of the user by a facial recognition technology.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, if the target distance is within a target distance range, displaying a dynamic distance prompt animation corresponding to the target distance range, includes:
if the target distance is within the first distance range, displaying a distance dynamic prompt interface corresponding to the first distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within the first distance range;
the method further comprises the following steps:
if the target distance is within the first distance range, displaying a text prompt message and outputting audio prompt information; the text prompt message is used for prompting the user to be far away from a display screen of the terminal equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, if the target distance is within a target distance range, displaying a dynamic distance prompt animation corresponding to the target distance range, includes:
if the target distance is within the second distance range, displaying a distance dynamic prompt interface corresponding to the second distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within the second distance range;
the method further comprises the following steps:
and if the target distance is within the second distance range, displaying the text prompt message and controlling the terminal equipment to vibrate.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, if the target distance is within a target distance range, displaying a dynamic distance prompt animation corresponding to the target distance range, includes:
if the target distance is within the third distance range, displaying a distance dynamic prompt interface corresponding to the third distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within the third distance range;
the method further comprises the following steps:
and if the target distance is within the third distance range, displaying the text prompt message and locking the display screen.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the distance dynamic prompt interface includes:
displaying a distance indication area and a terminal equipment mark at the starting end of the distance indication area in a target area of the display screen, wherein a target animation image moving along with the distance between the user and the terminal equipment is displayed on the distance indication area.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the displaying a distance dynamic prompt interface corresponding to the target distance range includes:
and displaying the distance indication area in the target area of the display screen, displaying the target animation image at a target position on the distance indication area, wherein the distance between the target position and the terminal equipment mark is used for indicating the target distance.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the acquiring, by the camera, a target image includes:
detecting whether the terminal equipment is accessed to a wireless access point or not;
if the first wireless access point is accessed currently, whether the identification information of the first wireless access point is matched with the identification information of the target wireless access point on the target vehicle, which is recorded in advance by the terminal equipment, is identified;
if the identification information of the first wireless access point is matched with the identification information of the target wireless access point, continuously detecting the motion state of the terminal equipment, wherein the motion state comprises a moving state or a static state;
and if the first time length of the terminal equipment in the moving state is detected to be longer than a first preset time length, acquiring the target image through the camera.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the first target threshold corresponding to the moving state is greater than the second target threshold corresponding to the stationary state, where the first target threshold is a maximum value of the target distance range corresponding to the moving state, and the second target threshold is a maximum value of the target distance range corresponding to the stationary state.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before continuously detecting the motion state of the terminal device, the method further includes:
if the identification information of the first wireless access point is matched with the identification information of the target wireless access point, determining that the user of the terminal equipment is currently located on the target vehicle;
acquiring the identity information of the user according to the identification information of the first wireless access point, wherein the identity information of the user at least comprises: a curriculum schedule, the curriculum schedule comprising: the time and place of each course;
acquiring a class site of the target class, wherein the class time of the target class is closest to the current system time of the target vehicle;
when the target vehicle is detected to reach the getting-off place corresponding to the on-class place of the target course, outputting a first prompt message, wherein the first prompt message is used for prompting that the user reaches the on-class place of the target course.
In a second aspect, a terminal device is provided, which includes: the acquisition module is used for acquiring a target image through the camera;
the obtaining module is further configured to obtain a target distance between the user and the terminal device if it is detected that the facial features of the user exist in the target image;
and the display module is used for displaying a distance dynamic prompt interface corresponding to the target distance range if the target distance is within the target distance range, wherein the distance dynamic prompt interface is used for dynamically displaying the target distance between the user and the terminal equipment so as to prompt the user to be far away from a display screen of the terminal equipment.
In a third aspect, a terminal device is provided, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the dynamic distance prompt method in the first aspect of the embodiment of the present invention.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program, where the computer program makes a computer execute the distance dynamic prompting method in the first aspect of the embodiment of the present invention. The computer readable storage medium includes a ROM/RAM, a magnetic or optical disk, or the like.
In a fifth aspect, there is provided a computer program product for causing a computer to perform some or all of the steps of any one of the methods of the first aspect when the computer program product is run on the computer.
A sixth aspect provides an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the camera is arranged on the same side of the terminal equipment as the display screen, and the terminal equipment can acquire a target image through the camera; detecting whether the facial features of the user exist in the target image, and if the facial features of the user exist in the target image, indicating that the user is currently using the terminal equipment; at this moment, the terminal device obtains the target distance between the user and the terminal device, if the target distance is within the target distance range, it indicates that the distance between the user and the display screen is short, at this moment, the terminal device can display a distance dynamic prompting interface corresponding to the target distance range, that is, different distance dynamic prompting interfaces are displayed according to different distance ranges, and the distance dynamic prompting interface can be used for dynamically displaying the target distance between the user and the terminal device so as to prompt the user to be far away from the display screen of the terminal device. Through the scheme, the terminal equipment can acquire images through the camera, so that the user is judged in front of the display screen, different distance dynamic prompt interfaces are displayed according to different distance ranges between the user and the terminal equipment, so that not only can the obstacle existing in front of the display screen be intelligently and accurately determined to be the face of the user, correct prompt information is output, but also prompt can be output in an animation mode, the user can easily accept the prompt information, and the scheme enriches the output form of the prompt information.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first schematic flow chart of a dynamic distance prompt method according to an embodiment of the present invention;
fig. 2 is a first schematic display diagram of a distance dynamic prompting method according to an embodiment of the present invention;
fig. 3 is a schematic display diagram of a distance dynamic prompting method according to an embodiment of the present invention;
fig. 4 is a third schematic display diagram of a distance dynamic prompting method according to an embodiment of the present invention;
fig. 5 is a schematic display diagram of a distance dynamic prompting method according to an embodiment of the present invention;
fig. 6 is a schematic display diagram of a distance dynamic prompting method according to an embodiment of the present invention;
fig. 7 is a display schematic diagram six of a distance dynamic prompting method according to an embodiment of the present invention;
fig. 8 is a schematic flowchart illustrating a distance dynamic prompting method according to an embodiment of the present invention;
fig. 9 is a first schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first and second distance thresholds, etc. are used to distinguish between different distance thresholds, rather than to describe a particular order of distance thresholds.
The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the related art, as terminal technologies are popularized, applications of terminals (also referred to as terminal devices) are becoming more and more widespread. Some users may not approach the display screen autonomously due to excessive concentration while using the terminal device, which increases the risk of myopia. At present, when a part of terminal equipment detects that a user is close to a display screen through a distance sensor, a text prompt message is displayed on the display screen of the terminal equipment so as to prompt the user to keep away from the display screen. But the user with a small age may not understand the meaning of the text prompt message and still be close to the display screen, so that the text prompt message cannot achieve the effect of prompting the user.
In order to solve the above problems, embodiments of the present invention provide a distance dynamic prompting method and a terminal device, where the terminal device may acquire an image through a camera, so as to determine that a user is in front of a display screen, and display different distance dynamic prompting interfaces according to different distance ranges between the user and the terminal device, so that not only can an obstacle existing in front of the display screen be intelligently and accurately determined as a face of the user, so as to output correct prompting information, but also a prompt may be output in an animation manner, which is easy for the user to accept, and the scheme enriches output forms of the prompting information.
The terminal device according to the embodiment of the present invention may be an electronic device such as a Mobile phone, a tablet Computer, a notebook Computer, a palmtop Computer, a vehicle-mounted terminal device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook, or a Personal Digital Assistant (PDA). The wearable device may be a smart watch, a smart bracelet, a watch phone, a smart foot ring, a smart earring, a smart necklace, a smart headset, or the like, and the embodiment of the present invention is not limited.
The execution subject of the distance dynamic prompting method provided in the embodiment of the present invention may be the terminal device, or may also be a functional module and/or a functional entity capable of implementing the distance dynamic prompting method in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily describe the distance dynamic prompting method provided by the embodiment of the present invention.
The distance dynamic prompting method provided by the embodiment of the invention can be applied to a scene that a user uses terminal equipment.
Example one
As shown in fig. 1, an embodiment of the present invention provides a method for dynamically prompting a distance, where the method may include the following steps:
101. and acquiring a target image through the camera.
In the embodiment of the invention, the terminal equipment can acquire the target image through the camera.
It should be noted that the camera is disposed on the terminal device, and is located on the same side of the terminal device as the display screen.
102. And acquiring the target distance between the user and the terminal equipment.
In the embodiment of the invention, the terminal equipment can detect whether the facial features of the user exist in the target image through a facial recognition technology; and if the terminal equipment detects that the facial features of the user exist in the target image, acquiring the target distance between the user and the terminal equipment.
Optionally, the specific manner for the terminal device to obtain the target distance between the user and the terminal device is as follows: if the terminal equipment is provided with the infrared distance sensor, the terminal equipment can control the infrared distance sensor to emit a first optical pulse signal and receive a second optical pulse signal obtained by reflecting the first optical pulse signal; detecting the interval duration between the first optical pulse signal and the second optical pulse signal; and determining the distance between the user and the terminal equipment according to the interval duration and the light speed.
It should be noted that the infrared distance sensor is one of the distance sensors, and is mostly applied to a terminal device. The infrared distance sensor detects the distance between obstacles by using the principle that infrared signals meet the obstacles at different distances and the reflection time is different. The infrared distance measuring sensor is provided with a pair of infrared signal transmitting and receiving diodes, the transmitting tube transmits an infrared signal with specific frequency, the receiving tube receives the infrared signal with the frequency, and when the detection direction of the infrared signal meets an obstacle, the infrared signal is reflected back to be received by the receiving tube.
Since infrared rays have a small refractive index when passing through other substances, they are not substantially diffused when they travel. When the infrared distance sensor is used for distance measurement, the distance can be calculated according to the time from sending to receiving of an infrared signal and the transmission speed of infrared rays, namely the round-trip transit time delta t of the infrared rays modulated by high frequency on the distance to be measured is utilized, and according to the transmission speed V of the infrared rays, a formula is combined
Figure BDA0002943597720000071
The distance D can be obtained.
For example, when a user approaches a terminal device, a transmitting tube of an infrared distance sensor in the terminal device can transmit a beam of infrared rays, the infrared rays are propagated in a straight line in the air, and when the infrared rays touch the user, the infrared rays are reflected and received by a receiving tube of the infrared distance sensor in the terminal device. Assuming that the infrared distance sensor takes 1.8ns from the emission of infrared rays to the reception of reflected infrared rays, the propagation speed of the infrared rays in the air is 3 x 108m/s, then substituting into the formula, can obtain
Figure BDA0002943597720000072
I.e. it can be stated that the distance between the user and the terminal device is 27 cm.
103. And displaying a distance dynamic prompt interface corresponding to the target distance range.
In the embodiment of the invention, if the target distance is within the target distance range, a distance dynamic prompt interface corresponding to the target distance range is displayed.
The distance dynamic prompting interface is used for dynamically displaying the target distance between the user and the terminal equipment so as to prompt the user to be far away from a display screen of the terminal equipment.
Optionally, the distance dynamic prompt interface specifically includes: and displaying a distance indication area and a terminal equipment mark at the starting end of the distance indication area in the target area of the display screen, wherein a target animation image moving along with the distance between the user and the terminal equipment is displayed on the distance indication area.
It should be noted that the target area is any area in the display screen of the terminal device; the terminal equipment mark is positioned at any end of the distance indication area and can be used for indicating the position of the terminal equipment; the target animated figure may be used to indicate the user.
For example, as shown in fig. 2, assuming that the user is using a mobile phone, the distance dynamic prompting interface on the mobile phone may specifically include: in a target area 21 of the display screen, a distance indication area 22 is displayed, the distance indication area 22 is composed of a plurality of vertical straight lines, and a longer straight line 25, 26 and 27 is arranged at a distance for visually distinguishing different distance sections, a mobile phone mark 23 is positioned at the left end of the distance indication area 22, and a target animation image 24 moving along with the distance between a user and a terminal device is displayed on the distance indication area 22.
Optionally, the displaying of the distance dynamic prompt interface corresponding to the target distance range specifically includes: and displaying a distance indication area in a target area of the display screen, and displaying a target animation image at a target position on the distance indication area, wherein the distance between the target position and the terminal equipment mark corresponds to the target distance.
In the embodiment of the invention, the terminal equipment can display the distance indication area in the target area of the display screen and display the target animation image at the target position on the distance indication area.
And the distance between the target position and the terminal equipment identifier corresponds to the target distance.
It should be noted that the corresponding relationship between the distance between the target location and the terminal device identifier and the target distance between the user and the terminal device may be set by the user, or may be set by the terminal device according to the size of the target area of the display screen.
Illustratively, assume that the target distance between the user and the handset is 25 cm. As shown in fig. 2, a target area 21 is defined in the top area of the display screen, a distance indication area 22 is displayed in the target area 21 for showing a target distance between the user and the terminal device, and a target animated character 24 is displayed at a target position on the distance indication area 22, the distance between the target position and the mobile phone identifier 23 being 2.5cm, corresponding to 25cm between the user and the mobile phone.
Illustratively, assume that the target distance between the user and the handset is 17 cm. As shown in fig. 3, a target area 21 is defined in the top area of the display screen, a distance indication area 22 is displayed in the target area 21 for showing a target distance between the user and the terminal device, and a target animated character 24 is displayed at a target position on the distance indication area 22, the distance between the target position and the mobile phone identifier 23 being 1.7cm, corresponding to 17cm between the user and the mobile phone.
Illustratively, assume that the target distance between the user and the handset is 8 cm. As shown in fig. 4, a target area 21 is defined in the top area of the display screen, a distance indication area 22 is displayed in the target area 21 for showing a target distance between the user and the terminal device, and a target animated character 24 is displayed at a target position on the distance indication area 22, the distance between the target position and the mobile phone identifier 23 being 0.8cm, corresponding to 8cm between the user and the mobile phone.
Optionally, the terminal device may divide the distance range, so that the terminal device displays different distance prompt animations according to different distance ranges, which specifically includes:
optionally, when the target distance is within the first distance range, a distance dynamic prompt interface corresponding to the first distance range is displayed.
The first distance range is smaller than or equal to a first distance threshold and larger than a second distance threshold. The distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within a first distance range.
The first distance threshold and the second distance threshold may be set by the user, or may be set by the terminal device comprehensively according to the current environment and the use condition.
Illustratively, assuming that the target distance is 25cm, the first distance threshold is 30cm, and the second distance threshold is 20cm, then the first distance range is less than or equal to 30cm and greater than 20cm, the distance indicator 27 indicates the first distance threshold of 30cm, and the distance indicator 26 indicates the second distance threshold of 20 cm. As shown in fig. 2, when the terminal device detects that the target distance 25cm is smaller than 30cm and larger than 20cm and is within the first distance range, the terminal device displays a distance dynamic prompt interface corresponding to the first distance range, that is, a target area 21 is defined in the top area of the display screen, a distance indication area 22 is displayed in the target area 21, and a target animated character 24 is displayed at a target position on the distance indication area 22, the target position is located between position marks 26 and 27, the distance between the target position and the mobile phone mark 23 is 2.5cm, and the target distance is indicated by 25 cm.
Further, the terminal device may further set a text prompt box, display a text prompt message in the text prompt box, and output an audio prompt message.
The text prompt message and the audio prompt message are used for prompting a user to be far away from a display screen of the terminal equipment; the audio prompt information can be audio recorded by the user or audio stored in the terminal device in advance.
It should be noted that the text prompt box may be set at any position in the target area, or may be set at any position outside the target area, which is not limited in the embodiment of the present invention.
Illustratively, as shown in fig. 5, the terminal device may further set a text prompt box 28 in the target area 21, and display a text prompt message "cheer too close to the screen and get back a little while" in the text prompt box 28, and output an audio "please get away from the screen" to prompt the user to get away from the display screen of the terminal device.
Through the optional implementation mode, the terminal equipment can display a distance dynamic prompting interface corresponding to the first distance range to the user when the distance between the terminal equipment and the user is within the first distance range, display a first prompting message and output audio prompting information. Therefore, the user can be intuitively prompted that the distance between the user and the display screen is relatively short, so that the user can be far away from the display screen, the output form of the prompt message is enriched, and the prompt effect is obvious.
Optionally, when the target distance is within the second distance range, a distance dynamic prompt interface corresponding to the second distance range is displayed.
And the second distance range is smaller than or equal to the second distance threshold and larger than the third distance threshold. The distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within a second distance range.
The third distance threshold may be set by the user, or may be set by the terminal device comprehensively according to the current environment and the use condition.
Illustratively, assuming the target distance is 17cm, the second distance threshold is 20cm, and the second distance threshold is 10cm, then the second distance range is less than or equal to 20cm and greater than 10cm, distance indicator 26 indicates the second distance threshold of 20cm, and distance indicator 25 indicates the third distance threshold of 10 cm. As shown in fig. 3, when the terminal device detects that the target distance 17cm is less than 20cm and greater than 10cm and is within the second distance range, the terminal device displays a distance dynamic prompt interface corresponding to the second distance range, that is, a target area 21 is defined in the top area of the display screen, a distance indication area 22 is displayed in the target area 21, and a target animated character 24 is displayed at a target position on the distance indication area 22, the target position is located between position marks 25 and 26, the distance between the target position and the mobile phone mark 23 is 1.7cm, and the target distance is indicated as 17 cm.
Further, the terminal device may further set a text prompt box, display a text prompt message in the text prompt box, and control the terminal device to vibrate.
The text prompt message and the vibration are used for prompting the user to keep away from the display screen of the terminal equipment.
It should be noted that the text prompt box may be set at any position in the target area, or may be set at any position outside the target area, which is not limited in the embodiment of the present invention.
Illustratively, as shown in fig. 6, the terminal device may further set a text prompt box 28 in the target area 21, and display a text prompt message "cheer too close to the screen and get a little bit back" in the text prompt box 28, and control the terminal device to vibrate to prompt the user to get away from the display screen of the terminal device.
Through the optional implementation mode, the terminal device can display a distance dynamic prompting interface corresponding to the second distance range to the user when the distance between the terminal device and the user is within the second distance range, display the first prompting message and control the terminal device to vibrate. When the target distance is within the second distance range, the output form is different from that when the target distance is within the first distance range, so that the current distance between the user and the display screen can be further prompted to be closer, the user can be far away from the display screen, the output form of the prompt message is enriched, and the prompt effect is obvious.
Optionally, when the target distance is within the third distance range, a distance dynamic prompt interface corresponding to the third distance range is displayed.
Wherein the third distance range is less than or equal to a third distance threshold. The distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within a third distance range.
Illustratively, assuming that the target distance is 8cm and the third distance threshold is 10cm, the third distance range is less than or equal to 10cm and the distance indicator 25 indicates the third distance threshold of 10 cm. As shown in fig. 4, when the terminal device detects that the target distance 8cm is less than 10cm and is within the third distance range, the terminal device displays a distance dynamic prompt interface corresponding to the third distance range, that is, a target area 21 is defined in the top area of the display screen, a distance indication area 22 is displayed in the target area 21, and a target animation image 24 is displayed at a target position on the distance indication area 22, the target position is located between a position identifier 25 and a mobile phone identifier 23, the distance between the target position and the mobile phone identifier 23 is 0.8cm, and the target distance is indicated to be 8 cm.
Further, the terminal device may further set a text prompt box, display a text prompt message in the text prompt box, and lock the display screen.
The text prompt message and the locking display screen are used for prompting the user to keep away from the display screen of the terminal equipment.
It should be noted that the text prompt box may be set at any position in the target area, or may be set at any position outside the target area, which is not limited in the embodiment of the present invention.
Illustratively, as shown in fig. 7, the terminal device may further set a text prompt box 28 in the target area 21, and display a text prompt message "cheer too close to the screen, get back a little bit" in the text prompt box 28, and lock the display screen to prompt the user to get away from the display screen of the terminal device.
Through the optional implementation mode, the terminal device can display a distance dynamic prompting interface corresponding to the third distance range to the user when the distance between the terminal device and the user is within the third distance range, display the first prompting message, and lock the display screen, so that the user can not use the terminal device continuously. When the target distance is within the third distance range, the output form is different from the output form when the target distance is within the first distance range and the second distance range, so that the user can be forced to adjust the posture, the terminal equipment can be continuously used only by keeping away from the display screen, the output form of the prompt message is enriched, and the prompt effect is obvious.
Optionally, the division of the distance range in the embodiment of the present invention is not limited to the division manner in the foregoing implementation manner, and the distance range may be divided into different number of distance ranges or distance ranges with different distances according to different distance threshold settings.
Illustratively, the terminal device may further set the first distance threshold to be 40cm, the second distance threshold to be 30cm, the third distance threshold to be 20cm, and the fourth distance threshold to be 10cm, so that four different distance ranges can be formed.
The embodiment of the invention provides a distance dynamic prompting method.A camera is arranged on a terminal device at the same side of a display screen, and the terminal device can acquire a target image through the camera; detecting whether the facial features of the user exist in the target image, and if the facial features of the user exist in the target image, indicating that the user is currently using the terminal equipment; at this moment, the terminal device obtains the target distance between the user and the terminal device, if the target distance is within the target distance range, it indicates that the distance between the user and the display screen is short, at this moment, the terminal device can display a distance dynamic prompting interface corresponding to the target distance range, that is, different distance dynamic prompting interfaces are displayed according to different distance ranges, and the distance dynamic prompting interface can be used for dynamically displaying the target distance between the user and the terminal device so as to prompt the user to be far away from the display screen of the terminal device. Through the scheme, the terminal equipment can acquire images through the camera, so that the user is judged in front of the display screen, different distance dynamic prompt interfaces are displayed according to different distance ranges between the user and the terminal equipment, so that not only can the obstacle existing in front of the display screen be intelligently and accurately determined to be the face of the user, correct prompt information is output, but also prompt can be output in an animation mode, the user can easily accept the prompt information, and the scheme enriches the output form of the prompt information.
As an optional implementation manner, the acquiring, by the terminal device, the target image by the camera may specifically include: detecting whether the terminal equipment is accessed to a wireless access point or not; if the first wireless access point is accessed currently, whether the identification information of the first wireless access point is matched with the identification information of the target wireless access point on the target vehicle, which is recorded in advance by the terminal equipment, is identified; if the identification information of the first wireless access point is matched with the identification information of the target wireless access point, continuously detecting the motion state of the terminal equipment; and if the first time length of the terminal equipment in the moving state is detected to be longer than a first preset time length, acquiring a target image through the camera.
It should be noted that, if the identification information of the first wireless access point accessed by the terminal device matches the identification information of the target wireless access point on the target vehicle, it may be stated that the user of the terminal device is currently on the target vehicle and the terminal device is using the target wireless access point. Then, the terminal device can continuously detect the motion state of the terminal device, wherein the motion state comprises a moving state or a static state; and if the first time length of the terminal equipment in the moving state is detected to be longer than a first preset time length, acquiring a target image through the camera.
Through the optional implementation mode, the terminal device can accurately judge the current environment of the user through the identification information of the currently accessed wireless access point, if the identification information of the currently accessed first wireless access point is matched with the identification information of the target wireless access point on the target vehicle, the situation that the user is in the target vehicle can be indicated, then the current motion state of the terminal device is detected, and if the first time length of the terminal device in the motion state is longer than the first preset time length, the situation that the terminal device is in the motion state continuously can be indicated. According to the scheme, different scenes are provided for the terminal equipment to acquire the target image, so that the environment where the user is judged to be located by the terminal equipment is accurate, the terminal equipment can acquire the target image according to the motion state, and the terminal equipment is more suitable for actual use scenes.
Further, if it is detected that the first time length of the terminal device in the moving state is longer than a first preset time length, after the target image is acquired, if the target distance between the user and the terminal device is within a first target distance range, a distance dynamic prompt interface corresponding to the first target distance range is displayed.
Note that the first target distance range corresponds to a movement state. The first target threshold is a maximum value of the first target distance range.
Illustratively, when the terminal device is in a moving state, the first distance threshold may be 50cm, the second distance threshold may be 35cm, and the third distance threshold may be 20 cm; the first distance range is less than or equal to 50cm and greater than 35cm, the second distance range is less than or equal to 35cm and greater than 20cm, and the third distance range is less than or equal to 20 cm. And when the target distance is 12cm and is within a third distance range, the terminal equipment displays a distance dynamic prompt interface corresponding to the third distance range.
Through the optional implementation mode, aiming at the mobile state of the terminal equipment, because the terminal equipment and the user are bumpy in the mobile state, a larger distance threshold value is set to form a larger distance range, so that the eyes of the user are protected, and the mobile terminal is more fit with an actual use scene.
Further, after displaying the distance dynamic prompting interface corresponding to the first target distance range, if it is detected that the second time length of the terminal device in the static state is greater than a second preset time length, the target distance between the user and the terminal device is detected again, and if the target distance is within the second target distance range, the distance dynamic prompting interface corresponding to the second target distance range is displayed.
Note that the second target distance range corresponds to a stationary state. The second target threshold is the maximum value of the second target distance range,
it should be noted that the second target distance range is different from the first target distance range, and the second target threshold is smaller than the first target threshold.
Illustratively, when the terminal device is in a stationary state, the first distance threshold may be 30cm, the second distance threshold may be 20cm, and the third distance threshold may be 10 cm; the first distance range is less than or equal to 30cm and greater than 20cm, the second distance range is less than or equal to 20cm and greater than 10cm, and the third distance range is less than or equal to 10 cm. And when the target distance is 12cm and is within a second distance range, the terminal equipment displays a distance dynamic prompt interface corresponding to the second distance range.
Through the optional implementation mode, aiming at the static state of the terminal equipment, because the terminal equipment and the user are stable in the static state, a smaller distance threshold value is set, a smaller distance range is formed, the eyes of the user are protected, and the terminal equipment is more fit with the actual use scene.
Further, the manner for detecting the motion state of the terminal device may include at least the following two manners:
the implementation mode is as follows: continuously detecting an included angle between the terminal equipment and the horizontal direction to obtain two target angles; if the first angle difference value of the two target angles is larger than the preset angle difference value, determining that the terminal equipment is in a moving state; and if the first angle difference value of the two target angles is smaller than or equal to the preset angle difference value, determining that the terminal equipment is in a static state.
It should be noted that the terminal device may detect an included angle between the terminal device and the horizontal direction through a built-in sensor to obtain two target angles, where the two target angles are respectively an included angle detected by the sensor at two adjacent moments. If the first angle difference value of the two target angles is greater than the preset angle difference value, that is, the angle difference value between the included angle at the current moment and the included angle at the previous moment is greater than the preset angle difference value, it can be said that the terminal device is in a moving state; if the first angle difference between the two target angles is smaller than or equal to the preset angle difference, that is, the angle difference between the included angle at the current moment and the included angle at the previous moment is smaller than or equal to the preset angle difference, it can be said that the terminal device is in a static state.
The built-in sensor may be a gravity sensor, an inclination sensor, a gyroscope, or the like, and the embodiment of the present invention is not limited.
For example, assume that the preset angle difference is 20 °. The terminal device detects that the included angle in the first second is 26.8 degrees, the included angle in the second is 54.6 degrees, the angle difference value between the first second and the second is 27.8 degrees and is more than 20 degrees, and then the terminal device is in a moving state in the second; the terminal device detects that the included angle is 41.9 degrees at the third second, the angle difference value between the second and the third second is 12.7 degrees and is smaller than 20 degrees, and then the terminal device is in a static state at the third second; the terminal device detects that the included angle is 60.9 degrees at the fourth second, the angle difference value between the third second and the fourth second is 19 degrees and is smaller than 20 degrees, and then the terminal device is in a static state at the fourth second; the terminal device detects that the included angle is 10.4 degrees at the fifth second, the angle difference between the fourth second and the fifth second is 50.5 degrees and is larger than 20 degrees, and then the terminal device is in a moving state at the fifth second.
Through the optional implementation mode, the terminal equipment can detect an included angle between the terminal equipment and the horizontal direction, and if the terminal equipment detects that the angle difference value between the included angle at the current moment and the included angle at the previous moment is larger than the preset angle difference value, the terminal equipment is in a moving state; and if the angle difference value between the included angle at the current moment and the included angle at the previous moment is smaller than or equal to the preset angle difference value, the terminal equipment is in a static state. Therefore, the motion state of the terminal equipment can be accurately judged through the included angle between the terminal equipment and the horizontal direction.
The implementation mode two is as follows: continuously detecting the position information of the terminal equipment to obtain two target position information; if the first distance difference value of the two pieces of target position information is larger than the preset distance difference value, determining that the terminal equipment is in a moving state; and if the first distance difference of the two pieces of target position information is smaller than or equal to the preset distance difference, determining that the terminal equipment is in a static state.
It should be noted that the terminal device may detect the position information of the terminal device by using a positioning method to obtain two target position information, where the two target angles are the position information detected by using the positioning method at two adjacent moments respectively. If the first distance difference between the two pieces of target position information is greater than the preset distance difference, that is, the distance difference between the position information at the current moment and the position information at the previous moment is greater than the preset distance difference, it can be said that the terminal device is in a moving state; if the first distance difference between the two pieces of target position information is smaller than or equal to the preset distance difference, that is, the distance difference between the position information at the current moment and the position information at the previous moment is smaller than or equal to the preset distance difference, it can be said that the terminal device is in a stationary state.
The positioning method comprises the following steps: at least one of Wireless Fidelity (WiFi) positioning, satellite positioning and base station positioning. The Satellite Positioning may be chinese BeiDou Navigation Satellite System (BDS) Positioning, Global Positioning System (GPS) Positioning, or other Positioning methods, and is not limited herein.
Illustratively, assume that the preset distance difference is 25 cm. When the terminal device detects that the position information at the first second is the position A, the position information at the second is the position B, and the distance difference value between the first second and the second is 40cm and is more than 25cm, the terminal device is in a moving state at the second; when the terminal device detects that the position information at the third second is the position C, the distance difference value between the second and the third second is 12cm and is smaller than 25cm, and then the terminal device is in a static state at the third second; when the terminal device detects that the position information at the fourth second is the position D, the distance difference value between the third second and the fourth second is 20cm and is smaller than 25cm, and then the terminal device is in a static state at the fourth second; and the terminal equipment detects that the position information at the fifth second is the position E, the distance difference between the fourth second and the fifth second is 75cm and is more than 25cm, and the terminal equipment is in a moving state at the fifth second.
Through the optional implementation mode, the terminal equipment can detect the position information of the terminal equipment, and if the terminal equipment detects that the distance difference between the position information at the current moment and the position information at the previous moment is greater than the preset distance difference, the terminal equipment is in a moving state; and if the distance difference between the position information at the current moment and the position information at the previous moment is smaller than or equal to the preset distance difference, the terminal equipment is in a static state. Therefore, the motion state of the terminal equipment can be accurately judged through the position information of the terminal equipment.
Further, after determining that the user of the terminal device is currently located on the target vehicle, the terminal device further includes: acquiring identity information of a user according to the identification information of the first wireless access point, wherein the identity information of the user at least comprises: a curriculum schedule, the curriculum schedule comprising: the time and place of each course; acquiring a class-taking place of a target class, wherein the class-taking time of the target class is closest to the current system time of a target vehicle; and when the target vehicle is detected to reach the getting-off place corresponding to the on-class place of the target course, outputting a second prompt message, wherein the second prompt message is used for prompting the user that the user has reached the on-class place of the target course.
It should be noted that the terminal device may obtain identity information of the user, where the identity information at least includes: a curriculum schedule; the curriculum schedule can include at least: the time of day of each course and the location of day of each course. At this time, the terminal device can sequence all the courses on the curriculum schedule according to the front-back sequence of the lesson time of each course; therefore, the terminal equipment can determine the target course corresponding to the lesson time closest to the current system time according to the sequencing result; the terminal equipment can detect whether the target vehicle reaches the get-off place corresponding to the on-class place of the target course or not according to the positioning method; if the current location has arrived, the terminal device may output a second prompt message to prompt the user that the current location of the target course has been reached and the user may get off the vehicle.
For example, it is assumed that the curriculum schedule of the user acquired by the terminal device includes four lessons, which are: course A, 10:00, site A; course B, 16:30, site B; course C, 14:10, site C; course D, 11:15, location D; the current system time is 11:02 and the current location is location D. Thus, the terminal equipment can sort the four courses according to the front and back sequence of the lesson time, and the sorting result is A → D → C → B; the terminal device determines that the closest class time is 11:15 according to the current system time, namely corresponding to the course D, and the target vehicle also arrives at the class-in place D corresponding to the course D, so that the terminal device can output a prompt message that the class-in place D which has arrived at the course D is cheered, and the user is ready to get off to get back.
Through the optional implementation mode, the terminal equipment can avoid the situation that the user uses the terminal equipment on the vehicle to cause the missing of the class time and the class place.
As an optional implementation manner, after detecting that the facial features of the user exist in the target image, the terminal device may further include: acquiring the age of a user according to the facial features of the user, and if the age of the user is smaller than a preset age, displaying a distance dynamic prompt interface corresponding to a target distance range when the target distance between the user and the terminal equipment is within the target distance range; and if the age of the user is greater than or equal to the preset age, displaying a text prompt message when the target distance between the user and the terminal equipment is within the target distance range.
Illustratively, assume that the predetermined age is 10 years. When the age of the user is 8 years and is less than 10 years, the terminal device can display a distance dynamic prompting interface comprising an animated image to prompt the user to get away from the display screen; when the user is 13 years old and more than 10 years old, the terminal device may display a text prompt message "cheer too close to the screen and get back a little bit" to prompt the user to get away from the display screen.
Through the optional implementation mode, when the age of the user is smaller than the preset age, the user can be prompted through a distance dynamic prompting interface comprising an animation image, the interest of the user is attracted, and the user is easy to accept; when the age of the user is larger than or equal to the preset age, the user is directly prompted through a text prompt message, and the method is more visual and concise.
As an optional implementation manner, the target animation image displayed by the terminal device on the distance indication area in the distance dynamic prompt interface may specifically include: acquiring personal information of a user, wherein the personal information at least comprises: user age, user gender, user interests; displaying N preset animation images according to the personal information; and responding to the touch operation of the user to obtain and display the target animation image, wherein the touch operation is used for selecting the target animation image from the N preset animation images.
It should be noted that the terminal device may obtain personal information of a user, and display N preset animation images matched with the user according to the personal information, so that the user can select from the N preset animation images; after the terminal device receives the touch operation of the user, the terminal device can obtain the target animation image selected by the user in response to the touch operation.
Illustratively, the terminal device acquires that the user is a 6-year-old girl who prefers a small animal, and then the terminal device can display the pre-stored preset animation image of the cat, the rabbit, the hamster and the dog on a display screen of the terminal device, and after the user clicks the animation image of the rabbit, the terminal device can take the animation image of the rabbit as the target animation image.
Through the optional implementation mode, the terminal equipment can display a part of prestored animation images according to personal information of a user, the user can select one animation image from the animation images to be displayed in the display screen, and the animation image can be replaced at any time. Therefore, the user is prompted by the favorite animation image of the user, the interest of the user can be attracted, the user is easy to accept, the output form of the prompting message is enriched, and the prompting effect is obvious.
As an optional implementation manner, the target animation image displayed by the terminal device on the distance indication area in the distance dynamic prompt interface may specifically include: acquiring a cartoon playing history of a user within a preset time length, acquiring a cartoon with the most playing times, and acquiring a plurality of animation images from the cartoon and displaying the animation images on a display screen for the user to select; after the terminal device receives the touch operation of the user, the terminal device can obtain the target animation image selected by the user in response to the touch operation.
It should be noted that the terminal device may obtain the animation play history within a period of time, and select the animation image in the animation with the largest play frequency for the user to select from; after the terminal device receives the touch operation of the user, the terminal device can obtain the target animation image selected by the user in response to the touch operation.
For example, assume that the preset duration is two weeks. The terminal equipment acquires that a user watches the animation A three times, the animation B two times and the animation C five times within two weeks, so that the terminal equipment can acquire animation images from the animation C, wherein the animation images comprise animation images of cats, rabbits, hamsters and puppies; the terminal device displays the four animation characters on the display screen, and after the user clicks the rabbit animation character, the terminal device can take the rabbit animation character as a target animation character.
Through the optional implementation mode, the terminal equipment can display the animation image in the animation with the most watching times according to the condition that the user watches the animation recently, and the user can select one animation image from the animation images to display in the display screen and can replace the animation image at any time. Therefore, the interest of the users with small ages is changed frequently, the users are prompted through the favorite animation images in the animation pictures frequently seen by the users recently, the interest of the users can be attracted, the users are easy to accept, the output forms of the prompting messages are enriched, and the prompting effect is obvious.
Example two
As shown in fig. 8, an embodiment of the present invention provides a method for dynamically prompting distance, where the method may further include the following steps:
801. whether an object to be shot exists in a preset distance range of the display screen is detected.
In the embodiment of the invention, the terminal equipment can detect whether the object to be shot exists in the preset distance range of the display screen through the infrared distance sensor.
It should be noted that the preset distance range may be set by the user, or may be set by the terminal device comprehensively according to the current environment and the use condition. The terminal equipment can respectively detect the distance between the object to be shot in front of the display screen and judge whether the object to be shot is within a preset distance range.
802. And if so, turning on the camera.
In the embodiment of the invention, if the object to be shot exists in the preset distance range of the display screen, the camera is started to shoot.
803. A first image is acquired through a camera.
In the embodiment of the invention, the terminal equipment can acquire the first image through the camera.
It should be noted that the camera is disposed on the terminal device, and is located on the same side of the terminal device as the display screen.
804. An image area including a photographic subject is determined as a target image.
In the embodiment of the invention, the terminal equipment can intercept the first image to obtain the target image.
Wherein the target image includes an image area of the photographic subject, the image area may be a circumscribed image area including the photographic subject, and the circumscribed image area may be a rectangle, a circle, an ellipse, or the like.
805. Whether a photographic subject in a target image includes a facial feature of a user is detected.
In the embodiment of the invention, the terminal device can identify the target image including the shooting object through a face identification algorithm, and detect whether the target image includes the face features of the user.
Optionally, the face recognition algorithm may be an insight face (also written as an insight face) algorithm, the insight face algorithm is mainly to acquire a face recognition function by acquiring a plurality of face data for training, and in the embodiment of the present invention, after the terminal device acquires the target image, the insight face algorithm may rapidly and accurately mark a plurality of face features in the target image through the face recognition function.
Optionally, the face recognition algorithm may also be a FaceNet (also written as FaceNet) algorithm, where the FaceNet algorithm mainly performs face recognition from an image to a european space by end-to-end learning, and based on the code, in the embodiment of the present invention, after a terminal device obtains a target image, the FaceNet algorithm may quickly and accurately mark a plurality of facial features in the target image through the code.
806. And if so, acquiring the target distance between the user and the terminal equipment.
807. And displaying a distance dynamic prompt interface corresponding to the target distance range.
In the embodiment of the present invention, for the description of steps 806 to 807, please refer to the detailed description of steps 102 to 103 in the first embodiment, which is not repeated herein.
The embodiment of the invention provides a distance dynamic prompting method, wherein a camera is arranged on a terminal device at the same side of a display screen, the terminal device can detect whether an object to be shot exists in a preset distance range of the display screen, if so, the camera is started to collect a first image, and an image area including the shot object is intercepted from the first image to be used as a target image; detecting whether a shooting object in a target image comprises facial features of a user, and if the shooting object is detected to comprise the facial features of the user, indicating that the user is currently using the terminal equipment; at this moment, the terminal device obtains the target distance between the user and the terminal device, if the target distance is within the target distance range, it indicates that the distance between the user and the display screen is short, at this moment, the terminal device can display a distance dynamic prompting interface corresponding to the target distance range, that is, different distance dynamic prompting interfaces are displayed according to different distance ranges, and the distance dynamic prompting interface can be used for dynamically displaying the target distance between the user and the terminal device so as to prompt the user to be far away from the display screen of the terminal device. By the scheme, the terminal equipment can detect whether an object to be shot exists in front of the display screen, and when the object exists, the camera is started to collect images, and target images including the shot object are intercepted, so that the facial features of a user are detected, the loss caused by starting the camera without the object to be shot in front of the display screen can be avoided, the condition that prompt messages are output when other objects shield the display screen but the user is far away is avoided, and the obstacle existing in front of the display screen is intelligently and accurately determined to be the face of the user, so that correct prompt messages are output; and the prompt can be output in an animation mode, so that the user can accept the prompt easily, and the output form of the prompt information is enriched.
As an optional implementation manner, after the terminal device detects that the facial features of the user exist in the target image, the method may further include: detecting whether the facial features of the user are matched with pre-stored user information; if the distance is matched with the target distance, acquiring the target distance between the user and the terminal equipment; if not, judging whether the currently running application program relates to property; if yes, an identity verification interface is output to prompt the user to verify the identity; if the identity authentication is passed, acquiring the target distance between the user and the terminal equipment, and storing the facial features of the user; and if the identity authentication is not passed, locking the display screen and outputting a prompt message to prompt the user that the user does not have the right to use the terminal equipment currently.
For example, if the terminal device detects that the facial features of the user existing in the target image are not matched with the facial features in the user information prestored in the terminal device, it is determined whether the currently running application program relates to property, and if the currently running application program is a mobile banking application program of bank a, a "please input a screen locking password" is displayed on a display screen of the terminal device to verify the identity. If the user screen locking password is correctly input, the target distance between the user and the terminal equipment can be obtained; if the user screen locking password is input wrongly, the display screen can be locked, and a prompt message that you do not have the right to continue using the mobile phone is output to prompt the user that the user does not have the right to use the terminal equipment currently.
Through the optional implementation mode, the terminal equipment can verify the identity information of the current user when the current user is judged to be not the user with the pre-stored user information through the facial features and the currently running application program relates to property, and the display screen is locked if the identity information does not pass the verification. Therefore, the property safety of the user of the terminal equipment can be ensured, and the property can not be lost.
As an optional implementation manner, after the terminal device displays the distance dynamic prompt interface corresponding to the target distance range, the method may further include: acquiring audio information of the current environment through an audio acquisition device, and analyzing the audio information to obtain the noise degree of the current environment; and if the noise degree is greater than the preset noise degree, outputting a prompt message, wherein the prompt message is used for prompting the user to change the environment or wear the earphone.
Through the optional implementation mode, the terminal equipment can detect the noise degree of the current environment where the terminal equipment is located, so that a user is prompted to replace the environment or wear an earphone.
EXAMPLE III
As shown in fig. 9, an embodiment of the present invention provides a terminal device, where a camera is disposed on the same side of the terminal device as a display screen, and the terminal device includes:
an obtaining module 901, configured to obtain a target image through a camera;
the obtaining module 901 is further configured to obtain a target distance between the user and the terminal device if it is detected that the facial features of the user exist in the target image;
the display module 902 is configured to display a distance dynamic prompt interface corresponding to the target distance range if the target distance is within the target distance range, where the distance dynamic prompt interface is used to dynamically display the target distance between the user and the terminal device, so as to prompt the user to get away from the display screen of the terminal device.
Optionally, the terminal device further includes:
the processing module 903 is used for detecting whether an object to be shot exists in a preset distance range of the display screen through an infrared distance sensor;
the processing module 903 is further configured to turn on the camera if the camera exists.
Optionally, the obtaining module 901 is further configured to collect a first image through a camera;
the processing module 903 is further configured to determine, in the first image, an image area including the photographic subject as a target image, where the image area is an external image area including the photographic subject;
the processing module 903 is further configured to detect whether the photographic subject in the target image includes facial features of the user through a facial recognition technology.
Optionally, the display module 902 is further configured to display a distance dynamic prompt interface corresponding to the first distance range if the first distance range is smaller than or equal to the first distance threshold and larger than the second distance threshold, and if the target distance is within the first distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal equipment is within a first distance range;
the display module 902 is further configured to display a text prompt message and output audio prompt information if the target distance is within the first distance range; the text prompt message is used for prompting the user to be far away from the display screen of the terminal equipment.
Optionally, the display module 902 is further configured to display a distance dynamic prompt interface corresponding to the second distance range if the second distance range is smaller than or equal to the second distance threshold and is greater than the third distance threshold, and if the target distance is within the second distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal equipment is in a second distance range;
the display module 902 is further configured to display a text prompt message and control the terminal device to vibrate if the target distance is within the second distance range.
Optionally, the display module 902 is further configured to display a distance dynamic prompt interface corresponding to the third distance range if the third distance range is smaller than or equal to the third distance threshold, and if the target distance is within the third distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal equipment is within a third distance range;
the display module 902 is further configured to display a text prompt message and lock the display screen if the target distance is within the third distance range.
Optionally, the display module 902 is further configured to display a distance indication area in the target area of the display screen, and a terminal device identifier at a starting end of the distance indication area, where a target animation image moving along with a distance between the user and the terminal device is displayed on the distance indication area.
Optionally, the display module 902 is further configured to display a distance indication area in the target area of the display screen, display a target animation image in the target position on the distance indication area, where the distance between the target position and the terminal device identifier is used to indicate the target distance.
Optionally, the processing module 903 is further configured to detect whether the terminal device accesses a wireless access point;
the processing module 903 is further configured to, if the first wireless access point is currently accessed, identify whether the identification information of the first wireless access point matches identification information of a target wireless access point on a target vehicle, which is recorded in advance by the terminal device;
the processing module 903 is further configured to continuously detect a motion state of the terminal device if the identification information of the first wireless access point matches the identification information of the target wireless access point, where the motion state includes a moving state or a static state;
the obtaining module 901 is further configured to obtain the target image through the camera if it is detected that the first duration of the terminal device in the moving state is longer than a first preset duration.
Optionally, the first target threshold corresponding to the moving state is greater than the second target threshold corresponding to the stationary state, the first target threshold is a maximum value of the target distance range corresponding to the moving state, and the second target threshold is a maximum value of the target distance range corresponding to the stationary state.
Optionally, the processing module 903 is further configured to determine that the user of the terminal device is currently located on the target vehicle if the identification information of the first wireless access point matches the identification information of the target wireless access point;
the obtaining module 901 is further configured to obtain identity information of a user according to the identification information of the first wireless access point, where the identity information of the user at least includes: a curriculum schedule, the curriculum schedule comprising: the time and place of each course;
the obtaining module 901 is further configured to obtain a place of the target course, where the class time of the target course is closest to the current system time of the target vehicle;
the processing module 903 is further configured to output a first prompt message when it is detected that the target vehicle reaches the get-off location corresponding to the point of class of the target course, where the first prompt message is used to prompt the user that the user has reached the point of class of the target course.
In the embodiment of the present invention, each module may implement the distance dynamic prompting method provided in the above method embodiment, and may achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
As shown in fig. 10, an embodiment of the present invention further provides a terminal device, where the terminal device may include:
a memory 1001 in which executable program code is stored;
a processor 1002 coupled to a memory 1001;
the processor 1002 calls the executable program code stored in the memory 1001 to execute the distance dynamic prompting method executed by the terminal device in each method embodiment.
As shown in fig. 11, an embodiment of the present invention further provides a terminal device, where the terminal device includes, but is not limited to: a Radio Frequency (RF) circuit 1101, a memory 1102, an input unit 1103, a display unit 1104, a sensor 1105, an audio circuit 1106, a WiFi (wireless communication) module 1107, a processor 1108, a power supply 1109, and a camera 1110. The radio frequency circuit 1101 includes a receiver 11011 and a transmitter 11012. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 11 does not constitute a limitation of the terminal device, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1101 may be configured to receive and transmit signals during a message transmission or call, and in particular, receive downlink messages from a base station and process the received downlink messages to the processor 1108; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 1102 may be used for storing software programs and modules, and the processor 1108 may execute various functional applications and data processing of the terminal device by operating the software programs and modules stored in the memory 1102. The memory 1102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 1102 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1103 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 1103 may include a touch panel 11031 and other input devices 11032. The touch panel 11031, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on or near the touch panel 11031 using any suitable object or accessory such as a finger, a stylus, etc.) thereon or nearby, and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 11031 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1108, and can receive and execute commands sent by the processor 1108. In addition, the touch panel 11031 may be implemented by using various types of resistive, capacitive, infrared, surface acoustic wave, and the like. The input unit 1103 may include other input devices 11032 in addition to the touch panel 11031. In particular, other input devices 11032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1104 may be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 1104 may include a display panel 11041, and optionally, the display panel 11041 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 11031 can cover the display panel 11041, and when the touch panel 11031 detects a touch operation thereon or nearby, the touch panel 11031 transmits the touch operation to the processor 1108 to determine a touch event, and then the processor 1108 provides a corresponding visual output on the display panel 11041 according to the touch event. Although in fig. 11, the touch panel 11031 and the display panel 11041 are implemented as two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 11031 may be integrated with the display panel 11041 to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 11041 according to the brightness of ambient light, and a proximity sensor that may exit the display panel 11041 and/or a backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here. In the embodiment of the present invention, the terminal device may include an acceleration sensor, a depth sensor, a distance sensor, or the like.
The audio circuitry 1106, speaker 11061, microphone 11062 may provide an audio interface between the user and the terminal device. The audio circuit 1106 can transmit the electrical signal converted from the received audio data to the speaker 11061, and the electrical signal is converted into a sound signal by the speaker 11061 and output; on the other hand, the microphone 11062 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 1106, and outputs the audio data to the processor 1108 for processing, and then transmits the audio data to another terminal device through the RF circuit 1101, or outputs the audio data to the memory 1102 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the terminal device can help the user send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 1107, which provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1107, it is understood that it does not belong to the essential constitution of the terminal device and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1108 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 1102 and calling data stored in the memory 1102, thereby performing overall monitoring of the terminal device. Optionally, processor 1108 may include one or more processing units; preferably, the processor 1108 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1108.
The terminal device also includes a power supply 1109 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1108 via a power management system that may be configured to manage charging, discharging, and power consumption. Although not shown, the terminal device may further include a bluetooth module or the like, which is not described in detail herein.
Embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention also provide a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention further provide an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform some or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
The terminal device provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again to avoid repetition.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
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.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.

Claims (14)

1. A distance dynamic prompting method is characterized in that the method is applied to terminal equipment, a camera is arranged on the same side of the terminal equipment as a display screen, and the method comprises the following steps:
acquiring a target image through the camera;
if the facial features of the user exist in the target image, acquiring the target distance between the user and the terminal equipment;
and if the target distance is within a target distance range, displaying a distance dynamic prompting interface corresponding to the target distance range, wherein the distance dynamic prompting interface is used for dynamically displaying the target distance between the user and the terminal equipment so as to prompt the user to be far away from a display screen of the terminal equipment.
2. The method according to claim 1, wherein an infrared distance sensor is provided in the terminal device, and before the target image is acquired by the camera, the method further comprises:
detecting whether an object to be shot exists in a preset distance range of the display screen through the infrared distance sensor;
and if so, starting the camera.
3. The method of claim 2, wherein said acquiring a target image by said camera comprises:
acquiring a first image through the camera;
determining an image area including a shooting object as a target image in the first image, wherein the image area is an external image area including the shooting object;
detecting whether the photographic subject in the target image includes the facial features of the user by a facial recognition technology.
4. The method of claim 1, wherein displaying a distance dynamic prompting animation corresponding to the target distance range if the target distance is within the target distance range comprises:
if the target distance is within the first distance range, displaying a distance dynamic prompt interface corresponding to the first distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within the first distance range;
the method further comprises the following steps:
if the target distance is within the first distance range, displaying a text prompt message and outputting audio prompt information; the text prompt message is used for prompting the user to be far away from a display screen of the terminal equipment.
5. The method of claim 4, wherein displaying a distance dynamic prompting animation corresponding to the target distance range if the target distance is within the target distance range comprises:
if the target distance is within the second distance range, displaying a distance dynamic prompt interface corresponding to the second distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within the second distance range;
the method further comprises the following steps:
and if the target distance is within the second distance range, displaying the text prompt message and controlling the terminal equipment to vibrate.
6. The method of claim 5, wherein displaying a distance dynamic prompting animation corresponding to the target distance range if the target distance is within the target distance range comprises:
if the target distance is within the third distance range, displaying a distance dynamic prompt interface corresponding to the third distance range; the distance dynamic prompting interface is specifically used for dynamically displaying that the distance between the user and the terminal device is within the third distance range;
the method further comprises the following steps:
and if the target distance is within the third distance range, displaying the text prompt message and locking the display screen.
7. The method of claim 1, wherein the distance dynamic prompt interface comprises:
displaying a distance indication area and a terminal equipment mark at the starting end of the distance indication area in a target area of the display screen, wherein a target animation image moving along with the distance between the user and the terminal equipment is displayed on the distance indication area.
8. The method of claim 7, wherein displaying a distance dynamic prompt interface corresponding to the target distance range comprises:
and displaying the distance indication area in the target area of the display screen, displaying the target animation image at a target position on the distance indication area, wherein the distance between the target position and the terminal equipment mark is used for indicating the target distance.
9. The method of claim 1, wherein said acquiring a target image by said camera comprises:
detecting whether the terminal equipment is accessed to a wireless access point or not;
if the first wireless access point is accessed currently, whether the identification information of the first wireless access point is matched with the identification information of the target wireless access point on the target vehicle, which is recorded in advance by the terminal equipment, is identified;
if the identification information of the first wireless access point is matched with the identification information of the target wireless access point, continuously detecting the motion state of the terminal equipment, wherein the motion state comprises a moving state or a static state;
and if the first time length of the terminal equipment in the moving state is detected to be longer than a first preset time length, acquiring the target image through the camera.
10. The method according to claim 9, wherein a first target threshold corresponding to the moving state is greater than a second target threshold corresponding to the stationary state, the first target threshold is a maximum value of a target distance range corresponding to the moving state, and the second target threshold is a maximum value of a target distance range corresponding to the stationary state.
11. The method of claim 9, wherein before continuously detecting the motion state of the terminal device, further comprising:
if the identification information of the first wireless access point is matched with the identification information of the target wireless access point, determining that the user of the terminal equipment is currently located on the target vehicle;
acquiring the identity information of the user according to the identification information of the first wireless access point, wherein the identity information of the user at least comprises: a curriculum schedule, the curriculum schedule comprising: the time and place of each course;
acquiring a class site of the target class, wherein the class time of the target class is closest to the current system time of the target vehicle;
when the target vehicle is detected to reach the getting-off place corresponding to the on-class place of the target course, outputting a first prompt message, wherein the first prompt message is used for prompting that the user reaches the on-class place of the target course.
12. The utility model provides a terminal equipment, its characterized in that, terminal equipment is last to be provided with the camera with the display screen homonymy, terminal equipment includes:
the acquisition module is used for acquiring a target image through the camera;
the obtaining module is further configured to obtain a target distance between the user and the terminal device if it is detected that the facial features of the user exist in the target image;
and the display module is used for displaying a distance dynamic prompt interface corresponding to the target distance range if the target distance is within the target distance range, wherein the distance dynamic prompt interface is used for dynamically displaying the target distance between the user and the terminal equipment so as to prompt the user to be far away from a display screen of the terminal equipment.
13. A terminal device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement the dynamic distance alert method according to any one of claims 1 to 11.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for dynamic distance hinting according to any one of claims 1 to 11.
CN202110188199.5A 2021-02-18 2021-02-18 Dynamic distance prompting method and terminal equipment Active CN112968992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110188199.5A CN112968992B (en) 2021-02-18 2021-02-18 Dynamic distance prompting method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110188199.5A CN112968992B (en) 2021-02-18 2021-02-18 Dynamic distance prompting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN112968992A true CN112968992A (en) 2021-06-15
CN112968992B CN112968992B (en) 2022-08-23

Family

ID=76285030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110188199.5A Active CN112968992B (en) 2021-02-18 2021-02-18 Dynamic distance prompting method and terminal equipment

Country Status (1)

Country Link
CN (1) CN112968992B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116312205A (en) * 2023-01-04 2023-06-23 郭列维 Myopia prevention mark generation method, printing product, device, program product and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295370A (en) * 2012-09-13 2013-09-11 上海工融贸易有限公司 Method and system for preventing myopia by monitoring distance between eyes and screen
CN104834585A (en) * 2015-04-29 2015-08-12 广东小天才科技有限公司 Method and device for prompting distance between user and screen
CN105872757A (en) * 2016-03-24 2016-08-17 乐视控股(北京)有限公司 Method and apparatus for reminding safe television watching distance
CN106200966A (en) * 2016-07-12 2016-12-07 陆汉明 A kind of display screen, show and control software setting method
CN106791058A (en) * 2016-12-09 2017-05-31 广西大学 A kind of method and apparatus based on user distance adjustment display effect
CN208289904U (en) * 2018-03-07 2018-12-28 深圳市谷歌为讯科技有限公司 A kind of child growth intelligent robot
CN109492590A (en) * 2018-11-13 2019-03-19 广东小天才科技有限公司 A kind of distance detection method, distance detection device and terminal device
CN109933266A (en) * 2018-12-27 2019-06-25 维沃移动通信有限公司 A kind of display methods and terminal device
US20200249967A1 (en) * 2019-04-22 2020-08-06 Beijing Dajia Internet Information Technology Co., Ltd. Information reminding method and device, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295370A (en) * 2012-09-13 2013-09-11 上海工融贸易有限公司 Method and system for preventing myopia by monitoring distance between eyes and screen
CN104834585A (en) * 2015-04-29 2015-08-12 广东小天才科技有限公司 Method and device for prompting distance between user and screen
CN105872757A (en) * 2016-03-24 2016-08-17 乐视控股(北京)有限公司 Method and apparatus for reminding safe television watching distance
CN106200966A (en) * 2016-07-12 2016-12-07 陆汉明 A kind of display screen, show and control software setting method
CN106791058A (en) * 2016-12-09 2017-05-31 广西大学 A kind of method and apparatus based on user distance adjustment display effect
CN208289904U (en) * 2018-03-07 2018-12-28 深圳市谷歌为讯科技有限公司 A kind of child growth intelligent robot
CN109492590A (en) * 2018-11-13 2019-03-19 广东小天才科技有限公司 A kind of distance detection method, distance detection device and terminal device
CN109933266A (en) * 2018-12-27 2019-06-25 维沃移动通信有限公司 A kind of display methods and terminal device
US20200249967A1 (en) * 2019-04-22 2020-08-06 Beijing Dajia Internet Information Technology Co., Ltd. Information reminding method and device, terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116312205A (en) * 2023-01-04 2023-06-23 郭列维 Myopia prevention mark generation method, printing product, device, program product and medium
CN116312205B (en) * 2023-01-04 2024-03-26 郭列维 Myopia prevention mark generation method, printing product, device, program product and medium

Also Published As

Publication number Publication date
CN112968992B (en) 2022-08-23

Similar Documents

Publication Publication Date Title
CN108834068B (en) Positioning method based on wearable device and wearable device
CN103702029B (en) The method and device of focusing is pointed out during shooting
CN110572776B (en) Method for dividing safety area, terminal and storage medium
CN110458655B (en) Shop information recommendation method and mobile terminal
CN107608855B (en) Reminding method and mobile terminal
CN108877780B (en) Voice question searching method and family education equipment
CN111107219B (en) Control method and electronic equipment
CN107463897A (en) Fingerprint identification method and mobile terminal
CN108510267B (en) Account information acquisition method and mobile terminal
CN111357006A (en) Fatigue prompting method and terminal
CN108318706A (en) The speed-measuring method and device of mobile object
CN108429856A (en) A kind of location information acquisition methods and mobile terminal
CN112968992B (en) Dynamic distance prompting method and terminal equipment
CN107835304B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
CN108897508B (en) Voice question searching method based on split screen display and family education equipment
CN108540651A (en) A kind of the recommendation method and mobile terminal of application program
CN112859136A (en) Positioning method and related device
CN109041212B (en) Positioning method and wearable device
CN114849215B (en) Rope skipping counting method and device based on intelligent wearable equipment
CN109068000B (en) Sensor control method, mobile terminal, and computer-readable storage medium
CN112187998B (en) Drop prompting method and terminal equipment
CN111756927B (en) Output method of positioning information, terminal equipment and storage medium
CN108055393A (en) Speed based reminding method, device and computer readable storage medium
EP3239825B1 (en) Multimedia information presentation method and terminal
CN108197893B (en) Reminding method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant