[go: up one dir, main page]

CN103197891B - Object displaying method and object display apparatus - Google Patents

Object displaying method and object display apparatus Download PDF

Info

Publication number
CN103197891B
CN103197891B CN201310121554.2A CN201310121554A CN103197891B CN 103197891 B CN103197891 B CN 103197891B CN 201310121554 A CN201310121554 A CN 201310121554A CN 103197891 B CN103197891 B CN 103197891B
Authority
CN
China
Prior art keywords
display mode
objects
switching
mode
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
CN201310121554.2A
Other languages
Chinese (zh)
Other versions
CN103197891A (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
Publication of CN103197891A publication Critical patent/CN103197891A/en
Application granted granted Critical
Publication of CN103197891B publication Critical patent/CN103197891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a kind of object displaying method and object display apparatus, for showing K the object stored in the storage medium of electronic equipment, described method comprises: obtain a switching command; And according to described switching command, be switched to the second display mode from the first display mode, or, be switched to described first display mode from described second display mode; Wherein, under described first display mode, show m object in a described K object; Under described second display mode, show n object in a described K object; Described K, m, n are integer, and 1≤m & lt; N≤K.

Description

Object display method and object display device
The present application is a divisional application of an invention patent application having an application date of 16/4/2010, an application number of 201010153030.8, and an invention name of "object display method, object switching method, and electronic device".
Technical Field
The present invention relates to the field of electronic devices, and in particular, to an object display method, an object switching method, and an electronic device.
Background
In electronic devices such as computers and mobile terminals, a plurality of objects such as pictures, audio files, contact information, and the like are generally stored in a certain order. When the user wants to switch the currently displayed object, a switch command is issued. The switch command may be a key-triggered command or, in case the electronic device is provided with a touch screen, a touch action, such as a sliding action. Generally, there are two ways of switching in response to the handover command.
In the first switching mode, the electronic device switches the currently displayed object to the next or previous adjacent object. However, in the case where the number of objects is large, if the user wants to switch to an object farther from the currently displayed object, it is necessary to issue a switching command a plurality of times, resulting in low efficiency and inconvenience for the user to use.
In the second switching mode, the electronic device switches according to the speed of the sliding motion or the duration of the key, for example. If the sliding speed is fast or the key duration is long, the electronic device switches the display to an object farther from the currently displayed object, and if the sliding speed is slow or the key duration is short, the electronic device switches the display to an object closer to the currently displayed object. However, since the switching manner depends on the speed of the touch action of the user or the duration of the key, the requirement on the operation capability of the user is high. In some cases, the user may wish to switch the display to the next object or the previous object, but the user may not know the determination criteria of the electronic device for the sliding speed or the key duration, which may result in too fast sliding speed or too long key duration, and the electronic device may switch the display to a non-adjacent object that is farther away from the currently displayed object, resulting in more misoperation and inconvenient use for the user.
Disclosure of Invention
The invention provides an object display method, an object switching method and electronic equipment, which can enable a user to switch and display a plurality of objects stored in the electronic equipment in different modes through simple operation according to needs, thereby realizing the improvement of viewing efficiency and the reduction of misoperation and improving user experience.
According to an aspect of the present invention, an object switching method for switching K objects [ D ] stored in a storage medium of an electronic device1,…,DK]The method includes: obtaining a switching command; according to the switching command, switching from a first mode to a second mode, or switching from the second mode to the first mode; wherein, in the first mode, when a first input command is obtained, each currently displayed object D is displayed according to the input parameter information of the first input commandjSwitch to Dj-1Or Dj+1(ii) a In the second mode, when a second input command is obtained, each currently displayed object D is displayed according to the input parameter information of the second input commandjSwitch to Dj-NOr Dj+N(ii) a K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
Preferably, the electronic device includes a touch screen, and the switching command, the first input command, and the second input command are issued by touching the touch screen.
Preferably, the input parameter information of the first input command includes a direction of a touch action, and the input parameter information of the second input command includes one of a force, a length, and a speed and a direction of the touch action.
Preferably, in case that the current mode is the first mode, a duration of touching the first predetermined area on the touch screen is detected, and if the duration exceeds a predetermined time period, switching to the second mode is performed.
Preferably, in a case where the current mode is the second mode, if it is detected that a second predetermined area on the touch screen is touched, switching to the first mode is performed.
According to another aspect of the present invention, an object display method for displaying K objects stored in a storage medium of an electronic device, the method includes: obtaining a switching command; according to the switching command, switching from a first display mode to a second display mode, or switching from the second display mode to the first display mode; wherein in the first display mode, m objects of the K objects are displayed; displaying n objects of the K objects in the second display mode; the K, m and n are integers, and m is more than or equal to 1 and n is more than or equal to n and less than or equal to K.
Preferably, the electronic device includes a touch screen, and the switching command is issued by touching the touch screen.
Preferably, in a case where the current display mode is the first display mode, a duration of touching a first predetermined area on the touch screen is detected, and if the duration exceeds a predetermined time period, switching is made to the second display mode.
Preferably, in a case where the current display mode is the second display mode, if it is detected that the second predetermined area on the touch screen is touched, switching to the first display mode.
According to another aspect of the invention, an electronic device having a storage medium storing K objects [ D ]1,…,DK]The electronic device includes: obtainA fetching unit for obtaining a switching command; a mode switching unit, configured to switch from a first mode to a second mode or from the second mode to the first mode according to the switching command; wherein, in the first mode, when a first input command is obtained through an obtaining unit, each currently displayed object D is displayed according to input parameter information of the first input commandjSwitch to Dj-1Or Dj+1(ii) a In the second mode, when a second input command is obtained through the obtaining unit, each object D currently displayed is displayed according to the input parameter information of the second input commandjSwitch to Dj-NOr Dj+N(ii) a K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
Preferably, the electronic device includes a touch screen, and the switching command, the first input command, and the second input command are issued by touching the touch screen.
Preferably, the input parameter information of the first input command includes a direction of a touch action, and the input parameter information of the second input command includes one of a force, a length, and a speed and a direction of the touch action.
Preferably, the mode switching unit is further configured to detect a duration of touching a first predetermined area on the touch screen if the current mode is the first mode, and switch to the second mode if the duration exceeds a predetermined time period.
Preferably, the mode switching unit is further configured to switch to the first mode if it is detected that a second predetermined area on the touch screen is touched, if the current mode is the second mode.
According to another aspect of the present invention, an object display apparatus for displaying K objects stored in a storage medium of an electronic device, the object display apparatus includes: an acquisition unit for acquiring a switching command; and a switching unit for switching from a first display mode to a second display mode or from the second display mode to the first display mode according to the switching command; wherein in the first display mode, m objects of the K objects are displayed; displaying n objects of the K objects in the second display mode; the K, m and n are integers, and m is more than or equal to 1 and n is more than or equal to n and less than or equal to K.
Preferably, the electronic device includes a touch screen, and the switching command is issued by touching the touch screen.
Preferably, the switching unit is further configured to detect a duration of touching the first predetermined area on the touch screen if the current display mode is the first display mode, and switch to the second display mode if the duration exceeds a predetermined time period.
Preferably, the switching unit is further configured to switch to the first display mode if it is detected that the second predetermined area on the touch screen is touched, in a case where the current display mode is the second display mode.
Preferably, the electronic device comprises a mobile terminal or a portable computer.
According to the embodiment of the invention, a user can switch and display the plurality of objects stored in the electronic equipment in different modes through simple operation according to needs, so that the improvement of the viewing efficiency and the reduction of misoperation are realized, and the user experience is improved.
Drawings
FIG. 1 is a flowchart of an object switching method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an object display method according to another embodiment of the present invention;
FIG. 3 is a flowchart of an object switching method according to another embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device according to another embodiment of the invention;
FIG. 5 is a block diagram of an electronic device according to another embodiment of the invention;
FIG. 6 is a block diagram of an electronic device according to another embodiment of the invention;
FIGS. 7A and 7B are schematic diagrams of display during object switching by an electronic device according to an embodiment of the present invention; and
fig. 8A and 8B are schematic display diagrams of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solution of the present invention is described in more detail below with reference to the accompanying drawings and examples.
Referring to fig. 1, fig. 1 is a flowchart of an object switching method for switching K objects [ D ] stored in a storage medium of an electronic device according to an embodiment of the present invention1,…,DK]And comprises the following steps:
step S101: obtaining a switching command;
step S102: according to the switching command, switching from a first mode to a second mode, or switching from the second mode to the first mode;
wherein,
in the first mode, when a first input command is obtained, each currently displayed object D is displayed according to the input parameter information of the first input commandjSwitch to Dj-1Or Dj+1
In the second mode, when a second input command is obtained, each currently displayed object D is displayed according to the input parameter information of the second input commandjSwitch to Dj-NOr Dj+N
K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
By the embodiment of the invention, when the electronic equipment obtains the switching command, the electronic equipment can be switched from the first mode to the second mode, or can be switched from the second mode to the first mode. Thus, the user can switch the current mode to the desired mode by a simple switching command, such as a key action-triggered command or a touch action-triggered command.
Therefore, when the user wants to view the objects one by one, the electronic device can switch to the first mode, and in the first mode, the electronic device switches each currently displayed object to the previous object or the next object adjacent to the currently displayed object according to the input parameter information of the first input command input by the user, so that the possibility of misoperation is reduced; under the condition that the number of the objects is large and a user wants to view the whole object, the electronic equipment can be switched to a second mode, in the second mode, each currently displayed object is respectively switched to the objects which are separated from the currently displayed object by N objects according to input parameter information of a second input command input by the user, and the value of N is determined according to the input parameter information of the second input command, so that the efficiency of the user for viewing the objects is improved. Therefore, according to the embodiment of the invention, a user can switch and display a plurality of objects stored in the electronic equipment in different modes through simple operation according to needs, so that the improvement of the viewing efficiency and the reduction of misoperation are realized, and the user experience is improved.
Hereinafter, embodiments of the present invention will be described in more detail by taking an electronic device including a touch panel as an example.
In this embodiment, when the user wants to switch the current mode, a switch command is issued by a touch action on a touch screen in the electronic device.
In case the current mode is a first mode, which will be described in more detail below, the switching takes place, for example, by: detecting a duration of touching a first predetermined area on the touch screen, and switching to a second mode if the duration exceeds a predetermined time period. The first predetermined area is, for example, an object display area on the touch screen in the first mode. Alternatively, the first predetermined area may be any area preset or customized by the electronic device. The predetermined time period may be any time period preset by the electronic device or customized by a user.
In case the current mode is a second mode, which will be described in more detail below, the switching takes place, for example, by: and detecting whether a second preset area on the touch screen is touched, and switching to the first mode if the touch of the second preset area on the touch screen is detected. The second predetermined area is, for example, an area other than the object display area on the touch screen in the second mode. Alternatively, the second predetermined area may be any area preset or customized by the electronic device.
Furthermore, it should be noted that the switching is not limited to occur in the two ways described above. For example, in the case where the current mode is the first mode, the switching may occur by detecting a touch to a first predetermined area on the touch screen; in the case where the current mode is the second mode, the switching may occur by detecting that a second predetermined area on the touch screen is touched for more than a predetermined period of time. The switching may also occur by any touch gesture preset or customized by the electronic device.
Wherein, in the first mode, when a first input command is obtained, each currently displayed object D is displayed according to the input parameter information of the first input commandj(j is more than or equal to 1 and less than or equal to K) is switched to the previous object Dj-1Or the next object Dj+1
Wherein the first input command is generated, for example, by a sliding motion on the touch screen. Alternatively, the first input command may be generated by any touch gesture different from the gesture generating the above-described switching command, such as a pressing action on a predetermined input area on the touch screen. The first input command may also be a command based on a key operation.
The input parameter information is, for example, a direction of sliding, a pressed region, or an operation of a predetermined key. And the electronic equipment determines the direction of object switching according to the input parameter information of the first input command, so as to determine whether each object in the currently displayed objects is switched to the adjacent previous object or next object. It is noted that any method may be used by those skilled in the art to determine the direction of object switching based on the input parameter information, which is included in the scope of the present invention.
Further, it is preferable that a certain object D among the currently displayed objectsjFor K objects [ D ] stored in memory1,…,DK]Last object D inKIn case (i.e., when j = K), when the input parameter information of the first input command indicates to switch the currently displayed object to the next object, if K objects are stored in the electronic device in a non-end-to-end manner (non-cyclic manner), the electronic device may not switch the currently displayed object; alternatively, if K objects are stored in the electronic device in an end-to-end manner (round robin manner), that is, in this case, object DKAnd object D1When adjacent, the electronic device can convert the object DjSwitch to the first object D among the K objects1(i.e., D)j+1=D1)。
Similarly, a certain object D among the currently displayed objectsjFor K objects [ D ] stored in memory1,…,DK]The first object D in1When the input parameter information of the first input command indicates to switch the currently displayed object to the previous object, if the electronic device is not connected end to end (i.e. when j = 1)Storing K objects in a mode, so that the electronic equipment can not switch the currently displayed objects; alternatively, if K objects are stored in the electronic device end-to-end, that is, in this case, object DKAnd object D1When adjacent, the electronic device can convert the object DjSwitch to the last object D among the K objectsK(i.e., D)j-1=DK)。
Therefore, in the first mode, the electronic device switches each object currently displayed to an adjacent previous object or next object according to the first input command.
In addition, in the second mode, when a second input command is obtained, each object D currently displayed is displayed according to input parameter information of the second input commandjSwitch to Dj-NOr Dj+N(ii) a K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
The second input command is generated, for example, by a sliding action on the touch screen, similar to the first input command described above. Alternatively, the second input command may be generated by any touch gesture different from the above-described toggle command, such as a pressing action on a predetermined input area on the touch screen. The second input command may also be a command based on a key operation. The input parameter information includes, for example, a direction of sliding, a pressed region, or an operation of a predetermined key. In addition, the input parameter information further includes at least one of a length, a force, and a speed of the slide.
The electronic equipment determines each object D in the objects to be displayed currently according to the input parameter information of the second input commandjSwitch to Dj-NOr Dj+N. Specifically, the electronic device determines the value of N according to at least one of the sliding length, the force, the speed, and the like included in the input parameter information, and determines the value of N according to at least one of the sliding direction, the pressed region, the operation of a predetermined key, and the like included in the input parameter informationDetermining the direction of switching, thereby determining the object DjSwitch to Dj-NOr Dj+N. It is noted that any method may be used by those skilled in the art to determine the direction of object switching and the value of N based on the input parameter information, which is included in the scope of the present invention.
Further, it is preferable that after the value of N is determined, D is determined for a certain object among the objects currently displayed at the electronic devicejUnder the condition that j + N-1 is judged to be larger than or equal to K, if K objects are stored in the electronic equipment in a non-end-to-end connection mode, the electronic equipment does not need to switch the currently displayed objects; alternatively, if K objects are stored in the electronic device end-to-end, that is, in this case, object DKAnd object D1When adjacent, the electronic device can convert the object DjSwitch to D(j+N) mod(K)That is, Dj+1=D(j+N)mod(K)Wherein mod (K) represents the remainder operation with K as the divisor.
Similarly, after determining the value of N, D is determined at the electronic device for a certain object among the currently displayed objectsjUnder the condition that j-N +1 is judged to be not more than K, if K objects are stored in the electronic equipment in a non-end-to-end connection mode, the electronic equipment does not need to switch the currently displayed objects; alternatively, if K objects are stored in the electronic device end-to-end, that is, in this case, object DKAnd object D1When adjacent, the electronic device can convert the object DjSwitch to D︱j-N︱mod(K)That is, Dj+1=D︱j-N︱mod(K)Wherein | j-N | represents the absolute value of (j-N), and mod (K) represents the remainder operation by taking K as divisor.
Therefore, in the second mode, the electronic device switches each object currently displayed to objects N objects away therefrom according to the second input command, N ≧ 1 as described above.
It is to be noted that the above describes the embodiments of the present invention by taking an electronic device including a touch screen as an example. However, the present invention is not limited thereto, and the switching command, the first input command, and the second input command may be issued by using keys of the electronic device. In this case, the input parameter information of the first input command and the second input command includes, for example, a predetermined key indicating a switching direction, a duration of the key, and the like.
Therefore, with the above-described embodiment of the present invention, in the case where the user wants to view the objects one by one, it is possible to switch to the first mode; under the condition that the number of the objects is large and the user wants to check the whole object, the user can switch to the second mode, so that the user can switch and display a plurality of objects stored in the electronic equipment in different modes through simple operation according to needs, the checking efficiency is improved, misoperation is reduced, and the user experience is improved.
Referring to fig. 2, fig. 2 is a flowchart of an object display method according to an embodiment of the present invention, the object display method is used for displaying K objects stored in a storage medium of an electronic device, and includes the following steps:
step S201: obtaining a switching command;
step S202: according to the switching command, switching from a first display mode to a second display mode, or switching from the second display mode to the first display mode;
wherein,
in the first display mode, displaying m objects of the K objects;
displaying n objects of the K objects in the second display mode;
the K, m and n are integers, and m is more than or equal to 1 and n is more than or equal to n and less than or equal to K.
Similar to the above-described embodiment, when the user wants to switch the current display mode, a switch command is issued by a touch action to the touch screen in the electronic apparatus. In the case where the current display mode is the first display mode, the switching occurs, for example, by: detecting a duration of touching a first predetermined area on the touch screen, and switching to a second display mode if the duration exceeds a predetermined time period. The first predetermined area is, for example, an object display area on the touch screen in the first display mode. Alternatively, the first predetermined area may be any area preset or customized by the electronic device. The predetermined time period may be any time period preset by the electronic device or customized by a user.
In the case where the current display mode is the second display mode, the switching occurs, for example, by: and detecting whether a second preset area on the touch screen is touched, and switching to a first display mode if the touch of the second preset area on the touch screen is detected. The second predetermined area is, for example, an area other than the object display area on the touch screen in the second mode. Alternatively, the second predetermined area may be any area preset or customized by the electronic device.
Furthermore, it should be noted that the switching is not limited to occur in the two ways described above. For example, in the case where the current display mode is the first display mode, the switching may occur by detecting that a first predetermined area on the touch screen is touched; the switching may occur by detecting that a second predetermined area on the touch screen is touched for a duration exceeding a predetermined time period in a case where the current display mode is the second display mode. The switching may also occur by any touch gesture preset or customized by the electronic device.
As described above, in the first display mode, m objects of the K objects are displayed; in a second display mode, n objects of the K objects are displayed, where n > m. That is, the number of objects displayed differs in the two display modes, which can be achieved by a change in the entire object display area or a change in the display size of each object.
Therefore, according to the embodiment of the invention, the user can check different numbers of objects through two display modes by simple operation, so that fewer objects or more objects can be displayed according to the user requirement, the operation of the user is facilitated, and the user experience is improved.
Further, it is preferable that, after switching from the first display mode to the second display mode, m objects displayed last in the first display mode immediately before the switching occurs are included among the n objects currently displayed in the second display mode, and the m objects are highlighted in such a manner as to be distinguished from the other objects among the n objects currently displayed, for example, highlighted, enlarged, centered, and the like. Thus, after switching to the second display mode, the user can recognize the positions of the m objects in the entire objects that were previously displayed in the first display mode. Further, after switching from the second display mode to the first display mode, at least one object among the n objects displayed last in the second display mode immediately before the switching occurs is included among the m objects currently displayed in the first display mode and is highlighted in such a manner as highlighting, enlarging, centering, or the like. Therefore, the continuity of the viewing operation in the two display modes is ensured, and the user experience is improved.
It is to be noted that the above describes the embodiments of the present invention by taking an electronic device including a touch screen as an example. However, the present invention is not limited thereto, and the switching command may be issued by using a key of the electronic device.
Referring now to fig. 3, fig. 3 is a flowchart of an object switching method according to another embodiment of the present invention, the method is used in an electronic device, and the storage medium of the electronic device stores K objects [ D ]1,…,DK]And the mode in which the electronic device is currently located is any one of a first mode and a second mode, the method comprising the steps of:
step S301: obtaining a command;
step S302: judging whether the command is a switching command or an input command;
as described above with reference to fig. 1, in the case where the electronic device includes a touch screen, the switch command and the first input command may be issued by two touch gestures different from each other. Further, in a case where the electronic apparatus includes a key, the switching command and the first input command may be issued by operations of two keys different from each other. Methods for detecting and determining touch gestures and key operations are known to those skilled in the art and will not be described in detail herein.
Step S303: switching a current mode to the other of the first mode and the second mode if the command is a switch command;
that is, in the case where the current mode is the first mode, switching to the second mode; and switching to the first mode when the current mode is the second mode.
Step S304: in case the command is an input command, switching of the display object is performed according to the current mode.
Specifically, in the case where the current mode is the first mode, each object D to be currently displayed is based on the input parameter information of the input command (corresponding to the first input command described above with reference to fig. 1 at this time)jSwitch to Dj-1Or Dj+1(ii) a In the case where the current mode is the second mode, each object D to be currently displayed is determined according to the input parameter information of the input command (corresponding to the second input command described above with reference to fig. 1 at this time)jSwitch to Dj-NOr Dj+N. Wherein K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
In the above embodiments, the meanings of the switch command, the input command, the first mode and the second mode, and the related operations have been described in detail above with reference to fig. 1 and will not be repeated here.
According to the embodiment of the invention, when the user inputs a command, the electronic equipment can judge the type of the command and switch the current mode or correspondingly switch the displayed object in the current mode according to the judgment result, thereby facilitating the operation of the user.
An electronic apparatus according to an embodiment of the present invention is described below with reference to fig. 4 to 6.
Fig. 4 is a block diagram of an electronic device 400 according to another embodiment of the invention. The storage medium of the electronic device 400 stores K objects. The electronic device 400 includes:
an obtaining unit 401, configured to obtain a switching command;
a mode switching unit 402, configured to switch from a first mode to a second mode or switch from the second mode to the first mode according to the switching command;
wherein,
in the first mode, when a first input command is obtained through the obtaining unit 401, each object D currently displayed is displayed according to input parameter information of the first input commandjSwitch to Dj-1Or Dj+1
In the second mode, when a second input command is obtained through the obtaining unit 401, each object D currently displayed is displayed according to input parameter information of the second input commandjSwitch to Dj-NOr Dj+N
K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
Therefore, through the electronic equipment provided by the embodiment of the invention, under the condition that a user wants to view objects one by one, the electronic equipment can be switched to the first mode; under the condition that the number of the objects is large and the user wants to check the whole object, the user can switch to the second mode, so that the user can switch and display a plurality of objects stored in the electronic equipment in different modes through simple operation according to needs, the checking efficiency is improved, misoperation is reduced, and the user experience is improved.
Fig. 5 is a block diagram of an electronic device 500 according to another embodiment of the invention. The storage medium of the electronic device 500 stores K objects. The electronic device 500 includes:
an obtaining unit 501, configured to obtain a switching command; and
a switching unit 502, configured to switch from a first display mode to a second display mode or switch from the second display mode to the first display mode according to the switching command;
wherein,
in the first display mode, displaying m objects of the K objects;
displaying n objects of the K objects in the second display mode;
the K, m and n are integers, and m is more than or equal to 1 and n is more than or equal to n and less than or equal to K.
Therefore, through the electronic equipment provided by the embodiment of the invention, a user can check different numbers of objects through two display modes by simple operation, so that fewer objects or more objects can be displayed according to the user requirement, the operation of the user is facilitated, and the user experience is improved.
Fig. 6 is a block diagram of an electronic device 600 according to another embodiment of the invention. Storing K objects [ D ] in a storage medium of the electronic device 6001,…,DK]And the mode in which the electronic device 600 is currently located is any one of the first mode and the second mode. The electronic device 600 includes:
an obtaining unit 601, configured to obtain a command;
a judging unit 602, configured to judge whether the command is a switch command or an input command;
a mode switching unit 603 configured to switch a current mode to the other of the first mode and the second mode if the command is a switch command;
an object switching unit 604 for performing switching of the display object according to the current mode in a case where the command is an input command.
Specifically, in the case where the current mode is the first mode, each object D to be currently displayed is based on the input parameter information of the input command (corresponding to the first input command described above with reference to fig. 1)jSwitch to Dj-1Or Dj+1(ii) a In the case that the current mode is the second mode, each object D to be currently displayed is determined according to the input parameter information of the input command (corresponding to the second input command described above with reference to fig. 1)jSwitch to Dj-NOr Dj+N. Wherein K, j and N are integers, K is more than or equal to 1, N is more than or equal to 1, and j is more than or equal to 1 and less than or equal to K.
Through the electronic equipment of the embodiment of the invention, when a user inputs a command, the electronic equipment can judge the type of the command and switch the current mode or correspondingly switch the displayed object in the current mode according to the judgment result, thereby facilitating the operation of the user.
Reference is now made to the schematic illustrations of fig. 7 and 8. Fig. 7A and 7B are schematic display diagrams when switching objects is performed by using the electronic apparatus according to the embodiment of the present invention. Assume that objects A, B, C, D, E, F, G and H are stored in the electronic device in order. As shown in fig. 7A, the currently displayed object is C. It is assumed that the switching direction corresponding to the leftward sliding of the user on the touch screen using the finger is switching to the direction of the object D side, and the switching command corresponding to the rightward sliding is switching to the direction of the object B side.
Under the condition that the electronic equipment is in the first mode currently, if a user slides leftwards on the touch screen by using a finger, the currently displayed object C is switched to D; if the user slides left on the touch screen using a finger, the currently displayed object C will be switched to B. In this case, for example, if the user presses the region on the touch screen where the object C is displayed for more than a predetermined period of time, the electronic apparatus will be switched to the second mode. In this case, if the user slides to the left on the touch screen using a finger, the electronic device switches the currently displayed object C to the object D side by N objects, where the value of N is determined according to the length of the user slide, for example. For example, the longer the sliding length, the larger N. As another example, the value of N is determined based on the speed at which the user is sliding. The faster the sliding speed, the larger N. Assuming N =3, the currently displayed object will switch to F. Assuming N =6, if the objects a-H are stored non-end-to-end, the electronic device will not switch the object display, i.e., object C is still displayed. And if the objects A-H are stored end to end, the electronic equipment switches the currently displayed object C into the object A. When the electronic device is in the second mode, for example, if the user presses a rectangular area above the touch screen, the electronic device will be switched to the first mode.
It should be noted that, in the electronic device according to the embodiment of the present invention, in both the first mode and the second mode, the object currently displayed by the electronic device is not limited to one object, but may be a plurality of objects. The case where a plurality of objects are currently displayed is shown in fig. 7B, in which five objects C, D, E, F and G are displayed. The operation of FIG. 7B is similar to that of FIG. 7A and will not be described in detail herein.
Fig. 8A and 8B are schematic display diagrams of an electronic device according to an embodiment of the invention. FIG. 8A illustrates a first display mode in which 1 object C of objects A-H is displayed. In this display mode, for example, if the user presses the area on the touch screen where object C is displayed for more than a predetermined period of time, the electronic device will be switched to the second display mode. Fig. 8B illustrates the second display mode in which 5 objects A, B, C, D and E of the objects a-H are displayed and the last displayed object C in the first display mode is displayed centered and enlarged before switching. In this display mode, for example, if the user presses a rectangular area above the touch screen, the electronic device will be switched to the first display mode.
It should be noted that the electronic device in the embodiments of the present invention may include a mobile terminal, a portable computer, or the like.
Finally, it should also be noted that, in the present specification, 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.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and certainly may be implemented by hardware, but in many cases, the former is a better embodiment. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
The present invention has been described in detail, and the principle and embodiments of the present invention are explained herein by using specific examples, which are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (5)

1. An object display method for displaying K objects stored in a storage medium of an electronic device, the method comprising:
obtaining a switching command; and
according to the switching command, switching from a first display mode to a second display mode, or switching from the second display mode to the first display mode;
wherein,
in the first display mode, displaying m objects of the K objects;
displaying n objects of the K objects in the second display mode;
k, m and n are integers, and m is more than or equal to 1 and n is more than or equal to n and less than or equal to K
Detecting a duration of touching a first predetermined area on a touch screen of the electronic device in a case that a current display mode is a first display mode, and switching to a second display mode if the duration exceeds a predetermined time period, wherein the first predetermined area is an object display area on the touch screen in the first mode;
upon switching from the first display mode to the second display mode, m objects displayed last in the first display mode immediately before the switching occurs are included among n objects currently displayed in the second display mode, and the m objects are highlighted;
after switching from the second display mode to the first display mode, at least one object among n objects displayed last in the second display mode immediately before the switching occurs is included and highlighted among m objects currently displayed in the first display mode.
2. The object display method of claim 1, wherein if it is detected that a second predetermined area on a touch screen of the electronic device is touched in a case that the current display mode is the second display mode, switching to the first display mode.
3. An object display apparatus for displaying K objects stored in a storage medium of an electronic device, the object display apparatus comprising:
an acquisition unit for acquiring a switching command; and
the switching unit is used for switching from a first display mode to a second display mode or switching from the second display mode to the first display mode according to the switching command;
wherein,
in the first display mode, displaying m objects of the K objects;
displaying n objects of the K objects in the second display mode;
k, m and n are integers, and m is more than or equal to 1 and n is more than or equal to n and less than or equal to K
Detecting a duration of touching a first predetermined area on a touch screen of the electronic device in a case that a current display mode is a first display mode, and switching to a second display mode if the duration exceeds a predetermined time period, wherein the first predetermined area is an object display area on the touch screen in the first mode;
upon switching from the first display mode to the second display mode, m objects displayed last in the first display mode immediately before the switching occurs are included among n objects currently displayed in the second display mode, and the m objects are highlighted;
after switching from the second display mode to the first display mode, at least one object among n objects displayed last in the second display mode immediately before the switching occurs is included and highlighted among m objects currently displayed in the first display mode.
4. The object display apparatus of claim 3, the switching unit further configured to switch to the first display mode if it is detected that a second predetermined area on the touch screen of the electronic device is touched, in a case where the current display mode is the second display mode.
5. The object display apparatus of claim 3, the electronic device comprising a mobile terminal or a portable computer.
CN201310121554.2A 2010-04-16 2010-04-16 Object displaying method and object display apparatus Active CN103197891B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101530308A CN102221958B (en) 2010-04-16 2010-04-16 Object display method, object switching method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2010101530308A Division CN102221958B (en) 2009-09-29 2010-04-16 Object display method, object switching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103197891A CN103197891A (en) 2013-07-10
CN103197891B true CN103197891B (en) 2015-11-25

Family

ID=44778521

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310121554.2A Active CN103197891B (en) 2010-04-16 2010-04-16 Object displaying method and object display apparatus
CN2010101530308A Active CN102221958B (en) 2009-09-29 2010-04-16 Object display method, object switching method and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN2010101530308A Active CN102221958B (en) 2009-09-29 2010-04-16 Object display method, object switching method and electronic equipment

Country Status (1)

Country Link
CN (2) CN103197891B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9298496B2 (en) 2011-11-02 2016-03-29 Beijing Lenovo Software Ltd. Data processing device, operation mode switching method and data displaying method thereof
CN104035705B (en) * 2013-03-07 2018-04-17 腾讯科技(深圳)有限公司 Client, the method and system of switch view display pattern
CN104062909A (en) * 2013-03-19 2014-09-24 海尔集团公司 Household appliance equipment and control device and method thereof
CN103870196B (en) * 2014-03-06 2018-02-09 美卓软件设计(北京)有限公司 A kind of method and device for switching object
KR102311221B1 (en) * 2014-04-28 2021-10-13 삼성전자주식회사 operating method and electronic device for object
CN104281407A (en) * 2014-07-01 2015-01-14 上海凡诚软件有限公司 Operating method of touch screen with special display effect
JP6669067B2 (en) * 2014-08-27 2020-03-18 ソニー株式会社 Display control device, display control method, and program
CN106249998A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 The lookup method of a kind of application program and device
CN110196654B (en) * 2019-05-10 2022-12-27 网易(杭州)网络有限公司 Virtual resource selection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567140A (en) * 2003-06-10 2005-01-19 仁宝电脑工业股份有限公司 A method and device for quickly switching the operation mode of a touch device
CN1910577A (en) * 2004-01-15 2007-02-07 松下电器产业株式会社 Image file list display device
CN101615101A (en) * 2008-06-25 2009-12-30 启碁科技股份有限公司 Control method for electronic device with touch screen and control interface thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3998376B2 (en) * 1999-09-10 2007-10-24 富士通株式会社 Input processing method and input processing apparatus for implementing the same
US8509854B2 (en) * 2007-09-18 2013-08-13 Lg Electronics Inc. Mobile terminal and method of controlling operation of the same
CN101162420B (en) * 2007-11-29 2010-12-15 天津津科电子系统工程有限公司 Rotary type continuously speed changing browsing and search method based on touch screen
CN101685370A (en) * 2008-09-26 2010-03-31 联想(北京)有限公司 Method, device and electronic aid for browse control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567140A (en) * 2003-06-10 2005-01-19 仁宝电脑工业股份有限公司 A method and device for quickly switching the operation mode of a touch device
CN1910577A (en) * 2004-01-15 2007-02-07 松下电器产业株式会社 Image file list display device
CN101615101A (en) * 2008-06-25 2009-12-30 启碁科技股份有限公司 Control method for electronic device with touch screen and control interface thereof

Also Published As

Publication number Publication date
CN103197891A (en) 2013-07-10
CN102221958A (en) 2011-10-19
CN102221958B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN103197891B (en) Object displaying method and object display apparatus
US11561680B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
JP6226574B2 (en) Haptic feedback control system
US9158409B2 (en) Object determining method, object display method, object switching method and electronic device
EP3451134B1 (en) Application association processing method and apparatus
RU2666236C2 (en) Method of block display operation and terminal therefor
CN103309561B (en) Method and device for processing information
US20130120294A1 (en) Apparatus with touch screen for preloading multiple applications and method of controlling the same
KR102253453B1 (en) Method and device for creating a group
EP3021203A1 (en) Information processing device, information processing method, and computer program
US9357056B2 (en) Unlocking a device through user performed gesture
KR20110063409A (en) Split Screen Display Device and Method
KR20130099647A (en) Method and apparatus for controlling contents using side interface in user terminal
US20160139772A1 (en) Method and apparatus for component display processing
EP2660700A1 (en) Method, apparatus and computer program product for operating items with multiple fingers
CN104572322A (en) Method for operating terminal screen
KR20130097331A (en) Apparatus and method for selecting object in device with touch screen
CN105718130A (en) Page switching method and apparatus for lantern slides
CN107678813A (en) A kind of switching method and mobile terminal of the theme of desktop icons
CN103809841B (en) Data processing method and electronic equipment
CN103809895A (en) Mobile terminal and method capable of dynamically generating keys
WO2017088228A1 (en) Picture zooming method and apparatus
CN105389116A (en) Terminal application processing method and system for terminal equipment, terminal equipment
CN104699813A (en) A file browsing method applied to an intelligent terminal and the intelligent terminal
CN105573597B (en) List operation method and mobile terminal

Legal Events

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