The present invention relates to display technology, and more particularly, to electronic devices and methods for processing an object.
With the rapid development of electronic devices such as mobile phones and computers, display screens of the electronic devices become larger and more colorful, and are thus capable of providing users with fantastic visual experiences. When using a conventional electronic device, a user can operate the electronic device via a physical keyboard and/or a touch screen. However, the display position of each operation item in an object displayed on the electronic device is fixed. For example, Chinese characters typed using input methods in mobile phones such as Lephone, iPhone and mobile phones available from HTC and Samsung are arranged in from left to right according to how frequent these characters are used.
There are at least the following problems with such conventional electronic device.
First, as the size of screens in electronic devices increases, and the display position of each operation item in an object on an electronic device is fixed, it is inconvenient for a user to operate the electronic on the touch screen with one hand.
Second, when the electronic device has a physical keyboard and the user operates the physical keyboard with one hand, it is also inconvenient for the user's operation with one hand, since the display position of each operation item in an object on an electronic device is fixed.
Embodiments of the present application provide an electronic device and a method for processing an object in the electronic device that can facilitate a user's operation of the electronic device with one hand, and improve the user's experience of using the electronic device.
According to an embodiment of the present application, a method for processing an object in an electronic device comprising a sensor unit, an input unit and a display unit, the method comprising:
obtaining a first holding position parameter of the operator relative to the input unit when the sensor unit detects that an operator is holding the electronic device;
determining a correspondence between the object and the input unit based on the first holding position parameter; and
outputting the object by the display unit based on the correspondence.
In an embodiment, the input unit comprises a touch sensitive unit, and the method further comprises:
obtaining the first holding position parameter of the operator relative to the touch sensitive unit, when the sensor unit detects that the operator is holding the electronic device;
determining a first arrangement parameter of the object as the correspondence between the object and the input unit based on the first holding position parameter, the first arrangement parameter indicating a positional relation between at least two operation items in the object; and
outputting the object by the display unit based on the first arrangement parameter.
In an embodiment, determining a first arrangement parameter of the object as the correspondence between the object and the input unit based on the first holding position parameter further comprises:
determining an order parameter for a priority of each of the operation items in the object based on a predetermined policy; and
determining a display position for each of the operation items on the display unit based on the order parameter and the first holding position parameter.
In an embodiment, determining the display position for each of the operation items on the display unit based on the order parameter and the first holding position parameter comprises:
determining a side of the display unit closest to the operator as a holding side based on the first holding position parameter; and
displaying the operation items in a descending order of their priorities from the holding side to an opposite side on the display unit based on the order parameter.
In an embodiment, the method further comprises, when the sensor unit detects that an operator is holding the electronic device:
obtaining the object displayed on the display unit before obtaining the first holding position parameter;
obtaining the first holding position parameter of the operator relative to the input unit when the sensor unit detects that the operator is holding the electronic device;
determining the first arrangement parameter of the object based on the first holding position parameter; and
outputting the object by the display unit based on the first arrangement parameter.
In an embodiment, determining a first arrangement parameter of the object as the correspondence between the object and the input unit based on the first holding position parameter further comprises:
obtaining an operation instruction from the operator while obtaining the first holding position parameter;
obtaining an object associated with the operation instruction based on the operation instruction;
determining the first arrangement parameter of the object based on the first holding position parameter; and
outputting the object by the display unit based on the first arrangement parameter.
In an embodiment, the input unit comprises M physical input subunits, and the method further comprises:
obtaining the first holding position parameter of the operator relative to the input unit when the sensor unit detects that the operator is holding the electronic device;
determining a correspondence parameter indicating a correspondence between operation items in the object and the M physical input subunits as the correspondence between the object and the input unit based on the first holding position parameter; and
operating each of the operation item via a corresponding one of the physical input subunits based on the correspondence parameter.
In an embodiment, the method further comprises, after determining the correspondence parameter indicating a correspondence between operation items in the object and the M physical input subunits as the correspondence between the object and the input unit based on the first holding position parameter:
obtaining a first display position for each of the operation items on the display unit;
determining a second display position for each of the operation items based on the first holding position parameter, the second display position being the same as or different from the first display position;
displaying each of the operation items at its second display position based on the correspondence parameter and the second display position, such that the operation item corresponds to its corresponding physical input subunits.
According to a further embodiment of the present invention, an electronic device comprises a sensor unit, an input unit and a display unit. The electronic device further comprises a processing unit configured to:
obtain a first holding position parameter of the operator relative to the input unit, when the sensor unit detects that an operator is holding the electronic device;
determine a correspondence between the object and the input unit based on the first holding position parameter; and
output the object via the display unit based on the correspondence.
In an embodiment, the input unit comprises a touch sensitive unit, and the processing unit is further configured to:
obtain the first holding position parameter of the operator relative to the touch sensitive unit when the sensor unit detects that the operator is holding the electronic device;
determine a first arrangement parameter of the object as the correspondence between the object and the input unit based on the first holding position parameter, the first arrangement parameter indicating a positional relation between at least two operation items in the object; and
output the object via the display unit based on the first arrangement parameter.
In an embodiment, the processing unit comprises an arrangement parameter obtaining unit configured to:
determine an order parameter for a priority of each of the operation items in the object based on a predetermined policy; and
determine a display position for each of the operation items on the display unit based on the order parameter and the first holding position parameter.
In an embodiment, the arrangement parameter obtaining unit comprises a display position obtaining subunit configured to:
determine a side of the display unit closest to the operator as a holding side based on the first holding position parameter; and
display the operation items in a descending order of their priorities from the holding side to an opposite side on the display unit based on the order parameter.
In an embodiment, when the sensor unit detects that an operator is holding the electronic device, the processing unit is further configured to:
obtain the object displayed on the display unit before obtaining the first holding position parameter;
obtain the first holding position parameter of the operator relative to the input unit when the sensor unit detects that the operator is holding the electronic device;
determine the first arrangement parameter of the object based on the first holding position parameter; and
output the object via the display unit based on the first arrangement parameter.
In an embodiment, the processing unit is further configured to: obtain an operation instruction from the operator upon obtaining the first holding position parameter;
obtain an object associated with the operation instruction based on the operation instruction;
determine the first arrangement parameter of the object based on the first holding position parameter; and
output the object via the display unit based on the first arrangement parameter.
In an embodiment, the input unit comprises M physical input subunits, and the processing unit is further configured to:
obtain the first holding position parameter of the operator relative to the input unit when the sensor unit detects that the operator is holding the electronic device;
determine a correspondence parameter indicating a correspondence between operation items in the object and the M physical input subunits as the correspondence between the object and the input unit based on the first holding position parameter; and
operate each of the operation items via a corresponding one of the physical input subunits based on the correspondence parameter.
In an embodiment the processing unit is further configured to, after determining the correspondence parameter indicating the correspondence between operation items in the object and the M physical input subunits as the correspondence between the object and the input unit based on the first holding position parameter,
obtain a first display position for each of the operation items on the display unit;
determine a second display position for each of the operation items based on the first holding position parameter, the second display position being the same as or different from the first display position;
display each of the operation items at its second display position based on the correspondence parameter and the second display position, such that the operation items corresponds to its corresponding physical input subunits.
One or more of the technical solutions according to the embodiments of the present application has at least the following technical effects or advantages.
First, according to the embodiments of the present invention, a first holding position parameter of the operator relative to the input unit is obtained, a correspondence between the object and the input unit is determined based on the first holding position parameter, and the object is output by the display unit based on the correspondence. In this way, the object can be changed as the first holding position parameter changes, and thus both the user experience and the user convenience can be improved.
Second, according to the embodiments of the present invention, when the input unit includes a touch sensitive unit, the first arrangement parameter of the object is determined based on the first holding position parameter and allows the operation items in the object to be displayed in a descending order of their priorities from the holding side to the opposite side on the display unit based on the order parameter. Here, the holding side is the side of the display unit closest to the operator. In this way, it is possible to allow the user to operate the object more convenient and the user convenience is thus improved.
Third, according to the embodiments of the present invention, when the input unit includes M physical input subunits, the correspondence parameter indicating a correspondence between the respective operation items and the M physical input subunits is determined based on the first holding position parameter. Accordingly, the display position of the object can be changed with an change in the first holding position parameter. In this way, both the user experience and the user convenience can be improved.
According to the embodiments of the present application, an electronic device and a method for processing an object are provided for solving the problem with the prior art that inconvenience and poor user experience occur when the user operates an electronic device with one hand, and thus provide improved user experience and user convenience.
In order to solve the above problem, some of the solutions according to the embodiments of the present application are as follows.
When a sensor unit detects that an operator is holding the electronic device, a first holding position parameter of the operator relative to an input unit is obtained. A correspondence between the object and the input unit is determined based on the first holding position parameter. The object is output by a display unit of the electronic device based on the correspondence.
As described above, after the first holding position parameter is obtained, a correspondence between the object and the input unit is determined based on the first holding position parameter. In this way, it is possible to adjust the correspondence between the object and the input unit as the holding position changes, such that the user can operate the object via the input unit in a more convenient manner, thereby improving user experience and user convenience.
For better understanding of the above technical solution, the above technical solutions will be detailed with reference to the figures and the embodiments.
According to the present application, a method for processing an object is provided. The method may be applied in an electronic device including a sensor unit, an input unit and a display unit. As shown in
At step S101, when the sensor unit detects that an operator is holding the electronic device, a first holding position parameter of the operator relative to the input unit is obtained.
In particular, when a user is using the electronic device, the user may operate the electronic device while holding or not holding it. The contact between the user and the electronic device may be determined by using the sensor unit to detect whether the operator is holding the electronic device. When the sensor unit detects that the operator is holding the electronic device, a first holding position parameter of the operator relative to the input unit is obtained based on the position on the electronic device at which the operator is holding the electronic device.
At step S102, a correspondence between the object and the input unit is determined based on the first holding position parameter.
In particular, after the first holding position parameter is obtained, a correspondence between the object and the input unit may be determined based on the first holding position parameter. The determination of the correspondence allows the user to use the electronic device in more convenient manner and the user convenience can thus be improved.
At step S103, the object is output by the display unit based on the correspondence.
In particular, after the correspondence between the object and the input unit and the object is determined, the correspondence may be established between the object and the input unit, and accordingly the object is output by the display unit of the electronic device.
According to the above solution, the correspondence between the object and the input unit is determined based on the first holding position parameter indicating the position where the operator is holding the electronic device, and the object is output by the display unit based on the correspondence. Thus, the user can use the electronic device in a more convenient manner. The correspondence between the object and the input unit may be the same or become different depending on different input units of the electronic device.
As shown in
At step S201, when the sensor unit detects that the operator is holding the electronic device, the first holding position parameter of the operator relative to the touch sensitive unit is obtained.
In particular, when the sensor unit detects that the operator is holding the electronic device, the first holding position parameter of the operator relative to the touch sensitive unit is obtained based on the position where the operator is holding the electronic device and the manner in which the operator is holding the electronic device.
The operator may not hold the electronic device when he/she initially operates the electronic device, and may hold up the electronic device after a period of operation. Thus, before the operator holds the electronic device, the object on the electronic device has been determined. As such, before obtaining the first holding position parameter, the object displayed on the display unit may be obtained. When the sensor unit detects that the operator is holding up the electronic device, the first holding position parameter of the operator relative to the touch sensitive unit is obtained. For example, the operator types the Pinyin of “” PING, while the mobile phone lies on a table. In this case, the object displayed on the mobile phone includes operation items such as “”, “”, “”, and “” for selection by the user. As another example, the operator types English letters “app”, while the mobile phone lies on a table. In this case, the object displayed on the mobile phone includes operation items such as “apply”, “application”, “apple”, “appear” and “approach” for selection by the user. At this time, the operator needs to grasp the mobile phone for operation. That is, before the operator grasps the mobile phone, the object and its position on the electronic device have been determined.
At step S202, a first arrangement parameter of the object is determined as a correspondence between the object and the input unit based on the first holding position parameter. The first arrangement parameter indicates a positional relation between at least two operation items in the object.
In particular, after obtaining the first holding position parameter indicative of the position where the operator is holding the electronic device, it is judged whether the operator is operating the electronic device with one hand or both bands. The first arrangement parameter of the object can be determined base on the judgment result and the first holding position parameter. When the input unit includes a touch sensitive unit, the operation items in the object correspond to different touch areas on the touch sensitive unit. Determining the first arrangement parameter based on the first holding position parameter is to determine a correspondence between each operation item in the object and a touch area on the touch sensitive unit. Thus, the first arrangement parameter belongs to the correspondence between the object and the input unit. In an embodiment, before it is detected that the operator is holding the electronic device, the operator may have been operating the electronic device, and thus the object on the electronic device and each operation item in the object have been determined. After obtaining the first holding position parameter, it is judged based on the first holding position parameter whether the operator is operating the electronic device with one hand or both hands. When the operator is operating the electronic device with one hand, an order parameter for a priority of each operation item in the object is determined based on a predetermined policy. Then a display position where each operation item in the object is to be display on the display unit may be determined based on the order parameter and the first holding position parameter. Here, the predetermined policy may be based on historical information stored in the electronic device. The order parameter for the priority of each operation item in the object may be determined based on the historical information. For example, when a Pinyin “KAI” is typed on a smart phone, an order parameter for the priority of each Chinese character that is associated with the Pinyin “KAI” may be determined based on the historical information stored in the smart phone regarding, for example, the most commonly used characters, most frequently used characters or recently used characters among all the Chinese characters, such as “”, “”, “”, “” and “”. This mechanism also applies to input of English words. For example, when English letters “app” are typed, the most commonly used, or most frequently used or recently used words that begin with the letters “app” are displayed on the phone.
When determining the display position where each operation item in the object is to be displayed on the display unit based on the order parameter and the first holding position parameter, a side of the display unit closest to the operator is determined as a holding side based on the first holding position parameter. The operation items are displayed in a descending order of their priorities from the holding side to an opposite side of the display unit based on the order parameter. Currently, the display screen of a smart phone or a tablet computer may be designed to have a rectangular shape or a non-standard rectangular shape. For example, in order to provide a smart phone with more attractive aesthetic appearance, four angles of its rectangular display screen may be rounded or have some other shape.
Further, if it is determined that the operator is holding the electronic device with both hands, the obtained first arrangement parameter may be the same as the initial arrangement parameter of the object. For example,
Further, when there is no operator's operation on the electronic device before it is detected that an operator is holding the electronic device, an operation instruction is obtained from the operator while obtaining the first holding position parameter. The object associated with the operation instruction is obtained based on the operation instruction. Then, the first arrangement parameter of the object is determined based on the first holding position parameter. As above, after obtaining the first holding position parameter, it is judged whether the operator is operating the electronic device with one hand or both bands. The first arrangement parameter of the object can be determined based on the judgment result and the first holding position parameter. When the operator is operating the electronic device with both hands, the arrangement of the object when the electronic device is not held by the operator may be directly used as the first arrangement parameter of the object as shown in
At step S203, the object is output by the display unit based on the first arrangement parameter.
In particular, after the first arrangement parameter is determined, the object is output by the display unit based on the first arrangement parameter, as shown in
Meanwhile, when the input unit includes a number M of physical input subunits, the method may include the following steps.
At step S501, when the sensor unit detects that the operator is holding the electronic device, the first holding position parameter of the operator relative to the input unit is obtained.
In particular, the input unit is a physical keyboard including M physical input subunits. When the operator is operating the electronic device via the physical keyboard, the first holding position parameter of the operator relative to the physical keyboard is obtained via the sensor unit.
At step S502, a correspondence parameter indicating a correspondence between operation items in the object and the M physical input subunits is determined as the correspondence between the object and the input unit based on the first holding position parameter.
In particular, after obtaining the first holding position parameter, it is judged whether the operator is operating the physical keyboard with one hand or both bands based on the first holding position parameter. Then, the correspondence parameter indicating a correspondence between the operation items in the object and the M physical input subunits is determined based on the judgment result and the first holding position parameter. When the operator is operating the physical keyboard with both hands, the correspondence between the physical input subunits and the operation items in the object is the initial correspondence between the input subunits and the object. For example, among the physical input subunits for typing a Chinese character having a Pinyin of “heng” via the keyboard, the numeric key “1” corresponds to a Chinese character “”, and the numeric key “2” corresponds to a Chinese character “”. When the physical keyboard is operated with both hands, the correspondence between the Chinese characters having the Pinyin of “heng” and the keys in the physical keyboard remains unchanged. When the operator is operating the physical keyboard with one hand, the correspondence between the operation items in the object and the M physical input subunits may change. In this case the correspondence between the operation items in the object and the M physical input subunits may be determined based on the first holding position parameter. For example, when the operator is operating the physical keyboard with his/her right hand to type the Pinyin “heng” via the keyboard, the Chinese character “” having the Pinyin “heng” initially corresponds to the numeric key “1”. However, in order to allow the user to operate with his/her right hand conveniently, the Chinese character “” now corresponds to the numeric key “0”, the Chinese character “” corresponds to the numeric key “9”, and the correspondence for other characters remain unchanged. In this way, the operator can operate the object without his/her hand moving over a long distance with respect to the physical keyboard, and the user convenience is thus improved. As above, when the user is operating the physical keyboard with his/her left hand, the operation items corresponding to the numeric keys 6 to 9 correspond to the alphabetic keys near his/her left hand. For example, among the Chinese characters having the Pinyin “heng”, the character “” corresponds to the numeric key “6”, the character “” corresponds to the numeric key “7”, the character “” corresponds to the numeric key “8” and the character “” corresponds to the numeric key “9”. Since the physical keyboard is operated with the left hand, the character “” corresponds to the alphabetic key “q” in the physical keyboard, the character “” corresponds to the alphabetic key “w” in the physical keyboard, the character “” corresponds to the alphabetic key “e” in the physical keyboard, the character “” corresponds to the alphabetic key “r” in the physical keyboard. In this way, the distance the operator's hand needs to move over the physical keyboard can be reduced, and the user convenience is thus improved.
The above mechanism is also applicable to input of English words, which will be explained in the following examples.
When the input unit includes M physical input subunits, different operation items in the object may correspond to different ones of the M physical input subunits. When determining the correspondence parameter indicating the correspondence between operation items in the object and the M physical input subunits based on the first holding position parameter, the different operation items in the object may correspond to different ones of the M physical input subunits. The correspondence parameter indicating the correspondence between operation items in the object and the M physical input subunits belongs to the correspondence between the object and the input unit.
At step S503, each operation item in the object is operated via its corresponding physical input subunit based on the correspondence parameter.
In particular, each operation item in the object corresponds to a physical input subunit according to the correspondence parameter obtained in the step S502, such that an operation item can be operated via its corresponding physical input subunit.
In an embodiment, after determining the correspondence parameter indicating the correspondence between operation items in the object and the M physical input subunits, a first display position for each operation item in the object on the display unit may be determined. Then a second display position for each operation item in the object may be determined based on the first holding position parameter. The second display position may be the same as or different from the first display position. Each operation item in the object is then displayed on its second display position based on the correspondence parameter and the second display position, such that it corresponds to its corresponding physical input subunits. When the operator is operating the physical keyboard with both hands, the correspondence parameter indicating the correspondence between the physical keyboard and each operation item in the object may remain unchanged. In this case, the first display position of each operation item in the object is the same as its second display position. When the operator is operating the physical keyboard with one hand, each operation item in the object is displayed at its second display position on the display unit, and the second display position may different from the second display position. For example, as shown in
An electronic device is also provided. The electronic device includes a sensor unit 91, an input unit 92 and a display unit 93. As shown in
When the input unit 92 includes a touch sensitive unit, the processing unit 94 is further configured to when the sensor unit 91 detects that the operator is holding the electronic device, obtain the first holding position parameter of the operator relative to the touch sensitive unit, determine a first arrangement parameter of the object as a correspondence between the object and the input unit 92 based on the first holding position parameter, the first arrangement parameter indicating a positional relation between at least two operation items in the object, and output the object via the display unit 93 based on the first arrangement parameter.
The processing unit further includes an arrangement parameter obtaining unit configured to determine an order parameter for a priority of each operation item in the object based on a predetermined policy, and determine a display position where each operation item is to be displayed on the display unit 93 based on the order parameter and the first holding position parameter.
The arrangement parameter obtaining unit further includes a display position obtaining subunit configured to determine a side of the display unit 93 closest to the operator as a holding side based on the first holding position parameter, and display the operation items in the object in a descending order of their priorities from the holding side to an opposite side on the display unit 93 based on the order parameter.
When the sensor unit 91 detects that an operator is holding the electronic device, the processing unit 94 is further configured to obtain the object displayed on the display unit before obtaining the first holding position parameter, when the sensor unit detects that the operator is holding the electronic device, obtain the first holding position parameter of the operator relative to the input unit 92, determine the first arrangement parameter of the object based on the first holding position parameter, and output the object via the display unit 93 based on the first arrangement parameter.
The processing unit 94 is further configured to obtain an operation instruction from the operator upon obtaining the first holding position parameter, obtain an object associated with the operation instruction based on the operation instruction, determine the first arrangement parameter of the object based on the first holding position parameter, and output the object via the display unit 93 based on the first arrangement parameter.
When the input unit 92 includes M physical input subunits, the processing unit 94 may be further configured to when the sensor unit 91 detects that the operator is holding the electronic device, obtain the first holding position parameter of the operator relative to the input unit 92, determine a correspondence parameter indicating a correspondence between operation items in the object and the M physical input subunits as the correspondence between the object and the input unit 92 based on the first holding position parameter, and operate each operation item in the object via a corresponding one of the physical input subunits based on the correspondence parameter.
The processing unit 94 is further configured to, after determining the correspondence parameter indicating the correspondence between operation items in the object and the M physical input subunits as the correspondence between the object and the input unit 92 based on the first holding position parameter, obtain a first display position where each operation item in the object is displayed on the display unit 93, determine a second display position for each operation item in the object based on the first holding position parameter, the second display position being the same as or different from the first display position, display each operation item on its second display position based on the correspondence parameter and the second display position, such that it corresponds to its corresponding physical input subunits.
The above technical solutions according to the embodiments of the present application have at least the following technical effects or advantages.
First, according to the embodiments of the present invention, a first holding position parameter of the operator relative to the input unit is obtained, a correspondence between the object and the input unit is determined based on the first holding position parameter, and the object is output by the display unit based on the correspondence. In this way, the object can be changed as the first holding position parameter changes, and thus both the user experience and the user convenience can be improved.
Second, according to the embodiments of the present invention, when the input unit includes a touch sensitive unit, the first arrangement parameter of the object is determined based on the first holding position parameter and allows the operation items in the object to be displayed in a descending order of their priorities from the holding side to the opposite side on the display unit based on the order parameter. Here, the holding side is the side of the display unit closest to the operator. In this way, it is possible to allow the user to operate the object more convenient and the user convenience is thus improved.
Third, according to the embodiments of the present invention, when the input unit includes M physical input subunits, the correspondence parameter indicating a correspondence between the respective operation items and the M physical input subunits is determined based on the first holding position parameter. Accordingly, the display position of the object can be changed as the first holding position parameter changes. In this way, both the user experience and the user convenience can be improved.
While the present invention has been described with reference to the above embodiments, various modifications and alternatives can be made to these embodiments by those skilled in the art without departing from the gist of the present invention. The claims as attached are to be interpreted as covering the above embodiments and all the modifications and alternatives within the scope of the present invention.
Various modifications and alternatives can be made to the present invention without departing from the spirit and scope of the present invention. Thus, if such modifications and alternatives are covered by claims as attached and the equivalents thereof, these modifications and alternatives are to be encompassed by the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201210226823.7 | Jun 2012 | CN | national |