CN104345902B - A kind of location regulation method, device and electronic equipment - Google Patents

A kind of location regulation method, device and electronic equipment Download PDF

Info

Publication number
CN104345902B
CN104345902B CN201310347144.XA CN201310347144A CN104345902B CN 104345902 B CN104345902 B CN 104345902B CN 201310347144 A CN201310347144 A CN 201310347144A CN 104345902 B CN104345902 B CN 104345902B
Authority
CN
China
Prior art keywords
display device
input
angle
plane
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310347144.XA
Other languages
Chinese (zh)
Other versions
CN104345902A (en
Inventor
张雪元
洪雷
石伟兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310347144.XA priority Critical patent/CN104345902B/en
Publication of CN104345902A publication Critical patent/CN104345902A/en
Application granted granted Critical
Publication of CN104345902B publication Critical patent/CN104345902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Navigation (AREA)

Abstract

This application provides a kind of location regulation method, device and electronic equipment.One of which location regulation method includes:Determine the use pattern of current electronic device;Obtain plane where display device and the spatial relationship of horizontal plane under use pattern;According to spatial relationship, the parameter of electronic equipment is adjusted, so that the position that the input position that display device is shown is entering apparatus to be operated in input area.If the display device placement location of electronic equipment changes, the location regulation method provided using the embodiment of the present application can still cause the input position that display device is shown to be exactly the position that entering apparatus is operated in input area, therefore the content that entering apparatus is inputted in input area correctly can be shown on display device, it is ensured that the content that display device is shown is consistent with the content that entering apparatus is inputted.

Description

Position adjusting method and device and electronic equipment
Technical Field
The present disclosure relates to the field of input control technologies, and in particular, to a position adjustment method and apparatus, and an electronic device.
Background
Currently, some electronic devices are provided with a note input area and a signal receiver is mounted on a display screen, as shown in fig. 1. Wherein 1 is a note input area, 2 is a first signal receiver, and 3 is a second signal receiver, the first signal receiver is located at one end of the microphone, and the second signal receiver is located at the other end of the microphone.
When a user writes in a note input area, such as a sheet of a4 paper, using the electronic pen, the electronic pen emits an ultrasonic signal, and the ultrasonic signal is received by the first signal receiver and the second signal receiver, respectively, at which time the writing position of the electronic pen in the handwriting input area is converted into the display position of the display screen. When the electronic pen writes characters, the change of the first receiving time when the ultrasonic wave signal reaches the first signal receiver and the change of the second receiving time when the ultrasonic wave signal reaches the second signal receiver are small, so that the characters written by the electronic pen can be correctly displayed on the display screen.
However, in the process of writing characters by the electronic pen, after the placement position of the display screen of the electronic device is changed, the first receiving time and the second receiving time are changed greatly, and the display position is also changed at the moment, so that the display screen cannot correctly display the characters written by the electronic pen.
Disclosure of Invention
The technical problem to be solved by the application is to provide a position adjusting method, a position adjusting device and an electronic device, and the method, the device and the electronic device are used for solving the problem that characters written by an electronic pen cannot be correctly displayed on a display screen when the placement position of the display screen of the electronic device is changed in the prior art. The technical scheme is as follows:
the embodiment of the application provides a position adjusting method, which is applied to electronic equipment, wherein the electronic equipment comprises an input device and a display device, a signal receiver matched with the input device is arranged on the display device, and the method comprises the following steps:
determining a current usage mode of the electronic device;
acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode;
and adjusting parameters of the electronic equipment according to the spatial relationship, so that the input position displayed by the display device is the position operated by the input device in the input area.
Preferably, an angle sensor and a rheostat connected with the angle sensor are arranged on a rotating shaft of the electronic device;
the acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode comprises:
and obtaining the angle of the plane of the display device relative to the horizontal plane in the use mode through the angle sensor, wherein the angle sensor is used for obtaining the resistance value of the rheostat and obtaining the angle of the plane of the display device relative to the horizontal plane in the use mode according to the corresponding relation between the resistance value and the angle.
Preferably, an inertial sensor based on a micro-motor system technology is arranged in the electronic equipment;
the acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode comprises:
and obtaining the angle of the plane of the display device relative to the horizontal plane through the inertial sensor based on the micro-electromechanical system technology, wherein the inertial sensor based on the micro-electromechanical system technology obtains the angle of the plane of the display device relative to the horizontal plane by detecting the rotation angle of a sensitive shaft of the inertial sensor.
Preferably, the adjusting the parameter of the electronic device according to the spatial relationship includes:
obtaining the height of the signal receiver by combining the Pythagorean theorem according to the angle and the height of the display device;
a projected area of the electronic device according to the angle, a length of the display device, and a height of the display device;
and adjusting the receiving power of the signal receiver according to the projection area of the electronic equipment and the height of the signal receiver, so that the input position displayed by the display device is the position operated by the input device in the input area.
Preferably, the method further comprises: constructing a reference plane of the display device, and taking an input position displayed on the reference plane as a reference value, wherein the reference value is a position where the input device operates in an input area;
according to the spatial relationship, adjusting the parameters of the electronic device comprises: and converting the reference value at the current moment into an input position displayed by the display device according to the spatial relationship.
Preferably, a gravity sensor is arranged in the electronic device,
determining the current use mode of the electronic device through the gravity sensor, wherein the gravity sensor calculates the inclination angle of the electronic device relative to the horizontal plane according to the acceleration change so as to determine the current use mode of the electronic device.
The embodiment of the present application further provides a position adjusting device, which is applied to an electronic device, the electronic device includes an input device and a display device, the display device is provided with a signal receiver matched with the input device, the device includes:
a determining unit, configured to determine a current usage mode of the electronic device;
the acquisition unit is used for acquiring the spatial relationship between the plane where the display device is located and the horizontal plane in the use mode;
and the adjusting unit is used for adjusting the parameters of the electronic equipment according to the spatial relationship so that the input position displayed by the display device is the position operated by the input device in the input area.
Preferably, an angle sensor and a rheostat connected with the angle sensor are arranged on a rotating shaft of the electronic device;
the obtaining unit is specifically configured to obtain, by the angle sensor, an angle of a plane in which the display device is located with respect to the horizontal plane in the use mode, where the angle sensor is configured to obtain a resistance value of the varistor, and obtain, according to a correspondence between the resistance value and the angle, the angle of the plane in which the display device is located with respect to the horizontal plane in the use mode.
Preferably, an inertial sensor based on a micro-motor system technology is arranged in the electronic equipment;
the obtaining unit is specifically configured to obtain, by the inertial sensor based on the micro-electromechanical system technology, an angle of a plane in which the display device is located with respect to the horizontal plane, where the inertial sensor based on the micro-electromechanical system technology obtains the angle of the plane in which the display device is located with respect to the horizontal plane by detecting a rotation angle of a sensitive axis of the inertial sensor.
Preferably, the adjusting unit includes:
the height calculation subunit is used for obtaining the height of the signal receiver by combining the pythagorean theorem according to the angle and the height of the display device;
the area calculation subunit is used for calculating the projection area of the electronic equipment according to the angle, the length of the display device and the height of the display device;
and the adjusting subunit is used for adjusting the receiving power of the signal receiver according to the projection area of the electronic equipment and the height of the signal receiver, so that the input position displayed by the display device is the position operated by the input device in the input area.
Preferably, the apparatus further comprises: a construction unit that constructs a reference surface of the display device and takes an input position displayed on the reference surface as a reference value, the reference value being a position at which the input device operates within an input area;
the adjusting unit is specifically configured to convert the reference value at the current moment into an input position displayed by the display device according to the spatial relationship.
Preferably, a gravity sensor is arranged in the electronic device,
the determining unit is specifically configured to determine a current usage mode of the electronic device through the gravity sensor, where the gravity sensor calculates an inclination angle of the electronic device with respect to the horizontal plane according to an acceleration change, so as to determine the current usage mode of the electronic device.
The embodiment of the present application further provides an electronic device, the electronic device includes an input device and a display device, the display device is provided with a signal receiver matched with the input device, and the electronic device is characterized by further including: the position adjusting device is configured to determine a current usage mode of the electronic device, obtain a spatial relationship between a plane where the display device is located and a horizontal plane in the usage mode, and adjust a parameter of the electronic device according to the spatial relationship, so that an input position displayed by the display device is a position where the input device operates in an input area.
Compared with the prior art, the method has the following advantages:
according to the position adjusting method provided by the embodiment of the application, after the use mode of the current electronic equipment is determined, the spatial relationship between the plane where the display device is located and the horizontal plane in the use mode can be obtained, and then the parameters of the electronic equipment are adjusted according to the spatial relationship, so that the input position displayed by the display device is the position of the input device operated in the input area, and further the content displayed by the display device is the content input by the input device in the input area.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a position adjustment method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an electronic device;
FIG. 3 is another schematic diagram of an electronic device;
fig. 4 is a schematic structural diagram of a position adjustment apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a position adjustment apparatus according to an embodiment of the present disclosure;
fig. 6 is another schematic structural diagram of a position adjustment apparatus according to an embodiment of the present disclosure.
Detailed Description
First, a brief description is given of a position adjustment method provided in an embodiment of the present application, where the position adjustment method is applied to an electronic device, the electronic device includes an input device and a display device, and a signal receiver matched with the input device is disposed on the display device.
One of the core ideas of the position adjustment method provided by the embodiment of the application is as follows: determining a current usage mode of the electronic equipment; acquiring a spatial relationship between a plane where a display device is located and a horizontal plane in a use mode; and adjusting parameters of the electronic equipment according to the spatial relationship, so that the input position displayed by the display device is the position operated by the input device in the input area.
If the placement position of the display device of the electronic equipment changes, the position adjusting method provided by the embodiment of the application can determine the use mode of the changed electronic equipment, acquire the spatial relationship between the plane where the display device is located and the horizontal plane in the use mode, and further adjust the parameters of the electronic equipment according to the spatial relationship, so that the input position displayed by the display device is the position where the input device operates in the input area.
That is to say, if the placement position of the display device of the electronic device changes, the position adjustment method provided by the embodiment of the present application can still make the input position displayed by the display device be the position where the input device operates in the input area, so that the content input by the input device in the input area can be correctly displayed on the display device, and the content displayed by the display device is ensured to be consistent with the content input by the input device.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a flowchart of a position adjustment method provided in an embodiment of the present application is shown, where the position adjustment method is applied to an electronic device including an input device and a display device, and a signal receiver matched with the input device is disposed on the display device. Wherein the matching may be: the transmission power of the input device is consistent with the receiving power of the signal receiver. A schematic diagram of the arrangement of the signal receiver in the display device can be seen in fig. 2.
In fig. 2, two signal receivers, namely a signal receiver 1 and a signal receiver 2, are arranged on the display device, wherein the signal receiver 1 is arranged on the left side of the microphone, the signal receiver 2 is arranged on the right side of the microphone, the time when the signal receiver 1 receives the signal transmitted by the input device is recorded as a first receiving time, and the time when the signal receiver 2 receives the signal transmitted by the input device is recorded as a second receiving time.
When the user inputs "one" in the input area shown in fig. 2 using the input device, the display device displays "one" at the corresponding position. The user inputs the ' personal | again, and a ' ten ' character is input in the input area. However, if the user inputs "|", the electronic device may misunderstand that the input position of the input area moves downward as shown by a dotted line "|" in fig. 3 when the electronic device is placed as shown in fig. 3, and the distance from the input area to the signal receiver 1 and the signal receiver 2 becomes long, so that "one" and "|" are displayed in the display device of the electronic device shown in fig. 3, respectively, and the display contents are different from the contents input by the input area.
In order to solve the problem that the placement position of the display device changes and the content displayed by the display device is different from the content input by the input area, an embodiment of the present application provides a position adjustment method as shown in fig. 1, which may include the following steps:
step 101: a usage pattern of the current electronic device is determined.
It can be understood that: the electronic apparatus indicates the usage pattern in the manner of placement of the display device, and if the usage pattern is different, the manner of placement of the display device is also different. The usage patterns of the electronic apparatuses and the placement patterns of the display devices shown in fig. 2 and 3 are different from each other, wherein the display device in fig. 2 is tilted, and the display device in fig. 3 is tilted by 90 degrees, and the usage patterns of the electronic apparatuses shown in the two figures are different due to the different placement patterns of the display devices.
In the embodiment of the application, a gravity sensor can be arranged in the electronic device, and the gravity sensor can calculate the inclination angle of the electronic device relative to the horizontal plane according to acceleration transformation, so that the current use mode of the electronic device is determined. Wherein the acceleration transformation is caused by a change in gravity of the electronic device.
Step 102: and acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode.
It can be understood that: the spatial relationship between the plane of the display device and the horizontal plane may be represented by the angle of the plane of the display device with respect to the horizontal plane, i.e. the angle between the plane of the display device and the horizontal plane. Two possible ways of obtaining the spatial relationship between the plane of the display device and the horizontal plane are listed below.
In one possible way of the embodiment of the present application: an angle sensor and a rheostat connected with the angle sensor are arranged on a rotating shaft of the electronic equipment. If the placement position of the display device is changed, the resistance value of the rheostat is also changed, and the angle sensor can acquire the resistance value of the rheostat. Further, the angle of the plane where the display device is located in the use mode relative to the horizontal plane is obtained by the angle sensor according to the corresponding relation between the resistance value and the angle.
In another possible way of the embodiment of the present application: an inertial sensor based on the micro-motor system technology is arranged in the electronic equipment. The sensitive axis of the inertial sensor based on the micro-motor system technology changes along with the change of the placement position of the display device, so that if the placement position of the display device changes, the inertial sensor based on the micro-motor system technology obtains the angle of the plane of the display device relative to the horizontal plane by detecting the rotation angle of the sensitive axis of the inertial sensor.
Step 103: and adjusting parameters of the electronic equipment according to the spatial relationship, so that the input position displayed by the display device is the position operated by the input device in the input area.
From the electronic device placement shown in fig. 2 and 3, it can be seen that: since the signal receiver 1 and the signal receiver 2 are turned over upward in fig. 3 with the display device turned over, the distance between the input area and the signal receiver 1 and the signal receiver 2 becomes longer, so that the first receiving time and the second receiving time in the use mode shown in fig. 3 are longer than those in the use mode shown in fig. 2.
In order to make the first receiving time and the second receiving time the same in the two usage modes, parameters of the electronic device need to be adjusted, for example, the receiving power of the signal receiver can be adjusted, and the transmitting power of the input device is adjusted accordingly.
The method comprises the following specific steps: the angle of the plane in which the display device is located with respect to the horizontal plane is obtained by an angle sensor in the electronic device or an inertial sensor based on the micro-electromechanical system technology, and then the length and height of the display device are previously recorded in the electronic device. And according to the angle and the height of the display device, combining the Pythagorean theorem to obtain the height of the signal receiver. Taking fig. 3 as an example, when the angle is a and the height of the display device is B, the height of the signal receiver C = B × sinA is obtained by combining the pythagorean theorem.
The projected area can then be obtained in terms of angle, length of the display device and height of the display device. Still taking fig. 3 as an example, when the length of the display device is D, the projected area = D × B × cosA.
Further, the receiving power of the signal receiver is adjusted according to the projection area of the electronic device and the height of the signal receiver, so that the input position displayed by the display device is the position where the input device operates within the input area. How to adjust the received power of the signal receiver is explained below in conjunction with fig. 2 and 3.
Assuming that the electronic device is changed from the use mode shown in fig. 2 to the use mode shown in fig. 3, the receiving power of the display device in the use mode shown in fig. 2 is P, the maximum distance from the input area to the signal receiver is X, which is the distance from the farthest edge of the input area to the center point of the connection line between the signal receiver 1 and the signal receiver 2, then the maximum distance from the input area to the signal receiver in the use mode shown in fig. 3 is: x + B-4XBcos (180-a), when the electronic device increases the received power of the display device to: p + P (X + B-4XBcos (180-a))/X so that the first receiving time is the same and the second receiving time is the same in the use mode shown in fig. 3 and 2, the display position of the display device coincides with the input position of the input device.
Similarly, when the electronic device is switched from the usage mode shown in fig. 3 to the usage mode shown in fig. 2, the electronic device needs to reduce the receiving power of the display device. The method comprises the following steps: the received power of the display device in the use mode shown in fig. 3 is Q and the maximum distance from the input area to the signal receiver is Y, then the transition to the use mode shown in fig. 2 is that the maximum distance from the input area to the signal receiver is:at this time, the electronic device reduces the receiving power of the display device to:so that the first reception time is the same and the second reception time is the same in the use mode shown in fig. 3 and 2, the display position of the display device coincides with the input position of the input device.
In another possible way of the embodiment of the present application: it is also possible to first construct a reference plane of the display device and to take the input position displayed on the reference plane as a reference value, which is the position at which the input device operates within the input area. Wherein the reference surface is a fixed surface which does not change with a change in the placement position of the display device, so that the first receiving time and the second receiving time of the input device to the reference surface do not change when the usage pattern of the electronic apparatus changes. And because the reference value on the reference surface is the position of the input device operated in the input area, the electronic equipment can convert the reference value at the current moment into the input position displayed by the display device according to the spatial relationship.
Still referring to fig. 2 and 3, assuming that the plane of the display device shown in fig. 2 is the reference plane, when the placement position of the display device is changed to that shown in fig. 3, the reference value of the input area on the reference plane is first calculated, and then the reference value is converted into the input position displayed by the display device according to the spatial relationship. For example, if the reference value is (x, y), the spatial relationship is represented by an angle a, and the input position of the display device is (xsina, ysina).
From the above, if the placement position of the display device of the electronic device changes, the position adjustment method provided by the embodiment of the application can determine the current usage mode of the electronic device, acquire the spatial relationship between the plane where the display device is located and the horizontal plane in the usage mode, and then adjust the parameters of the electronic device according to the spatial relationship, so that the input position displayed by the display device is the position where the input device operates in the input area, that is, the input position displayed by the display device is the position where the input device operates in the input area, and therefore the content input by the input device in the input area can be correctly displayed on the display device, and the content displayed by the display device is ensured to be consistent with the content input by the input device.
Corresponding to the above method embodiment, an embodiment of the present application further provides a position adjustment apparatus, which is applied to an electronic device, where the electronic device includes an input device and a display device, and the display device is provided with a signal receiver matched with the input device. Referring to fig. 4, a schematic structural diagram of a position adjustment apparatus provided in an embodiment of the present application may include: a determination unit 11, an acquisition unit 12 and an adjustment unit 13. Wherein,
a determining unit 11, configured to determine a usage mode of the current electronic device.
It can be understood that: the electronic apparatus indicates the usage pattern in the manner of placement of the display device, and if the usage pattern is different, the manner of placement of the display device is also different. In the embodiment of the present application, the determining unit 11 is specifically configured to determine the current usage mode of the electronic device through a gravity sensor provided in the electronic device, where the gravity sensor calculates an inclination angle of the electronic device with respect to a horizontal plane according to the acceleration change to determine the current usage mode of the electronic device.
An obtaining unit 12, configured to obtain a spatial relationship between a plane where the display device is located and a horizontal plane in the use mode.
The spatial relationship between the plane of the display device and the horizontal plane may be represented by the angle of the plane of the display device with respect to the horizontal plane, i.e. the angle between the plane of the display device and the horizontal plane. Two possible ways of obtaining the spatial relationship between the plane of the display device and the horizontal plane are listed below.
Specifically, an angle sensor and a rheostat connected with the angle sensor are arranged on a rotating shaft of the electronic equipment. The obtaining unit 12 is specifically configured to obtain an angle of a plane where the display device is located relative to a horizontal plane in the use mode through an angle sensor, where the angle sensor is configured to obtain a resistance value of the varistor, and obtain the angle of the plane where the display device is located relative to the horizontal plane in the use mode according to a corresponding relationship between the resistance value and the angle.
Or, an inertial sensor based on the micro-motor system technology is arranged in the electronic equipment. The obtaining unit 12 is specifically configured to obtain an angle of a plane where the display device is located relative to a horizontal plane through an inertial sensor based on the micro-electromechanical system technology, where the inertial sensor based on the micro-electromechanical system technology obtains the angle of the plane where the display device is located relative to the horizontal plane by detecting a rotation angle of a sensitive axis of the inertial sensor.
And an adjusting unit 13 for adjusting parameters of the electronic device according to the spatial relationship so that the input position displayed by the display device is a position where the input device operates within the input area.
In the embodiment of the present application, please refer to fig. 5 for a schematic structural diagram of the adjusting unit 13, which may include: an altitude calculation subunit 131, an area calculation subunit 132, and an adjustment subunit 133. Wherein,
and the height calculating subunit 131 is configured to obtain the height of the signal receiver according to the angle of the plane where the display device is located relative to the horizontal plane and the height of the display device, by combining the pythagorean theorem.
An area calculating subunit 132, configured to calculate a projection area of the electronic device according to an angle of a plane in which the display device is located with respect to a horizontal plane, a length of the display device, and a height of the display device.
And an adjusting subunit 133, configured to adjust the receiving power of the signal receiver according to the projection area of the electronic device and the height of the signal receiver, so that the input position displayed by the display device is a position where the input device operates within the input area.
The adjustment may specifically be: if the maximum distance from the input area to the signal receiver is known to be increased according to the projection area of the electronic equipment and the signal receiver, the receiving power of the signal receiver is improved; and if the maximum distance from the input area to the signal receiver is larger according to the projection area of the electronic equipment and the knowledge of the signal receiver, reducing the receiving power of the signal receiver. The maximum distance is the distance from the farthest edge of the input area from the display device to the center point of the line connecting the signal receiver 1 and the signal receiver 2, as indicated by X in fig. 2.
Referring to fig. 6, which shows another schematic structural diagram of the position adjustment apparatus according to the embodiment of the present application, on the basis of fig. 4, the position adjustment apparatus may further include: and a construction unit 14 for constructing a reference plane of the display device and having the input position displayed on the reference plane as a reference value, which is a position at which the input device operates within the input area. Wherein the reference surface is a fixed surface which does not vary with the placement position of the display device.
The adjusting unit 13 is specifically configured to convert the reference value at the current moment into an input position displayed by the display device according to the spatial relationship.
Since the reference surface is a fixed surface which does not change with the change of the placement position of the display device, the first receiving time and the second receiving time of the input device to the reference surface do not change when the usage pattern of the electronic apparatus changes. And because the reference value on the reference surface is the position of the input device operated in the input area, the electronic equipment can convert the reference value at the current moment into the input position displayed by the display device according to the spatial relationship.
As will be described below with reference to fig. 2 and 3, assuming that the plane on which the display device shown in fig. 2 is located is a reference plane, when the placement position of the display device is changed to that shown in fig. 3, a reference value of the input area on the reference plane is first calculated, and then the reference value is converted into an input position displayed by the display device according to a spatial relationship. For example, if the reference value is (x, y), the spatial relationship is represented by an angle a, and the input position of the display device is (xsina, ysina).
In addition, the embodiment of the application also provides electronic equipment, which comprises an input device, a display device and a position adjusting device, wherein the display device is provided with a signal receiver matched with the input device, the position adjusting device is used for determining the current use mode of the electronic equipment, acquiring the spatial relationship between the plane where the display device is located and the horizontal plane in the use mode, and adjusting the parameters of the electronic equipment according to the spatial relationship, so that the input position displayed by the display device is the position where the input device operates in the input area. The structure and specific implementation of the position adjusting device refer to the embodiment of the device, which is not described further herein.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The position adjustment method, the position adjustment device, and the electronic device provided by the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (13)

1. A position adjusting method is applied to an electronic device, the electronic device comprises an input device and a display device, and a signal receiver matched with the input device is arranged on the display device, and the method comprises the following steps:
determining a current usage mode of the electronic device;
acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode;
and adjusting parameters of the electronic equipment according to the spatial relationship, so that the input position displayed by the display device is the position operated by the input device in the input area.
2. The method according to claim 1, characterized in that an angle sensor and a rheostat connected with the angle sensor are arranged on a rotating shaft of the electronic device;
the acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode comprises:
and obtaining the angle of the plane of the display device relative to the horizontal plane in the use mode through the angle sensor, wherein the angle sensor is used for obtaining the resistance value of the rheostat and obtaining the angle of the plane of the display device relative to the horizontal plane in the use mode according to the corresponding relation between the resistance value and the angle.
3. The method of claim 1, wherein an inertial sensor based on MEMS technology is disposed within the electronic device;
the acquiring the spatial relationship between the plane of the display device and the horizontal plane in the use mode comprises:
and obtaining the angle of the plane of the display device relative to the horizontal plane through the inertial sensor based on the micro-electromechanical system technology, wherein the inertial sensor based on the micro-electromechanical system technology obtains the angle of the plane of the display device relative to the horizontal plane by detecting the rotation angle of a sensitive shaft of the inertial sensor.
4. The method of claim 2 or 3, wherein the adjusting the parameter of the electronic device according to the spatial relationship comprises:
obtaining the height of the signal receiver by combining the Pythagorean theorem according to the angle and the height of the display device;
obtaining the projection area of the electronic equipment according to the angle, the length of the display device and the height of the display device;
and adjusting the receiving power of the signal receiver according to the projection area of the electronic equipment and the height of the signal receiver, so that the input position displayed by the display device is the position operated by the input device in the input area.
5. A method according to claim 2 or 3, characterized in that the method further comprises: constructing a reference plane of the display device, and taking an input position displayed on the reference plane as a reference value, wherein the reference value is a position where the input device operates in an input area;
according to the spatial relationship, adjusting the parameters of the electronic device comprises: and converting the reference value at the current moment into an input position displayed by the display device according to the spatial relationship.
6. The method of any one of claims 1 to 3, wherein a gravity sensor is provided within the electronic device,
determining the current use mode of the electronic device through the gravity sensor, wherein the gravity sensor calculates the inclination angle of the electronic device relative to the horizontal plane according to the acceleration change so as to determine the current use mode of the electronic device.
7. A position adjusting device is applied to an electronic device, the electronic device comprises an input device and a display device, and a signal receiver matched with the input device is arranged on the display device, and the position adjusting device is characterized by comprising:
a determining unit, configured to determine a current usage mode of the electronic device;
the acquisition unit is used for acquiring the spatial relationship between the plane where the display device is located and the horizontal plane in the use mode;
and the adjusting unit is used for adjusting the parameters of the electronic equipment according to the spatial relationship so that the input position displayed by the display device is the position operated by the input device in the input area.
8. The device of claim 7, wherein an angle sensor and a rheostat connected with the angle sensor are arranged on the rotating shaft of the electronic equipment;
the obtaining unit is specifically configured to obtain, by the angle sensor, an angle of a plane in which the display device is located with respect to the horizontal plane in the use mode, where the angle sensor is configured to obtain a resistance value of the varistor, and obtain, according to a correspondence between the resistance value and the angle, the angle of the plane in which the display device is located with respect to the horizontal plane in the use mode.
9. The apparatus of claim 7, wherein an inertial sensor based on MEMS technology is disposed within the electronic device;
the obtaining unit is specifically configured to obtain, by the inertial sensor based on the micro-electromechanical system technology, an angle of a plane in which the display device is located with respect to the horizontal plane, where the inertial sensor based on the micro-electromechanical system technology obtains the angle of the plane in which the display device is located with respect to the horizontal plane by detecting a rotation angle of a sensitive axis of the inertial sensor.
10. The apparatus according to claim 8 or 9, wherein the adjusting unit comprises:
the height calculation subunit is used for obtaining the height of the signal receiver by combining the pythagorean theorem according to the angle and the height of the display device;
the area calculation subunit is used for obtaining the projection area of the electronic equipment according to the angle, the length of the display device and the height of the display device;
and the adjusting subunit is used for adjusting the receiving power of the signal receiver according to the projection area of the electronic equipment and the height of the signal receiver, so that the input position displayed by the display device is the position operated by the input device in the input area.
11. The apparatus of claim 8 or 9, further comprising: a construction unit that constructs a reference surface of the display device and takes an input position displayed on the reference surface as a reference value, the reference value being a position at which the input device operates within an input area;
the adjusting unit is specifically configured to convert the reference value at the current moment into an input position displayed by the display device according to the spatial relationship.
12. The apparatus according to any one of claims 7 to 9, wherein a gravity sensor is provided in the electronic device,
the determining unit is specifically configured to determine a current usage mode of the electronic device through the gravity sensor, where the gravity sensor calculates an inclination angle of the electronic device with respect to the horizontal plane according to an acceleration change, so as to determine the current usage mode of the electronic device.
13. An electronic device, the electronic device includes an input device and a display device, a signal receiver matched with the input device is arranged on the display device, and the electronic device is characterized by further comprising: the position adjusting apparatus according to any one of claims 7 to 12, wherein the position adjusting apparatus is configured to determine a current usage mode of the electronic device, obtain a spatial relationship between a plane on which the display device is located and a horizontal plane in the usage mode, and adjust a parameter of the electronic device according to the spatial relationship, so that an input position displayed by the display device is a position at which the input device operates within an input area.
CN201310347144.XA 2013-08-09 2013-08-09 A kind of location regulation method, device and electronic equipment Active CN104345902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310347144.XA CN104345902B (en) 2013-08-09 2013-08-09 A kind of location regulation method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310347144.XA CN104345902B (en) 2013-08-09 2013-08-09 A kind of location regulation method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104345902A CN104345902A (en) 2015-02-11
CN104345902B true CN104345902B (en) 2017-09-29

Family

ID=52501706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310347144.XA Active CN104345902B (en) 2013-08-09 2013-08-09 A kind of location regulation method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104345902B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2901410Y (en) * 2005-12-23 2007-05-16 金圭成 Hand writing recording device
CN101174178A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Method and device for viewing graphic pattern

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101542129B1 (en) * 2008-10-24 2015-08-06 삼성전자 주식회사 Input Device For Foldable Display Device And Input Method Thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2901410Y (en) * 2005-12-23 2007-05-16 金圭成 Hand writing recording device
CN101174178A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Method and device for viewing graphic pattern

Also Published As

Publication number Publication date
CN104345902A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
US20190354203A1 (en) System and method for bidirectional communication between stylus and stylus sensor controller
CN109189305B (en) Hinge, electronic equipment and electronic equipment control method
CN109725683B (en) Program display control method and folding screen terminal
US20150035762A1 (en) Electronic device and pairing method thereof
CN108319418B (en) Interface display control method and mobile terminal
KR20100045628A (en) Input device for foldable display device and input method thereof
US10963100B2 (en) Interactive object control method and apparatus, terminal, and computer-readable storage medium
CN103019549A (en) Method and device for scrolling contents based on mobile terminal
JP5593980B2 (en) Electronic device and data transmission method
CN108540718A (en) Image pickup method, device, mobile terminal and storage medium
CN110784575B (en) Electronic equipment and shooting method
CN108055399B (en) Text copying method and mobile terminal
CN109271073B (en) Desktop dynamic icon implementation method, terminal and computer readable medium
CN108846817B (en) Image processing method and device and mobile terminal
CN108536404B (en) Display control method, bendable terminal and computer readable storage medium
CN108898548B (en) Display method of panorama and mobile terminal
CN104345902B (en) A kind of location regulation method, device and electronic equipment
CN110769162B (en) Electronic equipment and focusing method
CN111561899A (en) Folding angle detection method and electronic equipment
CN110891122A (en) Wallpaper pushing method and electronic equipment
CN110440825B (en) Distance display method and terminal
CN207764746U (en) Intelligent display system
CN109683789B (en) Content display method and terminal
CN108871356B (en) Driving navigation method and mobile terminal
US20150049011A1 (en) Method and apparatus for enhancing three-dimensional image processing

Legal Events

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