CN103823626A - Method and device for regulating display contents and electronic equipment - Google Patents

Method and device for regulating display contents and electronic equipment Download PDF

Info

Publication number
CN103823626A
CN103823626A CN201310533697.4A CN201310533697A CN103823626A CN 103823626 A CN103823626 A CN 103823626A CN 201310533697 A CN201310533697 A CN 201310533697A CN 103823626 A CN103823626 A CN 103823626A
Authority
CN
China
Prior art keywords
light intensity
intensity value
electronic equipment
time
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310533697.4A
Other languages
Chinese (zh)
Other versions
CN103823626B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310533697.4A priority Critical patent/CN103823626B/en
Publication of CN103823626A publication Critical patent/CN103823626A/en
Application granted granted Critical
Publication of CN103823626B publication Critical patent/CN103823626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for regulating display contents and electronic equipment, and belongs to the field of electronic equipment. The method includes acquiring light intensity values of the front of the electronic equipment at preset intervals; detecting variation conditions of the light intensity values in a preset time period to determine whether the variation conditions of the light intensity values in the preset time period meet preset conditions or not; regulating the display contents on a screen of the electronic equipment according to the variation conditions of the light intensity values if detection results indicate that the variation conditions of the light intensity values meet the preset conditions. The method, the device and the electronic equipment have the advantages that problems that at least two photoelectric proximity sensors need to be installed in existing electronic equipment in the prior art, the cost and the volume of the existing electronic equipment are increased and the existing electronic equipment is poor in usability can be solved; effects of regulating the display contents of the electronic equipment by the aid of only one photoelectric proximity sensor, regulating the display contents of the electronic equipment according to the variation conditions of the light intensity values, reducing the cost and the volume of the electronic equipment and improving the usability of the electronic equipment can be realized.

Description

Displaying contents control method, device and electronic equipment
Technical field
The disclosure relates to electronic device field, particularly a kind of displaying contents control method, device and electronic equipment.
Background technology
Along with the widespread use of the electronic equipments such as mobile phone, panel computer and LCD TV, user in use substantially can relate to the adjustment operation to displaying contents.The displaying contents of electronic equipment regulates and refers to the operation such as page turning or rolling.
Take digital photo frame as example, can realize by approaching inductor at least two photo-electrics of the inner installation of digital photo frame the front and back page turning of photo.Photo-electric approaches inductor and comprises optical transmitting set and optical receiver, optical transmitting set is for outwards launching infrared ray, optical receiver, for receiving the infrared ray reflecting, then judges that by sensing circuit perception reflex light intensity photo-electric approaches inductor front and whether has object to block.In the time that user's finger or palm streak in digital photo frame front, approach sequencing that inductor is blocked and determine the direction of gesture by detecting two photo-electrics, then realize the front and back page turning of photo according to gesture direction.
Inventor is realizing in process of the present disclosure, find that above-mentioned correlation technique at least exists following defect: the displaying contents control method of associated electronic device need to be installed at least two photo-electrics in electronic equipment internal and approach inductor, has increased the cost of electronic equipment.Meanwhile, the optical transmitting set approaching in inductor due to photo-electric is unrestrained light source, and the reflected light that infrared ray produces at palm surface is also for diffuse reflection, approaches so be difficult to detect two photo-electrics the sequencing that inductor is blocked.This just need to expand two photo-electrics and approaches the distance between inductor or need user to streak in the very near distance in digital photo frame front, has therefore increased the volume of electronic equipment, and ease for use is also bad.
Summary of the invention
Need to approach inductor at least two photo-electrics of electronic equipment internal installation in order to solve in above-mentioned correlation technique, cost and the volume of electronic equipment are increased, the problem that ease for use is bad, disclosure embodiment provides a kind of displaying contents control method, device and electronic equipment.Described technical scheme is as follows:
First aspect, provides a kind of displaying contents control method, and described method comprises:
Obtain the light intensity value in electronic equipment front every predetermined time interval;
Whether the situation of change that detects described light intensity value within a predetermined period of time conforms to a predetermined condition;
If testing result is for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
In the possible embodiment of the first, whether the situation of change of described detection described light intensity value within a predetermined period of time conforms to a predetermined condition, and comprising:
Whether the situation of change that detects described light intensity value is within a predetermined period of time to continue increase or continue to reduce.
In conjunction with the possible embodiment of the first of first aspect, in the possible embodiment of the second of first aspect, the described situation of change according to described light intensity value regulates the displaying contents on the screen of described electronic equipment, comprising:
If the situation of change that testing result is described light intensity value increases for continuing, carry out the first adjustment operation;
If the situation of change that testing result is described light intensity value reduces for continuing, carry out the second adjustment operation; Wherein:
Described the first adjustment operation for page turning forward, described the second adjustment operation be page turning backward; Or,
Described the first adjustment operation for page turning backward, described the second adjustment operation be page turning forward; Or,
Described the first adjustment operation is for upwards rolling, described the second adjustment operation are downward rolling; Or,
Described the first adjustment operation is downward rolling, described the second adjustment operation is rolling upwards.
In conjunction with the possible embodiment of the first of first aspect, in the third possible embodiment of first aspect, described method also comprises:
Whether i the light intensity value that detection gets is greater than does not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value and whether is greater than first threshold, i > 2;
Do not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value described in being greater than and be greater than first threshold if testing result is described i light intensity value, the initial time using the sampling instant of described i light intensity value as described predetermined amount of time, and finish time using the sampling instant of i+k-1 light intensity value as described predetermined amount of time, i+k light intensity value is the light intensity value that first and described difference of not blocking between light intensity value are less than Second Threshold after described i light intensity value, i > 2, k >=1.
In conjunction with the third possible embodiment of first aspect, in the 4th kind of possible embodiment of first aspect, described method also comprises:
Whether the rate of change that detects each light intensity value in another predetermined amount of time of the finish time take the sampling instant of i-m light intensity value is less than the 3rd threshold value, i > 2, m >=1;
If testing result is described rate of change is less than the 3rd threshold value, using the largest light intensity value in described another predetermined amount of time or average intensity value as the described light intensity value that do not block.
In conjunction with the third possible embodiment of first aspect, in the 5th kind of possible embodiment of first aspect, described method also comprises:
Whether the duration that judges described predetermined amount of time belongs to scheduled duration scope;
If the duration that judged result is described predetermined amount of time does not belong to described scheduled duration scope, do not carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment;
If the duration that judged result is described predetermined amount of time belongs to described scheduled duration scope, carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment.
In conjunction with the third possible embodiment of first aspect, in the 6th kind of possible embodiment of first aspect, described method also comprises:
Detect the average intensity value in the predetermined amount of time again of the finish time take the sampling instant of described i light intensity value and whether exceed the 4th threshold value, i > 2;
Whether be greater than and do not block the step whether light intensity value and described i light intensity value and described difference of not blocking between light intensity value are greater than first threshold if testing result for exceeding described the 4th threshold value, is pointed out the information that described electronic equipment is blocked and do not carried out i light intensity value that described detection gets.
In conjunction with the 5th kind of possible embodiment of the 4th kind of possible embodiment of the third possible embodiment of the possible embodiment of the second of the possible embodiment of the first of first aspect, first aspect, first aspect, first aspect, first aspect, first aspect or the 6th kind of possible embodiment of first aspect, in the 7th kind of possible embodiment of first aspect, the described light intensity value that obtains electronic equipment front every predetermined time interval, comprising:
Approach the front transmitting infrared ray of inductor to described electronic equipment by a photo-electric;
Obtain described ultrared catoptrical light intensity value every predetermined time interval.
Second aspect, provides a kind of displaying contents regulating device, and described device comprises:
Light intensity acquisition module, for obtaining the light intensity value in electronic equipment front every predetermined time interval;
Whether first detection module, conform to a predetermined condition for detection of the situation of change of described light intensity value within a predetermined period of time;
Vision-control module, if for testing result for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
In the possible embodiment of the first, whether described first detection module, be to continue increase or continue to reduce for detection of the situation of change of described light intensity value within a predetermined period of time.
In conjunction with the possible embodiment of the first of second aspect, in the possible embodiment of the second of second aspect, described vision-control module, comprising: the first regulon and the second regulon;
Described the first regulon, if the situation of change that is described light intensity value for testing result increases for continuing, carries out the first adjustment operation;
Described the second regulon, if the situation of change that is described light intensity value for testing result reduces for continuing, carries out the second adjustment operation; Wherein:
Described the first adjustment operation for page turning forward, described the second adjustment operation be page turning backward; Or,
Described the first adjustment operation for page turning backward, described the second adjustment operation be page turning forward; Or,
Described the first adjustment operation is for upwards rolling, described the second adjustment operation are downward rolling; Or,
Described the first adjustment operation is downward rolling, described the second adjustment operation is rolling upwards.
In conjunction with the possible embodiment of the first of second aspect, in the third possible embodiment of second aspect, described device also comprises:
Whether the second detection module, be greater than and do not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value and whether be greater than first threshold, i > 2 for detection of i the light intensity value getting;
Time determination module, if be not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value described in described i light intensity value is greater than to be greater than first threshold for testing result, the initial time using the sampling instant of described i light intensity value as described predetermined amount of time, and finish time using the sampling instant of i+k-1 light intensity value as described predetermined amount of time, i+k light intensity value is the light intensity value that first and described difference of not blocking between light intensity value are less than Second Threshold after described i light intensity value, i > 2, k >=1.
In conjunction with the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect, described device also comprises:
The 3rd detection module, whether the rate of change of each light intensity value for detection of the sampling instant take i-m light intensity value in another predetermined amount of time of the finish time is less than the 3rd threshold value, i > 2, m >=1;
Light intensity is chosen module, if be that described rate of change is less than the 3rd threshold value for testing result, using the largest light intensity value in described another predetermined amount of time or average intensity value as the described light intensity value that do not block.
In conjunction with the 4th kind of possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect, described device also comprises:
Whether time judgment module, belong to scheduled duration scope for the duration that judges described predetermined amount of time;
The first execution module, if the duration that is described predetermined amount of time for judged result does not belong to described scheduled duration scope, does not carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment;
The second execution module, if the duration that is described predetermined amount of time for judged result belongs to described scheduled duration scope, carries out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment.
In conjunction with the 4th kind of possible embodiment of second aspect, in the 6th kind of possible embodiment of second aspect, described device also comprises:
The 4th detection module, whether the average intensity value for detection of the sampling instant take described i light intensity value in the predetermined amount of time again of the finish time exceedes the 4th threshold value, i > 2;
Block reminding module, if for testing result for exceeding described the 4th threshold value, point out the information that described electronic equipment is blocked and do not carry out i light intensity value that described detection gets whether to be greater than and not block the step whether light intensity value and described i light intensity value and described difference of not blocking between light intensity value are greater than first threshold.
In conjunction with the 5th kind of possible embodiment of the 4th kind of possible embodiment of the third possible embodiment of the possible embodiment of the second of the possible embodiment of the first of second aspect, second aspect, second aspect, second aspect, second aspect, second aspect or the 6th kind of possible embodiment of second aspect, in the 7th kind of possible embodiment of second aspect, described light intensity acquisition module, comprising: light emission unit and light intensity acquiring unit;
Described light emission unit, for approaching the front transmitting infrared ray of inductor to described electronic equipment by a photo-electric;
Described light intensity acquiring unit, for obtaining described ultrared catoptrical light intensity value every predetermined time interval.
The third aspect, provides a kind of electronic equipment, and described electronic equipment is as the displaying contents regulating device as described in arbitrary in the various possible embodiment of second aspect and second aspect.
Fourth aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and described one or more modules have following function:
Obtain the light intensity value in electronic equipment front every predetermined time interval;
Whether the situation of change that detects described light intensity value within a predetermined period of time conforms to a predetermined condition;
If testing result is for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
Some beneficial effects of the technical scheme that disclosure embodiment provides can comprise:
By obtain the light intensity value in electronic equipment front every predetermined time interval, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value; Solve in correlation technique and need to approach inductor at least two photo-electrics of electronic equipment internal installation, increased cost and the volume of electronic equipment, the problem that ease for use is bad; Reach the adjustment operation that only needs a photo-electric to approach inductor just to realize the displaying contents to electronic equipment, situation of change by light intensity value regulates the displaying contents on the screen of electronic equipment, reduce cost and the volume of electronic equipment, improved the effect of the ease for use of electronic equipment simultaneously.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present disclosure, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only embodiment more of the present disclosure, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the example arrangement schematic diagram of applied environment related in each embodiment of the disclosure;
Fig. 2 is the exemplary method flowchart of the displaying contents control method that provides of embodiment of the disclosure;
Fig. 3 A is the exemplary method flowchart of the displaying contents control method that provides of another embodiment of the disclosure;
Fig. 3 B is the illustrative diagram of the sample distribution of the related light intensity value of the displaying contents control method that provides of the disclosure;
Fig. 3 C and Fig. 3 D are the related light intensity value situations of change of the displaying contents control method that provides of the disclosure and the illustrative diagram of corresponding user's palm paddling;
Fig. 4 is the exemplary method flowchart of the related step 401 of the displaying contents control method that provides of another embodiment of the disclosure to step 403;
Fig. 5 is the exemplary method flowchart of the disclosure displaying contents control method that an embodiment provides again;
Fig. 6 is the example arrangement block scheme of the displaying contents regulating device that provides of embodiment of the disclosure;
Fig. 7 is the example arrangement block scheme of the displaying contents regulating device that provides of another embodiment of the disclosure;
Fig. 8 is the example arrangement schematic diagram of electronic equipment related in each embodiment of the disclosure.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is hereinafter more detailed description.These accompanying drawings and text description are not the scope in order to limit disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
In order to make object of the present disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the disclosure is described in further detail, obviously, described embodiment is only a part of embodiment of the disclosure, rather than whole embodiment.Based on the embodiment in the disclosure, those of ordinary skills are not making all other embodiment that obtain under creative work prerequisite, all belong to the scope of disclosure protection.
Please refer to Fig. 1, inventor finds, when user's palm streaks in the electronic equipment screen front that photo-electric is installed approaches inductor with certain angle of inclination, photo-electric approaches the catoptrical light intensity value that inductor gets and can continue increase or continue to reduce.Reason be when shelter approach from photo-electric inductor more close to time, the catoptrical light intensity value of generation is larger; When shelter approach from photo-electric inductor more away from time, the catoptrical light intensity value of generation is less.Below, by the displaying contents of introducing in detail the lasting increase that the palm by tilting produces or the light intensity value that continues to reduce by several specific embodiments and regulating on the screen of electronic equipment.
Please refer to Fig. 2, it shows the exemplary method flowchart of the displaying contents control method that embodiment of the disclosure provides.The present embodiment is applied in electronic equipment and illustrates with this displaying contents control method.This displaying contents control method can comprise the steps.
In step 202, obtain the light intensity value in electronic equipment front every predetermined time interval.
In step 204, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition.
Predetermined condition refers to whether the situation of change of light intensity value is within a predetermined period of time to continue increase or continue to reduce.Predetermined amount of time can be take current time as the finish time and duration regular time section; Predetermined amount of time can be also the time period that detects that shelter streaks in electronic equipment front.
In step 206, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value.
In sum, the displaying contents control method that the present embodiment provides, by obtain the light intensity value in electronic equipment front every predetermined time interval, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value; Solve in correlation technique and need to approach inductor at least two photo-electrics of electronic equipment internal installation, increased cost and the volume of electronic equipment, the problem that ease for use is bad; Reach the adjustment operation that only needs a photo-electric to approach inductor just to realize the displaying contents to electronic equipment, situation of change by light intensity value regulates the displaying contents on the screen of electronic equipment, reduce cost and the volume of electronic equipment, improved the effect of the ease for use of electronic equipment simultaneously.
Please refer to Fig. 3 A, it shows the exemplary method flowchart of the displaying contents control method that another embodiment of the disclosure provides.The present embodiment is applied in electronic equipment and illustrates with this displaying contents control method.This displaying contents control method can comprise the steps.
In step 301, obtain the light intensity value in electronic equipment front every predetermined time interval.
Electronic equipment obtains the light intensity value in electronic equipment front by one every predetermined time interval apart from sensing unit, this can be that photo-electric approaches inductor apart from sensing unit.Predetermined time interval can preset according to actual conditions, preferably between 0.001 second to 0.2 second.Such as being redefined for 0.05 second, obtained the light intensity value in primary electron equipment front every 0.05 second.
The method of obtaining the light intensity value in electronic equipment front can realize in the following way: approach the front transmitting infrared ray of inductor to electronic equipment by a photo-electric, obtain ultrared catoptrical light intensity value every predetermined time interval.
Photo-electric approaches inductor and comprises optical transmitting set and optical receiver, and optical transmitting set is for outwards launching infrared ray, and optical receiver is for receiving the infrared ray reflecting, the ultrared light intensity value that then obtains reflecting by sensing circuit.Such as, photo-electric approaches inductor and be arranged at the screen one side of electronic equipment, in the time that user's palm streaks in electronic equipment screen front, the infrared ray of optical transmitting set transmitting can produce reflected light at palm surface.
In step 302, whether whether i the light intensity value that detection gets is greater than the difference of not blocking light intensity value and i light intensity value and do not block between light intensity value is greater than first threshold, i > 2.
Do not block light intensity value and refer to catoptrical light intensity value when photo-electric approaches inductor and is not blocked.Do not block light intensity value and can be redefined for a certain fixed value, also can dynamically set this according to different implementation environments and not block light intensity value, the present embodiment is not to block light intensity value as a predefined fixed value 10cd(candela, candela, luminous intensity unit) illustrate.
First threshold is the catoptrical light intensity value of light source in the time that preset distance is blocked, and preset distance can preset according to actual conditions.Suppose that preset distance is 20 centimetres, light source and shelter between distance to acquire catoptrical light intensity value while being 20cm be 40cd, first threshold is 40cd.Preset distance is arranged between 5 centimetres to 100 centimetres conventionally.Preset distance is larger, and the photo-electric that electronic equipment is described approaches inductor and can detect in place far away not the change situation of light intensity value in the same time, also highly sensitive; Otherwise preset distance is less, illustrate that sensitivity is lower.
In the present embodiment, suppose that first threshold is 40cd, suppose that photo-electric approaches i that inductor got at the 0.3rd second simultaneously, also the 7th light intensity value is 80cd, the 7th light intensity value is greater than and do not block light intensity value 10cd, and the 7th light intensity value and do not block the difference 80cd-10cd=70cd > 40cd between light intensity value, carries out following step 303.Also, now think and have shelter to occur, this shelter can be the palm that user tilts.
In step 303, be greater than the difference of not blocking light intensity value and i light intensity value and do not block between light intensity value and be greater than first threshold if testing result is i light intensity value, the initial time using the sampling instant of i light intensity value as predetermined amount of time, and finish time using the sampling instant of i+k-1 light intensity value as predetermined amount of time, i+k light intensity value be after i light intensity value first and do not block the light intensity value that difference between light intensity value is less than Second Threshold, i > 2, k >=1.
As shown in Figure 3 B, after the 7th light intensity value that then in above-mentioned steps, sampling gets, supposing that continuation sampling obtains the 8th to 16 light intensity values and is respectively: 78cd, 75cd, 72cd, 70cd, 11cd, 10cd, 10cd, 11cd and 9cd.Second Threshold can preset according to the actual requirements, and Second Threshold is set as being slightly larger than 0 conventionally, supposes Second Threshold to be set as 5cd.Initial time using the sampling instant of the 7th light intensity value as predetermined amount of time, also this initial time is 0.3 second, in the time that sampling obtains the 12nd light intensity value 11cd, find that 11cd-10cd(does not block light intensity value)=1cd < 5cd, illustrate that the 12nd light intensity value is first and do not block the light intensity value that difference between light intensity value 10cd is less than Second Threshold 5cd.Now, the finish time using the sampling instant of the 11st light intensity value as predetermined amount of time, be to be also the finish time 0.5 second.Therefore, obtaining predetermined amount of time is 0.3 second to 0.5 second this time period.
This predetermined amount of time can be thought the time period that shelter streaks in electronic equipment front, such as, the time period that the palm that user tilts streaks in electronic equipment front.
In step 304, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition.
Predetermined condition refers to whether the situation of change of light intensity value is within a predetermined period of time to continue increase or continue to reduce.
As shown in Fig. 3 C and Fig. 3 D, Fig. 3 C shows in the situation that light intensity value continues to increase, two kinds of paddling signals of corresponding user's palm; Fig. 3 D shows in the situation that light intensity value continues to reduce, two kinds of paddling signals of user's palm.
In step 305, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value.
If testing result is for conforming to a predetermined condition, generate the predefined different control commands corresponding to different situations of change according to the situation of change of light intensity value, control command is for regulating the displaying contents on the screen of electronic equipment.
Specifically, this step comprises following two kinds of situations:
The first, if the situation of change that testing result is light intensity value increases for continuing, carry out the first adjustment operation;
The second, if the situation of change that testing result is light intensity value reduces for continuing, carry out the second adjustment operation.Wherein: the first adjustment operation for page turning forward, the second adjustment operation be page turning backward; Or, the first adjustment operation for page turning backward, the second adjustment operation be page turning forward; Or the first adjustment operation is for upwards rolling, the second adjustment operation are downward rolling; Or the first adjustment operation is downward rolling, the second adjustment operation is rolling upwards.
The different adjustment of supposing the predefined different situations of change corresponding to light intensity value operates as shown in following table-1:
The situation of change of light intensity value Adjustment operation
Continue to increase Page turning or upwards rolling forward
Continue to reduce Page turning or downwards rolling backward
Table-1
Meanwhile, if setting display page has clear and definite paging, carry out page turn over operation; If display page does not have clear and definite paging, carry out rolling operation.In practice process, in the time that user's palm streaks in electronic equipment screen front with any one angle in Fig. 3 C, realize page turning forward or rolling upwards; In the time that user's palm streaks in electronic equipment screen front with any one angle in Fig. 3 D, realize page turning backward or downward rolling.
It should be noted that, table-1 is only the corresponding relation between different situations of change that light intensity value is exemplarily described operate with different adjustment, in actual application, can set according to the actual requirements different corresponding relations, and this disclosure is not done to concrete restriction.
Also it should be noted that, too fast or excessively slow in order to prevent user's volar glide, difficulty while causing light intensity value to obtain or error, can make user under metastable sliding speed, just carry out displaying contents adjustment operation by following step 401 to step 403.Please refer to Fig. 4, after above-mentioned steps 303, can also carry out following steps:
In step 401, judge whether the duration of predetermined amount of time belongs to scheduled duration scope.
Can preset scheduled duration scope, if the lasting time increasing or continue to reduce of light intensity value, not within this scheduled duration scope, is not carried out displaying contents adjusting.Such as this scheduled duration scope is 0.5 second to 1 second, in the time that user's volar glide is too fast, the time that the light intensity value detecting continues to increase or continue to reduce is only 0.3s, even only gets the light intensity value that once has significant change, does not carry out displaying contents adjusting.
In step 402, if the duration that judged result is predetermined amount of time does not belong to scheduled duration scope, do not carry out according to the step of the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value.
In step 403, if the duration that judged result is predetermined amount of time belongs to scheduled duration scope, carry out according to the step of the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value.
In sum, the displaying contents control method that the present embodiment provides, by obtain the light intensity value in electronic equipment front every predetermined time interval, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value; Solve in correlation technique and need to approach inductor at least two photo-electrics of electronic equipment internal installation, increased cost and the volume of electronic equipment, the problem that ease for use is bad; Reach the adjustment operation that only needs a photo-electric to approach inductor just to realize the displaying contents to electronic equipment, situation of change by light intensity value regulates the displaying contents on the screen of electronic equipment, reduce cost and the volume of electronic equipment, improved the effect of the ease for use of electronic equipment simultaneously.
The displaying contents control method that the present embodiment provides, also by setting first threshold, first threshold is the catoptrical light intensity value of light source in the time that preset distance is blocked, preset distance can preset according to actual conditions, and the size that has reached the first threshold of setting by change changes the effect of the sensitivity of displaying contents adjusting.
The displaying contents control method that the present embodiment provides, also determine whether again to carry out displaying contents adjustment operation by judging after whether the duration of predetermined amount of time belongs to scheduled duration scope, prevented difficulty or error when user's volar glide light intensity value that is too fast or excessively slow and that cause obtains.
Please refer to Fig. 5, it shows the exemplary method flowchart of the disclosure displaying contents control method that an embodiment provides again.The present embodiment is applied in electronic equipment and illustrates with this displaying contents control method.This displaying contents control method can comprise the steps.
In step 501, obtain the light intensity value in electronic equipment front every predetermined time interval.
The present embodiment was still take predetermined time interval as 0.05 second as example, and electronic equipment obtained the light intensity value in a front every 0.05 second.
Different from the embodiment shown in Fig. 3 A, the light intensity value that do not block in the embodiment shown in Fig. 3 A is predefined a certain fixed value, and the present embodiment is realized dynamic setting by following step 502 and step 503 and do not blocked light intensity value.
In step 502, whether the rate of change that detects each light intensity value in the predetermined amount of time A of the finish time take the sampling instant of i-m light intensity value is less than the 3rd threshold value, i > 2, m >=1.
The 3rd threshold value can be redefined for a certain fixed value, such as 0.2.The 3rd threshold value also can change according to different applied environments, under different applied environments, sets the 3rd different threshold values.Such as, daytime the 3rd, threshold value was 0.2, and evening the 3rd, threshold value was 0.15.
Suppose that electronic equipment starts at user's release mobile phone screen, obtain light intensity value one time every sampling in 0.05 second, and suppose that in the present embodiment i=7, m=1 and the 3rd threshold value are 0.2, this step is whether the rate of change of each light intensity value in 0.25 second that detects take the sampling instant of the 6th light intensity value as the finish time is less than 0.2.Such as, 6 light intensity values that in the time of from 0 to 0.25 second, sampling gets are respectively 10cd, 9cd, 10cd, 10cd, 10cd and 11cd.The rate of change that these 6 light intensity value computational analysiss are obtained to each light intensity value is 0.11 < 0.2 to the maximum, carries out following step 503.For following explanation, suppose that the i getting at 0.3 second is individual simultaneously, also the 7th light intensity value is 80cd.
In step 503, if testing result is rate of change is less than the 3rd threshold value, using the largest light intensity value in predetermined amount of time A or average intensity value as not blocking light intensity value.
Do not block light intensity value and refer to catoptrical light intensity value when photo-electric approaches inductor and is not blocked.Suppose to choose mean value in above-mentioned 6 light intensity values as not blocking light intensity value, not blocking light intensity value is 10cd.
By above-mentioned steps 502 and step 503, realize dynamic setting in different applied environments and do not blocked light intensity value, improve ease for use and the dirigibility of the displaying contents control method that the disclosure provides.
In step 504, detect the average intensity value in the predetermined amount of time B of the finish time take the sampling instant of i light intensity value and whether exceed the 4th threshold value, i > 2.
This predetermined amount of time B can preset according to the actual requirements, in 0.2 second that was set as before the sampling instant of i light intensity value is the finish time.The 4th threshold value also can preset according to the actual requirements, and the 4th threshold value is larger than not blocking light intensity value, supposes that setting the 4th threshold value is 30cd.
If front 7 light intensity values that sampling gets not are the 10cd described in above-mentioned steps 502, 9cd, 10cd, 10cd, 10cd, when 11cd and 80cd, suppose that front 7 light intensity values are respectively 10cd, 9cd, 10cd, 80cd, 81cd, when 79cd and 80cd, find through computational analysis, in 0.2 second before the sampling instant of the 7th light intensity value is the finish time, the mean value of 5 light intensity values that get is (10cd+80cd+81cd+79cd+80cd)/5=66cd > 30cd, illustrate that electronic equipment front exists shelter always, carry out following step 505.
In step 505, if whether testing result for exceeding the 4th threshold value, is pointed out the information that electronic equipment is blocked and is not carried out and detect i the light intensity value getting and be greater than and do not block light intensity value and i light intensity value and do not block the step whether difference between light intensity value is greater than first threshold.
If testing result, for exceeding the 4th threshold value, generates the information that electronic equipment is blocked, inform that consumer electronic devices front exists shelter always, and do not carry out following step 506.
In step 506, if testing result is not for exceeding the 4th threshold value, whether whether i the light intensity value that detection gets is greater than the difference of not blocking light intensity value and i light intensity value and do not block between light intensity value is greater than first threshold, i > 2.
If testing result, for not exceeding the 4th threshold value, illustrates that electronic equipment front does not exist shelter, can normally perform step 506 and realize displaying contents adjustment operation to step 509.
In step 507, be greater than the difference of not blocking light intensity value and i light intensity value and do not block between light intensity value and be greater than first threshold if testing result is i light intensity value, the initial time using the sampling instant of i light intensity value as predetermined amount of time C, and finish time using the sampling instant of i+k-1 light intensity value as predetermined amount of time C, i+k light intensity value be after i light intensity value first and do not block the light intensity value that difference between light intensity value is less than Second Threshold, i > 2, k >=1.
In step 508, whether the situation of change that detects the light intensity value in predetermined amount of time C conforms to a predetermined condition.
In step 509, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value.
Step 506 is identical or similar to step 305 with step 302 to step 509, repeats no more.
In sum, the displaying contents control method that the present embodiment provides, by obtain the light intensity value in electronic equipment front every predetermined time interval, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value; Solve in correlation technique and need to approach inductor at least two photo-electrics of electronic equipment internal installation, increased cost and the volume of electronic equipment, the problem that ease for use is bad; Reach the adjustment operation that only needs a photo-electric to approach inductor just to realize the displaying contents to electronic equipment, situation of change by light intensity value regulates the displaying contents on the screen of electronic equipment, reduce cost and the volume of electronic equipment, improved the effect of the ease for use of electronic equipment simultaneously.
The displaying contents control method that the present embodiment provides, also, by setting the 3rd threshold value, has realized dynamic setting in different applied environments and has not blocked light intensity value, has improved ease for use and the dirigibility of the displaying contents control method that the disclosure provides.
The displaying contents control method that the present embodiment provides, also by comparing average intensity value in a certain predetermined amount of time that the sampling instant of i light intensity value is the finish time and the size of the 4th threshold value, analysis show whether electronic equipment front exists shelter always, and determines whether to carry out follow-up displaying contents adjustment operation according to analysis result.
Following is disclosure device embodiment, can be for carrying out disclosure embodiment of the method.For the details not disclosing in disclosure device embodiment, please refer to disclosure embodiment of the method.
Please refer to Fig. 6, it shows the example arrangement block scheme of the displaying contents regulating device that embodiment of the disclosure provides, and this displaying contents regulating device can be realized and be become the whole or a part of of electronic equipment by software, hardware or both combinations.This displaying contents regulating device can comprise: light intensity acquisition module 610, first detection module 620 and vision-control module 630.
Light intensity acquisition module 610, for obtaining the light intensity value in electronic equipment front every predetermined time interval.
Whether first detection module 620, conform to a predetermined condition for detection of the situation of change of described light intensity value within a predetermined period of time.
Vision-control module 630, if for testing result for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
In sum, the displaying contents regulating device that the present embodiment provides, by obtain the light intensity value in electronic equipment front every predetermined time interval, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value; Solve in correlation technique and need to approach inductor at least two photo-electrics of electronic equipment internal installation, increased cost and the volume of electronic equipment, the problem that ease for use is bad; Reach the adjustment operation that only needs a photo-electric to approach inductor just to realize the displaying contents to electronic equipment, situation of change by light intensity value regulates the displaying contents on the screen of electronic equipment, reduce cost and the volume of electronic equipment, improved the effect of the ease for use of electronic equipment simultaneously.
Please refer to Fig. 7, it shows the example arrangement block scheme of the displaying contents regulating device that another embodiment of the disclosure provides, and this displaying contents regulating device can be realized and be become the whole or a part of of electronic equipment by software, hardware or both combinations.This displaying contents regulating device can comprise: light intensity acquisition module 610, the 3rd detection module 611, light intensity are chosen module 612, the 4th detection module 613, blocked reminding module 614, the second detection module 615, time determination module 616, time judgment module 617, the first execution module 618, the second execution module 619, first detection module 620 and vision-control module 630.
Light intensity acquisition module 610, for obtaining the light intensity value in electronic equipment front every predetermined time interval.
Specifically, described light intensity acquisition module 610, comprising: light emission unit 610a and light intensity acquiring unit 610b.
Described light emission unit 610a, for approaching the front transmitting infrared ray of inductor to described electronic equipment by a photo-electric.
Described light intensity acquiring unit 610b, for obtaining described ultrared catoptrical light intensity value every predetermined time interval.
The 3rd detection module 611, whether the rate of change of each light intensity value for detection of the sampling instant take i-m light intensity value in another predetermined amount of time of the finish time is less than the 3rd threshold value.
Light intensity is chosen module 612, if be that described rate of change is less than the 3rd threshold value for testing result, using the largest light intensity value in described another predetermined amount of time or average intensity value as the described light intensity value that do not block.
The 4th detection module 613, whether the average intensity value for detection of the sampling instant take described i light intensity value in the predetermined amount of time again of the finish time exceedes the 4th threshold value;
Block reminding module 614, if for testing result for exceeding described the 4th threshold value, point out the information that described electronic equipment is blocked and do not carry out i light intensity value that described detection gets whether to be greater than and not block the step that light intensity value and described i light intensity value and described difference of not blocking between light intensity value are greater than first threshold.
Whether the second detection module 615, be greater than and do not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value and be greater than first threshold for detection of i the light intensity value getting;
Time determination module 616, if be not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value described in described i light intensity value is greater than to be greater than first threshold for testing result, the initial time using the sampling instant of described i light intensity value as described predetermined amount of time, and finish time using the sampling time of i+k-1 light intensity value as described predetermined amount of time, i+k light intensity value is the light intensity value that first and described difference of not blocking between light intensity value are less than Second Threshold after described i light intensity value.
Whether time judgment module 617, belong to scheduled duration scope for the duration that judges described predetermined amount of time.
The first execution module 618, if the duration that is described predetermined amount of time for judged result does not belong to described scheduled duration scope, does not carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment.
The second execution module 619, if the duration that is described predetermined amount of time for judged result belongs to described scheduled duration scope, carries out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment.
Whether first detection module 620, conform to a predetermined condition for detection of the situation of change of described light intensity value within a predetermined period of time.
Particularly, whether first detection module 620, reduce for continuing to increase or continuing for detection of the situation of change of described light intensity value within a predetermined period of time.
Vision-control module 630, if for testing result for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
Vision-control module 630, comprising: the first regulon 630a and the second regulon 630b.
Described the first regulon 630a, if the situation of change that is described light intensity value for testing result, for continuing to increase, is carried out the first adjustment operation.
Described the second regulon 630b, if the situation of change that is described light intensity value for testing result reduces for continuing, carries out the second adjustment operation.Wherein: described the first adjustment operation for page turning forward, described the second adjustment operation be page turning backward; Or, described the first adjustment operation for page turning backward, described the second adjustment operation be page turning forward; Or described the first adjustment operation is for upwards rolling, described the second adjustment operation are downward rolling; Or described the first adjustment operation is downward rolling, described the second adjustment operation is rolling upwards.
In sum, the displaying contents regulating device that the present embodiment provides, by obtain the light intensity value in electronic equipment front every predetermined time interval, whether the situation of change that detects light intensity value within a predetermined period of time conforms to a predetermined condition, if testing result is for conforming to a predetermined condition, according to the displaying contents on the screen of the situation of change adjusting electronic equipment of light intensity value; Solve in correlation technique and need to approach inductor at least two photo-electrics of electronic equipment internal installation, increased cost and the volume of electronic equipment, the problem that ease for use is bad; Reach the adjustment operation that only needs a photo-electric to approach inductor just to realize the displaying contents to electronic equipment, situation of change by light intensity value regulates the displaying contents on the screen of electronic equipment, reduce cost and the volume of electronic equipment, improved the effect of the ease for use of electronic equipment simultaneously.
The displaying contents regulating device that the present embodiment provides, also, by setting the 3rd threshold value, realizes and under different applied environments, gathers the different light intensity values that do not block, and has improved dirigibility and the ease for use of the displaying contents regulating device that the disclosure provides.
The displaying contents regulating device that the present embodiment provides, also by setting first threshold, first threshold is the catoptrical light intensity value of light source in the time that preset distance is blocked, preset distance can preset according to actual conditions, and the size that has reached the first threshold of setting by change changes the effect of the sensitivity of displaying contents adjusting.
The displaying contents regulating device that the present embodiment provides, also determine whether again to carry out displaying contents adjustment operation by judging after whether the duration of predetermined amount of time belongs to scheduled duration scope, prevented difficulty or error when user's volar glide light intensity value that is too fast or excessively slow and that cause obtains.
The displaying contents regulating device that the present embodiment provides, also by setting the 4th threshold value, by the average intensity value in the predetermined amount of time again that to compare the sampling instant of i light intensity value be the finish time and the size of the 4th threshold value, analysis show whether electronic equipment front exists shelter always, and determines whether to carry out the follow-up operations such as not blocking light intensity value of obtaining according to analysis result.
Please refer to Fig. 8, it shows the example arrangement schematic diagram of electronic equipment related in each embodiment of the disclosure.This electronic equipment can be for the displaying contents control method of implementing to provide in above-described embodiment.Preferred:
Electronic equipment 700 can comprise communication unit 710, includes the storer 720 of one or more computer-readable recording mediums, input block 730, display unit 740, sensor 750, voicefrequency circuit 760, wireless communication unit 770, include one or one parts such as processor 780 and power supply 790 of processing above core.It will be understood by those skilled in the art that the electronic devices structure shown in figure does not form the restriction to electronic equipment, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 710 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 710 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, in the time that communication unit 710 is RF circuit, after the downlink information of base station is received, transfer to more than one or one processor 780 to process; In addition, send to base station by relating to up data.Conventionally, include but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier as the RF circuit of communication unit), diplexer etc.In addition, communication unit 710 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, CDMA), WCDMA(Wideband Code DivisionMultiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Storer 720 can be used for storing software program and module, and processor 780 is stored in software program and the module of storer 720 by operation, thereby carries out various function application and data processing.Storer 720 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of electronic equipment 700 etc. can be stored in storage data field.In addition, storer 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 720 can also comprise Memory Controller, so that processor 780 and the access of input block 730 to storer 720 to be provided.
Input block 730 can be used for receiving numeral or the character information of input, and generation is inputted with user arranges and function control is relevant keyboard, mouse, control lever, optics or trace ball signal.Preferably, input block 730 can comprise touch-sensitive surperficial 731 and other input equipments 732.Touch-sensitive surperficial 731, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 731 or touch-sensitive surperficial 731 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surperficial 731 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 780, and the order that energy receiving processor 780 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 731.Except touch-sensitive surperficial 731, input block 730 can also comprise other input equipments 732.Preferably, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 740 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and electronic equipment 700, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 740 can comprise display panel 741, optionally, can adopt LCD(Liquid Crystal Display, liquid crystal display), OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display panel 741.Further, touch-sensitive surperficial 731 can cover display panel 741, when touch-sensitive surperficial 731 detect thereon or near touch operation after, send processor 780 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 780 on display panel 741.Although in Fig. 8, touch-sensitive surperficial 731 with display panel 741 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 731 and display panel 741 integrated and realize input and output function.
Electronic equipment 700 also can comprise at least one sensor 750, such as optical sensor, motion sensor and other sensors.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display panel 741, and proximity transducer can, in the time that electronic equipment 700 moves in one's ear, cut out display panel 741 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc.; As for also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor of electronic equipment 700, do not repeat them here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and electronic equipment 700.Voicefrequency circuit 760 can, by the electric signal after the voice data conversion receiving, be transferred to loudspeaker 761, is converted to voice signal output by loudspeaker 761; On the other hand, the voice signal of collection is converted to electric signal by microphone 762, after being received by voicefrequency circuit 760, be converted to voice data, after again voice data output processor 780 being processed, through RF circuit 710 to send to such as another electronic equipment, or export voice data to storer 720 so as further process.Voicefrequency circuit 760 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and electronic equipment 700 to be provided.
In order to realize radio communication, on this electronic equipment, can dispose wireless communication unit 770, this wireless communication unit 770 can be WIFI module.WIFI belongs to short range wireless transmission technology, electronic equipment 700 by wireless communication unit 770 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 770, be understandable that, it does not belong to must forming of electronic equipment 700, completely can be as required in the essential scope that does not change invention and omit.
Processor 780 is control centers of electronic equipment 700, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out the software program and/or the module that are stored in storer 720, and call the data that are stored in storer 720, carry out various functions and the deal with data of electronic equipment 700, thereby mobile phone is carried out to integral monitoring.Optionally, processor 780 can comprise one or more processing cores; Preferably, processor 780 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 780.
Electronic equipment 700 also comprises that the power supply 790(powering to all parts is such as battery), preferably, power supply can be connected with processor 780 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 790 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, electronic equipment 700 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, electronic equipment also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to carry out described more than one or one routine package containing for carrying out as the instruction of disclosure Fig. 2, Fig. 3 A, Fig. 4 or the displaying contents control method providing embodiment illustrated in fig. 5 by more than one or one processor.
It should be noted that: the displaying contents regulating device that above-described embodiment provides and electronic equipment are in the time carrying out displaying contents adjusting, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the inner structure of equipment, to complete all or part of function described above.In addition, the embodiment of the method for the displaying contents regulating device that above-described embodiment provides and electronic equipment and displaying contents control method belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
In addition, typically, the electronic equipment described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection domain of the present disclosure should not be defined as the electronic equipment of certain particular type.
In addition, can also be implemented as the computer program of being carried out by CPU according to method of the present disclosure, this computer program can be stored in computer-readable recording medium.In the time that this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for the computer-readable recording medium of storing the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer-readable recording medium as herein described (for example, storer) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise ROM (read-only memory) (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache storer.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the storer of these and other suitable type.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it is carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and impose on the design constraint of whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
Can utilize the following parts that are designed to carry out function described here to realize or carry out in conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit: general processor, digital signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM storer, flash memory, ROM storer, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises any medium that contributes to computer program to be sent to from a position another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computing machine or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared first, radio and microwave include the definition at medium.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disk rendering data magnetically conventionally, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Disclosed exemplary embodiment, but disclosed exemplary embodiment should be noted, but it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.Need not carry out with any particular order according to the function of the claim to a method of disclosed embodiment described herein, step and/or action.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that multiple, unless be clearly restricted to odd number.
Should be understood that, use in this article, unless exception clearly supported in context, singulative " " (" a ", " an ", " the ") is intended to also comprise plural form.It is to be further understood that in this article the "and/or" using refer to comprise one or one project of listing explicitly above arbitrarily and likely combine.
Above-mentioned disclosure embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection domain of the present disclosure.

Claims (18)

1. a displaying contents control method, is characterized in that, described method comprises:
Obtain the light intensity value in electronic equipment front every predetermined time interval;
Whether the situation of change that detects described light intensity value within a predetermined period of time conforms to a predetermined condition;
If testing result is for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
2. method according to claim 1, is characterized in that, whether the situation of change of described detection described light intensity value within a predetermined period of time conforms to a predetermined condition, and comprising:
Whether the situation of change that detects described light intensity value is within a predetermined period of time to continue increase or continue to reduce.
3. method according to claim 2, is characterized in that, the described situation of change according to described light intensity value regulates the displaying contents on the screen of described electronic equipment, comprising:
If the situation of change that testing result is described light intensity value increases for continuing, carry out the first adjustment operation;
If the situation of change that testing result is described light intensity value reduces for continuing, carry out the second adjustment operation; Wherein:
Described the first adjustment operation for page turning forward, described the second adjustment operation be page turning backward; Or,
Described the first adjustment operation for page turning backward, described the second adjustment operation be page turning forward; Or,
Described the first adjustment operation is for upwards rolling, described the second adjustment operation are downward rolling; Or,
Described the first adjustment operation is downward rolling, described the second adjustment operation is rolling upwards.
4. method according to claim 2, is characterized in that, described method also comprises:
Whether i the light intensity value that detection gets is greater than does not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value and whether is greater than first threshold, i > 2;
Do not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value described in being greater than and be greater than first threshold if testing result is described i light intensity value, the initial time using the sampling instant of described i light intensity value as described predetermined amount of time, and finish time using the sampling instant of i+k-1 light intensity value as described predetermined amount of time, i+k light intensity value is the light intensity value that first and described difference of not blocking between light intensity value are less than Second Threshold after described i light intensity value, i > 2, k >=1.
5. method according to claim 4, is characterized in that, described method also comprises:
Whether the rate of change that detects each light intensity value in another predetermined amount of time of the finish time take the sampling instant of i-m light intensity value is less than the 3rd threshold value, i > 2, m >=1;
If testing result is described rate of change is less than the 3rd threshold value, using the largest light intensity value in described another predetermined amount of time or average intensity value as the described light intensity value that do not block.
6. method according to claim 4, is characterized in that, described method also comprises:
Whether the duration that judges described predetermined amount of time belongs to scheduled duration scope;
If the duration that judged result is described predetermined amount of time does not belong to described scheduled duration scope, do not carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment;
If the duration that judged result is described predetermined amount of time belongs to described scheduled duration scope, carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment.
7. method according to claim 4, is characterized in that, described method also comprises:
Detect the average intensity value in the predetermined amount of time again of the finish time take the sampling instant of described i light intensity value and whether exceed the 4th threshold value, i > 2;
Whether be greater than and do not block the step whether light intensity value and described i light intensity value and described difference of not blocking between light intensity value are greater than first threshold if testing result for exceeding described the 4th threshold value, is pointed out the information that described electronic equipment is blocked and do not carried out i light intensity value that described detection gets.
8. according to the arbitrary described method of claim 1 to 7, it is characterized in that, the described light intensity value that obtains electronic equipment front every predetermined time interval, comprising:
Approach the front transmitting infrared ray of inductor to described electronic equipment by a photo-electric;
Obtain described ultrared catoptrical light intensity value every predetermined time interval.
9. a displaying contents regulating device, is characterized in that, described device comprises:
Light intensity acquisition module, for obtaining the light intensity value in electronic equipment front every predetermined time interval;
Whether first detection module, conform to a predetermined condition for detection of the situation of change of described light intensity value within a predetermined period of time;
Vision-control module, if for testing result for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
10. device according to claim 9, is characterized in that,
Whether described first detection module is to continue increase or continue to reduce for detection of the situation of change of described light intensity value within a predetermined period of time.
11. devices according to claim 10, is characterized in that, described vision-control module, comprising: the first regulon and the second regulon;
Described the first regulon, if the situation of change that is described light intensity value for testing result increases for continuing, carries out the first adjustment operation;
Described the second regulon, if the situation of change that is described light intensity value for testing result reduces for continuing, carries out the second adjustment operation; Wherein:
Described the first adjustment operation for page turning forward, described the second adjustment operation be page turning backward; Or,
Described the first adjustment operation for page turning backward, described the second adjustment operation be page turning forward; Or,
Described the first adjustment operation is for upwards rolling, described the second adjustment operation are downward rolling; Or,
Described the first adjustment operation is downward rolling, described the second adjustment operation is rolling upwards.
12. devices according to claim 10, is characterized in that, described device also comprises:
Whether the second detection module, be greater than and do not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value and whether be greater than first threshold, i > 2 for detection of i the light intensity value getting;
Time determination module, if be not block light intensity value and described i light intensity value and described difference of not blocking between light intensity value described in described i light intensity value is greater than to be greater than first threshold for testing result, the initial time using the sampling instant of described i light intensity value as described predetermined amount of time, and finish time using the sampling instant of i+k-1 light intensity value as described predetermined amount of time, i+k light intensity value is the light intensity value that first and described difference of not blocking between light intensity value are less than Second Threshold after described i light intensity value, i > 2, k >=1.
13. devices according to claim 12, is characterized in that, described device also comprises:
The 3rd detection module, whether the rate of change of each light intensity value for detection of the sampling instant take i-m light intensity value in another predetermined amount of time of the finish time is less than the 3rd threshold value, i > 2, m >=1;
Light intensity is chosen module, if be that described rate of change is less than the 3rd threshold value for testing result, using the largest light intensity value in described another predetermined amount of time or average intensity value as the described light intensity value that do not block.
14. devices according to claim 12, is characterized in that, described device also comprises:
Whether time judgment module, belong to scheduled duration scope for the duration that judges described predetermined amount of time;
The first execution module, if the duration that is described predetermined amount of time for judged result does not belong to described scheduled duration scope, does not carry out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment;
The second execution module, if the duration that is described predetermined amount of time for judged result belongs to described scheduled duration scope, carries out the step of the displaying contents on the screen that the described situation of change according to described light intensity value regulates described electronic equipment.
15. devices according to claim 12, is characterized in that, described device also comprises:
The 4th detection module, whether the average intensity value for detection of the sampling instant take described i light intensity value in the predetermined amount of time again of the finish time exceedes the 4th threshold value, i > 2;
Block reminding module, if for testing result for exceeding described the 4th threshold value, point out the information that described electronic equipment is blocked and do not carry out i light intensity value that described detection gets whether to be greater than and not block the step whether light intensity value and described i light intensity value and described difference of not blocking between light intensity value are greater than first threshold.
16. according to the arbitrary described device of claim 9 to 15, it is characterized in that, described light intensity acquisition module, comprising: light emission unit and light intensity acquiring unit;
Described light emission unit, for approaching the front transmitting infrared ray of inductor to described electronic equipment by a photo-electric;
Described light intensity acquiring unit, for obtaining described ultrared catoptrical light intensity value every predetermined time interval.
17. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises the displaying contents regulating device as described in as arbitrary in claim 9 to 16.
18. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and described one or more modules have following function:
Obtain the light intensity value in electronic equipment front every predetermined time interval;
Whether the situation of change that detects described light intensity value within a predetermined period of time conforms to a predetermined condition;
If testing result is for meeting described predetermined condition, regulate the displaying contents on the screen of described electronic equipment according to the situation of change of described light intensity value.
CN201310533697.4A 2013-10-31 2013-10-31 Method and device for regulating display contents and electronic equipment Active CN103823626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310533697.4A CN103823626B (en) 2013-10-31 2013-10-31 Method and device for regulating display contents and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310533697.4A CN103823626B (en) 2013-10-31 2013-10-31 Method and device for regulating display contents and electronic equipment

Publications (2)

Publication Number Publication Date
CN103823626A true CN103823626A (en) 2014-05-28
CN103823626B CN103823626B (en) 2017-01-18

Family

ID=50758718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310533697.4A Active CN103823626B (en) 2013-10-31 2013-10-31 Method and device for regulating display contents and electronic equipment

Country Status (1)

Country Link
CN (1) CN103823626B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486414A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Network data display method and device
CN104850334A (en) * 2015-05-13 2015-08-19 广东欧珀移动通信有限公司 Display method and device for notification bar information
CN105120058A (en) * 2015-07-02 2015-12-02 上海闻泰电子科技有限公司 Cell-phone gesture identification system based on light perception
CN105493483A (en) * 2015-10-23 2016-04-13 陈银芳 Control method and system for mobile phone touch screen
CN105630447A (en) * 2015-12-24 2016-06-01 小米科技有限责任公司 Method and device for adjusting word display
CN106020641A (en) * 2016-05-11 2016-10-12 广东欧珀移动通信有限公司 Control method of terminal flashlight, control system and terminal equipment
CN106098021A (en) * 2016-08-08 2016-11-09 广东欧珀移动通信有限公司 A kind of back light brightness regulating method and terminal
CN106971646A (en) * 2016-09-20 2017-07-21 中国人民解放军第二军医大学 The laser beam emitting device of finger ring shape
CN107622747A (en) * 2017-09-29 2018-01-23 上海展扬通信技术有限公司 The adjusting method and adjusting means of a kind of display screen for smart machine
WO2018223466A1 (en) * 2017-06-06 2018-12-13 余姚德诚科技咨询有限公司 Intelligent police van loudspeaker

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101574016A (en) * 2007-01-05 2009-11-04 苹果公司 Backlight and ambient light sensor system
CN102394986A (en) * 2011-12-16 2012-03-28 上海华勤通讯技术有限公司 Mobile phone display system and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101574016A (en) * 2007-01-05 2009-11-04 苹果公司 Backlight and ambient light sensor system
CN102394986A (en) * 2011-12-16 2012-03-28 上海华勤通讯技术有限公司 Mobile phone display system and method thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486414B (en) * 2014-12-15 2018-04-03 北京国双科技有限公司 Network data methods of exhibiting and device
CN104486414A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Network data display method and device
CN104850334A (en) * 2015-05-13 2015-08-19 广东欧珀移动通信有限公司 Display method and device for notification bar information
CN104850334B (en) * 2015-05-13 2018-01-19 广东欧珀移动通信有限公司 Informing method for information display and device
CN105120058A (en) * 2015-07-02 2015-12-02 上海闻泰电子科技有限公司 Cell-phone gesture identification system based on light perception
CN105493483A (en) * 2015-10-23 2016-04-13 陈银芳 Control method and system for mobile phone touch screen
CN105630447A (en) * 2015-12-24 2016-06-01 小米科技有限责任公司 Method and device for adjusting word display
CN105630447B (en) * 2015-12-24 2019-04-16 小米科技有限责任公司 Adjust the method and device of text importing
CN106020641A (en) * 2016-05-11 2016-10-12 广东欧珀移动通信有限公司 Control method of terminal flashlight, control system and terminal equipment
CN106098021A (en) * 2016-08-08 2016-11-09 广东欧珀移动通信有限公司 A kind of back light brightness regulating method and terminal
CN106098021B (en) * 2016-08-08 2019-02-05 Oppo广东移动通信有限公司 A kind of back light brightness regulating method and terminal
CN106971646A (en) * 2016-09-20 2017-07-21 中国人民解放军第二军医大学 The laser beam emitting device of finger ring shape
WO2018223466A1 (en) * 2017-06-06 2018-12-13 余姚德诚科技咨询有限公司 Intelligent police van loudspeaker
US11138704B2 (en) 2017-06-06 2021-10-05 Yuyao Feite Plastic Co., Ltd. Intelligent police car loudspeaker
CN107622747A (en) * 2017-09-29 2018-01-23 上海展扬通信技术有限公司 The adjusting method and adjusting means of a kind of display screen for smart machine

Also Published As

Publication number Publication date
CN103823626B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN103823626A (en) Method and device for regulating display contents and electronic equipment
US10033920B2 (en) Method for controlling cameras, non-transitory storage medium and terminal
US9310486B2 (en) Method and apparatus for terminal to determine approach of object
JP6076501B2 (en) Method, apparatus, facility, system, program, and recording medium for controlling on / off of wireless network
US10915750B2 (en) Method and device for searching stripe set
CN103473004A (en) Method, device and terminal equipment for displaying message
CN103632165A (en) Picture processing method, device and terminal equipment
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN104657666A (en) Method and device for optimizing terminal operation environment
CN103677564B (en) Slide response method, device and terminal device
CN104423875A (en) Information display method and device
CN103631502B (en) Show content adjustment method, apparatus and electronic equipment
CN103677633A (en) Screen unlocking method and device and terminal
CN103631580A (en) Method and device for generating theme icon
KR20150122476A (en) Method and apparatus for controlling gesture sensor
CN103747130A (en) Control method of terminal equipment, device and terminal equipment
CN104238900A (en) Page positioning method and device
CN104991699A (en) Video display control method and apparatus
CN103177217A (en) File scan method, file scan system, client-side and server
US20200091751A1 (en) Power supply control method and device, storage medium and electronic device
US11556158B2 (en) On-the-go (OTG) control and configuration method, mobile terminal, and storage medium
CN105700801A (en) Interface interception method and device
US20150070360A1 (en) Method and mobile terminal for drawing sliding trace
CN103731552B (en) A kind of shooting changing method of mobile terminal, device and electronic equipment

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