CN113824832A - Prompting method and device, electronic equipment and storage medium - Google Patents

Prompting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113824832A
CN113824832A CN202111109376.2A CN202111109376A CN113824832A CN 113824832 A CN113824832 A CN 113824832A CN 202111109376 A CN202111109376 A CN 202111109376A CN 113824832 A CN113824832 A CN 113824832A
Authority
CN
China
Prior art keywords
distance
user
face
limit
determining
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
CN202111109376.2A
Other languages
Chinese (zh)
Other versions
CN113824832B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111109376.2A priority Critical patent/CN113824832B/en
Publication of CN113824832A publication Critical patent/CN113824832A/en
Application granted granted Critical
Publication of CN113824832B publication Critical patent/CN113824832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • 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

Abstract

The application discloses a prompting method, a prompting device, electronic equipment and a storage medium, and belongs to the technical field of electronics. The specific scheme comprises the following steps: under the condition that the electronic equipment is in a bright screen state, acquiring face information of a user and a first distance, wherein the first distance is the distance between the face of the user and the electronic equipment; determining a lower limit of a target distance between the face of the user and the electronic equipment according to the face information; and outputting first prompt information when the first distance is smaller than the lower limit of the target distance, wherein the first prompt information is used for prompting a user to adjust the distance between the face of the user and the electronic equipment.

Description

Prompting method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a prompting method and device, electronic equipment and a storage medium.
Background
With the development of communication technology, users equipped with electronic devices are becoming more and more younger, and their eyesight is easily affected if the users use the electronic devices unscientific.
In the prior art, the nearest distance for the user to use the electronic device can be generally set, and when the distance for the user to use the electronic device is lower than the nearest distance, a notice message of using the eyes inedibility can be sent to the user.
However, the distance reminding method in the prior art is poor in flexibility because the distance requirements of users on the electronic device may be different in different use scenes.
Disclosure of Invention
The embodiment of the application aims to provide a prompting method, a prompting device, electronic equipment and a storage medium, and can solve the problem that a distance prompting mode in the prior art is poor in flexibility.
In a first aspect, an embodiment of the present application provides a prompting method, where the method includes: under the condition that the electronic equipment is in a bright screen state, acquiring face information of a user and a first distance, wherein the first distance is the distance between the face of the user and the electronic equipment; determining a lower limit of a target distance between the face of the user and the electronic equipment according to the face information; and outputting first prompt information when the first distance is smaller than the lower limit of the target distance, wherein the first prompt information is used for prompting a user to adjust the distance between the face of the user and the electronic equipment.
In a second aspect, an embodiment of the present application provides a prompting device, including: the device comprises an acquisition module, a processing module and an output module; the acquisition module is used for acquiring the face information of the user and a first distance under the condition that the electronic equipment is in a bright screen state, wherein the first distance is the distance between the face of the user and the electronic equipment; the processing module is used for determining a lower limit of a target distance between the face of the user and the electronic equipment according to the face information; and the output module is used for outputting first prompt information under the condition that the first distance is smaller than the lower limit of the target distance, wherein the first prompt information is used for prompting a user to adjust the distance between the face of the user and the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the face information and the first distance of the user can be acquired under the condition that the electronic equipment is in a bright screen state, wherein the first distance is the distance between the face of the user and the electronic equipment; determining a lower limit of a target distance between the face of the user and the electronic equipment according to the face information; and outputting first prompt information when the first distance is smaller than the lower limit of the target distance, wherein the first prompt information is used for prompting a user to adjust the distance between the face of the user and the electronic equipment. According to the scheme, the lower limit of the target distance between the face of the user and the electronic equipment can be determined according to the face information of the user, namely, the lower limit of the target distance is flexibly determined according to the face information, so that under the condition that the distance between the face of the user and the electronic equipment is smaller than the lower limit of the target distance, prompt information for adjusting the distance can be sent to the user. Therefore, the lower limit of the target distance can be dynamically changed, so that the requirement for distance monitoring under different use states of a user is met, and the flexibility of a distance reminding mode is improved.
Drawings
Fig. 1 is a schematic diagram of a prompting method provided in an embodiment of the present application;
fig. 2 is one of interface operation diagrams of a prompt method provided in an embodiment of the present application;
fig. 3 is a second schematic diagram of a prompting method provided in the embodiment of the present application;
fig. 4 is a second schematic view illustrating an interface operation of the prompting method according to the embodiment of the present application;
fig. 5 is a third schematic view of an interface operation of the prompting method according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a prompting device provided in an embodiment of the present application;
FIG. 7 is a hardware diagram of an electronic device provided by an embodiment of the present application;
fig. 8 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the prompting method provided by the embodiment of the present application through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
As shown in fig. 1, the embodiment of the present application provides a prompting method, which can be applied to an electronic device, and the method can include steps 101 and 103.
Step 101, under the condition that the electronic equipment is in a bright screen state, the electronic equipment acquires face information and a first distance of a user.
The first distance is a distance between the face of the user and the electronic device.
Optionally, the electronic device includes a camera and a distance sensor. Under the condition that a user triggers the electronic equipment to be in a bright screen state, the electronic equipment can acquire a face image through a camera and acquire face information of the user from the face image through a face recognition technology; the distance between the face of the user and the electronic equipment is detected through the distance sensor, and a first distance is obtained.
Alternatively, the face information may include user identification information and a vision correction state of the user. The vision correction state may include no vision correction, spectacle frame correction, contact lens correction, and the like.
Optionally, the first distance may be a distance from a center point of the face of the user to a center point of the screen of the electronic device, or may also be a distance from a pupil of the user to a center point of the screen of the electronic device, which may be specifically determined according to an actual use condition, and this is not limited in this embodiment of the present application.
Optionally, the first distance may be a distance detected by the electronic device in real time, or may be a distance that exceeds a first threshold when the face of the user keeps the same distance from the electronic device. Taking the first threshold as 5 minutes as an example, if the electronic device detects that the distance between the face of the user and the electronic device is distance 1 at 10:00 and detects that the distance between the face of the user and the electronic device is still distance 1 at 10:05, the distance 1 may be determined as the first distance.
And 102, the electronic equipment determines a lower limit of a target distance between the face of the user and the electronic equipment according to the face information.
Optionally, the electronic device may include a correspondence between different vision correction states of the user and the lower limit of the target distance. After obtaining the face information of the user, the electronic device may determine the identity information and the vision correction status of the user according to the face information; determining a corresponding lower limit of the target distance according to the identity information and the vision correction state; wherein, different vision correction states of the same user correspond to different lower limits of the target distance.
Illustratively, as shown in table 1, the lower limit of the target distance is set for different users in different vision correction states. Take the example that the user 1 uses the electronic apparatus without wearing glasses. After acquiring the face information of the user, the electronic device may determine, according to the face information, that the identity information of the current user is the user 1, and determine, according to the face information, that the user 1 is in the eyesight-poor correction state, and therefore, may determine that the lower limit of the target distance corresponding to the user 1 in the eyesight-poor correction state is the lower limit of the target distance 1 a.
TABLE 1
-- Correction of vision loss Frame glasses correction Contact lens correction
User 1 Lower limit of target distance 1a Lower limit of target distance 1b Lower limit of target distance 1c
User 2 Lower limit of target distance 2a Lower limit of target distance 2b Lower limit of target distance 2c
Optionally, before step 102, the electronic device may first acquire the dynamic environment feature; determining a target distance lower limit between the face of the user and the electronic equipment according to the face information and the dynamic environment characteristics; wherein the dynamic environmental characteristics may include at least one of: ambient light, interface element type and interface element size displayed by the electronic device, and a user's gaze area.
Specifically, the lower limit of the target distance between the face of the user and the electronic device can be dynamically adjusted according to the external environment characteristics and the electronic device characteristics. Before step 102, the electronic device may obtain a dynamic environment feature, then determine a first lower distance limit between the face of the user and the electronic device according to the face information of the user, and adjust the first lower distance limit according to the dynamic environment feature to obtain a target lower distance limit. Wherein the ambient light may comprise at least one of: outdoor light, indoor light, natural light, lamplight, illumination intensity, warm white light, warm yellow light and the like; the types of interface elements displayed by the electronic device may include at least one of: text, pictures, video, etc.; the user's gazing area may be the area in which different interface element types are located.
Optionally, in a case that the dynamic environment feature includes ambient light, the electronic device may first determine a first lower distance limit according to the face information; then, under the condition that the light intensity of the ambient light is equal to the light intensity threshold value, determining a first lower distance limit as a target lower distance limit; determining a second distance lower limit as a target distance lower limit under the condition that the light intensity of the ambient light is smaller than a light intensity threshold; determining a third distance lower limit as a target distance lower limit under the condition that the light intensity of the ambient light is greater than a light intensity threshold; the second distance lower limit is smaller than the first distance lower limit, and the third distance lower limit is larger than the first distance lower limit.
Based on above-mentioned scheme, because can obtain the target distance lower limit according to the first distance lower limit that facial information is confirmed according to the dynamic adjustment of ambient light, consequently, the target distance lower limit can more match with the environment that the user used electronic equipment to it is more accurate to make the distance to the user remind.
Optionally, in a case that the dynamic environment feature includes an interface element type and an interface element size displayed by the electronic device, the electronic device may determine a first lower distance limit according to the face information; determining the interface element type and the interface element size of the interface element displayed by the electronic equipment; then, under the condition that the size of the interface element is equal to the element size threshold corresponding to the interface element type, determining a first distance lower limit as a target distance lower limit; determining a fourth distance lower limit as a target distance lower limit under the condition that the size of the interface element is smaller than the element size threshold; determining a fifth distance lower limit as a target distance lower limit when the interface element size is greater than the element size threshold; and the fourth distance lower limit is smaller than the first distance lower limit, and the fifth distance lower limit is larger than the first distance lower limit.
Based on the scheme, the target distance lower limit is obtained according to the first distance lower limit determined by the face information and dynamically adjusted according to the interface element type and the interface element size, so that the target distance lower limit can be matched with the environment of the user using the electronic equipment, and the distance reminding of the user is more accurate.
Optionally, in a case that the dynamic environmental feature includes a gazing area of the user, the electronic device may determine a first lower distance limit according to the facial information; and determining the interface element type and the interface element size of the interface element displayed in the gazing area of the user. Then, under the condition that the size of the interface element displayed in the gazing area of the user is equal to an element size threshold corresponding to the type of the interface element, determining a first distance lower limit as a target distance lower limit; determining a fourth distance lower limit as a target distance lower limit under the condition that the size of the interface element displayed in the gazing area of the user is smaller than an element size threshold; determining a fifth distance lower limit as a target distance lower limit under the condition that the size of the interface element displayed in the gazing area of the user is larger than an element size threshold; and the fourth distance lower limit is smaller than the first distance lower limit, and the fifth distance lower limit is larger than the first distance lower limit.
Based on the scheme, only the interface element type and the interface element size of the interface element displayed in the gazing area of the user can be determined, so that the calculation amount of the electronic equipment can be reduced. Thereby improving the operating efficiency of the electronic equipment.
Illustratively, as shown in fig. 2, the dynamic environment feature includes a user's gaze area. If the electronic equipment acquires that the watching area of the current user is the video display area 21, the lower limit of the distance between the face of the user and the electronic equipment can be increased; if the electronic device acquires that the current gazing area of the user is the text display area 22, the lower limit of the distance between the face of the user and the electronic device can be reduced.
And 103, outputting the first prompt information by the electronic equipment under the condition that the first distance is smaller than the lower limit of the target distance.
The first prompt message can be used for prompting the user to adjust the distance between the face of the user and the electronic device.
Optionally, the first prompt message may be a voice prompt message or a text prompt message. For example, if the first prompt message is a text prompt message, if the electronic device determines that the first distance is smaller than the lower limit of the target distance, the electronic device may display the prompt message "too close to the screen, please pay attention to the adjustment" in a floating manner in an edge area of the screen of the electronic device.
Optionally, if the user does not adjust the distance to the electronic device in time according to the first prompt message, the electronic device may periodically output the first prompt message.
Optionally, after the electronic device outputs the first prompt message, the user may make an input to the first prompt message, which may be used to trigger the electronic device to perform at least one of: cancel displaying the first prompt message, no longer display the first prompt message, display the first prompt message later, and so on.
Optionally, even if the distance between the face of the user and the electronic device is not less than the target distance lower limit, the electronic device may still cause eye fatigue if the user gazes at the electronic device for a long time, and therefore, in the case that the first distance is greater than or equal to the target distance lower limit, the electronic device may acquire the time that the user continues to gaze at the electronic device; and outputting second prompt information under the condition that the time that the user continuously watches the electronic equipment is greater than or equal to a preset time threshold, wherein the second prompt information can be used for prompting the user that the time that the user watches the electronic equipment is too long. For example, the second prompt message may be "use the electronic device for a long time, please pay attention to the eye rest". Therefore, the user can master the time of watching the electronic equipment, and the eyestrain caused by watching the electronic equipment for a long time is avoided, so that the bad eye using habit is changed, and the eyesight of the user is protected.
In the embodiment of the application, since the lower limit of the target distance between the face of the user and the electronic device can be determined according to the face information of the user, that is, the lower limit of the target distance is flexibly determined according to the face information, in the case that the distance between the face of the user and the electronic device is smaller than the lower limit of the target distance, the prompt message for adjusting the distance can be sent to the user. Therefore, the lower limit of the target distance can be dynamically changed, so that the requirement for distance monitoring under different use states of a user is met, and the flexibility of a distance reminding mode is improved.
Optionally, as shown in fig. 3, before the step 102, the method may further include a step 104 and a step 106:
and 104, the electronic equipment acquires the face information of the user and receives vision information input by the user in different vision correction states.
If the user wants to trigger the electronic device to start the eye-using reminding function, the user can trigger the electronic device to display a setting interface of the eye-using reminding function. This set up interface can include facial information entry controlling part and eyesight information entry controlling part, and after the user clicked the input to facial information entry controlling part, electronic equipment can show facial information entry interface, later, under the condition that the camera was aimed at to user's face, electronic equipment can acquire user's facial information. After the user clicks and inputs the vision information input control, the electronic equipment can display a vision information input interface, then the user can input vision information, and correspondingly, the electronic equipment can receive the vision information input by the user and under different vision correction states.
For example, as shown in fig. 4 (a), for the face information entry interface, the user may aim his face at the camera, thereby causing the electronic device to acquire the face information of the user. As shown in (b) of fig. 4, for the vision information entry interface, the user may input vision information in the input regions corresponding to different vision correction states, so that the electronic device receives the vision information in the different vision correction states input by the user.
And 105, the electronic equipment determines the lower limit of the target distance corresponding to different vision correction states according to the vision information and the equipment information of the electronic equipment.
Wherein the device information may include at least one of: screen size, screen display brightness, font size, font weight, and font color.
Alternatively, the vision information and the device information may correspond to different weights, respectively. The electronic device can determine lower target distance limits corresponding to different vision correction states by combining the weight of the vision information and the weight of the device information.
Optionally, the lower limit of the target distance determined according to the vision information and the device information may not meet the eye usage habit of the user, so after determining the lower limit of the target distance corresponding to different vision correction states according to the vision information and the device information of the electronic device, the user may trigger the electronic device to display an adjustment interface of the lower limit of the target distance, and adjust the value of the lower limit of the target distance in the adjustment interface. Specifically, under the condition that an adjustment interface of a target distance lower limit is displayed, the electronic device may receive a first input of a user to a target control in the adjustment interface; responding to the first input, and adjusting the lower limit of the target distance to be larger or smaller; wherein the lower target distance limit is any one of the lower target distance limits corresponding to different vision correction states. Therefore, the lower limit of the target distance between the face of the user and the electronic equipment can be adjusted by the user according to the eye using habit of the user, so that the lower limit of the target distance is more in line with the using habit of the user, and the flexibility of the distance reminding mode is further improved.
For example, the lower limit of the target distance is set as the lower limit of the target distance corresponding to the non-vision correction state. As shown in fig. 5 (a), the electronic device may display an adjustment interface of the lower limit of the target distance, the adjustment interface of the lower limit of the target distance may include lower limit of the target distance corresponding to different vision correction states, the user may click and input the first control 51, thereby causing the electronic device to display an adjustment interface of the lower limit of the target distance corresponding to the vision correction disabled state in response to the click input, as shown in (b) of fig. 5, the adjustment interface includes a second control 52 and a third control 53 for adjusting the lower limit of the target distance, and the user can adjust the lower limit of the target distance according to the operation instruction in the information area 54, in the case of no vision correction, the face of the user and the electronic equipment are kept beyond 25cm, and the action is maintained for more than 5 minutes, so that according to the use experience of the user, a first input is made to the second control 52 or the third control 53 to increase or decrease the current target distance lower limit.
And 106, correspondingly storing the face information and the lower limit of the target distance corresponding to different vision correction states by the electronic equipment.
The electronic device may correspondingly store lower limits of the target distance corresponding to different vision correction states and face information of different users. Therefore, after the electronic equipment acquires the face information of the user, the corresponding lower limit of the target distance can be determined according to the face information.
In the embodiment of the application, because the lower limit of the target distance corresponding to the face information of the user and different vision correction states can be determined in advance, after the electronic device acquires the face information of the user, the lower limit of the corresponding target distance can be determined according to the face information, so that whether the distance between the electronic device and the user is suitable at present is judged according to the lower limit of the target distance.
It should be noted that, in the prompting method provided in the embodiment of the present application, the execution main body may be a prompting device, or a control module used for executing the prompting method in the prompting device. In the embodiment of the present application, a prompting device executing a prompting method is taken as an example, and the prompting device provided in the embodiment of the present application is described.
As shown in fig. 6, an embodiment of the present application further provides a prompting device 600, including: an acquisition module 601, a processing module 602, and an output module 603. The obtaining module 601 may be configured to obtain face information of a user and a first distance when the electronic device is in a bright screen state, where the first distance is a distance between the face of the user and the electronic device. The processing module 602 may be configured to determine a lower limit of a target distance between the face of the user and the electronic device based on the face information. The output module 603 may be configured to output first prompt information for prompting the user to adjust the distance between the face of the user and the electronic device if the first distance is smaller than the lower limit of the target distance.
Optionally, the processing module 602 may be specifically configured to determine, according to the facial information, identity information and a vision correction state of the user; determining a corresponding lower limit of the target distance according to the identity information and the vision correction state; wherein the vision correction state comprises no vision correction, spectacle frame lens correction and contact lens correction; different vision correction states of the same user correspond to different lower limits of the target distance.
Optionally, the obtaining module 601 may be further configured to obtain the dynamic environment feature. The processing module 602 may be specifically configured to determine a lower limit of a target distance between the user's face and the electronic device according to the face information and the dynamic environment feature. Wherein the dynamic environmental characteristics include at least one of: ambient light, interface element type and interface element size that the electronic equipment shows, the region of gazing of user.
Optionally, in a case that the dynamic environment feature includes the ambient light, the processing module 602 may be specifically configured to determine a first lower distance limit according to the face information; determining the first lower distance limit as the target lower distance limit if the light intensity of the ambient light is equal to a light intensity threshold; determining a second lower distance limit as the target lower distance limit if the light intensity of the ambient light is less than the light intensity threshold; determining a third lower distance limit as the target lower distance limit if the light intensity of the ambient light is greater than the light intensity threshold; wherein the second lower distance limit is less than the first lower distance limit, and the third lower distance limit is greater than the first lower distance limit.
Optionally, in a case that the dynamic environment feature includes an interface element type and an interface element size displayed by the electronic device, the processing module 602 may be specifically configured to determine a first lower distance limit according to the face information; determining the interface element type and the interface element size of the interface element displayed by the electronic equipment; determining the first distance lower limit as the target distance lower limit when the interface element size is equal to an element size threshold corresponding to the interface element type; determining a fourth lower distance limit as the target lower distance limit if the interface element size is less than the element size threshold; determining a fifth lower distance limit as the target lower distance limit if the interface element size is greater than the element size threshold; wherein the fourth lower distance limit is less than the first lower distance limit, and the fifth lower distance limit is greater than the first lower distance limit.
Optionally, in a case that the dynamic environment feature includes the gazing area of the user, the processing module 602 may be specifically configured to determine an interface element type and an interface element size of an interface element displayed in the gazing area of the user.
Optionally, the apparatus 600 may further include a receiving module 604. The obtaining module 601 may further be configured to obtain face information of the user. The receiving module 604 may be configured to receive the vision information input by the user in different vision correction states. The processing module 602 may be further configured to determine, according to the eyesight information and the device information of the electronic device, lower limits of target distances corresponding to different eyesight correction states; and correspondingly storing the face information and the lower limit of the target distance corresponding to the different vision correction states. Wherein the device information comprises at least one of: screen size, screen display brightness, font size, font weight, and font color.
Optionally, the obtaining module 601 may be further configured to obtain a time that the user continuously gazes at the electronic device when the first distance is greater than or equal to a target distance lower limit. The output module 603 may be further configured to output a second prompt message when the time that the user continuously gazes at the electronic device is greater than or equal to a preset time threshold, where the second prompt message is used to prompt the user to gaze at the electronic device for too long.
In the embodiment of the application, since the lower limit of the target distance between the face of the user and the electronic device can be determined according to the face information of the user, that is, the lower limit of the target distance is flexibly determined according to the face information, in the case that the distance between the face of the user and the electronic device is smaller than the lower limit of the target distance, the prompt message for adjusting the distance can be sent to the user. Therefore, the lower limit of the target distance can be dynamically changed, so that the requirement for distance monitoring under different use states of a user is met, and the flexibility of a distance reminding mode is improved.
The prompting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The prompting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The prompting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above-mentioned prompt method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 1005 may be configured to acquire the face information of the user and a first distance when the electronic device is in a bright screen state, where the first distance is a distance between the face of the user and the electronic device.
A processor 1010 may be configured to determine a lower bound for a target distance between the user's face and the electronic device based on the face information.
The audio output unit 1003 or the display unit 1006 may be configured to output first prompt information for prompting the user to adjust the distance between the face of the user and the electronic device in a case where the first distance is smaller than the target distance lower limit.
In the embodiment of the application, since the lower limit of the target distance between the face of the user and the electronic device can be determined according to the face information of the user, that is, the lower limit of the target distance is flexibly determined according to the face information, in the case that the distance between the face of the user and the electronic device is smaller than the lower limit of the target distance, the prompt message for adjusting the distance can be sent to the user. Therefore, the lower limit of the target distance can be dynamically changed, so that the requirement for distance monitoring under different use states of a user is met, and the flexibility of a distance reminding mode is improved.
Optionally, the sensor 1005 may also be used to acquire dynamic environmental features.
The processor 1010 may be specifically configured to determine a lower limit of a target distance between the user's face and the electronic device according to the face information and the dynamic environment feature. Wherein the dynamic environmental characteristics include at least one of: ambient light, interface element type and interface element size that the electronic equipment shows, the region of gazing of user.
In the embodiment of the application, the lower limit of the target distance between the face of the user and the electronic device can be determined according to the dynamic environment characteristics, and because the dynamic environment characteristics are uncertain, the accuracy of the lower limit of the target distance can be improved by taking the uncertain factors as the determining factors of the lower limit of the target distance, so that the flexibility of a distance reminding mode is improved.
Optionally, in a case where the dynamic environment feature includes the ambient light, the processor 1010 may be specifically configured to determine a first lower distance limit from the face information; determining the first lower distance limit as the target lower distance limit if the light intensity of the ambient light is equal to a light intensity threshold; determining a second lower distance limit as the target lower distance limit if the light intensity of the ambient light is less than the light intensity threshold; determining a third lower distance limit as the target lower distance limit if the light intensity of the ambient light is greater than the light intensity threshold; wherein the second lower distance limit is less than the first lower distance limit, and the third lower distance limit is greater than the first lower distance limit.
In the embodiment of the application, the lower limit of the target distance can be obtained according to the first distance lower limit determined by the face information by dynamically adjusting the ambient light, so that the lower limit of the target distance can be matched with the environment where the user uses the electronic equipment, and the distance reminding to the user is more accurate.
Optionally, in a case that the dynamic environment feature includes an interface element type and an interface element size displayed by the electronic device, the processor 1010 may be specifically configured to determine a first lower distance limit according to the face information; determining the interface element type and the interface element size of the interface element displayed by the electronic equipment; determining the first distance lower limit as the target distance lower limit when the interface element size is equal to an element size threshold corresponding to the interface element type; determining a fourth lower distance limit as the target lower distance limit if the interface element size is less than the element size threshold; determining a fifth lower distance limit as the target lower distance limit if the interface element size is greater than the element size threshold; wherein the fourth lower distance limit is less than the first lower distance limit, and the fifth lower distance limit is greater than the first lower distance limit.
In the embodiment of the application, the target distance lower limit is obtained according to the first distance lower limit determined by the facial information and dynamically adjusted according to the interface element type and the interface element size, so that the target distance lower limit can be more matched with the environment where the user uses the electronic equipment, and the distance reminding for the user is more accurate.
Optionally, in a case that the dynamic environment feature includes the gazing area of the user, the processor 1010 may be specifically configured to determine an interface element type and an interface element size of an interface element displayed in the gazing area of the user.
In the embodiment of the application, only the interface element type and the interface element size of the interface element displayed in the gazing area of the user can be determined, so that the calculation amount of the electronic equipment can be reduced. Thereby improving the operating efficiency of the electronic equipment.
Optionally, the sensor 1005 may also be used to obtain facial information of the user.
The user input unit 1007 may be configured to receive vision information in different vision correction states input by the user.
The processor 1010 may be further configured to determine lower limits of target distances corresponding to different vision correction states according to the vision information and the device information of the electronic device; and correspondingly storing the face information and the lower limit of the target distance corresponding to the different vision correction states. Wherein the device information comprises at least one of: screen size, screen display brightness, font size, font weight, and font color.
In the embodiment of the application, because the lower limit of the target distance corresponding to the face information of the user and different vision correction states can be determined in advance, after the electronic device acquires the face information of the user, the lower limit of the corresponding target distance can be determined according to the face information, so that whether the distance between the electronic device and the user is suitable at present is judged according to the lower limit of the target distance.
Optionally, the sensor 1005 may be further configured to acquire a time that the user continuously gazes at the electronic device when the first distance is greater than or equal to the target distance lower limit.
The audio output unit 1003 or the display unit 1006 may be further configured to output second prompt information when the time that the user continuously gazes at the electronic device is greater than or equal to a preset time threshold, where the second prompt information is used to prompt the user to gaze at the electronic device for an excessively long time.
In the embodiment of the application, the second prompt information can be output, so that the user can master the time of watching the electronic equipment, and the eye fatigue caused by watching the electronic equipment for a long time is avoided, thereby changing the bad eye using habit and protecting the eyesight of the user.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned prompting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned prompt method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method of prompting, comprising:
under the condition that the electronic equipment is in a bright screen state, acquiring face information of a user and a first distance, wherein the first distance is the distance between the face of the user and the electronic equipment;
determining a target distance lower limit between the user's face and the electronic device according to the face information;
and outputting first prompt information under the condition that the first distance is smaller than the lower limit of the target distance, wherein the first prompt information is used for prompting the user to adjust the distance between the face of the user and the electronic equipment.
2. The prompting method of claim 1, wherein the determining a lower target distance limit between the user's face and the electronic device from the face information comprises:
determining identity information and vision correction state of the user according to the face information;
determining a corresponding lower limit of the target distance according to the identity information and the vision correction state;
wherein the vision correction state comprises no vision correction, spectacle frame lens correction and contact lens correction; different vision correction states of the same user correspond to different lower limits of the target distance.
3. The prompting method of claim 2, wherein prior to determining a lower target distance limit between the user's face and the electronic device from the face information, the method further comprises:
acquiring dynamic environment characteristics;
the determining a lower target distance limit between the user's face and the electronic device from the face information includes:
determining a target distance lower limit between the user's face and the electronic device according to the face information and the dynamic environment features;
wherein the dynamic environmental characteristics include at least one of: ambient light, interface element type and interface element size that the electronic equipment shows, the region of gazing of user.
4. A prompting method according to claim 3, wherein, in a case where the dynamic environment feature includes the ambient light, the determining a target distance lower limit between the user's face and the electronic device based on the face information and the dynamic environment feature includes:
determining a first lower distance limit from the face information;
determining the first lower distance limit as the target lower distance limit if the light intensity of the ambient light is equal to a light intensity threshold; determining a second lower distance limit as the target lower distance limit if the light intensity of the ambient light is less than the light intensity threshold; determining a third lower distance limit as the target lower distance limit if the light intensity of the ambient light is greater than the light intensity threshold;
wherein the second lower distance limit is less than the first lower distance limit, and the third lower distance limit is greater than the first lower distance limit.
5. The prompting method of claim 3, wherein, in the case that the dynamic environment feature comprises an interface element type and an interface element size displayed by the electronic device, the determining a lower target distance limit between the user's face and the electronic device according to the face information and the dynamic environment feature comprises:
determining a first lower distance limit from the face information;
determining the interface element type and the interface element size of the interface element displayed by the electronic equipment;
determining the first distance lower limit as the target distance lower limit when the interface element size is equal to an element size threshold corresponding to the interface element type; determining a fourth lower distance limit as the target lower distance limit if the interface element size is less than the element size threshold; determining a fifth lower distance limit as the target lower distance limit if the interface element size is greater than the element size threshold;
wherein the fourth lower distance limit is less than the first lower distance limit, and the fifth lower distance limit is greater than the first lower distance limit.
6. The prompting method of claim 5, wherein, in the case that the dynamic environmental characteristic comprises a gaze region of the user, the determining an interface element type and an interface element size of an interface element displayed by the electronic device comprises:
determining an interface element type and an interface element size of an interface element displayed in the gazing area of the user.
7. The prompting method of any of claims 1-6, wherein prior to determining a lower target distance limit between the user's face and the electronic device from the face information, the method further comprises:
acquiring face information of a user, and receiving vision information input by the user in different vision correction states;
determining target distance lower limits corresponding to different vision correction states according to the vision information and the equipment information of the electronic equipment;
correspondingly storing the face information and the lower limit of the target distance corresponding to the different vision correction states;
wherein the device information comprises at least one of: screen size, screen display brightness, font size, font weight, and font color.
8. The prompting method of any of claims 1-6, wherein after determining a lower target distance limit between the user's face and the electronic device based on the face information, the method further comprises:
under the condition that the first distance is larger than or equal to the target distance lower limit, acquiring the time that the user continuously gazes at the electronic equipment;
and under the condition that the time that the user continuously gazes at the electronic equipment is greater than or equal to a preset time threshold, outputting second prompt information, wherein the second prompt information is used for prompting that the time that the user gazes at the electronic equipment is too long.
9. A reminder device, comprising: the device comprises an acquisition module, a processing module and an output module;
the acquisition module is used for acquiring the face information of the user and a first distance under the condition that the electronic equipment is in a bright screen state, wherein the first distance is the distance between the face of the user and the electronic equipment;
the processing module is used for determining a lower limit of a target distance between the face of the user and the electronic equipment according to the face information;
and the output module is used for outputting first prompt information under the condition that the first distance is smaller than the lower limit of the target distance, wherein the first prompt information is used for prompting a user to adjust the distance between the face of the user and the electronic equipment.
10. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the hinting method of any one of claims 1-6.
11. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the prompting method according to any one of claims 1-6.
CN202111109376.2A 2021-09-22 2021-09-22 Prompting method, prompting device, electronic equipment and storage medium Active CN113824832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111109376.2A CN113824832B (en) 2021-09-22 2021-09-22 Prompting method, prompting device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111109376.2A CN113824832B (en) 2021-09-22 2021-09-22 Prompting method, prompting device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113824832A true CN113824832A (en) 2021-12-21
CN113824832B CN113824832B (en) 2023-05-26

Family

ID=78920868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111109376.2A Active CN113824832B (en) 2021-09-22 2021-09-22 Prompting method, prompting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113824832B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566955A (en) * 2010-12-30 2012-07-11 上海量明科技发展有限公司 Display range adjustable display method and system
CN103700229A (en) * 2013-12-06 2014-04-02 乐视致新电子科技(天津)有限公司 Reminding method and electronic equipment
CN107343100A (en) * 2017-06-30 2017-11-10 广东欧珀移动通信有限公司 Information cuing method, device, storage medium and electronic equipment
CN108345848A (en) * 2018-01-31 2018-07-31 广东欧珀移动通信有限公司 The recognition methods of user's direction of gaze and Related product
CN109558053A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 A kind of method, mobile terminal and computer readable storage medium for adjusting screen and showing
CN111857464A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN111949181A (en) * 2020-08-28 2020-11-17 腾讯科技(深圳)有限公司 Display adjustment method and device, storage medium and electronic equipment
CN112733673A (en) * 2020-12-30 2021-04-30 五八有限公司 Content display method and device, electronic equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566955A (en) * 2010-12-30 2012-07-11 上海量明科技发展有限公司 Display range adjustable display method and system
CN103700229A (en) * 2013-12-06 2014-04-02 乐视致新电子科技(天津)有限公司 Reminding method and electronic equipment
CN107343100A (en) * 2017-06-30 2017-11-10 广东欧珀移动通信有限公司 Information cuing method, device, storage medium and electronic equipment
CN108345848A (en) * 2018-01-31 2018-07-31 广东欧珀移动通信有限公司 The recognition methods of user's direction of gaze and Related product
CN109558053A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 A kind of method, mobile terminal and computer readable storage medium for adjusting screen and showing
CN111857464A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN111949181A (en) * 2020-08-28 2020-11-17 腾讯科技(深圳)有限公司 Display adjustment method and device, storage medium and electronic equipment
CN112733673A (en) * 2020-12-30 2021-04-30 五八有限公司 Content display method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113824832B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
KR101526351B1 (en) Mobile terminal and control method for mobile terminal
US10255874B2 (en) Display controlling method and display device
US11258893B2 (en) Method for prompting notification message and mobile terminal
US20170277258A1 (en) Method for adjusting screen luminance and electronic device
CN104391572B (en) Electronic installation and its control method with eyeball tracking function
KR20160026584A (en) A wearable electronic devcie
KR20150049045A (en) Method and apparautus for controlling the brightness of the screen in portable device
CN111857484A (en) Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN106339086A (en) Screen font adjustment method and device, and electronic equipment
CN112947824A (en) Display parameter adjusting method and device, electronic equipment and medium
CN112214112A (en) Parameter adjusting method and device
CN112069480A (en) Display method and device, storage medium and wearable device
WO2022063270A1 (en) Method and apparatus for identifying attribute features of facial image, and electronic device
CN113556603B (en) Method and device for adjusting video playing effect and electronic equipment
CN109587334B (en) Display method of flexible terminal, flexible terminal and computer readable storage medium
CN116542740A (en) Live broadcasting room commodity recommendation method and device, electronic equipment and readable storage medium
CN113824832B (en) Prompting method, prompting device, electronic equipment and storage medium
CN113835804A (en) Information display method and electronic equipment
CN111614841B (en) Alarm clock control method and device, storage medium and mobile terminal
CN111953905B (en) Beautifying function starting method and device, electronic equipment and readable storage medium
CN113783999B (en) Method and device for controlling terminal display and computer readable medium
CN114816065A (en) Screen backlight adjusting method, virtual reality device and readable storage medium
CN113132642A (en) Image display method and device and electronic equipment
CN108307493B (en) Screen dynamic monitoring method

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