CN108600535A - A kind of eye care method for electronic equipment and electronic equipment - Google Patents

A kind of eye care method for electronic equipment and electronic equipment Download PDF

Info

Publication number
CN108600535A
CN108600535A CN201810349720.7A CN201810349720A CN108600535A CN 108600535 A CN108600535 A CN 108600535A CN 201810349720 A CN201810349720 A CN 201810349720A CN 108600535 A CN108600535 A CN 108600535A
Authority
CN
China
Prior art keywords
electronic equipment
default
user
distance value
posture information
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.)
Pending
Application number
CN201810349720.7A
Other languages
Chinese (zh)
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 CN201810349720.7A priority Critical patent/CN108600535A/en
Publication of CN108600535A publication Critical patent/CN108600535A/en
Pending legal-status Critical Current

Links

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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A kind of eye care method for electronic equipment and electronic equipment, including:When electronic equipment is in operating mode, whether the relative distance value between detection user and electronic equipment is less than pre-determined distance value and/or detects whether posture information of the user using electronic equipment when matches with preset standard posture information, when detecting that relative distance value is less than pre-determined distance value and/or posture information with preset standard posture information mismatch, control electronics execute eyeshield operation.Implement the embodiment of the present invention; when the relative distance of user distance electronic equipment (such as mobile phone, tablet), which is less than pre-determined distance and/or user, to be mismatched using the posture information and preset standard posture information of electronic equipment; eyeshield operation can be executed with control electronics; the good custom using electronic equipment is formed to cultivate user, protects the vision health of user.

Description

A kind of eye care method for electronic equipment and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment more particularly to a kind of eye care method for electronic equipment and electronics to set It is standby.
Background technology
Currently, the electronic equipments such as tablet computer, mobile phone have become a part indispensable in people's life, it is same with this When, more and more users cause visual impairment to the inappropriate use of these electronic equipments, lead to the troop of myopia population not Disconnected to grow, how to correct user becomes a urgent problem to the inappropriate use of electronic equipment.
Invention content
The embodiment of the present invention discloses a kind of eye care method for electronic equipment and electronic equipment, can correct user to electricity The inappropriate use of sub- equipment, to protect the vision health of user.
First aspect of the embodiment of the present invention discloses a kind of eye care method for electronic equipment, including:
When the electronic equipment is in operating mode, the relative distance value detected between user and the electronic equipment is It is no to be less than pre-determined distance value and/or detect whether posture information of the user using the electronic equipment when is believed with preset standard posture Manner of breathing matches;
When detecting that the relative distance value is less than the pre-determined distance value and/or the posture information and the pre- bidding When quasi- posture information mismatches, controls the electronic equipment and execute eyeshield operation.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described in detection user's use Whether posture information when electronic equipment matches with preset standard posture information, including:
Judge whether the electronic equipment is in default and puts posture;
When the electronic equipment be not at it is described it is default put posture when, determine that user uses the posture of the electronic equipment Information is mismatched with the preset standard posture information;
When judge the electronic equipment be in it is described it is default put posture when, judge the head of the user of the electronic equipment Whether portion's posture matches with default head pose;When not judging the head pose of the user and the default head pose not Timing determines that user is mismatched using the posture information of the electronic equipment with the preset standard posture information.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to judge the electronic equipment Whether it is in default and puts posture, including:
Judge whether the angle between the display screen of the electronic equipment and horizontal plane is located at the first default angular range It is interior;
When judging that the angle between display screen and the horizontal plane of the electronic equipment is located at the described first default angle When in range, the screen state of the electronic equipment is detected;The screen state includes transverse screen state or vertical screen state;
When the screen state is the transverse screen state, between the long margin frame and horizontal plane that judge the electronic equipment Whether angle is located in the second default angular range, is preset when the angle between the long margin frame and horizontal plane is located at described second In angular range, determine that the electronic equipment is in default and puts posture;
When the screen state is the vertical screen state, between the short frame and horizontal plane that judge the electronic equipment Whether angle is located in the second default angular range, is preset when the angle between the short frame and horizontal plane is located at described second In angular range, determine that the electronic equipment is in default and puts posture.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the control electronic equipment Eyeshield operation is executed, including:
Prompting message is exported, and counts the relative distance value and is less than the pre-determined distance value and/or the posture information With the unmatched time duration of preset standard posture information, the prompting message is for prompting user to be set using the electronics Standby fault;
When the time duration is more than default time duration, controls the electronic equipment and enter blank screen pattern.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the prompting message includes first Prompting message and the second prompting message, the time duration include the first time duration and the second time duration, and the output carries Show message, and counts the relative distance value less than the pre-determined distance value and/or the posture information and the preset standard The unmatched time duration of posture information, including:
When detecting that the relative distance value is less than the pre-determined distance value, first prompting message is exported, and unite Count the relative distance value between user and the range sensor be less than the pre-determined distance value described first it is accumulative when Long, first prompting message is for prompting display screen of the user far from the electronic equipment;And/or described in detecting When posture information is mismatched with the preset standard posture information, second prompting message, and counting user head appearance are exported Gesture is mismatched with the default head pose or the electronic equipment is not at and described default puts the described second tired of posture Timing is long, the posture that second prompting message is used to that user to be prompted to correct using the electronic equipment;
It is described to control the electronic equipment when the time duration is more than default time duration and enter blank screen pattern, it wraps It includes:
When first time duration is more than the first default time duration and/or second time duration in advance more than second If when time duration, controlling the electronic equipment and entering blank screen pattern.
Second aspect of the embodiment of the present invention discloses a kind of electronic equipment, including:
Detection unit, for when the electronic equipment is in operating mode, detecting between user and the electronic equipment Relative distance value whether be less than pre-determined distance value and/or detect user use the electronic equipment when posture information whether with Preset standard posture information matches;
Control unit, for work as the detection unit detect the relative distance value be less than the pre-determined distance value and/ Or when the posture information and preset standard posture information mismatch, controls the electronic equipment and execute eyeshield operation.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the detection unit includes:
First judgment sub-unit, for when the electronic equipment is in operating mode, judging that user sets with the electronics Whether the relative distance value between standby is less than pre-determined distance value and/or whether the electronic equipment is in default and puts posture;
Second judgment sub-unit judges that the electronic equipment is in described default for working as first judgment sub-unit When putting posture, judge whether the head pose of the user of the electronic equipment matches with default head pose;
Determination subelement judges that the electronic equipment is not at the default pendulum for working as first judgment sub-unit When putting posture, determine that user is mismatched using the posture information of the electronic equipment with the preset standard posture information;Work as institute When stating the second judgment sub-unit and judging that the head pose of the user is mismatched with the default head pose, determine that user makes It is mismatched with the posture information and the preset standard posture information of the electronic equipment.
As an alternative embodiment, in second aspect of the embodiment of the present invention, first judgment sub-unit is used In judge the electronic equipment whether in the default mode for putting posture be specially:
First judgment sub-unit, the angle between display screen and horizontal plane for judging the electronic equipment are It is no to be located in the first default angular range;When the judgment module judge the display screen of the electronic equipment and horizontal plane it Between angle when being located in the described first default angular range, detect the screen state of the electronic equipment;The screen state Including transverse screen state or vertical screen state;When the detection module detects that the screen state is the transverse screen state, sentence Whether the angle between the long margin frame and horizontal plane of the disconnected electronic equipment is located in the second default angular range, when the long side Angle between frame and horizontal plane is located in the described second default angular range, determines that the electronic equipment is in default and puts appearance Gesture;When the detection module detects that the screen state is the vertical screen state, the short frame of the electronic equipment is judged Whether the angle between horizontal plane is located in the second default angular range, when the angle position between the short frame and horizontal plane Posture is put in the described second default angular range, determining that the electronic equipment is in preset.
As an alternative embodiment, in second aspect of the embodiment of the present invention, described control unit includes:
Subelement is executed, detects that the relative distance value is less than the pre-determined distance value for working as the detection unit And/or the posture information and the preset standard posture information export prompting message when mismatching, and count it is described it is opposite away from When from value less than the pre-determined distance value and/or the posture information unmatched accumulative with the preset standard posture information Fault long, that the prompting message is used to that user to be prompted to use the electronic equipment;
Subelement is controlled, the time duration for being counted when the execution subelement is more than default time duration When, it controls the electronic equipment and enters blank screen pattern.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the prompting message includes first Prompting message and the second prompting message, the time duration includes the first time duration and the second time duration, described to execute son Unit is used to detect that the relative distance value is less than the pre-determined distance value and/or the posture information when the detection unit When being mismatched with the preset standard posture information, prompting message is exported, and counts the relative distance value and is less than described preset Distance value and/or the posture information and the unmatched time duration of preset standard posture information, the prompting message are used It is specially using the mode of the fault of the electronic equipment in prompt user:
The execution subelement, for when detecting that the relative distance value is less than the pre-determined distance value, exporting institute The first prompting message is stated, and the relative distance value between counting user and the range sensor is less than the pre-determined distance First time duration of value, first prompting message is for prompting display screen of the user far from the electronic equipment; And/or when detecting that the posture information is mismatched with the preset standard posture information, output second prompt disappears Breath, and counting user head pose is mismatched with the default head pose or the electronic equipment is not at the default pendulum Put second time duration of posture, the appearance that second prompting message is used to that user to be prompted to correct using the electronic equipment Gesture;
The control subelement is used for when the time duration that the execution subelement counts is more than default accumulative When long, control the electronic equipment and enter the mode of blank screen pattern and be specially:
The control subelement, for being more than the first default time duration and/or described the when first time duration When two time durations are more than the second default time duration, control the electronic equipment and enter blank screen pattern.
The third aspect of the embodiment of the present invention discloses a kind of electronic equipment, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention the A kind of eye care method for electronic equipment disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein The computer program makes computer execute a kind of eyeshield for electronic equipment disclosed in first aspect of the embodiment of the present invention Method.
The 5th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine so that the computer executes some or all of any one method of first aspect step.
The aspect of the embodiment of the present invention the 6th disclose it is a kind of applying distribution platform, the application distribution platform is for publication calculating Machine program product, wherein when the computer program product is run on computers so that the computer executes first party Some or all of any one method in face step.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, when electronic equipment is in operating mode, detect opposite between user and electronic equipment Distance value whether be less than pre-determined distance value and/or detect user use electronic equipment when posture information whether with preset standard appearance State information match, when detecting that relative distance value is less than pre-determined distance value and/or posture information and preset standard posture information When mismatch, control electronics execute eyeshield operation.This process works as user distance electronic equipment (such as mobile phone, tablet) Relative distance is less than pre-determined distance and/or user and is mismatched with preset standard posture information using the posture information of electronic equipment When, eyeshield operation can be executed with control electronics, formed the good custom using electronic equipment to cultivate user, protected The vision health of user.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of eye care method for electronic equipment disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another kind eye care method for electronic equipment disclosed by the embodiments of the present invention;
Fig. 3 is that the angle between the display screen of a kind of electronic equipment disclosed by the embodiments of the present invention and horizontal plane is illustrated Figure;
Fig. 4 is the folder between the long margin frame and horizontal plane of electronic equipment under a kind of transverse screen state disclosed by the embodiments of the present invention Angle schematic diagram;
Fig. 5 is the folder between the short frame and horizontal plane of electronic equipment under a kind of vertical screen state disclosed by the embodiments of the present invention Angle schematic diagram;
Fig. 6 is the flow diagram of another kind eye care method for electronic equipment disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention;
Fig. 9 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention;
Figure 10 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that the term " comprising " and " having " in the embodiment of the present invention and attached drawing and their any changes Shape, it is intended that cover and non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or Equipment is not limited to the step of having listed or unit, but further includes the steps that optionally not listing or unit or optional Ground further includes for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention discloses a kind of eye care method for electronic equipment and electronic equipment, can correct user to electricity The inappropriate use of sub- equipment, to protect the vision health of user.Electronic equipment in the embodiment of the present invention can be private tutor Machine, study mobile phone, study tablet etc., the embodiment of the present invention does not limit.Wherein, the operating system of each class of electronic devices may include But it is not limited to Android operation system, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) behaviour Make system, Windows Phone8 operating systems etc., the embodiment of the present invention does not limit.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of flow signal of eye care method for electronic equipment disclosed by the embodiments of the present invention Figure.As shown in Figure 1, the eye care method for electronic equipment may comprise steps of:
101, when electronic equipment is in operating mode, electronic equipment detects the relative distance between user and electronic equipment Whether value is less than pre-determined distance value, if so, step 103 is executed, if not, terminating this flow.
In the embodiment of the present invention, electronic equipment can utilize the range sensor built in electronic equipment to detect electronics in real time and set Relative distance value between standby user and electronic equipment, and judge whether the relative distance value is less than pre-determined distance value, wherein Pre-determined distance value can be pre-set distance value, and user can freely change the setting of pre-determined distance value.For example, it is default away from 30cm is could be provided as from value, when the distance between user and electronic equipment are less than 30cm, it is believed that user is from electronic equipment Hypotelorism carries out eyeshield operation at this point, executing step 103;When the distance between user and electronic equipment are more than or equal to When 30cm, it is believed that user complies with standard at a distance from electronic equipment, terminates this flow.
As an alternative embodiment, whether electronic equipment detects the relative distance value between user and electronic equipment May include less than pre-determined distance value:
Electronic equipment opens the front camera of electronic equipment, and judges whether front camera captures eye image;
If so, electronic equipment calculates the relative distance between human eye and electronic equipment according to the eye image captured Value;
Electronic equipment judges whether the relative distance value is less than pre-determined distance value.
By implementing this optional embodiment, can utilize the front camera realization of electronic equipment judge user and The distance between electronic equipment just calculates between human eye and electronic equipment only when front camera captures eye image Distance, avoid caused by range sensor is blocked by the hand of user the calculating of relative distance value and the case where error occur and send out Raw probability improves the accuracy rate of ranging.
102, when electronic equipment is in operating mode, electronic equipment detects posture information when user uses electronic equipment Whether match with preset standard posture information, if so, terminating this flow, if not, executing step 103.
In the embodiment of the present invention, posture information when user is using electronic equipment may include that electronic equipment puts posture The pose information of information and user's head.Wherein, the pose information of putting of electronic equipment can be using the weight built in electronic equipment Force snesor and gyroscope calculate each inclination angle of electronic equipment to determine whether correct, and the pose information of user's head can utilize The preposition camera of electronic equipment captures user's head image to determine whether standard, and the standard gestures of user's head can be with It is in vertical and face display screen state for head.First, when electronic equipment is in operating mode, electronic equipment can be sentenced Whether disconnected electronic equipment is in default and puts posture;When electronic equipment be not at it is default put posture when, determine that user uses electricity The posture information of sub- equipment is mismatched with preset standard posture information;When electronic equipment be in it is default put posture when, judge electricity Whether the head pose of the user of sub- equipment matches with default head pose, when the head pose and default head for judging user When posture mismatches, determine that user is mismatched using the posture information of electronic equipment with preset standard posture information.It that is to say, when Electronic equipment puts posture and when user's head posture all complies with standard, it is believed that user using electronic equipment posture information with Preset standard posture information matches, and terminates this flow;When electronic equipment put posture and/or user's head posture is not inconsistent When standardization, it is believed that user is mismatched using the posture information of electronic equipment with preset standard posture information, and step 103 is executed.
It should be noted that in embodiments of the present invention, when user uses electronic equipment, it will execute step 101 and 102, it can be defined by independent satisfaction 101 when condition or defined by independent satisfaction 102 when condition or simultaneously Defined by meeting 101 and 102 when condition, turns to and execute step 103, that is, need to meet opposite between user and electronic equipment Distance value is less than pre-determined distance value and/or user uses posture information when electronic equipment to be mismatched with preset standard posture information When, it turns to and executes step 103.
103, electronic equipment control electronics execute eyeshield operation.
In the embodiment of the present invention, eyeshield operation can be that electronic equipment exports prompting message, for example, prompting message can be " hypotelorism of you and display screen, please be separate ", or " electronic equipment puts posture and do not meet eyeshield standard, please adjust It is whole ", or " your head pose does not meet eyeshield standard, please adjust " etc. does not limit in the embodiment of the present invention.
As an alternative embodiment, after electronic equipment control electronics execute eyeshield operation, it can be with Execute following steps:
Electronic equipment judges whether the real-time range value between user and electronic equipment is less than pre-determined distance value and user and makes Whether matched with preset standard posture information with the real-time attitude information of electronic equipment;
When judging that real-time range value is more than or equal to pre-determined distance value and real-time attitude information and preset standard posture When information matches, electronic equipment control electronics stop executing eyeshield operation.
By implementing this optional embodiment, during electronic equipment executes eyeshield operation, if user and When correct using electronic equipment posture (including the distance between user and electronic equipment and user use the appearance of electronic equipment State information), eyeshield operation can stop in real time.
For example, when display screen of the user from electronic equipment is excessively close, electronic equipment sends out eyeshield prompting, when user sees The display screen far from electronic equipment, at this moment electronic equipment stopping immediately sending out eyeshield prompting after eyeshield is reminded.This process energy Enough control electronics execute eyeshield operation and stop eyeshield operation automatically, and intelligence degree higher, user experience is more preferably.
As it can be seen that implement eye care method for electronic equipment described in Fig. 1, when electronic equipment is in operating mode, Detect whether the relative distance value between user and electronic equipment is less than pre-determined distance value and/or detection user uses electronic equipment When posture information whether match with preset standard posture information, when detect relative distance value be less than pre-determined distance value and/ Or when posture information and preset standard posture information mismatch, control electronics execute eyeshield operation.This process works as user Relative distance apart from electronic equipment (such as mobile phone, tablet) is less than pre-determined distance and/or user uses the posture of electronic equipment When information is mismatched with preset standard posture information, eyeshield operation can be executed with control electronics, is formed to cultivate user The good custom using electronic equipment protects the vision health of user.
Embodiment two
It is that another kind disclosed by the embodiments of the present invention is set for electronics also referring to Fig. 2, Fig. 3, Fig. 4 and Fig. 5, Fig. 2 The flow diagram of standby eye care method, Fig. 3 are the display screen and level of a kind of electronic equipment disclosed by the embodiments of the present invention Angle schematic diagram between face;Fig. 4 is the long margin frame and water of electronic equipment under a kind of transverse screen state disclosed by the embodiments of the present invention Angle schematic diagram between plane;Fig. 5 be under a kind of vertical screen state disclosed by the embodiments of the present invention the short frame of electronic equipment with Angle schematic diagram between horizontal plane.As shown in Fig. 2, the eye care method for electronic equipment may comprise steps of:
201, when electronic equipment is in operating mode, electronic equipment detects the relative distance between user and electronic equipment Whether value is less than pre-determined distance value, if so, step 207 is executed, if not, terminating this flow.
202, when electronic equipment is in operating mode, electronic equipment judge the display screen of electronic equipment and horizontal plane it Between angle whether be located at the first default angular range in, if so, execute step 203, if not, execute step 207.
Please refer to the angle schematic diagram between the display screen of electronic equipment shown in Fig. 3 and horizontal plane, in figure with level Face is parallel for Y-axis, parallel with plumb line for Z axis, flat with the long margin frame of electronic equipment if electronic equipment is in vertical screen mode Capable is Y ' axis, parallel with the short frame of electronic equipment for Y ' axis if electronic equipment is in transverse screen mode, vertical with Y ' axis For Z ' axis, the angle between the display screen and horizontal plane of electronic equipment can be the supplementary angle (180 ° of-∠ 1) of ∠ 1 in Fig. 3, the One default angular range can be 90 °≤180 ° 1≤180 ° of-∠.As shown, by parallel theorem it is found that ∠ 1=∠ 2, ∠ 2 Size can be acquired with gyroscope by three axis gravity sensors built in electronic equipment, the display screen and water of electronic equipment Corner dimension between plane is 180 ° of-∠ 2.When the angle between the display screen and horizontal plane of electronic equipment is located at first In default angular range, it is believed that this angle complies with standard range, and executes step 203;When the display screen and water of electronic equipment Angle between plane is not located in the first default angular range, it is believed that the posture of putting of electronic equipment is not inconsistent standardization, executes Step 207.
203, the screen state of electronic equipment detection electronic equipment.
In the embodiment of the present invention, screen state includes transverse screen state or vertical screen state.
204, when screen state is transverse screen state, electronic equipment judges between the long margin frame of electronic equipment and horizontal plane Whether angle is located in the second default angular range, if so, step 206 is executed, if not, executing step 207.
The angle schematic diagram between the long margin frame and horizontal plane of electronic equipment under transverse screen state shown in Fig. 4 is please referred to, is schemed In X-axis, Y-axis and Z axis constitute a three-dimensional system of coordinate, wherein Y-axis is the reference axis parallel with horizontal plane, and X-axis is and water The vertical reference axis of plane, Z axis are the reference axis both perpendicular to X-axis and Y-axis;X ' axis, Y ' axis and Z ' axis in figure are constituted One three-dimensional system of coordinate, wherein Y ' axis is the reference axis parallel with electronic equipment long margin frame, and X ' axis is and electronic equipment short frame Parallel reference axis, Z ' axis are the reference axis both perpendicular to X ' axis and Y ' axis.When screen state is transverse screen state, electronics is set Angle between standby long margin frame and horizontal plane is ∠ 6 shown in Fig. 4, the second default angular range can be -5 °≤∠ 6≤ +5°.When the angle between long margin frame and horizontal plane is located in the second default angular range, determine that electronic equipment is in default and puts Posture executes step 206;When the angle between long margin frame and horizontal plane is not located in the second default angular range, it is believed that electronics The posture of putting of equipment is not inconsistent standardization, executes step 207.
205, when screen state is vertical screen state, electronic equipment judges between the short frame of electronic equipment and horizontal plane Whether angle is located in the second default angular range, if so, step 206 is executed, if not, executing step 207.
The angle schematic diagram between the short frame and horizontal plane of electronic equipment under vertical screen state shown in fig. 5 is please referred to, In, X-axis is the reference axis parallel with horizontal plane, and Y-axis is the reference axis with horizontal plane;Y ' axis be and electronic equipment long margin frame Parallel reference axis, X ' axis are the reference axis parallel with electronic equipment short frame.When screen state is vertical screen state, electronics is set Angle between standby short frame and horizontal plane is ∠ 3 shown in fig. 5, the second default angular range can be -5 °≤∠ 3≤ +5°.When the angle between short frame and horizontal plane is located in the second default angular range, determine that electronic equipment is in default and puts Posture executes step 206;When the angle between long margin frame and horizontal plane is not located in the second default angular range, it is believed that electronics The posture of putting of equipment is not inconsistent standardization, executes step 207.This process allows electronic equipment by showing screen and water The angle and frame of plane and the angle of horizontal plane judge electronic equipment whether put posture correct, wherein electricity can be passed through Each inclination angle of gravity sensor, gyroscope test electronic equipment under transverse screen and vertical screen state built in sub- equipment, utilizes electronics The existing module of equipment realizes the judgement that posture is put to electronic equipment, cost-effective, and judging result is accurate.
206, electronic equipment judges whether the head pose of the user of electronic equipment matches with default head pose, if It is to terminate this flow, if not, executing step 207.
In the embodiment of the present invention, when judging that the head pose of user is mismatched with default head pose, user is determined It is mismatched using the posture information and preset standard posture information of electronic equipment, and executes step 203, when the head for judging user When portion's posture is matched with default head pose, terminate this flow.
207, electronic equipment control electronics execute eyeshield operation.
As it can be seen that implement Fig. 2 described in eye care method for electronic equipment, when user distance electronic equipment (such as mobile phone, Tablet etc.) relative distance be less than pre-determined distance and/or user and believed with preset standard posture using the posture information of electronic equipment When breath mismatches, eyeshield operation can be executed with control electronics, to cultivate user form it is good using electronic equipment Custom, protects the vision health of user.
In addition, implementing eye care method for electronic equipment described in Fig. 2, posture and use are put from electronic equipment Two kinds of postures of head pose at family realize the judgement to user using the posture information of electronic equipment, and judgement is more comprehensive, to It obtains more accurately judging user using the posture information of electronic equipment.
In addition, implement Fig. 2 described in eye care method for electronic equipment, electronic equipment can by show screen with The angle and frame of horizontal plane and the angle of horizontal plane judge electronic equipment whether put posture correct, wherein can pass through Each inclination angle of gravity sensor, gyroscope test electronic equipment under transverse screen and vertical screen state built in electronic equipment, utilizes electricity The sub- existing module of equipment realizes the judgement that posture is put to electronic equipment, cost-effective, and judging result is accurate.
Embodiment three
Referring to Fig. 6, the flow that Fig. 6 is another kind eye care method for electronic equipment disclosed by the embodiments of the present invention is shown It is intended to.As shown in fig. 6, the eye care method for electronic equipment may comprise steps of:
301, when electronic equipment is in operating mode, electronic equipment detects the relative distance between user and electronic equipment Whether value is less than pre-determined distance value, if so, step 307 is executed, if not, terminating this flow.
302, when electronic equipment is in operating mode, electronic equipment judge the display screen of electronic equipment and horizontal plane it Between angle whether be located at the first default angular range in, if so, execute step 303, if not, execute step 307.
303, the screen state of electronic equipment detection electronic equipment.
In the embodiment of the present invention, screen state includes transverse screen state or vertical screen state;
304, when screen state is transverse screen state, electronic equipment judges between the long margin frame of electronic equipment and horizontal plane Whether angle is located in the second default angular range, if so, step 306 is executed, if not, executing step 307.
In the embodiment of the present invention, when the angle between long margin frame and horizontal plane is located in the second default angular range, determine Electronic equipment is in default and puts posture;
305, when screen state is vertical screen state, electronic equipment judges between the short frame of electronic equipment and horizontal plane Whether angle is located in the second default angular range, if so, step 306 is executed, if not, executing step 307.
In the embodiment of the present invention, when the angle between short frame and horizontal plane is located in the second default angular range, determine Electronic equipment is in default and puts posture.This process allow electronic equipment by show the angle of screen and horizontal plane with And the angle of frame and horizontal plane judge electronic equipment whether put posture correct, wherein can be by built in electronic equipment Each inclination angle of gravity sensor, gyroscope test electronic equipment under transverse screen and vertical screen state, utilizes the existing mould of electronic equipment Block realizes the judgement that posture is put to electronic equipment, cost-effective, and judging result is accurate.
306, electronic equipment judges whether the head pose of the user of electronic equipment matches with default head pose, if It is to terminate this flow, if not, executing step 307.
In the embodiment of the present invention, when judging that the head pose of user is mismatched with default head pose, user is determined It is mismatched using the posture information and preset standard posture information of electronic equipment, and executes step 307, when the head for judging user When portion's posture is matched with default head pose, terminate this flow.
307, electronic equipment exports prompting message, and counts relative distance value and be less than pre-determined distance value and/or posture information With the unmatched time duration of preset standard posture information, and judge whether time duration is more than default time duration, if It is step 308 to be executed, if not, terminating this flow.
In the embodiment of the present invention, prompting message is for prompting user to use the fault of electronic equipment.Wherein, relatively Distance value is less than pre-determined distance value and/or posture information may be continuous with the unmatched duration of preset standard posture information, It is also likely to be discrete.If relative distance value is less than pre-determined distance value and/or posture information and preset standard posture information Unmatched duration is continuous, and electronic equipment is less than pre-determined distance value and/or posture information and pre- bidding from relative distance value Start timing when quasi- posture information, when meter completely estimated duration, executes step 308.
As an alternative embodiment, if relative distance value is less than pre-determined distance value and/or posture information and in advance Be marked with the unmatched duration of quasi- posture information be it is discontinuous, electronic equipment count relative distance value be less than pre-determined distance value and/ Or posture information may include with the unmatched time duration of preset standard posture information:
Electronic equipment counts relative distance value and is less than pre-determined distance value and/or posture information and preset standard posture information not Matched time duration and rest duration;Wherein, a length of relative distance value is more than or equal to pre-determined distance value simultaneously when rest And posture information and the matched duration of preset standard posture information;
Electronic equipment judges whether rest duration is more than default rest duration;
If so, time duration is reset and executes above-mentioned statistics relative distance value by electronic equipment is less than pre-determined distance value And/or posture information and the unmatched time duration of preset standard posture information and rest duration;
If not, electronic equipment execute above-mentioned statistics relative distance value less than pre-determined distance value and/or posture information with The unmatched time duration of preset standard posture information.
By implementing this optional embodiment, when rest duration is more than default rest duration, restart timing, The mode of this statistics duration avoid user accidentally occur relative distance value less than pre-determined distance value and/or posture information with it is pre- It is marked with the phenomenon that quasi- posture information leads to electronic equipment blank screen so that management and control is relatively reliable.
308, electronic equipment control electronics enter blank screen pattern.
In the embodiment of the present invention, when electronic equipment enters blank screen pattern, user can not by press switching on and shutting down button or It double-clicks the modes such as the display screen of electronic equipment and enters operating mode to wake up electronic equipment, play the effect of management and control user rest Fruit.Optionally, after electronic equipment control electronics enter blank screen pattern, if user corrects in time uses electronic equipment Posture (including the distance between user and electronic equipment and user use the posture information of electronic equipment), can stop controlling Electronic equipment processed is in blank screen pattern, and user can pass through the display screen by switching on and shutting down button or double-click electronic equipment this moment Etc. modes enter operating mode to wake up electronic equipment;It is another optional, enter blank screen in electronic equipment control electronics When the duration of pattern is more than preset duration, control electronics can also be stopped and be in blank screen pattern, user can pass through this moment Enter operating mode by modes such as switching on and shutting down button or the display screens for double-clicking electronic equipment to wake up electronic equipment.
As an alternative embodiment, prompting message may include the first prompting message and the second prompting message, tire out Timing length may include the first time duration and the second time duration, and electronic equipment exports prompting message, and counts relative distance Value is less than pre-determined distance value and/or posture information may include with the unmatched time duration of preset standard posture information:
When detecting that relative distance value is less than pre-determined distance value, electronic equipment exports the first prompting message, and counts use Relative distance value between family and range sensor is less than the first time duration of pre-determined distance value, and the first prompting message is for carrying Show display screen of the user far from electronic equipment;And/or detecting posture information and preset standard posture information mismatch When, the second prompting message is exported, and counting user head pose is mismatched with default head pose or electronic equipment is not at Default the second time duration for putting posture, the posture that the second prompting message is used to that user to be prompted to correct using electronic equipment;
When time duration is more than default time duration, electronic equipment control electronics, which enter blank screen pattern, to wrap It includes:
When the first time duration, which is more than the first default time duration and/or the second time duration, presets accumulative more than second When long, electronic equipment control electronics enter blank screen pattern.
By implementing this optional embodiment, when the distance between user and electronic equipment are excessively close, electronic equipment The display screen that the first prompting message can be exported to prompt user far from electronic equipment, when user is believed using the posture of electronic equipment When breath is mismatched with preset standard posture information, electronic equipment can export the second prompting message and use electronics to prompt user to correct The posture of equipment exports different prompting messages, more specific aim for the inappropriate difference using electronic equipment situation of user The behavior that user uses electronic equipment is corrected on ground, to protect eyesight.
As it can be seen that implement Fig. 6 described in eye care method for electronic equipment, when user distance electronic equipment (such as mobile phone, Tablet etc.) relative distance be less than pre-determined distance and/or user and believed with preset standard posture using the posture information of electronic equipment When breath mismatches, eyeshield operation can be executed with control electronics, to cultivate user form it is good using electronic equipment Custom, protects the vision health of user.
In addition, implementing eye care method for electronic equipment described in Fig. 6, posture and use are put from electronic equipment Two kinds of postures of head pose at family realize the judgement to user using the posture information of electronic equipment, and judgement is more comprehensive, to It obtains more accurately judging user using the posture information of electronic equipment.
In addition, implementing eye care method for electronic equipment described in Fig. 6, relative distance value can be counted less than default Distance value and/or posture information and the unmatched time duration of preset standard posture information, when time duration is more than preset cumulative When duration, control electronics enter blank screen pattern, and the dynamics bigger that management and control electronic equipment uses preferably protects regarding for user Power health.
In addition, implement Fig. 6 described in eye care method for electronic equipment, electronic equipment can by show screen with The angle and frame of horizontal plane and the angle of horizontal plane judge electronic equipment whether put posture correct, wherein can pass through Each inclination angle of gravity sensor, gyroscope test electronic equipment under transverse screen and vertical screen state built in electronic equipment, utilizes electricity The sub- existing module of equipment realizes the judgement that posture is put to electronic equipment, cost-effective, and judging result is accurate.
Example IV
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention.As shown in fig. 7, The electronic equipment 700 may include detection unit 701 and control unit 702, wherein:
Detection unit 701, it is opposite between user and electronic equipment for when electronic equipment is in operating mode, detecting Distance value whether be less than pre-determined distance value and/or detect user use electronic equipment when posture information whether with preset standard appearance State information match.
As an alternative embodiment, detection unit 701 detects the relative distance value between user and electronic equipment Whether less than pre-determined distance value may include:
The front camera of electronic equipment is opened, and judges whether front camera captures eye image;
If so, calculating the relative distance value between human eye and electronic equipment according to the eye image captured;
Judge whether the relative distance value is less than pre-determined distance value.
By implementing this optional embodiment, can utilize the front camera realization of electronic equipment judge user and The distance between electronic equipment just calculates between human eye and electronic equipment only when front camera captures eye image Distance, avoid caused by range sensor is blocked by the hand of user the calculating of relative distance value and the case where error occur and send out Raw probability improves the accuracy rate of ranging.
Control unit 702 detects that relative distance value is less than pre-determined distance value and/or posture for working as detection unit 701 When information is mismatched with preset standard posture information, control electronics execute eyeshield operation.
As an alternative embodiment, after 702 control electronics of control unit execute eyeshield operation, control Unit 702 is additionally operable to:
Judge whether the real-time range value between user and electronic equipment is less than pre-determined distance value and user is set using electronics Whether standby real-time attitude information matches with preset standard posture information;
When judging that real-time range value is more than or equal to pre-determined distance value and real-time attitude information and preset standard posture When information matches, control electronics stop executing eyeshield operation.
By implementing this optional embodiment, during electronic equipment executes eyeshield operation, if user and When correct using electronic equipment posture (including the distance between user and electronic equipment and user use the appearance of electronic equipment State information), eyeshield operation can stop in real time.
For example, when display screen of the user from electronic equipment is excessively close, electronic equipment sends out eyeshield prompting, when user sees The display screen far from electronic equipment, at this moment electronic equipment stopping immediately sending out eyeshield prompting after eyeshield is reminded.This process energy Enough control electronics execute eyeshield operation and stop eyeshield operation automatically, and intelligence degree higher, user experience is more preferably.
As it can be seen that implement electronic equipment described in Fig. 7, it is opposite when user distance electronic equipment (such as mobile phone, tablet) It, can when distance is less than posture information and preset standard the posture information mismatch of pre-determined distance and/or user using electronic equipment Eyeshield operation is executed with control electronics, the good custom using electronic equipment is formed to cultivate user, protects user Vision health.
Embodiment five
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.Wherein, Fig. 8 Shown in electronic equipment 700 be as shown in Figure 7 electronic equipment 700 optimization obtain, with 700 phase of electronic equipment shown in Fig. 7 Than in electronic equipment 700 shown in Fig. 8, detection unit 701 may include:
First judgment sub-unit 7011, for when electronic equipment be in operating mode, judge user and electronic equipment it Between relative distance value whether be less than whether pre-determined distance value and/or electronic equipment in default put posture.
Second judgment sub-unit 7012, for judging that electronic equipment is in default and puts when the first judgment sub-unit 7011 When posture, judge whether the head pose of the user of electronic equipment matches with default head pose.
Determination subelement 7013 puts appearance for judging that electronic equipment is not to preset when the first judgment sub-unit 7011 When gesture, determine that user is mismatched using the posture information of electronic equipment with preset standard posture information;When the second judgment sub-unit 7012 when judging that the head pose of user is mismatched with default head pose, determines that user uses the posture information of electronic equipment It is mismatched with preset standard posture information.
Optionally, the first judgment sub-unit 7011 is used to judge whether electronic equipment to have in the default mode for putting posture Body is:
First judgment sub-unit 7011, for judge electronic equipment display screen and horizontal plane between angle whether position In in the first default angular range;When judgment module judges that the angle between display screen and the horizontal plane of electronic equipment is located at When in the first default angular range, the screen state of electronic equipment is detected;Screen state includes transverse screen state or vertical screen state; When detection module detects that screen state is transverse screen state, judge that the angle between the long margin frame of electronic equipment and horizontal plane is It is no to be located in the second default angular range, when the angle between long margin frame and horizontal plane is located in the second default angular range, really Determine electronic equipment and puts posture in default;When detection module detects that screen state is vertical screen state, electronic equipment is judged Short frame and horizontal plane between angle whether be located at the second default angular range in, when the folder between short frame and horizontal plane Angle is located in the second default angular range, determines that electronic equipment is in default and puts posture.
As it can be seen that implement electronic equipment described in Fig. 8, it is opposite when user distance electronic equipment (such as mobile phone, tablet) It, can when distance is less than posture information and preset standard the posture information mismatch of pre-determined distance and/or user using electronic equipment Eyeshield operation is executed with control electronics, the good custom using electronic equipment is formed to cultivate user, protects user Vision health.
In addition, implement electronic equipment described in Fig. 8, electronic equipment can by show the angle of screen and horizontal plane with And the angle of frame and horizontal plane judge electronic equipment whether put posture correct, wherein can be by built in electronic equipment Each inclination angle of gravity sensor, gyroscope test electronic equipment under transverse screen and vertical screen state, utilizes the existing mould of electronic equipment Block realizes the judgement that posture is put to electronic equipment, cost-effective, and judging result is accurate.
In addition, implementing electronic equipment described in Fig. 8, posture and the head pose two of user are put from electronic equipment Kind posture realizes the judgement using the posture information of electronic equipment to user, and judgement is more comprehensive, to obtain using user The posture information of electronic equipment more accurately judges.
Embodiment six
Referring to Fig. 9, Fig. 9 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.Wherein, Fig. 9 Shown in electronic equipment 700 be as shown in Figure 8 electronic equipment 700 optimization obtain, with 700 phase of electronic equipment shown in Fig. 8 Than in electronic equipment 700 shown in Fig. 9, control unit 702 includes:
Subelement 7021 is executed, detects that relative distance value is less than pre-determined distance value and/or appearance for working as detection unit 701 When state information is mismatched with preset standard posture information, prompting message is exported, and counts relative distance value and is less than pre-determined distance value And/or posture information and the unmatched time duration of preset standard posture information, prompting message are used to that user to be prompted to use electronics The fault of equipment.
As an alternative embodiment, if relative distance value is less than pre-determined distance value and/or posture information and in advance It is discontinuous to be marked with the unmatched duration of quasi- posture information, executes subelement 7021 and counts relative distance value less than pre-determined distance Value and/or posture information may include with the unmatched time duration of preset standard posture information:
It is unmatched tired less than pre-determined distance value and/or posture information and preset standard posture information to count relative distance value Timing length and rest duration;Wherein, a length of relative distance value is more than or equal to pre-determined distance value when rest and posture is believed Breath and the matched duration of preset standard posture information;
Judge whether rest duration is more than default rest duration;
It is less than pre-determined distance value and/or appearance if so, time duration is reset and executes above-mentioned statistics relative distance value State information and the unmatched time duration of preset standard posture information and rest duration;
If not, executing above-mentioned statistics relative distance value is less than pre-determined distance value and/or posture information and preset standard The unmatched time duration of posture information.
By implementing this optional embodiment, when rest duration is more than default rest duration, restart timing, The mode of this statistics duration avoid user accidentally occur relative distance value less than pre-determined distance value and/or posture information with it is pre- It is marked with the phenomenon that quasi- posture information leads to electronic equipment blank screen so that management and control is relatively reliable.
Subelement 7022 is controlled, the time duration for being counted when execution subelement 7021 is more than default time duration When, control electronics enter blank screen pattern.
Optionally, prompting message may include the first prompting message and the second prompting message, and time duration may include One time duration and the second time duration execute subelement 7021 and are used to preset when detection unit detects that relative distance value is less than When distance value and/or posture information are mismatched with preset standard posture information, prompting message is exported, and it is small to count relative distance value In pre-determined distance value and/or posture information and the unmatched time duration of preset standard posture information, prompting message is for prompting User is specially using the mode of the fault of electronic equipment:
Subelement 7021 is executed, for when detecting that relative distance value is less than pre-determined distance value, the first prompt of output to disappear Breath, and the relative distance value between counting user and range sensor is less than the first time duration of pre-determined distance value, first carries Show display screen of the message for prompting user far from electronic equipment;And/or detecting posture information and preset standard posture When information mismatches, the second prompting message is exported, and counting user head pose is mismatched with default head pose or electronics Equipment is not at default the second time duration for putting posture, and the second prompting message uses electronic equipment for prompting user to correct Posture;
Further alternative, time duration of the control subelement 7022 for being counted when execution subelement 7021 is more than pre- If when time duration, the mode that control electronics enter blank screen pattern is specially:
Subelement 7022 is controlled, for when the first time duration is more than the first default time duration and/or second is accumulative When length is more than the second default time duration, control electronics enter blank screen pattern.
As it can be seen that implement electronic equipment described in Fig. 9, it is opposite when user distance electronic equipment (such as mobile phone, tablet) It, can when distance is less than posture information and preset standard the posture information mismatch of pre-determined distance and/or user using electronic equipment Eyeshield operation is executed with control electronics, the good custom using electronic equipment is formed to cultivate user, protects user Vision health.
In addition, implement electronic equipment described in Fig. 9, electronic equipment can by show the angle of screen and horizontal plane with And the angle of frame and horizontal plane judge electronic equipment whether put posture correct, wherein can be by built in electronic equipment Each inclination angle of gravity sensor, gyroscope test electronic equipment under transverse screen and vertical screen state, utilizes the existing mould of electronic equipment Block realizes the judgement that posture is put to electronic equipment, cost-effective, and judging result is accurate.
In addition, implementing electronic equipment described in Fig. 9, posture and the head pose two of user are put from electronic equipment Kind posture realizes the judgement using the posture information of electronic equipment to user, and judgement is more comprehensive, to obtain using user The posture information of electronic equipment more accurately judges.
In addition, implementing electronic equipment described in Fig. 9, when the distance between user and electronic equipment are excessively close, electronics is set The standby display screen that can export the first prompting message to prompt user far from electronic equipment, when user uses the posture of electronic equipment When information is mismatched with preset standard posture information, electronic equipment can export the second prompting message to prompt user to correct using electricity The posture of sub- equipment exports different prompting messages for the inappropriate difference using electronic equipment situation of user, is more directed to Property correct user use electronic equipment behavior, to protect eyesight.
In addition, implementing electronic equipment described in Fig. 9, posture and the head pose two of user are put from electronic equipment Kind posture realizes the judgement using the posture information of electronic equipment to user, and judgement is more comprehensive, to obtain using user The posture information of electronic equipment more accurately judges.
Embodiment seven
Referring to Fig. 10, Figure 10 is the structural schematic diagram of another electronic equipment disclosed by the embodiments of the present invention.Such as Figure 10 Shown, which may include:
It is stored with the memory 1001 of executable program code;
The processor 1002 coupled with memory 1001;
Wherein, processor 1002 calls the executable program code stored in memory 1001, executes Fig. 1, Fig. 2 and Fig. 6 In any one eye care method for electronic equipment.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer Program makes computer execute any one eye care method for electronic equipment in 1, Fig. 2 and Fig. 6.
A kind of computer program product is also disclosed in the embodiment of the present invention, wherein when computer program product on computers When operation so that computer executes some or all of the method in such as above each method embodiment step.
The embodiment of the present invention is also disclosed a kind of using distribution platform, wherein using distribution platform for issuing computer journey Sequence product, wherein when computer program product is run on computers so that computer executes such as the above each method embodiment In some or all of method step.
In various embodiments of the present invention, it should be appreciated that size of the sequence numbers of the above procedures is not meant to execute suitable The execution sequence of the inevitable priority of sequence, each process should be determined by its function and internal logic, without coping with the embodiment of the present invention Implementation process constitutes any restriction.
In embodiment provided by the present invention, it should be appreciated that " B corresponding with A " indicates that B is associated with A, can be with according to A Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, it can also be according to A and/or other information Determine B.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, can also be Each unit physically exists alone, can also be during two or more units are integrated in one unit.Above-mentioned integrated unit Both the form that hardware may be used is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can be stored in a retrievable memory of computer.Based on this understanding, technical scheme of the present invention substantially or Person says all or part of of the part that contributes to existing technology or the technical solution, can be in the form of software products It embodies, which is stored in a memory, including several requests are with so that a computer is set Standby (can be personal computer, server or network equipment etc., can be specifically the processor in computer equipment) executes Some or all of each embodiment above method of present invention step.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can Any other computer-readable medium for carrying or storing data.
A kind of eye care method for electronic equipment disclosed by the embodiments of the present invention and electronic equipment have been carried out in detail above Thin to introduce, principle and implementation of the present invention are described for specific case used herein, and above example is said The bright method and its core concept for being merely used to help understand the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of eye care method for electronic equipment, which is characterized in that including:
When the electronic equipment is in operating mode, whether the relative distance value detected between user and the electronic equipment is small In pre-determined distance value and/or detection user use the electronic equipment when posture information whether with preset standard posture information phase Matching;
When detecting that the relative distance value is less than the pre-determined distance value and/or the posture information and the preset standard appearance When state information mismatches, controls the electronic equipment and execute eyeshield operation.
2. according to the method described in claim 1, it is characterized in that, the posture detected when user uses the electronic equipment Whether information matches with preset standard posture information, including:
Judge whether the electronic equipment is in default and puts posture;
When the electronic equipment be not at it is described it is default put posture when, determine that user uses the posture information of the electronic equipment It is mismatched with the preset standard posture information;
When judge the electronic equipment be in it is described it is default put posture when, judge the head appearance of the user of the electronic equipment Whether gesture matches with default head pose;When the head pose and the default head pose mismatch for judging the user When, determine that user is mismatched using the posture information of the electronic equipment with the preset standard posture information.
3. according to the method described in claim 2, it is characterized in that, described judge whether the electronic equipment is put in default Posture, including:
Judge whether the angle between the display screen of the electronic equipment and horizontal plane is located in the first default angular range;
When judging that the angle between display screen and the horizontal plane of the electronic equipment is located at the described first default angular range When interior, the screen state of the electronic equipment is detected;The screen state includes transverse screen state or vertical screen state;
When the screen state is the transverse screen state, the angle between the long margin frame and horizontal plane of the electronic equipment is judged Whether it is located in the second default angular range, when the angle between the long margin frame and horizontal plane is located at the described second default angle In range, determine that the electronic equipment is in default and puts posture;
When the screen state is the vertical screen state, the angle between the short frame and horizontal plane of the electronic equipment is judged Whether it is located in the second default angular range, when the angle between the short frame and horizontal plane is located at the described second default angle In range, determine that the electronic equipment is in default and puts posture.
4. according to claims 1 to 3 any one of them method, which is characterized in that the control electronic equipment executes shield Eye operation, including:
Prompting message is exported, and counts the relative distance value less than the pre-determined distance value and/or the posture information and institute The unmatched time duration of preset standard posture information is stated, the prompting message is used to that user to be prompted to use the electronic equipment Fault;
When the time duration is more than default time duration, controls the electronic equipment and enter blank screen pattern.
5. according to the method described in claim 4, it is characterized in that, the prompting message is carried including the first prompting message and second Show message, the time duration includes the first time duration and the second time duration, the output prompting message, and described in counting It is unmatched tired with the preset standard posture information that relative distance value is less than the pre-determined distance value and/or the posture information Timing is long, including:
When detecting that the relative distance value is less than the pre-determined distance value, first prompting message is exported, and count use The relative distance value between family and the range sensor is less than first time duration of the pre-determined distance value, institute It states the first prompting message and is used to prompt user the display screen far from the electronic equipment;And/or detecting the posture letter When breath is mismatched with the preset standard posture information, second prompting message, and counting user head pose and institute are exported It states default head pose mismatch or the electronic equipment is not at default second time duration for putting posture, The posture that second prompting message is used to that user to be prompted to correct using the electronic equipment;
It is described to control the electronic equipment when the time duration is more than default time duration and enter blank screen pattern, including:
When first time duration is more than, the first default time duration and/or second time duration are default more than second to tire out When timing is long, controls the electronic equipment and enter blank screen pattern.
6. a kind of electronic equipment, which is characterized in that including:
Detection unit, for when the electronic equipment is in operating mode, detecting the phase between user and the electronic equipment Value of adjusting the distance whether be less than pre-determined distance value and/or detect posture information when user uses the electronic equipment whether with it is default Standard posture information matches;
Control unit detects that the relative distance value is less than the pre-determined distance value and/or institute for working as the detection unit When stating posture information with preset standard posture information mismatch, controls the electronic equipment and execute eyeshield operation.
7. electronic equipment according to claim 6, which is characterized in that the detection unit includes:
First judgment sub-unit, for when the electronic equipment be in operating mode, judge user and the electronic equipment it Between relative distance value whether be less than whether pre-determined distance value and/or the electronic equipment in default put posture;
Second judgment sub-unit judges that the electronic equipment is in described preset and puts for working as first judgment sub-unit When posture, judge whether the head pose of the user of the electronic equipment matches with default head pose;
Determination subelement judges that the electronic equipment is not at described preset and puts appearance for working as first judgment sub-unit When gesture, determine that user is mismatched using the posture information of the electronic equipment with the preset standard posture information;When described When two judgment sub-units judge that the head pose of the user is mismatched with the default head pose, determine that user uses institute The posture information and the preset standard posture information for stating electronic equipment mismatch.
8. electronic equipment according to claim 7, which is characterized in that first judgment sub-unit is for judging the electricity Whether sub- equipment is in the default mode for putting posture:
First judgment sub-unit, for judge the electronic equipment display screen and horizontal plane between angle whether position In in the first default angular range;When the judgment module is judged between display screen and the horizontal plane of the electronic equipment When angle is located in the described first default angular range, the screen state of the electronic equipment is detected;The screen state includes Transverse screen state or vertical screen state;When the detection module detects that the screen state is the transverse screen state, institute is judged State whether angle between the long margin frame of electronic equipment and horizontal plane is located in the second default angular range, when the long margin frame with Angle between horizontal plane is located in the described second default angular range, determines that the electronic equipment is in default and puts posture; When the detection module detects that the screen state is the vertical screen state, the short frame and water of the electronic equipment are judged Whether the angle between plane is located in the second default angular range, when the angle between the short frame and horizontal plane is located at institute It states in the second default angular range, determines that the electronic equipment is in default and puts posture.
9. according to claim 6~8 any one of them electronic equipment, which is characterized in that described control unit includes:
Execute subelement, for work as the detection unit detect the relative distance value be less than the pre-determined distance value and/or When the posture information is mismatched with the preset standard posture information, prompting message is exported, and count the relative distance value Less than the pre-determined distance value and/or the posture information and the unmatched time duration of preset standard posture information, institute Prompting message is stated for prompting user to use the fault of the electronic equipment;
Subelement is controlled, when the time duration for being counted when the execution subelement is more than default time duration, control It makes the electronic equipment and enters blank screen pattern.
10. electronic equipment according to claim 9, which is characterized in that the prompting message include the first prompting message and Second prompting message, the time duration include the first time duration and the second time duration, and the execution subelement is for working as The detection unit detects that the relative distance value is less than the pre-determined distance value and/or the posture information and is preset with described When standard posture information mismatches, export prompting message, and count the relative distance value less than the pre-determined distance value and/or The posture information and the unmatched time duration of preset standard posture information, the prompting message is for prompting user to make Mode with the fault of the electronic equipment is specially:
The execution subelement, for when detecting that the relative distance value is less than the pre-determined distance value, output described the One prompting message, and the relative distance value between counting user and the range sensor is less than the pre-determined distance value First time duration, first prompting message is for prompting display screen of the user far from the electronic equipment;With/ Or, when detecting that the posture information is mismatched with the preset standard posture information, second prompting message is exported, and Counting user head pose is mismatched with the default head pose or the electronic equipment is not at described preset and puts appearance Second time duration of gesture, the posture that second prompting message is used to that user to be prompted to correct using the electronic equipment;
The control subelement is used for when the time duration that the execution subelement counts is more than default time duration, It controls the electronic equipment and enters the mode of blank screen pattern and be specially:
The control subelement, for tiring out more than the first default time duration and/or described second when first time duration When timing length is more than the second default time duration, controls the electronic equipment and enter blank screen pattern.
CN201810349720.7A 2018-04-18 2018-04-18 A kind of eye care method for electronic equipment and electronic equipment Pending CN108600535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810349720.7A CN108600535A (en) 2018-04-18 2018-04-18 A kind of eye care method for electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810349720.7A CN108600535A (en) 2018-04-18 2018-04-18 A kind of eye care method for electronic equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN108600535A true CN108600535A (en) 2018-09-28

Family

ID=63611125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810349720.7A Pending CN108600535A (en) 2018-04-18 2018-04-18 A kind of eye care method for electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN108600535A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333907A (en) * 2019-05-27 2019-10-15 深圳市好成绩网络科技有限公司 Method, apparatus, electronic equipment and the computer storage medium that eyeshield is reminded
CN110989885A (en) * 2019-11-30 2020-04-10 北京一起教育信息咨询有限责任公司 Eye protection control method and device, mobile device and electronic device
CN111062006A (en) * 2018-10-17 2020-04-24 福建天泉教育科技有限公司 Android system control method and terminal
CN112614319A (en) * 2020-12-21 2021-04-06 珠海格力电器股份有限公司 Terminal adjusting method and device, computer equipment and computer readable storage medium
CN113761989A (en) * 2020-06-05 2021-12-07 腾讯科技(深圳)有限公司 Behavior monitoring method and device, computer and readable storage medium
JP7174876B1 (en) 2021-07-02 2022-11-17 功憲 末次 Device support status notification system and device support status notification program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104656899A (en) * 2015-02-12 2015-05-27 深圳市金立通信设备有限公司 Terminal operation and control method
CN106488031A (en) * 2016-11-02 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of use based reminding method of terminal and terminal
CN107479987A (en) * 2017-07-07 2017-12-15 广东小天才科技有限公司 Eye care method, device, mobile terminal and the storage medium of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104656899A (en) * 2015-02-12 2015-05-27 深圳市金立通信设备有限公司 Terminal operation and control method
CN106488031A (en) * 2016-11-02 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of use based reminding method of terminal and terminal
CN107479987A (en) * 2017-07-07 2017-12-15 广东小天才科技有限公司 Eye care method, device, mobile terminal and the storage medium of mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062006A (en) * 2018-10-17 2020-04-24 福建天泉教育科技有限公司 Android system control method and terminal
CN110333907A (en) * 2019-05-27 2019-10-15 深圳市好成绩网络科技有限公司 Method, apparatus, electronic equipment and the computer storage medium that eyeshield is reminded
CN110989885A (en) * 2019-11-30 2020-04-10 北京一起教育信息咨询有限责任公司 Eye protection control method and device, mobile device and electronic device
CN113761989A (en) * 2020-06-05 2021-12-07 腾讯科技(深圳)有限公司 Behavior monitoring method and device, computer and readable storage medium
CN113761989B (en) * 2020-06-05 2023-04-07 腾讯科技(深圳)有限公司 Behavior recognition method and device, computer and readable storage medium
CN112614319A (en) * 2020-12-21 2021-04-06 珠海格力电器股份有限公司 Terminal adjusting method and device, computer equipment and computer readable storage medium
JP7174876B1 (en) 2021-07-02 2022-11-17 功憲 末次 Device support status notification system and device support status notification program
JP2023008803A (en) * 2021-07-02 2023-01-19 功憲 末次 Device support status notification system and device support status notification program

Similar Documents

Publication Publication Date Title
CN108600535A (en) A kind of eye care method for electronic equipment and electronic equipment
US10511600B2 (en) Maintaining user authentications with common trusted devices
CN104239860B (en) A kind of sitting posture detection and based reminding method and device using during intelligent terminal
CN104767888B (en) A kind of screen luminance adjustment method and device
CN104424771B (en) A kind of alarm method and device
CN103295370B (en) Method and system for preventing myopia by monitoring distance between eyes and screen
CN107392056A (en) Terminal and child mode implementation method, computer-readable recording medium
CN104580693A (en) Method and device for detecting user head-lowering posture
CN104052871A (en) Eye protecting device and method for mobile terminal
CN106325467A (en) Method and device for controlling mobile terminal, and mobile terminal
CN105677174A (en) Terminal reading mode control method and device, and terminal
CN108549802A (en) A kind of unlocking method, device and mobile terminal based on recognition of face
CN107292158A (en) Mobile terminal and pattern triggering method, computer-readable recording medium
CN106502467B (en) A kind of the screen awakening method and device, user terminal of user terminal
CN113297938B (en) Sitting posture monitoring method and device, electronic equipment and storage medium
CN103970277A (en) Method and device for healthy reading monitoring based on handheld electronic device
CN107463823A (en) Mobile terminal and application control method, computer-readable recording medium
CN104571881B (en) A kind of control method and device of solution lock screen
CN108632758A (en) Terminal tracing method, processing unit and terminal and storage medium
CN106851409A (en) Video-assisted equipment and its control method with posture error correction
CN107066089A (en) A kind of mobile phone eye posture guard method based on computer vision technique
CN106161794B (en) Use prompting method, system and circuit of intelligent equipment protective sleeve
CN107209936A (en) Message processing device, information processing method and program
CN108614962A (en) Safety identification control method, wearable device and computer readable storage medium
CN108055398A (en) The control method and electronic equipment that a kind of eyeshield is reminded

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928

RJ01 Rejection of invention patent application after publication