CN103200303B - A kind of safety instruction method and electronic equipment - Google Patents

A kind of safety instruction method and electronic equipment Download PDF

Info

Publication number
CN103200303B
CN103200303B CN201210006498.3A CN201210006498A CN103200303B CN 103200303 B CN103200303 B CN 103200303B CN 201210006498 A CN201210006498 A CN 201210006498A CN 103200303 B CN103200303 B CN 103200303B
Authority
CN
China
Prior art keywords
electronic equipment
described electronic
judged result
processor
environmental condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210006498.3A
Other languages
Chinese (zh)
Other versions
CN103200303A (en
Inventor
璧佃唉
赵谦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210006498.3A priority Critical patent/CN103200303B/en
Publication of CN103200303A publication Critical patent/CN103200303A/en
Application granted granted Critical
Publication of CN103200303B publication Critical patent/CN103200303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of safety instruction method and electronic equipment, relates to communication technical field, in order to point out the external world, protects user.By processor, the embodiment of the present invention judges whether electronic equipment is in talking state;And detect external environmental condition by environmental sensor, it is thus achieved that the testing result of external environmental condition, according to described testing result, described processor determines whether described electronic equipment is under default environmental condition;It is in talking state at electronic equipment and is under default environmental condition;Described processor controls described electronic equipment and enters on-warning mode.The embodiment of the present invention is suitable for use with the sight of electronic equipment.

Description

A kind of safety instruction method and electronic equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of safety instruction method and electronics sets Standby.
Background technology
At present, the feature that the smart mobile phone on market is possessed is, when this mobile phone detects mobile phone Be placed on people in one's ear time, mobile phone screen can be automatically switched off the purpose reaching power saving.
In prior art, although mobile phone screen reaches the purpose of power saving, but user is in the dark Walking while making a phone call, in the case of user be can't see by extraneous vehicle, user is easy Bumped against by vehicle.
Summary of the invention
Embodiments of the invention provide a kind of safety instruction method and electronic equipment, outside pointing out Boundary, protects user.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
The present invention provides a kind of safety instruction method, is applied in an electronic equipment, described electronics Equipment at least includes processor, environmental sensor and display unit, including:
Described processor judges whether described electronic equipment is in talking state, it is thus achieved that first judges Result;
Described environmental sensor detection external environmental condition, it is thus achieved that the detection knot of external environmental condition Really;
According to described testing result, described processor determines whether described electronic equipment is in default Environmental condition under, it is thus achieved that the second judged result;
When described first judged result shows that described electronic equipment is in talking state and described Two judged results show when described electronic equipment is under default environmental condition;
Described processor controls described electronic equipment and enters on-warning mode.
Accordingly, the present invention provides a kind of electronic equipment, and described electronic equipment at least includes processing Device, environmental sensor and display unit, including:
Described processor, is used for judging whether described electronic equipment is in talking state, it is thus achieved that the One judged result;
Described environmental sensor, is used for detecting external environmental condition, it is thus achieved that external environmental condition Testing result;
According to described testing result, described processor, for determining whether described electronic equipment is in Under the environmental condition preset, it is thus achieved that the second judged result;
When described first judged result shows that described electronic equipment is in talking state and described Two judged results show when described electronic equipment is under default environmental condition;
Described processor specifically for, control described electronic equipment enter on-warning mode.
The embodiment of the present invention provides a kind of safety instruction method and electronic equipment, is obtained by processor Obtain electronic equipment and be in the information of talking state;External environment bar is obtained again by environmental sensor The testing result of part, and it is in default environmental condition by processor acquisition electronic equipment After information, processor controls described electronic equipment and enters on-warning mode, relative to prior art In call time mobile phone be in screen turn off state, the electronic equipment in the present invention is default It is at on-warning mode, it is possible to play the effect of safety instruction, thus protect and make under environment User.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by right In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, Accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art From the point of view of, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
The method of a kind of safety instruction that Fig. 1 provides for the embodiment of the present invention;
The method of the another kind of safety instruction that Fig. 2 provides for the embodiment of the present invention;
A kind of electronic equipment that Fig. 3 provides for the embodiment of the present invention;
The another kind of electronic equipment that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Have and make the every other embodiment obtained under creative work premise, broadly fall into present invention protection Scope.
Embodiment one
As it is shown in figure 1, a kind of method that the embodiment of the present invention provides safety instruction, it is applied to an electricity In subset 10, described electronic equipment at least includes processor 11, environmental sensor 12 and Display unit 13, including:
101, described processor 11 judges whether described electronic equipment 10 is in talking state, Obtain the first judged result;
102, when described environmental sensor 12 is light sensor, described light sensor is examined Survey the current ambient brightness residing for described electronic equipment, it is thus achieved that the current environment of external environment Brightness;
103, described processor is according to described current ambient brightness, determines described current ring Whether border brightness mates with default ambient brightness, it is thus achieved that the second judged result;
Concrete, when described current ambient brightness mates with default ambient brightness, then the Two judged results show that described electronic equipment 10 is under default environmental condition;Work as when described When front ambient brightness does not mates with default ambient brightness, then the second judged result shows described Electronic equipment 10 is not under the environmental condition preset.
In embodiments of the present invention, the ambient brightness that the ambient brightness preset can be default is critical Value, can store in memory;Face it addition, can arrange in the present invention less than or equal to this The situation of dividing value is to mate with the ambient brightness preset, it is also possible to arrange more than or equal to this marginal value Situation is to mate with the ambient brightness preset, and in embodiments of the present invention, does not limit the side of setting Formula.Such as, in the case of the ambient brightness less than or equal to this marginal value being with preset mates, Current ambient brightness could mate with default ambient brightness, currently less than or equal to this marginal value Ambient brightness more than this marginal value time, then do not mate with default ambient brightness.
104, when described first judged result show described electronic equipment 10 be in talking state and Described second judged result shows when described electronic equipment 10 is under default environmental condition; Described processor 11 controls described electronic equipment 10 and enters on-warning mode.Preferably, described police Announcement pattern includes: flashes screen or sends alarm sound.
Further, described method also includes:
105, show that described electronic equipment 10 is not on shape of conversing when described first judged result State, described processor controls described electronic equipment and does not enter on-warning mode;Or,
When described first judged result shows that described electronic equipment 10 is in talking state and institute State the second judged result and show when described electronic equipment 10 is not on the environmental condition preset, Described processor 11 controls described electronic equipment 10 and does not enter on-warning mode.
The embodiment of the present invention provides a kind of safety instruction method, obtains electronic equipment by processor It is in the information of talking state;The detection knot of external environmental condition is obtained again by environmental sensor Really, and after obtaining, by processor, the information that electronic equipment is in default environmental condition, Processor control described electronic equipment enter on-warning mode, relative in prior art call time Mobile phone is in the state that screen turns off, and the electronic equipment in the present invention can in the environment of presetting It is in on-warning mode, it is possible to play the effect of safety instruction, thus protect user.
Embodiment two
As in figure 2 it is shown, a kind of method that the embodiment of the present invention provides safety instruction, it is applied to an electricity In subset 10, described electronic equipment at least includes processor 21, environmental sensor 22 and Display unit 23, including:
201, described processor 21 judges whether described electronic equipment 10 is in talking state, Obtain the first judged result;
202, when described environmental sensor 22 is global position system GPS, described GPS Detect the current geographical position residing for described electronic equipment 20, it is thus achieved that external environment current Geographical position;
203, described processor 21 judge described current geographical position whether with default geography Location matches, it is thus achieved that the second judged result;
Concrete, when described current geographical position is mated with default geographical position, then the Two judged results show that described electronic equipment 20 is under default environmental condition;Work as when described When front geographical position is not mated with default geographical position, then the second judged result shows described Electronic equipment 20 is not under the environmental condition preset.
It should be noted that the geographical position preset in embodiments of the present invention is to need to pacify The geographical position (such as, user leads to the street of family from company) of full prompting, these are preset Geographical position is generally the more dangerous place that user oneself is arranged.
204, when described first judged result show described electronic equipment 20 be in talking state and Described second judged result shows when described electronic equipment 20 is under default environmental condition; Described processor 21 controls described electronic equipment 20 and enters on-warning mode.Preferably, described police Announcement pattern includes: flashes screen or sends alarm sound.
It should be noted that the geographical position preset in embodiments of the present invention is to need to open police The geographical position (such as, user leads to the street of family from company) of announcement pattern, current geography When position is mated with the geographical position preset, then the second judged result shows at described electronic equipment Under default environmental condition;When current geographical position is not mated with the geographical position preset, Under then the second judged result shows the environmental condition that described electronic equipment is not in presetting.When described First judged result shows that described electronic equipment 20 is in talking state and described second and judges knot Fruit shows when described electronic equipment 20 is under default environmental condition;
Described processor 21 controls described electronic equipment 20 and enters on-warning mode.
Further, described method also includes:
205, show that described electronic equipment 20 is not on shape of conversing when described first judged result State, described processor controls described electronic equipment and does not enter on-warning mode;Or,
When described first judged result shows that described electronic equipment 20 is in talking state and institute State the second judged result and show when described electronic equipment 20 is not on the environmental condition preset, Described processor 21 controls described electronic equipment 20 and does not enter on-warning mode.
The embodiment of the present invention provides a kind of safety instruction method, obtains electronic equipment by processor It is in the information of talking state;The detection knot of external environmental condition is obtained again by environmental sensor Really, and after obtaining, by processor, the information that electronic equipment is in default environmental condition, Processor control described electronic equipment enter on-warning mode, relative in prior art call time Mobile phone is in the state that screen turns off, and the electronic equipment in the present invention can in the environment of presetting It is in on-warning mode, it is possible to play the effect of safety instruction, thus protect user.
Embodiment three
The embodiment of the present invention provides a kind of electronic equipment 10, for realizing described in embodiment one Safety instruction method.
Described electronic equipment 10 at least includes processor 11, environmental sensor and display unit 13,
Described processor 11, is used for judging whether described electronic equipment 10 is in talking state, Obtain the first judged result;
Described environmental sensor, is used for detecting external environmental condition, it is thus achieved that external environmental condition Testing result;According to described testing result, described processor 11, for determining that described electronics sets Whether standby 10 be under default environmental condition, it is thus achieved that the second judged result;
Concrete, when described environmental sensor is light sensor 12;
Described light sensor 12 is used for, and detects the current ring residing for described electronic equipment 10 Border brightness;
Described processor 11 specifically for, it is judged that described current ambient brightness whether with preset Ambient brightness coupling, it is thus achieved that the second judged result.
When described first judged result shows that described electronic equipment 10 is in talking state and described Second judged result shows when described electronic equipment 10 is under default environmental condition;
Described processor 11 is used for, and controls described electronic equipment and enters on-warning mode.
Further, show that described electronic equipment is not on call when described first judged result State, described processor is used for, and controls described electronic equipment and does not enter on-warning mode;Or,
When described first judged result shows that described electronic equipment is in talking state and described Second judged result shows when described electronic equipment 10 is not on the environmental condition preset, institute State processor for, control described electronic equipment 10 and do not enter on-warning mode.The most described On-warning mode includes: flashes screen or sends alarm sound.
The embodiment of the present invention provides a kind of electronic equipment, obtains electronic equipment by processor and is in The information of talking state;The testing result of external environmental condition is obtained again by environmental sensor, And after obtaining, by processor, the information that electronic equipment is in default environmental condition, process Device control described electronic equipment enter on-warning mode, relative in prior art call time mobile phone Being in the state that screen turns off, the electronic equipment in the present invention is in the environment of presetting On-warning mode, it is possible to play the effect of safety instruction, thus protect user.
Embodiment four
The embodiment of the present invention provides a kind of electronic equipment 20, for realizing described in embodiment two Safety instruction method.
Described electronic equipment 20 at least includes processor 21, environmental sensor and display unit 23,
Described processor 21, is used for judging whether described electronic equipment 10 is in talking state, Obtain the first judged result;
Described environmental sensor, is used for detecting external environmental condition, it is thus achieved that external environmental condition Testing result;According to described testing result, described processor 23, for determining that described electronics sets Whether standby 10 be under default environmental condition, it is thus achieved that the second judged result;
Concrete, when described environmental sensor is global position system GPS 22;
The described GPS22 detection current geographical position residing for described electronic equipment 20, it is thus achieved that The current geographical position of external environment;
Described processor 21 judge described current geographical position whether with default geographical position Coupling, it is thus achieved that the second judged result.
When described first judged result shows that described electronic equipment 20 is in talking state and described Second judged result shows when described electronic equipment 20 is under default environmental condition;
Described processor 21 is used for, and controls described electronic equipment and enters on-warning mode.
Further, show that described electronic equipment is not on call when described first judged result State, described processor is used for, and controls described electronic equipment 20 and does not enter on-warning mode;Or Person,
When described first judged result shows that described electronic equipment is in talking state and described Second judged result shows when described electronic equipment is not on the environmental condition preset, described place Reason device is used for, and controls described electronic equipment 20 and does not enter on-warning mode.Preferred described warning Pattern includes: flashes screen or sends alarm sound.
The embodiment of the present invention provides a kind of electronic equipment, obtains electronic equipment by processor and is in The information of talking state;The testing result of external environmental condition is obtained again by environmental sensor, And after obtaining, by processor, the information that electronic equipment is in default environmental condition, process Device control described electronic equipment enter on-warning mode, relative in prior art call time mobile phone Being in the state that screen turns off, the electronic equipment in the present invention is in the environment of presetting On-warning mode, it is possible to play the effect of safety instruction, thus protect user.
It should be noted that safety instruction method is corresponding with electronic equipment in the present invention, electronics Each functional unit in equipment is the executive agent of each step in safety instruction method.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment Suddenly can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer In read/write memory medium, this program upon execution, performs to include the step of said method embodiment; And aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is also Being not limited to this, any those familiar with the art is at the technology model that the invention discloses In enclosing, change can be readily occurred in or replace, all should contain within protection scope of the present invention. Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (4)

1. a safety instruction method, is applied in an electronic equipment, and described electronic equipment is at least Including processor, environmental sensor and display unit, it is characterised in that including:
Described processor judges whether described electronic equipment is in talking state, it is thus achieved that first judges Result;
Described environmental sensor detection external environmental condition, it is thus achieved that the detection knot of external environmental condition Really;
According to described testing result, described processor determines whether described electronic equipment is in default Under environmental condition, it is thus achieved that the second judged result;
When described first judged result shows that described electronic equipment is in talking state and described second Judged result shows when described electronic equipment is under default environmental condition;
Described processor controls described electronic equipment and enters on-warning mode, and described on-warning mode includes: Flicker screen;
Described environmental sensor is light sensor, and described acquisition the second judged result specifically includes: The described light sensor detection current ambient brightness residing for described electronic equipment, it is thus achieved that extraneous The current ambient brightness of environment, described processor, according to described current ambient brightness, determines Whether described current ambient brightness mates with default ambient brightness, it is thus achieved that the second judged result, When described current ambient brightness is less than or equal to the ambient brightness preset, described current environment Brightness is mated with the ambient brightness preset.
Method the most according to claim 1, it is characterised in that described method also includes:
When described first judged result shows that described electronic equipment is not on talking state, described Processor controls described electronic equipment and does not enter on-warning mode;Or,
When described first judged result shows that described electronic equipment is in talking state and described Two judged results show when described electronic equipment is not on the environmental condition preset, described process Device controls described electronic equipment and does not enter on-warning mode.
3. an electronic equipment, described electronic equipment at least include processor, environmental sensor and Display unit, it is characterised in that
Described processor, is used for judging whether described electronic equipment is in talking state, it is thus achieved that the One judged result;
Described environmental sensor, is used for detecting external environmental condition, it is thus achieved that external environmental condition Testing result;
According to described testing result, described processor, for determining whether described electronic equipment is in Under the environmental condition preset, it is thus achieved that the second judged result;
When described first judged result shows that described electronic equipment is in talking state and described second Judged result shows when described electronic equipment is under default environmental condition;
Described processor is used for, and controls described electronic equipment and enters on-warning mode, described warning mould Formula includes: flicker screen;
Described environmental sensor is light sensor;
Described light sensor is used for, and detects the current ambient brightness residing for described electronic equipment;
Described processor specifically for, it is judged that described current ambient brightness whether with default ring Border brightness matching, it is thus achieved that the second judged result, when described current ambient brightness is less than or equal to pre- If ambient brightness time, described current ambient brightness with preset ambient brightness mate.
Electronic equipment the most according to claim 3, it is characterised in that
When described first judged result shows that described electronic equipment is not on talking state, described Processor is used for, and controls described electronic equipment and does not enter on-warning mode;Or,
When described first judged result shows that described electronic equipment is in talking state and described Two judged results show when described electronic equipment is not on the environmental condition preset, described process Device is used for, and controls described electronic equipment and does not enter on-warning mode.
CN201210006498.3A 2012-01-10 2012-01-10 A kind of safety instruction method and electronic equipment Active CN103200303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210006498.3A CN103200303B (en) 2012-01-10 2012-01-10 A kind of safety instruction method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210006498.3A CN103200303B (en) 2012-01-10 2012-01-10 A kind of safety instruction method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103200303A CN103200303A (en) 2013-07-10
CN103200303B true CN103200303B (en) 2016-10-05

Family

ID=48722656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210006498.3A Active CN103200303B (en) 2012-01-10 2012-01-10 A kind of safety instruction method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103200303B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101066A (en) * 2014-05-12 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Method and system for safety warning when mobile terminal is in use
CN106713604B (en) * 2015-11-17 2020-09-29 百度在线网络技术(北京)有限公司 Information security prompting method and system
TWI683233B (en) * 2016-05-30 2020-01-21 廣達電腦股份有限公司 Portable electronic devices and operating methods thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281740A (en) * 2008-05-19 2008-10-08 深圳华为通信技术有限公司 Method, apparatus and terminal for switching pictures
CN101355391A (en) * 2008-09-12 2009-01-28 深圳华为通信技术有限公司 Method and terminal for detecting network signal intensity
CN101388708A (en) * 2007-09-14 2009-03-18 中兴通讯股份有限公司 Terminal service prompt method and system based on GPS positioning technique
CN201541286U (en) * 2009-10-19 2010-08-04 深圳信息职业技术学院 Mobile terminal with alarm clock positioning function
EP2229035A1 (en) * 2008-02-15 2010-09-15 Huawei Device Co., Ltd. Communication device and method for sending urgent information
CN102158597A (en) * 2011-02-28 2011-08-17 奇智软件(北京)有限公司 Electromagnetic radiation prompting system and method for mobile communication terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415039A (en) * 2007-10-17 2009-04-22 宏达国际电子股份有限公司 Talking management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388708A (en) * 2007-09-14 2009-03-18 中兴通讯股份有限公司 Terminal service prompt method and system based on GPS positioning technique
EP2229035A1 (en) * 2008-02-15 2010-09-15 Huawei Device Co., Ltd. Communication device and method for sending urgent information
CN101281740A (en) * 2008-05-19 2008-10-08 深圳华为通信技术有限公司 Method, apparatus and terminal for switching pictures
CN101355391A (en) * 2008-09-12 2009-01-28 深圳华为通信技术有限公司 Method and terminal for detecting network signal intensity
CN201541286U (en) * 2009-10-19 2010-08-04 深圳信息职业技术学院 Mobile terminal with alarm clock positioning function
CN102158597A (en) * 2011-02-28 2011-08-17 奇智软件(北京)有限公司 Electromagnetic radiation prompting system and method for mobile communication terminal

Also Published As

Publication number Publication date
CN103200303A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN103516875B (en) The method of the user of prompting mobile terminal and mobile terminal
US20170124837A1 (en) Communication method, apparatus, system and computer-readable medium for wearable device
CN104767888A (en) Screen brightness adjusting method and device
CN104832446A (en) Method and device for controlling fan
CN103458111B (en) A kind of method of cell phone intelligent sleep
WO2006105431A3 (en) System and method for indicating reminders via a portable computing device
CN109639879A (en) Control method for screen display, collapsible terminal and computer readable storage medium
CN103220417A (en) Method for automatically brightening screen of mobile terminal and mobile terminal thereof
CN104639732A (en) Electronic equipment and method for automatically lightening screen
CN105185013A (en) Internet of things article safety system based on motion attitude identification, and control method thereof
CN105847581A (en) User prompting method and user terminal
CN110505568B (en) Power control method and device of wearable device and wearable device
CN103218889A (en) Body-separating alarm terminal and realization method thereof
CN107664841A (en) Intelligent glasses and the method for controlling intelligent glasses dormancy awakening
CN111723602A (en) Driver behavior recognition method, device, equipment and storage medium
CN105204651A (en) Control method and device
CN103200303B (en) A kind of safety instruction method and electronic equipment
CN102055849A (en) Method for self-testing intensity of surrounding light of mobile phone
CN110874905A (en) Monitoring method and device
CN103530974A (en) Anti-fall method and device for mobile intelligent equipment
CN106200910A (en) Obstacle based reminding method and device
CN108632758B (en) Terminal tracking method, processing device, terminal and storage medium
CN107566627B (en) Auxiliary reminding system and method for bad use habits of users
CN103516901A (en) Method and device for automatic sleep of mobile intelligent device
CN111010537B (en) Vehicle control method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant