CN103631502A - Display content adjusting method and device and electronic equipment - Google Patents

Display content adjusting method and device and electronic equipment Download PDF

Info

Publication number
CN103631502A
CN103631502A CN201310533229.7A CN201310533229A CN103631502A CN 103631502 A CN103631502 A CN 103631502A CN 201310533229 A CN201310533229 A CN 201310533229A CN 103631502 A CN103631502 A CN 103631502A
Authority
CN
China
Prior art keywords
distance
distance value
electronic equipment
display content
value
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
CN201310533229.7A
Other languages
Chinese (zh)
Other versions
CN103631502B (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.)
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 CN201310533229.7A priority Critical patent/CN103631502B/en
Publication of CN103631502A publication Critical patent/CN103631502A/en
Application granted granted Critical
Publication of CN103631502B publication Critical patent/CN103631502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a display content adjusting method and device and a set of electronic equipment and belongs to the field of electronic equipment. The method includes the steps that the values of the distance between the electronic equipment and an object in front are acquired at intervals of preset time, and the distance change information is obtained according to the acquired values of the distance; display content is adjusted according to the distance change information. According to the method, the values of the distance between the electronic equipment and the object in front are acquired at intervals of preset time, and then the display content is adjusted according to the distance change information obtained according to the acquired values of the distance. The method solves the problems that because at least two distance sensors need to be installed inside the electronic equipment in the prior art, the complexity of the internal structure of the electronic equipment is increased, and the cost and the size are increased. The method achieves the effects that because only one distance senor needs to be installed inside the electronic equipment and the display content can be adjusted through changes of the values of the distance in the time domain, the complexity of the internal structure of the electronic equipment is reduced, and the cost and the size are reduced.

Description

Display content adjusting method and device and electronic equipment
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for adjusting display content, and an electronic device.
Background
With the wide application of electronic devices such as mobile phones, tablet computers, liquid crystal televisions and the like, users basically involve adjustment operations of display contents in the using process. The adjustment operation of the display content is an operation such as page turning or scrolling.
Taking the electronic photo frame as an example, the page turning of the photo can be realized by installing at least two photoelectric distance sensors inside the electronic photo frame. Each photoelectric distance sensor emits infrared rays outwards, when a finger or a palm of a user passes in front of the electronic photo frame, the direction of the gesture is determined by judging the sequence of the two beams of infrared rays which are shielded, and then the front and back pages of the photo are turned according to the gesture direction. For example, when the gesture direction slides from left to right, the photo is turned forward; when the gesture direction slides from right to left, the backward page turning of the photo is realized.
In the course of implementing the present disclosure, the inventors found that the above related art has at least the following disadvantages: the related display content adjusting method requires at least two photoelectric distance sensors to be installed inside the electronic device, and four or more photoelectric distance sensors to be installed, for example, when necessary, which increases the complexity of the internal structure of the electronic device and increases the cost and volume of the electronic device.
Disclosure of Invention
In order to solve the above-mentioned problems in the related art that at least two distance sensors need to be installed inside an electronic device, the complexity of the internal structure of the electronic device is increased, and the cost and the volume of the electronic device are increased, embodiments of the present disclosure provide a display content adjusting method and apparatus, and an electronic device. The technical scheme is as follows:
in a first aspect, a display content adjusting method is provided, and the method includes:
acquiring a distance value between the electronic equipment and a front object at preset time intervals;
obtaining distance change information according to the obtained distance value, wherein the distance change information represents the change of the distance between the electronic equipment and the front object in the time domain;
and adjusting the display content on the screen of the electronic equipment according to the distance change information.
In a first possible implementation manner, the adjusting the display content on the screen of the electronic device according to the distance change information includes:
inquiring corresponding adjusting operation in a preset corresponding relation according to the distance change information, wherein the preset corresponding relation is the corresponding relation between the distance change information and the adjusting operation;
and adjusting the display content on the screen of the electronic equipment according to the inquired adjusting operation, wherein the adjusting operation comprises any one of page turning forward, page turning backward, page turning forward continuously, page turning backward continuously, line scrolling up, line scrolling down, line scrolling up continuously or line scrolling down continuously.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the predetermined correspondence relationship includes:
if the distance change information indicates that the distance value is changed from a first distance value to a second distance value, and then the second distance value is restored to the first distance value, the corresponding adjustment operation is: page back or scroll down;
if the distance change information indicates that the distance value has a change process from the first distance value to the second distance value and then from the second distance value to the first distance value at least twice, the corresponding adjustment operation is: page forward or scroll up;
if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then is maintained at the second distance value, the corresponding adjustment operation is: continuously turning pages backwards or continuously rolling downwards;
wherein the first distance value is a distance value greater than a first threshold value, and the second distance value is a distance value less than a second threshold value; the first threshold and the second threshold are equal, or the first threshold is greater than the second threshold.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, if the distance change information indicates that the distance value is changed from the first distance value to the second distance value, and then is kept at the second distance value; the adjusting the display content on the screen of the electronic device according to the queried adjustment operation includes:
determining the turning speed according to the maintained second distance value, wherein the maintained second distance value and the turning speed are in a negative correlation relationship;
and continuously turning pages backwards or continuously scrolling downwards the display content on the screen of the electronic equipment according to the determined turning speed.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the acquiring, at every predetermined time interval, a distance value between the electronic device and the front object includes:
acquiring a distance value between the electronic equipment and the front object at preset time intervals through a distance sensor; or,
acquiring images in front of the electronic equipment at preset time intervals through a camera; identifying the front object in the image; and calculating the distance value according to the proportional relation between the size of the recognized front object and the size of the pre-stored front object.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor, triggering and starting at least one other distance sensor; acquiring the motion direction and the motion track of the front object through the distance sensor and the other distance sensors; adjusting display content on a screen of the electronic equipment according to the motion direction and the motion track;
or,
after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor, triggering and starting a camera; acquiring the motion direction and the motion track of the front object through the image acquired by the camera; and adjusting display content on a screen of the electronic equipment according to the motion direction and the motion trail.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
detecting whether the minimum value in the acquired distance values is smaller than a third threshold value or not;
and if the detection result is that the minimum value is smaller than the third threshold value, executing a step of adjusting display content on a screen of the electronic equipment according to the distance change information.
In a second aspect, there is provided a display content adjusting apparatus, the apparatus comprising:
the distance acquisition module is used for acquiring distance values between the electronic equipment and a front object at preset time intervals;
the distance analysis module is used for obtaining distance change information according to the obtained distance value, wherein the distance change information represents the change of the distance between the electronic equipment and the front object in the time domain;
and the display adjusting module is used for adjusting the display content on the screen of the electronic equipment according to the distance change information.
In a first possible implementation, the display adjustment module includes: an adjustment inquiry unit and an adjustment execution unit;
the adjustment inquiring unit is used for inquiring corresponding adjustment operation in a preset corresponding relation according to the distance change information, and the preset corresponding relation is the corresponding relation between the distance change information and the adjustment operation;
the adjustment execution unit is used for adjusting the display content on the screen of the electronic equipment according to the inquired adjustment operation, wherein the adjustment operation comprises any one of page turning forward, page turning backward, page turning forward continuously, page turning backward continuously, line scrolling up, line scrolling down, line scrolling up continuously or line scrolling down continuously.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the predetermined correspondence relationship includes:
if the distance change information indicates that the distance value is changed from a first distance value to a second distance value, and then the second distance value is restored to the first distance value, the corresponding adjustment operation is: page back or scroll down;
if the distance change information indicates that the distance value has a change process from the first distance value to the second distance value and then from the second distance value to the first distance value at least twice, the corresponding adjustment operation is: page forward or scroll up;
if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then is maintained at the second distance value, the corresponding adjustment operation is: continuously turning pages backwards or continuously rolling downwards;
wherein the first distance value is a distance value greater than a first threshold value, and the second distance value is a distance value less than a second threshold value; the first threshold and the second threshold are equal, or the first threshold is greater than the second threshold.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, if the distance change information indicates that the distance value is changed from the first distance value to the second distance value, and then is maintained at the second distance value; the adjustment execution unit includes: a speed determining subunit and an adjustment executing subunit;
the speed determining subunit is configured to determine, according to the magnitude of the maintained second distance value, the speed of the flipping speed, where the magnitude of the maintained second distance value and the speed of the flipping speed are in a negative correlation relationship;
and the adjusting execution subunit is used for continuously turning pages backwards or continuously scrolling downwards the display content on the screen of the electronic equipment according to the determined turning speed.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect,
the distance acquisition module is used for acquiring a distance value between the electronic equipment and the front object at preset time intervals through a distance sensor;
or,
the distance acquisition module is used for acquiring images in front of the electronic equipment at preset time intervals through a camera; identifying the front object in the image; and calculating the distance value according to the proportional relation between the size of the recognized front object and the size of the pre-stored front object.
With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes: a trajectory adjustment module;
the track adjusting module is used for triggering and starting at least one other distance sensor after the distance value acquired by the distance sensor is used for adjusting the display content on the screen of the electronic equipment; acquiring the motion direction and the motion track of the front object through the distance sensor and the other distance sensors; adjusting display content on a screen of the electronic equipment according to the motion direction and the motion track;
or,
the track adjusting module is used for triggering and starting a camera after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor; acquiring the motion direction and the motion track of the front object through the image acquired by the camera; and adjusting display content on a screen of the electronic equipment according to the motion direction and the motion trail.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the apparatus further includes: the device comprises a distance detection module and an adjustment execution module;
the distance detection module is used for detecting whether the minimum value in the acquired distance values is smaller than a third threshold value;
and the adjustment executing module is used for executing the step of adjusting the display content on the screen of the electronic equipment according to the distance change information if the detection result shows that the minimum value is smaller than the third threshold value.
In a third aspect, an electronic device is provided, which is the display content adjusting apparatus according to any one of the second aspect and various possible embodiments of the second aspect.
In a fourth aspect, an electronic device is provided, the electronic device comprising:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules having the functionality to:
acquiring a distance value between the electronic equipment and a front object at preset time intervals;
obtaining distance change information according to the obtained distance value, wherein the distance change information represents the change of the distance between the electronic equipment and the front object in the time domain;
and adjusting the display content on the screen of the electronic equipment according to the distance change information.
Some beneficial effects of the technical scheme provided by the embodiment of the disclosure can include:
acquiring a distance value between the electronic equipment and a front object at preset time intervals; obtaining distance change information according to the obtained distance value, and adjusting display content on a screen of the electronic equipment according to the distance change information; the problems that in the related art, at least two distance sensors need to be arranged in the electronic equipment, the complexity of the internal structure of the electronic equipment is increased, and the cost and the size of the electronic equipment are increased are solved; the method achieves the effects that only one distance sensor needs to be installed in the electronic equipment, the display content is adjusted by utilizing the change of the distance value in the time domain, the complexity of the internal structure of the electronic equipment is reduced, and the cost and the size of the electronic equipment are reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is an exemplary method flow diagram of a display content adjustment method provided by one embodiment of the present disclosure;
FIG. 2 is an exemplary method flow diagram of a display content adjustment method provided by another embodiment of the present disclosure;
fig. 3 is an exemplary diagram of user operations involved in a display content adjustment method provided by an embodiment of the present disclosure;
fig. 4A/fig. 4B/fig. 4C/fig. 4D/fig. 4E and fig. 4F are exemplary diagrams of a correspondence relationship between a user operation and a distance value according to a display content adjustment method provided by an embodiment of the present disclosure;
FIG. 5 is a flowchart of an exemplary method involved in step 204 of a display content adjustment method provided by an embodiment of the present disclosure;
fig. 6 is a block diagram illustrating an exemplary structure of a display content adjusting apparatus according to an embodiment of the present disclosure;
fig. 7 is a block diagram illustrating an exemplary structure of a display content adjusting apparatus according to another embodiment of the present disclosure;
fig. 8 is an exemplary structural schematic diagram of an electronic device involved in various embodiments of the present disclosure.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Referring to fig. 1, an exemplary method flowchart of a display content adjusting method provided by an embodiment of the present disclosure is shown, and the display content adjusting method may include the following steps.
In step 102, a distance value between the electronic device and the front object is acquired at predetermined time intervals.
In step 104, distance change information is obtained from the acquired distance value, and the distance change information represents a change in the time domain of the distance between the electronic device and the front object.
In step 106, the display content on the screen of the electronic device is adjusted according to the distance change information.
In summary, in the display content adjusting method provided in this embodiment, the distance value between the electronic device and the object in front is obtained at predetermined time intervals, the distance change information is obtained according to the obtained distance value, and the display content on the screen of the electronic device is adjusted according to the distance change information; the problems that in the related art, at least two distance sensors need to be arranged in the electronic equipment, the complexity of the internal structure of the electronic equipment is increased, and the cost and the size of the electronic equipment are increased are solved; the effects that only one distance sensor needs to be installed inside the electronic equipment, the complexity of the internal structure of the electronic equipment is reduced, and the cost and the size of the electronic equipment are reduced are achieved.
Referring to fig. 2, an exemplary method flowchart of a display content adjusting method provided by another embodiment of the present disclosure is shown, and the display content adjusting method may include the following steps.
In step 201, a distance value between the electronic device and the front object is acquired at predetermined time intervals.
The distance value between the electronic equipment and a front object is acquired at preset time intervals through a distance sensing unit, wherein the distance sensing unit can be a distance sensor or a camera, and the front object can be a finger or a palm of a user. The predetermined time interval may be preset according to actual conditions, for example, 0.05 second, and the distance value between the electronic device and the front object is acquired every 0.05 second.
The method for obtaining the distance value can be realized by the following two ways:
in a first implementation manner, a distance value between the electronic device and a front object is acquired by a distance sensor at preset time intervals.
Generally, a photoelectric distance sensor is used. The photoelectric distance sensor comprises a light emitter and a light receiver, infrared light is emitted through the light emitter, when an object in front of the electronic equipment is shielded, corresponding reflected light is generated, and the reflected light is received by the light receiver. The photoelectric distance sensor can calculate the distance value of the front shelter from the distance according to the time taken by the infrared light from emission to reflection and receiving.
The distance sensor is usually disposed on a side of a screen of the electronic device, and the distance sensing angle thereof is generally 1 to 30 degrees, and more preferably 5 to 10 degrees.
In a second implementation manner, images in front of the electronic equipment are acquired at preset time intervals through a camera; identifying a front object in the image; and calculating a distance value according to the proportional relation between the size of the recognized front object and the size of the pre-stored front object.
For example, an image in front of the electronic device may be acquired through a front camera of the electronic device, a front object in the image is identified through an identification technology, and then a distance value between the electronic device and the front object is calculated according to a proportional relationship between the size of the front object in the image and a pre-stored size of the front object. For example, if the size of the front object in the image is reduced by 2 times compared with the size of the pre-stored front object, the distance value between the electronic device and the front object can be calculated according to the corresponding relationship between the proportional relationship and the distance value.
In step 202, distance change information is obtained from the acquired distance value, and the distance change information represents a change in the time domain of the distance between the electronic device and the front object.
In a specific example, when a user unlocks the screen of the mobile phone and starts to use the mobile phone, the distance sensor arranged on one side of the screen of the mobile phone acquires a distance value between the mobile phone and a front object every 0.05 seconds. As shown in fig. 3, assume that the user is stroking in front of the cell phone screen in a "V" shaped motion for 0.3 seconds. The distance sensor acquired 7 distance values in this 0.3 second, respectively: 4 meters, 8 centimeters, 4 meters, and 4 meters. The distance change information is information indicating that the distance between the mobile phone and the finger of the user changes in the process that the user moves in the shape of the V to pass in front of the mobile phone screen.
It should be noted that the application environment indicates that the user moves across the front of the mobile phone screen in a room in a V-shape, and when the distance sensor detects that there is a near-end obstruction, i.e., a finger, the obtained distance is assumed to be 8 cm; when the proximity sensor does not detect a proximity obstruction, i.e. a finger, the acquired distance is assumed to be 4 meters, for example, the distance detected by the proximity sensor is 4 meters from the wall of the room. The 8 cm or 4 m in the above example is only exemplary, and a set of relatively simple values is taken for easy understanding, and in practical applications, the distance values acquired by the distance sensor must fluctuate and differ.
In a first possible implementation, the distance variation information may be represented by a string of binary sequences.
The first threshold and the second threshold are preset, and may be equal to or unequal to each other. In this embodiment, for example, the first threshold and the second threshold are equal, for example, both the first threshold and the second threshold are 10 centimeters. When the obtained distance value is larger than 10 cm, the distance value is considered as a first distance value; and when the acquired distance value is less than or equal to 10 centimeters, the distance value is considered as a second distance value. The first distance value is represented by a binary number "1", the second distance value is represented by a binary number "0", and at this time, distance change information is obtained according to the obtained distance values, that is, a series of binary sequences is obtained according to the obtained distance values. And the subsequent electronic equipment adjusts the display content on the screen of the electronic equipment according to the number of '0' in the binary sequence.
Referring to fig. 4A/4B/4C/4D/4E and 4F, which respectively illustrate different binary sequences obtained by the electronic device according to the acquired 11 distance values within 0.5 second when the user strokes with one finger, two fingers, three fingers, four fingers and five fingers in front of the screen of the electronic device and the user stays with the finger or palm in front of the screen of the electronic device.
Reference may also be made to the following table-1:
Figure BDA0000406531560000101
TABLE-1
It should be noted that table-1 is only an exemplary illustration of the correspondence between the user operation, the distance value, and the binary sequence. In an actual operation process, the distance value acquired by the electronic device each time is different in different use environments, different user operations or different moments, but the distance value can be represented by a string of binary sequences regardless of the size or variation of the distance value.
In a second possible embodiment, the distance change information may be represented by the number of transitions of the distance value above and below a first threshold and/or a second threshold set in advance.
As in the first possible embodiment, the first threshold value and/or the second threshold value are predetermined, and the first threshold value and the second threshold value may be equal or unequal. In this embodiment, for example, the first threshold and the second threshold are equal, for example, both the first threshold and the second threshold are 10 centimeters. When the obtained distance value is larger than 10 cm, the distance value is considered as a first distance value; and when the acquired distance value is less than or equal to 10 centimeters, the distance value is considered as a second distance value. And when the distance value is changed from the first distance value to the second distance value, recording the change as one jump, and when the distance value is changed from the second distance value to the first distance value, recording the change as one jump, and obtaining distance change information according to the recorded jump times. And the subsequent electronic equipment adjusts the display content on the screen of the electronic equipment according to the jumping times.
Please refer to the following table-2, which respectively exemplarily shows the number of transitions obtained by the electronic device according to the acquired 11 distance values within 0.5 second in the case that the user strokes with one finger, two fingers, three fingers, four fingers, and five fingers in front of the screen of the electronic device, and the user stays with the finger or the palm in front of the screen of the electronic device.
Figure BDA0000406531560000111
TABLE-2
It should be noted that table-2 is only an exemplary illustration of the correspondence relationship between the user operation, the distance value, and the hop count. In an actual operation process, the distance value acquired by the electronic device each time is different in different use environments, different user operations or different moments, but the distance value can be represented by the number of hops regardless of the size or the change of the distance value.
It should be noted that the distance change information may also be represented in other forms such as a difference between front and rear distance values, which is only exemplified and described in the above two cases, and any form capable of reflecting a change in the time domain of the distance between the electronic device and the front object may be used to represent the distance change information, and the embodiment is not limited in particular.
In step 203, it is detected whether the minimum value of the acquired distance values is smaller than a third threshold value.
The third threshold value may be preset according to actual conditions, such as 15 cm. The third threshold is set to prevent interference from other objects or some misoperation caused by acquisition of a plurality of unnecessary distance values by the distance sensor or the camera in the case where the user does not need to perform the display content adjustment operation.
When the minimum value of the acquired distance values is smaller than the third threshold, it may be considered that the user needs to perform the display content adjustment operation, and at this time, the electronic device performs the following step 204.
Suppose that the electronic device acquires 7 distance values within 0.3 second, which are: 4 meters, 8 centimeters, 4 meters, and the third threshold is set at 15 centimeters. The electronics detect that the minimum 8 centimeters is less than the third threshold 15 centimeters, so step 204 described below is performed.
In step 204, if the minimum value is smaller than the third threshold value, the display content on the screen of the electronic device is adjusted according to the distance change information.
As shown in fig. 5, this step includes the following substeps:
in step 204a, the corresponding adjustment operation is queried in a predetermined correspondence relationship according to the distance change information, where the predetermined correspondence relationship is a correspondence relationship between the distance change information and the adjustment operation.
The adjustment operation includes any one of page forward, page backward, page forward continuously, page backward continuously, scroll up, scroll down, scroll up continuously, or scroll down continuously. It is assumed that the distance variation information is represented by the number of transitions, and the correspondence between different preset distance variation information and different adjustment operations is shown in the following table-3.
Distance change information (hop count)Number) Regulating operation
1 1 Continuous page-back or continuous scrolling down
2 2 Page-back or scroll-down
3 ≥4 Page forward or scroll up
…… …… ……
TABLE-3
That is, when the distance change information indicates that the distance value is changed from the first distance value to the second distance value, and then is restored from the second distance value to the first distance value, the corresponding adjustment operation is: page back or scroll down; when the distance change information indicates that the distance value has a change process of changing the first distance value into the second distance value at least twice and then restoring the second distance value into the first distance value, the corresponding adjustment operation is as follows: page forward or scroll up; if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then is kept at the second distance value, the corresponding adjustment operation is as follows: continuously page backward or continuously scroll down. Wherein the determination of the first distance value and the second distance value may be according to the method described in step 202 above.
In practical application, clear paging of a display page can be set, and page turning operation is executed; for display pages that are not explicitly paged, a scrolling operation is performed.
In step 204b, adjusting the display content on the screen of the electronic equipment according to the inquired adjusting operation.
And generating a corresponding control command according to the inquired adjusting operation, wherein the control command is used for controlling the display content on the screen of the electronic equipment to be adjusted.
In particular, when the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then remains at the second distance value, i.e. as in the first case of table-3, step 204b may comprise the following substeps:
firstly, the speed of the flipping speed is determined according to the magnitude of the maintained second distance value, and the magnitude of the maintained second distance value is in a negative correlation relation with the speed of the flipping speed.
When the kept second distance value is smaller, namely the finger or the palm of the user is closer to the screen of the electronic equipment, the flipping speed is higher; when the second distance value is kept longer, namely the farther the finger or palm of the user is away from the screen of the electronic device, the slower the flipping speed is. The flipping speed may be dynamically changed in real time depending on how far the user's finger or palm is from the screen of the electronic device.
Second, the displayed content on the screen of the electronic device is continuously flipped backward or continuously scrolled downward according to the determined flipping speed.
In step 205, after the distance value obtained by the distance sensor adjusts the display content on the screen of the electronic device, triggering the camera or at least one other distance sensor to continue adjusting the display content on the screen of the electronic device.
After the adjustment operation of the display content on the screen of the electronic device is realized based on the above steps 201 to 204, the camera or at least one other distance sensor may also be triggered to be started to continue to adjust the display content on the screen of the electronic device.
In a first possible implementation, this step includes the following substeps:
first, after adjusting the display content on the screen of the electronic device by the distance value acquired by the distance sensor, triggering the activation of at least one other distance sensor.
When a user unlocks the screen of the electronic equipment, the electronic equipment is triggered to start a first distance sensor, and the distance sensor acquires the distance value of a front object once every preset time. And triggering and starting at least one other distance sensor after the acquired distance value meets the display content adjusting operation executed in the steps 201 to 204 and at least one adjusting operation is executed.
Secondly, the moving direction and the moving track of the front object are obtained through the distance sensor and other distance sensors.
The motion direction and the motion track of the front object can be determined according to the sequence of the acquired change moments of the distance values of the front object through two or more distance sensors. For example, if the distance sensor installed on the left side of one side of the screen of the electronic device acquires a change in the distance value of the front object before the distance sensor on the right side, it indicates that the front object is drawn from left to right.
And thirdly, adjusting the display content on the screen of the electronic equipment according to the motion direction and the motion trail.
When the front object is obtained to be drawn from left to right, forward page turning or upward rolling from left can be executed; when it is acquired that the front object is stroked from right to left, page-back or scroll-down may be performed.
In a second possible implementation, this step includes the following substeps:
firstly, after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor, the camera is triggered to start.
And secondly, acquiring the motion direction and the motion track of the front object through the image acquired by the camera.
According to the image collected by the camera, the motion direction and the motion track of the front object in the image can be identified through an identification technology.
And thirdly, adjusting the display content on the screen of the electronic equipment according to the motion direction and the motion trail.
It should be noted that, the above step 205 is only to further optimize the display content adjustment method provided by the present disclosure, and is not a limitation of the present disclosure, and steps 201 to 204 may completely implement the display content adjustment method provided by the present disclosure alone to adjust the display content on the screen of the electronic device.
In summary, in the display content adjusting method provided in this embodiment, the distance value between the electronic device and the object in front is obtained at predetermined time intervals, the distance change information is obtained according to the obtained distance value, and the display content on the screen of the electronic device is adjusted according to the distance change information; the problems that in the related art, at least two distance sensors need to be arranged in the electronic equipment, the complexity of the internal structure of the electronic equipment is increased, and the cost and the size of the electronic equipment are increased are solved; the method achieves the effects that only one distance sensor needs to be installed in the electronic equipment, the display content is adjusted by utilizing the change of the distance value in the time domain, the complexity of the internal structure of the electronic equipment is reduced, and the cost and the size of the electronic equipment are reduced.
The display content adjusting method provided in this embodiment further represents distance change information through a binary sequence or a number of hops, and then performs corresponding adjusting operation by pre-storing a correspondence between different distance change information and different adjusting operations, thereby improving diversification and flexibility of the scheme in a specific implementation environment.
The display content adjusting method provided by this embodiment also prevents interference of other objects or some misoperation caused by a distance sensor or a camera acquiring a plurality of unnecessary distance values when a user does not need to perform a display content adjusting operation by presetting the third threshold.
The display content adjusting method provided by this embodiment further determines the flipping speed according to the second distance value maintained when the front object stays in front of the screen of the electronic device, so as to achieve the effect of dynamically changing the flipping speed in real time according to the distance between the finger or the palm of the user and the screen of the electronic device.
The display content adjusting method provided in this embodiment further triggers and starts the camera or at least one other distance sensor to continue adjusting the display content on the screen of the electronic device on the basis that the distance sensor adjusts the display content on the screen of the electronic device, so that the battery power of the electronic device is saved, and the complexity of the operation processing of the electronic device is reduced.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Referring to fig. 6, a block diagram of an exemplary structure of a display content adjusting apparatus provided in an embodiment of the present disclosure is shown, where the display content adjusting apparatus may be implemented as all or part of an electronic device through software, hardware, or a combination of the two. The display content adjusting apparatus may include: a distance acquisition module 610, a distance analysis module 620, and a display adjustment module 630.
The distance acquisition module 610 is configured to acquire a distance value between the electronic device and a front object at predetermined time intervals.
A distance analysis module 620, configured to obtain distance change information according to the obtained distance value, where the distance change information indicates a change in a time domain of a distance between the electronic device and the front object.
And a display adjusting module 630, configured to adjust display content on the screen of the electronic device according to the distance change information.
In summary, the display content adjusting apparatus provided in this embodiment obtains the distance value between the electronic device and the object in front at predetermined time intervals, obtains the distance change information according to the obtained distance value, and adjusts the display content on the screen of the electronic device according to the distance change information; the problems that in the related art, at least two distance sensors need to be arranged in the electronic equipment, the complexity of the internal structure of the electronic equipment is increased, and the cost and the size of the electronic equipment are increased are solved; the method achieves the effects that only one distance sensor needs to be installed in the electronic equipment, the display content is adjusted by utilizing the change of the distance value in the time domain, the complexity of the internal structure of the electronic equipment is reduced, and the cost and the size of the electronic equipment are reduced.
Referring to fig. 7, a block diagram of an exemplary structure of a display content adjusting apparatus provided in another embodiment of the present disclosure is shown, where the display content adjusting apparatus may be implemented as all or part of an electronic device through software, hardware, or a combination of the two. The display content adjusting apparatus may include: distance acquisition module 610, distance analysis module 620, distance detection module 622, adjustment execution module 624, display adjustment module 630, and trajectory adjustment module 640.
The distance acquisition module 610 is configured to acquire a distance value between the electronic device and a front object at predetermined time intervals.
Specifically, the distance acquiring module 610 is configured to acquire a distance value between the electronic device and the front object at predetermined time intervals through a distance sensor. Or, the distance obtaining module 610 is configured to obtain, by a camera, an image in front of the electronic device at predetermined time intervals; identifying the front object in the image; and calculating the distance value according to the proportional relation between the size of the recognized front object and the size of the pre-stored front object.
A distance analysis module 620, configured to obtain distance change information according to the obtained distance value, where the distance change information indicates a change in a time domain of a distance between the electronic device and the front object.
A distance detecting module 622, configured to detect whether a minimum value of the obtained distance values is smaller than a third threshold.
And an adjusting executing module 624, configured to execute the step of adjusting the display content on the screen of the electronic device according to the distance change information if the detection result is that the minimum value is smaller than the third threshold.
And a display adjusting module 630, configured to adjust display content on the screen of the electronic device according to the distance change information.
Specifically, the display adjustment module 630 includes: an adjustment querying unit 630a and an adjustment performing unit 630 b.
The adjustment querying unit 630a is configured to query a corresponding adjustment operation in a predetermined corresponding relationship according to the distance change information, where the predetermined corresponding relationship is a corresponding relationship between the distance change information and the adjustment operation.
The predetermined correspondence includes: if the distance change information indicates that the distance value is changed from a first distance value to a second distance value, and then the second distance value is restored to the first distance value, the corresponding adjustment operation is: page back or scroll down; if the distance change information indicates that the distance value has a change process from the first distance value to the second distance value and then from the second distance value to the first distance value at least twice, the corresponding adjustment operation is: page forward or scroll up; if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then is maintained at the second distance value, the corresponding adjustment operation is: continuously turning pages backwards or continuously rolling downwards; wherein the first distance value is a distance value greater than a first threshold value, and the second distance value is a distance value less than a second threshold value; the first threshold and the second threshold are equal, or the first threshold is greater than the second threshold.
The adjustment executing unit 630b is configured to adjust display content on the screen of the electronic device according to the queried adjustment operation, where the adjustment operation includes any one of page forward, page backward, page forward continuously, page backward continuously, scroll up, scroll down, scroll up continuously, or scroll down continuously.
Specifically, if the distance change information indicates that the distance value is changed from the first distance value to the second distance value, then the distance value is maintained at the second distance value; the adjustment performing unit 630b includes: a speed determination subunit 630b1 and an adjustment execution subunit 630b 2.
The speed determining subunit 630b1 is configured to determine, according to the magnitude of the maintained second distance value, the speed of the flipping speed, where the magnitude of the maintained second distance value is in a negative correlation with the speed of the flipping speed.
The adjustment performing subunit 630b2 is configured to perform continuous page backward or continuous scroll downward on the display content on the screen of the electronic device according to the determined flipping speed.
A track adjusting module 640, configured to trigger to start at least one other distance sensor after the distance value obtained by the distance sensor adjusts display content on the screen of the electronic device; acquiring the motion direction and the motion track of the front object through the distance sensor and the other distance sensors; and adjusting display content on a screen of the electronic equipment according to the motion direction and the motion trail.
Or,
the track adjusting module 640 is configured to trigger to start a camera after the display content on the screen of the electronic device is adjusted by the distance value acquired by the distance sensor; acquiring the motion direction and the motion track of the front object through the image acquired by the camera; and adjusting display content on a screen of the electronic equipment according to the motion direction and the motion trail.
In summary, the display content adjusting apparatus provided in this embodiment obtains the distance value between the electronic device and the object in front at predetermined time intervals, obtains the distance change information according to the obtained distance value, and adjusts the display content on the screen of the electronic device according to the distance change information; the problems that in the related art, at least two distance sensors need to be arranged in the electronic equipment, the complexity of the internal structure of the electronic equipment is increased, and the cost and the size of the electronic equipment are increased are solved; the method achieves the effects that only one distance sensor needs to be installed in the electronic equipment, the display content is adjusted by utilizing the change of the distance value in the time domain, the complexity of the internal structure of the electronic equipment is reduced, and the cost and the size of the electronic equipment are reduced.
The display content adjusting apparatus provided in this embodiment further represents distance change information through a binary sequence or a number of hops, and then performs corresponding adjustment operations by pre-storing correspondence between different distance change information and different adjustment operations, thereby improving diversification and flexibility of the scheme in a specific implementation environment.
The display content adjusting apparatus provided in this embodiment also prevents, by setting the third threshold in advance, interference of other objects or some misoperation caused by a distance sensor or a camera acquiring a plurality of unnecessary distance values when the user does not need to perform the display content adjusting operation.
The display content adjusting device provided by the embodiment also determines the turning speed according to the second distance value kept when the front object stays in front of the screen of the electronic equipment, so that the effect of dynamically changing the turning speed in real time according to the distance between the finger or the palm of the user and the screen of the electronic equipment is achieved.
The display content adjusting device provided in this embodiment further triggers and starts the camera or at least one other distance sensor to continue adjusting the display content on the screen of the electronic device on the basis that the distance sensor adjusts the display content on the screen of the electronic device, so that the battery power of the electronic device is saved, and the complexity of the operation processing of the electronic device is reduced.
Referring to fig. 8, an exemplary structural diagram of an electronic device involved in various embodiments of the present disclosure is shown. The electronic device may be configured to implement the display content adjusting method provided in the above-described embodiment. Preferably:
electronic device 700 may include components such as communication unit 710, memory 720 including one or more computer-readable storage media, input unit 730, display unit 740, sensors 750, audio circuitry 760, wireless communication unit 770, processor 780 including one or more processing cores, and power supply 790. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the communication unit 710 may be used for receiving and transmitting information or signals during a call, and the communication unit 710 may be an RF (Radio Frequency) circuit, a router, a modem, or other network communication devices. In particular, when the communication unit 710 is an RF circuit, downlink information of a base station is received and then delivered to one or more processors 780 for processing; in addition, data relating to uplink is transmitted to the base station. Generally, the RF circuit as a communication unit includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the communication unit 710 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like. The memory 720 may be used to store software programs and modules, and the processor 780 performs various functional applications and data processing by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device 700, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 720 may also include a memory controller to provide access to memory 720 by processor 780 and input unit 730.
The input unit 730 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Preferably, the input unit 730 may include a touch-sensitive surface 731 as well as other input devices 732. Touch-sensitive surface 731, also referred to as a touch display screen or touch pad, can collect touch operations by a user on or near touch-sensitive surface 731 (e.g., operations by a user on or near touch-sensitive surface 731 using a finger, stylus, or any other suitable object or attachment) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 731 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch-sensitive surface 731 can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic wave. The input unit 730 may also include other input devices 732 in addition to the touch-sensitive surface 731. Preferably, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device 700, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-emitting diode), or the like. Further, touch-sensitive surface 731 can overlay display panel 741, such that when touch-sensitive surface 731 detects a touch event thereon or nearby, processor 780 can determine the type of touch event, and processor 780 can then provide a corresponding visual output on display panel 741 based on the type of touch event. Although in FIG. 8, touch-sensitive surface 731 and display panel 741 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 731 and display panel 741 may be integrated to implement input and output functions.
The electronic device 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. The light sensor may include an ambient light sensor that may adjust the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 741 and/or a backlight when the electronic device 700 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device 700, detailed descriptions thereof are omitted.
The audio circuit 760, speaker 761, and microphone 762 may provide an audio interface between a user and the electronic device 700. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another electronic device via the RF circuit 710, or outputs the audio data to the memory 720 for further processing. The audio circuitry 760 may also include an earbud jack to provide communication of a peripheral headset with the electronic device 700.
In order to implement wireless communication, a wireless communication unit 770 may be configured on the electronic device, and the wireless communication unit 770 may be a WIFI module. WIFI belongs to a short-range wireless transmission technology, and the electronic device 700 may help a user send and receive e-mails, browse webpages, access streaming media, and the like through the wireless communication unit 770, and provide the user with wireless broadband internet access. Although the wireless communication unit 770 is illustrated in the drawing, it is understood that it does not belong to the essential constitution of the electronic device 700 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 780 is a control center of the electronic device 700, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the electronic device 700 and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. Optionally, processor 780 may include one or more processing cores; preferably, the processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The electronic device 700 also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system that may be configured to manage charging, discharging, and power consumption. The power supply 790 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device 700 may further include a camera, a bluetooth module, and the like, which are not described in detail herein. In this embodiment, the electronic device further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for executing the display content adjusting method provided by the embodiment of fig. 1 or fig. 2 in the present disclosure.
It should be noted that: in the display content adjusting apparatus and the electronic device provided in the above embodiments, when adjusting the display content, only the division of the above functional modules is exemplified, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the display content adjusting apparatus and the electronic device provided by the above embodiments belong to the same concept as the method embodiment of the display content adjusting method, and specific implementation processes thereof are described in the method embodiment and are not described herein again.
Furthermore, the electronic devices described in the present disclosure may typically be various handheld terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), and the like, and thus the scope of protection of the present disclosure should not be limited to a particular type of electronic device.
Furthermore, the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method of the present disclosure.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions described herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Disclosed exemplary embodiments should be noted, however, that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosure may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a," "an," "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (16)

1. A method for adjusting display content, the method comprising:
acquiring a distance value between the electronic equipment and a front object at preset time intervals;
obtaining distance change information according to the obtained distance value, wherein the distance change information represents the change of the distance between the electronic equipment and the front object in the time domain;
and adjusting the display content on the screen of the electronic equipment according to the distance change information.
2. The method of claim 1, wherein the adjusting the display content on the screen of the electronic device according to the distance change information comprises:
inquiring corresponding adjusting operation in a preset corresponding relation according to the distance change information, wherein the preset corresponding relation is the corresponding relation between the distance change information and the adjusting operation;
and adjusting the display content on the screen of the electronic equipment according to the inquired adjusting operation, wherein the adjusting operation comprises any one of page turning forward, page turning backward, page turning forward continuously, page turning backward continuously, line scrolling up, line scrolling down, line scrolling up continuously or line scrolling down continuously.
3. The method of claim 2, wherein the predetermined correspondence comprises:
if the distance change information indicates that the distance value is changed from a first distance value to a second distance value, and then the second distance value is restored to the first distance value, the corresponding adjustment operation is: page back or scroll down;
if the distance change information indicates that the distance value has a change process from the first distance value to the second distance value and then from the second distance value to the first distance value at least twice, the corresponding adjustment operation is: page forward or scroll up;
if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then is maintained at the second distance value, the corresponding adjustment operation is: continuously turning pages backwards or continuously rolling downwards;
wherein the first distance value is a distance value greater than a first threshold value, and the second distance value is a distance value less than a second threshold value; the first threshold and the second threshold are equal, or the first threshold is greater than the second threshold.
4. The method according to claim 3, wherein if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then kept at the second distance value; the adjusting the display content on the screen of the electronic device according to the queried adjustment operation includes:
determining the turning speed according to the maintained second distance value, wherein the maintained second distance value and the turning speed are in a negative correlation relationship;
and continuously turning pages backwards or continuously scrolling downwards the display content on the screen of the electronic equipment according to the determined turning speed.
5. The method according to any one of claims 1 to 4, wherein the acquiring the distance value between the electronic device and the front object at every predetermined time interval comprises:
acquiring a distance value between the electronic equipment and the front object at preset time intervals through a distance sensor; or,
acquiring images in front of the electronic equipment at preset time intervals through a camera; identifying the front object in the image; and calculating the distance value according to the proportional relation between the size of the recognized front object and the size of the pre-stored front object.
6. The method of claim 5, further comprising:
after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor, triggering and starting at least one other distance sensor; acquiring the motion direction and the motion track of the front object through the distance sensor and the other distance sensors; adjusting display content on a screen of the electronic equipment according to the motion direction and the motion track;
or,
after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor, triggering and starting a camera; acquiring the motion direction and the motion track of the front object through the image acquired by the camera; and adjusting display content on a screen of the electronic equipment according to the motion direction and the motion trail.
7. The method according to any one of claims 1 to 4, further comprising:
detecting whether the minimum value in the acquired distance values is smaller than a third threshold value or not;
and if the detection result is that the minimum value is smaller than the third threshold value, executing a step of adjusting display content on a screen of the electronic equipment according to the distance change information.
8. A display content adjusting apparatus, characterized in that the apparatus comprises:
the distance acquisition module is used for acquiring distance values between the electronic equipment and a front object at preset time intervals;
the distance analysis module is used for obtaining distance change information according to the obtained distance value, wherein the distance change information represents the change of the distance between the electronic equipment and the front object in the time domain;
and the display adjusting module is used for adjusting the display content on the screen of the electronic equipment according to the distance change information.
9. The apparatus of claim 8, wherein the display adjustment module comprises: an adjustment inquiry unit and an adjustment execution unit;
the adjustment inquiring unit is used for inquiring corresponding adjustment operation in a preset corresponding relation according to the distance change information, and the preset corresponding relation is the corresponding relation between the distance change information and the adjustment operation;
the adjustment execution unit is used for adjusting the display content on the screen of the electronic equipment according to the inquired adjustment operation, wherein the adjustment operation comprises any one of page turning forward, page turning backward, page turning forward continuously, page turning backward continuously, line scrolling up, line scrolling down, line scrolling up continuously or line scrolling down continuously.
10. The apparatus of claim 9, wherein the predetermined correspondence comprises:
if the distance change information indicates that the distance value is changed from a first distance value to a second distance value, and then the second distance value is restored to the first distance value, the corresponding adjustment operation is: page back or scroll down;
if the distance change information indicates that the distance value has a change process from the first distance value to the second distance value and then from the second distance value to the first distance value at least twice, the corresponding adjustment operation is: page forward or scroll up;
if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then is maintained at the second distance value, the corresponding adjustment operation is: continuously turning pages backwards or continuously rolling downwards;
wherein the first distance value is a distance value greater than a first threshold value, and the second distance value is a distance value less than a second threshold value; the first threshold and the second threshold are equal, or the first threshold is greater than the second threshold.
11. The apparatus according to claim 10, wherein if the distance change information indicates that the distance value is changed from the first distance value to the second distance value and then kept at the second distance value; the adjustment execution unit includes: a speed determining subunit and an adjustment executing subunit;
the speed determining subunit is configured to determine, according to the magnitude of the maintained second distance value, the speed of the flipping speed, where the magnitude of the maintained second distance value and the speed of the flipping speed are in a negative correlation relationship;
and the adjusting execution subunit is used for continuously turning pages backwards or continuously scrolling downwards the display content on the screen of the electronic equipment according to the determined turning speed.
12. The apparatus according to any one of claims 8 to 11,
the distance acquisition module is used for acquiring a distance value between the electronic equipment and the front object at preset time intervals through a distance sensor;
or,
the distance acquisition module is used for acquiring images in front of the electronic equipment at preset time intervals through a camera; identifying the front object in the image; and calculating the distance value according to the proportional relation between the size of the recognized front object and the size of the pre-stored front object.
13. The apparatus of claim 12, further comprising: a trajectory adjustment module;
the track adjusting module is used for triggering and starting at least one other distance sensor after the distance value acquired by the distance sensor is used for adjusting the display content on the screen of the electronic equipment; acquiring the motion direction and the motion track of the front object through the distance sensor and the other distance sensors; adjusting display content on a screen of the electronic equipment according to the motion direction and the motion track;
or,
the track adjusting module is used for triggering and starting a camera after the display content on the screen of the electronic equipment is adjusted through the distance value acquired by the distance sensor; acquiring the motion direction and the motion track of the front object through the image acquired by the camera; and adjusting display content on a screen of the electronic equipment according to the motion direction and the motion trail.
14. The apparatus of any one of claims 8 to 11, further comprising: the device comprises a distance detection module and an adjustment execution module;
the distance detection module is used for detecting whether the minimum value in the acquired distance values is smaller than a third threshold value;
and the adjustment executing module is used for executing the step of adjusting the display content on the screen of the electronic equipment according to the distance change information if the detection result shows that the minimum value is smaller than the third threshold value.
15. An electronic device characterized in that it comprises a display content adjusting apparatus according to any one of claims 8 to 14.
16. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules having the functionality to:
acquiring a distance value between the electronic equipment and a front object at preset time intervals;
obtaining distance change information according to the obtained distance value, wherein the distance change information represents the change of the distance between the electronic equipment and the front object in the time domain;
and adjusting the display content on the screen of the electronic equipment according to the distance change information.
CN201310533229.7A 2013-10-31 2013-10-31 Show content adjustment method, apparatus and electronic equipment Active CN103631502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310533229.7A CN103631502B (en) 2013-10-31 2013-10-31 Show content adjustment method, apparatus and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310533229.7A CN103631502B (en) 2013-10-31 2013-10-31 Show content adjustment method, apparatus and electronic equipment

Publications (2)

Publication Number Publication Date
CN103631502A true CN103631502A (en) 2014-03-12
CN103631502B CN103631502B (en) 2019-03-08

Family

ID=50212629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310533229.7A Active CN103631502B (en) 2013-10-31 2013-10-31 Show content adjustment method, apparatus and electronic equipment

Country Status (1)

Country Link
CN (1) CN103631502B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824404A (en) * 2015-11-20 2016-08-03 维沃移动通信有限公司 Gesture operation and control method and mobile terminal
CN106372608A (en) * 2016-09-06 2017-02-01 乐视控股(北京)有限公司 Object state change detection method, device and terminal
WO2017201891A1 (en) * 2016-05-24 2017-11-30 北京小米移动软件有限公司 Method and apparatus for controlling state of touch control screen, and electronic device
CN107678649A (en) * 2017-09-27 2018-02-09 深圳市欧瑞博电子有限公司 The method for information display and device of intelligent panel
CN108490797A (en) * 2018-03-20 2018-09-04 北京百度网讯科技有限公司 The search result methods of exhibiting and device of smart machine
CN112834824A (en) * 2020-12-24 2021-05-25 山东国瓷功能材料股份有限公司 Resonant cavity coupling adjusting device, adjusting method and adjusting system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086604A (en) * 2006-06-09 2007-12-12 索尼株式会社 Imaging apparatus, control method of imaging apparatus, and computer program
CN101201968A (en) * 2006-12-14 2008-06-18 永新同方信息工程有限公司 Mouse type remote control device
CN102236526A (en) * 2011-06-23 2011-11-09 广州市动景计算机科技有限公司 Method and device for browsing page in mobile terminal and mobile terminal
CN102346626A (en) * 2010-08-05 2012-02-08 中国移动通信有限公司 Running program control method, device and system and light ray emission method and device
CN102662473A (en) * 2012-04-16 2012-09-12 广东步步高电子工业有限公司 Device and method for implementation of man-machine information interaction based on eye motion recognition
CN103257724A (en) * 2012-02-21 2013-08-21 联想(北京)有限公司 Non-contact mouse and operation method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086604A (en) * 2006-06-09 2007-12-12 索尼株式会社 Imaging apparatus, control method of imaging apparatus, and computer program
CN101201968A (en) * 2006-12-14 2008-06-18 永新同方信息工程有限公司 Mouse type remote control device
CN102346626A (en) * 2010-08-05 2012-02-08 中国移动通信有限公司 Running program control method, device and system and light ray emission method and device
CN102236526A (en) * 2011-06-23 2011-11-09 广州市动景计算机科技有限公司 Method and device for browsing page in mobile terminal and mobile terminal
CN103257724A (en) * 2012-02-21 2013-08-21 联想(北京)有限公司 Non-contact mouse and operation method thereof
CN102662473A (en) * 2012-04-16 2012-09-12 广东步步高电子工业有限公司 Device and method for implementation of man-machine information interaction based on eye motion recognition

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824404A (en) * 2015-11-20 2016-08-03 维沃移动通信有限公司 Gesture operation and control method and mobile terminal
WO2017201891A1 (en) * 2016-05-24 2017-11-30 北京小米移动软件有限公司 Method and apparatus for controlling state of touch control screen, and electronic device
US10318069B2 (en) 2016-05-24 2019-06-11 Beijing Xiaomi Mobile Software Co., Ltd. Method for controlling state of touch screen, and electronic device and medium for implementing the same
CN106372608A (en) * 2016-09-06 2017-02-01 乐视控股(北京)有限公司 Object state change detection method, device and terminal
CN107678649A (en) * 2017-09-27 2018-02-09 深圳市欧瑞博电子有限公司 The method for information display and device of intelligent panel
CN107678649B (en) * 2017-09-27 2020-11-20 深圳市欧瑞博科技股份有限公司 Information display method and device of intelligent panel
CN108490797A (en) * 2018-03-20 2018-09-04 北京百度网讯科技有限公司 The search result methods of exhibiting and device of smart machine
CN112834824A (en) * 2020-12-24 2021-05-25 山东国瓷功能材料股份有限公司 Resonant cavity coupling adjusting device, adjusting method and adjusting system

Also Published As

Publication number Publication date
CN103631502B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
US9507451B2 (en) File selection method and terminal
CN111984165B (en) Method and device for displaying message and terminal equipment
CN103631502B (en) Show content adjustment method, apparatus and electronic equipment
CN107977132B (en) Information display method and mobile terminal
CN103530040B (en) Object element moving method, device and electronic equipment
CN103699324B (en) A kind of method and apparatus that cursor position is controlled
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN106487984B (en) A kind of method and apparatus adjusting volume
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
CN108984066B (en) Application icon display method and mobile terminal
CN104252356A (en) Interface generating method and system
CN103677633B (en) Unlocking screen method, device and terminal
CN103677564B (en) Slide response method, device and terminal device
US10942644B2 (en) Method for sliding response acceleration and related products
CN104281394A (en) Method and device for intelligently selecting words
CN103823626A (en) Method and device for regulating display contents and electronic equipment
CN109240551A (en) Use the method and Related product of gesture control electronic device
CN111124223A (en) Application interface switching method and electronic equipment
CN103677417B (en) A kind of detect the method for gesture, device and terminal device
US20210019401A1 (en) Method and apparatus for displaying keyboard, and terminal device
CN107528958B (en) Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal
CN111124206B (en) Position adjusting method and electronic equipment
CN107741826B (en) Browsing history information calling method and device and mobile terminal
CN103677565A (en) Screen unlocking method and device and terminal

Legal Events

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