CN105700762B - Method and device for displaying option information - Google Patents

Method and device for displaying option information Download PDF

Info

Publication number
CN105700762B
CN105700762B CN201410686210.0A CN201410686210A CN105700762B CN 105700762 B CN105700762 B CN 105700762B CN 201410686210 A CN201410686210 A CN 201410686210A CN 105700762 B CN105700762 B CN 105700762B
Authority
CN
China
Prior art keywords
target object
display area
user
option information
selection
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
CN201410686210.0A
Other languages
Chinese (zh)
Other versions
CN105700762A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410686210.0A priority Critical patent/CN105700762B/en
Publication of CN105700762A publication Critical patent/CN105700762A/en
Application granted granted Critical
Publication of CN105700762B publication Critical patent/CN105700762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for displaying option information, and belongs to the technical field of communication. The method comprises the following steps: acquiring an object selected by a user in a selection editing interface as a target object; acquiring selection item information corresponding to the target object and a display area where the target object is located in the selection editing interface according to the target object; and displaying the selection item information corresponding to the target object in the display area where the target object is located. The device comprises: the device comprises a first acquisition module, a second acquisition module and a first display module. According to the invention, the selection item information corresponding to the target object is displayed in the display area where the target object is located, and when the user selects the selection item information from the displayed selection item information, the finger of the user does not need to move downwards, and the selection item information is directly selected in the display area where the target object is located, so that the selection efficiency is improved.

Description

Method and device for displaying option information
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for displaying option information.
Background
Currently, many applications include a selection editing interface, the selection editing interface includes a plurality of objects, each object in the plurality of objects corresponds to a plurality of option information, and in the selection editing interface, a user can select option information for each object from the plurality of option information corresponding to each object to enable the application to implement a certain function.
When the user selects an object, the terminal displays a pull-down interface, and the pull-down interface comprises a plurality of selection item information corresponding to the object, so that the user can select the selection item information corresponding to the object from the plurality of selection item information. However, the pull-down menu is below the selected object, and when the user selects selection item information from the pull-down menu, the user's finger needs to move downward, thereby decreasing the selection efficiency.
Disclosure of Invention
In order to solve the problems of the prior art, the present invention provides a method and apparatus for displaying option information. The technical scheme is as follows:
in one aspect, the present invention provides a method of displaying option information, the method comprising:
acquiring an object selected by a user in a selection editing interface as a target object;
acquiring selection item information corresponding to the target object and a display area where the target object is located in the selection editing interface according to the target object;
and displaying the selection item information corresponding to the target object in the display area where the target object is located.
In another aspect, the present invention provides an apparatus for displaying option information, the apparatus comprising:
the first acquisition module is used for acquiring an object selected by a user in a selection editing interface as a target object;
the second acquisition module is used for acquiring the selection item information corresponding to the target object and the display area where the target object is located in the selection editing interface according to the target object;
and the first display module is used for displaying the selection item information corresponding to the target object in the display area where the target object is located.
In the invention, an object selected by a user in a selection editing interface is obtained as a target object; according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface; and displaying the selection item information corresponding to the target object in the display area where the target object is located. When the user selects the option information from the displayed option information, the user's finger does not need to move downwards, and the user directly selects the option information in the display area where the target object is located, thereby improving the selection efficiency.
Drawings
Fig. 1 is a flowchart of a method for displaying option information according to embodiment 1 of the present invention;
fig. 2-1 is a flowchart of a method for displaying option information according to embodiment 2 of the present invention;
fig. 2-2 is a schematic diagram of a selection editing interface provided in embodiment 2 of the present invention;
fig. 2-3 are schematic interface diagrams of the option information provided in embodiment 2 of the present invention displayed in a first preset animation;
fig. 2-4 are schematic diagrams of interfaces displaying selected corresponding option information provided in embodiment 2 of the present invention;
2-5 are schematic diagrams of interfaces displaying selected objects and selected option information provided in embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for displaying option information according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to embodiment 4 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example 1
The embodiment of the invention provides a method for displaying option information, and an execution main body of the method can be a terminal. Referring to fig. 1, wherein the method comprises:
step 101: acquiring an object selected by a user in a selection editing interface as a target object;
step 102: according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface;
step 103: and displaying the selection item information corresponding to the target object in the display area where the target object is located.
Acquiring an object selected by a user in a selection editing interface as a target object, wherein the acquisition comprises the following steps:
acquiring gesture operation operated by a user in a selection editing interface;
if the gesture operation is a preset gesture operation, acquiring a display area where a touch position of the gesture operation is located;
and acquiring an object in a display area where the touch position of the gesture operation is located, and taking the acquired object as a target object.
Preferably, displaying the option information corresponding to the target object in the display area where the target object is located includes:
and displaying the selection item information corresponding to the target object in a display area where the target object is located in a first preset animation display mode.
Preferably, after the information of the option corresponding to the target object is displayed in the display area where the target object is located, the method further includes:
acquiring option information selected by a user as target option information;
and displaying the target object and the target option information in a display area where the target object is located, and hiding other option information except the target option information in the option information corresponding to the target object.
Preferably, hiding the other option information except the target option information in the option information corresponding to the target object includes:
and other selection item information except the target selection item information in the selection item information corresponding to the target object disappears from the display area where the target object is located in a second preset animation mode.
In the invention, an object selected by a user in a selection editing interface is obtained as a target object; according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface; and displaying the selection item information corresponding to the target object in the display area where the target object is located. When the user selects the option information from the displayed option information, the user's finger does not need to move downwards, and the user directly selects the option information in the display area where the target object is located, thereby improving the selection efficiency.
Example 2
The embodiment of the invention provides a method for displaying option information, and an execution main body of the method can be a terminal. When a user wants to open a selection editing interface of a certain application of the terminal, the user clicks an icon of the selection editing interface of the application displayed by the terminal; the terminal acquires a display area for selecting a plurality of objects and each object in the plurality of objects included in an editing interface; and rendering each object in a display area corresponding to the object in the selection editing interface. The terminal stores the correspondence of each display area and each object, the correspondence of each display area and the position range of each display area, and the correspondence of each object and the selection item information corresponding to each object.
When a user wants to enable the terminal to display the option information, the user operates preset gesture operation in a selection editing interface displayed by the terminal, the terminal acquires the gesture operation operated by the user in the selection editing interface, acquires a display area where a touch position of the gesture operation is located and the option information corresponding to an object in the display area, and displays the acquired option information in the display area where the touch position of the gesture operation is located.
Referring to fig. 2-1, wherein the method comprises:
step 201: acquiring gesture operation operated by a user in a selection editing interface;
and the selection editing interface is used for selecting the object and displaying the selection item information corresponding to the selected object. The selection editing interface comprises a plurality of objects, each object in the plurality of objects corresponds to one display area, for example, referring to fig. 2-2, the published appointment selection editing interface comprises objects such as time, place, appointment object, type and other descriptions; a time corresponding area 1, a place corresponding area 2, an appointment object corresponding area 3, a type corresponding area 4, and other descriptions corresponding area 5.
When a user wants to select an object in the selection editing interface, the user can operate a preset gesture operation in a display area where the object is located in the selection editing interface. The terminal obtains the gesture operation operated by the user in the selection editing interface, and executes step 202.
The preset gesture operation may be a click operation, a slide operation, a long-press operation, or the like. For example, when the preset gesture operation is a click operation, when a user wants to select an object in a selection editing interface, the finger of the user clicks a display area where the object is located in the selection editing interface to trigger the click operation, and the terminal obtains the click operation operated by the user in the selection editing interface; for another example, when the preset gesture operation is a sliding operation, when a user wants to select an object in the selection editing interface, a finger of the user slides in a display area where the object is located in the selection editing interface to trigger the sliding operation, and the terminal obtains the sliding operation operated by the user in the selection editing interface; for another example, when the preset gesture operation is a long press operation, and when the user wants to select an object in the selection editing interface, the finger of the user long presses in the display area where the object is located in the selection editing interface to trigger the long press operation, and the terminal obtains the long press operation operated by the user in the selection editing interface.
For example, the preset gesture operation is a sliding operation, and the published appointment selection editing interface comprises objects such as time, place, appointment object, type and other descriptions; a time corresponding area 1, a place corresponding area 2, an appointment object corresponding area 3, a type corresponding area 4 and other description corresponding areas 5; when a user wants to select an appointment object in the published appointment selection editing interface, fingers of the user slide 2 centimeters to the left in a display area where the appointment object in the published appointment selection editing interface is located, namely an area 3, so as to trigger sliding operation, and the terminal obtains the sliding operation operated by the user in the published appointment selection editing interface.
Before the step, a user opens a setting interface, and inputs gesture operation to the terminal in the setting interface; the terminal receives gesture operation input by a user in the setting interface, and the gesture operation input by the user in the setting interface is set to be preset gesture operation, so that the preset gesture operation can be set according to the preference of the user, and the user requirements are met.
Step 202: if the gesture operation is a preset gesture operation, acquiring a display area where a touch position of the gesture operation is located;
wherein, step 202 can be realized by the following steps (1) to (4), including:
(1): judging whether the gesture operation operated by the user is preset gesture operation, if so, executing the step (2); if not, ending;
it should be noted that step (2) is an optional step, and if the gesture operation operated by the user is a preset gesture operation, step (2) may not be executed, and step (3) may be directly executed.
(2): judging whether the gesture operation operated by the user meets a preset condition, and executing the step (3) if the gesture operation operated by the user meets the preset condition; if the preset condition is not met, ending;
specifically, operation parameters of gesture operation operated by a user are obtained, whether the operation parameters of the gesture operation exceed a preset threshold value or not is judged, if the operation parameters of the gesture operation exceed the preset threshold value, the gesture operation is determined to meet preset conditions, and if not, the gesture operation is determined not to meet the preset conditions.
If the gesture operation is a long-press operation, the operation parameter of the long-press operation is the time for long-pressing the selection editing interface by the finger of the user, and if the gesture operation is a sliding operation, the operation parameter of the sliding operation is the direction for sliding the finger of the user on the selection editing interface, or the operation parameter of the sliding operation is the direction and the distance for sliding the finger of the user on the selection editing interface.
For example, the gesture operation is a long-press operation, and the step (2) specifically includes: acquiring the time for a user to select an editing interface by long-pressing the fingers; judging whether the time for the user to press the selection editing interface for the long time exceeds a preset threshold value or not, and if the time for the user to press the selection editing interface for the long time exceeds the preset threshold value, determining that the gesture operation operated by the user meets a preset condition; otherwise, determining that the gesture operation operated by the user does not meet the preset condition.
For another example, the gesture operation is a sliding operation, and the step (2) specifically includes: acquiring the sliding direction of the finger of the user on the selection editing interface, and judging whether the sliding direction of the finger of the user on the selection editing interface is the same as the preset direction; if the sliding direction of the fingers of the user on the selection editing interface is the same as the preset direction, determining that the gesture operation operated by the user meets the preset condition; otherwise, determining that the gesture operation operated by the user does not meet the preset condition.
Or, the step (2) is specifically: acquiring the sliding distance and the sliding direction of the finger of the user on the selection editing interface; judging whether the sliding distance of the finger of the user on the selection editing interface exceeds a preset threshold value and whether the sliding direction is the same as the preset direction, and if the sliding distance of the finger of the user on the selection editing interface exceeds the preset threshold value and the sliding direction is the same as the preset direction, determining that the gesture operation operated by the user meets the preset condition; otherwise, determining that the gesture operation operated by the user does not meet the preset condition.
The preset threshold value can be set and changed according to the size of the selected editing interface; the preset direction can be set and changed according to the needs of the user.
(3): acquiring a touch position of the gesture operation in a selection editing interface, and determining a touch position range of the gesture operation in the selection editing interface according to the touch position of the gesture operation in the selection editing interface;
specifically, a touch position of the gesture operation in the selection editing interface is obtained, and the touch position range of the gesture operation in the selection editing interface is determined according to the touch position of the gesture operation in the selection editing interface and a preset display area range.
(4): and acquiring a display area where the touch position of the gesture operation is located according to the touch position range of the gesture operation in the selection editing interface.
Specifically, according to the touch position range of the gesture operation in the selection editing interface, the display area where the touch position of the gesture operation is located is obtained from the corresponding relation between the touch position range and the display area.
For example, the gesture operation operated by the user is a sliding operation, the preset gesture operation is a sliding operation, the preset direction is left, and the preset threshold is 1 cm; the terminal determines that the gesture operation operated by the user is a preset gesture operation, and the direction in which the finger of the user slides on the selection editing interface is acquired by the terminal as follows: left; the sliding direction of the fingers of the user on the selection editing interface is the same as the preset direction; the sliding distance of the finger of the user on the selection editing interface is 2 cm, the sliding distance of the finger of the user on the selection editing interface exceeds a preset threshold value, it is determined that the gesture operation operated by the user meets a preset condition, and a display area where a touch position of the gesture operation is located is an area 3.
Step 203: acquiring an object in a display area where a touch position of the gesture operation is located as an object selected by a user in a selection editing interface, and taking the selected object as a target object;
specifically, according to the display area where the touch position of the gesture operation is located, the object in the display area where the touch position of the gesture operation is located is obtained from the corresponding relation between the display area and the object, the obtained object is used as the object selected by the user in the selection editing interface, and the selected object is used as the target object.
For example, the terminal stores the correspondence between the display area and the object in table 1 below:
TABLE 1
Display area Object
Region 1 Time of day
Region 2 Location of a site
Region 3 Appointment objects
Region 4 Type (B)
Region 5 Description of the other
And the terminal acquires an object corresponding to the area 3 from the table 1 according to the acquired area 3 as an appointment object, and the appointment object is used as an object selected by the user in the selection editing interface, namely the appointment object is used as a target object.
Step 204: according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface;
specifically, according to the target object, acquiring the option information corresponding to the target object from the corresponding relationship between the object and the option information corresponding to the object; and acquiring the display area where the target object is located in the selection editing interface from the corresponding relation between the display area and the target object according to the target object.
In this step, the display area where the touch position of the gesture operation is located may be directly used as the display area where the target object is located in the selection editing interface.
For example, according to the appointment object, the option information corresponding to the appointment object is acquired: the method comprises the following steps of limiting Hanzi, limiting sister and unlimited, and selecting a display area where an appointment object is located in an editing interface: and (3) a region.
Step 205: displaying the option information corresponding to the target object in a display area where the target object is located in a first preset animation display mode;
specifically, the size of an area for displaying the option information corresponding to the target object is obtained, and if the size of the area is larger than the size of a display area where the target object is located, part of the option information corresponding to the target object is displayed in the display area where the target object is located in a first preset animation display mode; and if the size of the area is not larger than the size of the display area where the target object is located, displaying the option information corresponding to the target object in the display area where the target object is located in a first preset animation display mode.
The size of the area for displaying the option information corresponding to the target object can be determined according to the number of characters contained in each option information corresponding to the target object.
When part of option information corresponding to the target object is displayed in the display area where the target object is located, a user can perform sliding operation in the display area where the target object is located; the terminal detects the sliding operation operated by a user in the display area where the target object is located, determines part of selection item information needing to be displayed according to the sliding direction and the sliding distance of the sliding operation, and displays the part of selection item information in the display area where the target object is located in a first preset animation display mode.
For example, the information of the partial selection items corresponding to the currently displayed target object is limited Hanzi and limited sister; the sliding direction of the sliding operation is leftward, the sliding distance is 1 cm, partial selection item information needing to be displayed is determined to be sister limit and unlimited according to the sliding direction and the sliding distance of the sliding operation, and the sister limit and unlimited are displayed in a display area where a target object is located in a first preset animation display mode.
Further, if the size of the area is larger than the size of the display area where the target object is located, a pull-down interface may also be displayed below the target object, and the selection item information corresponding to the target object is displayed in the pull-down interface.
The first preset animation may be a slide animation or a pop animation, etc. from right to left. For example, the option information corresponding to the target object slides out from the right side of the selection editing interface to the left, and is displayed in the display area where the target object is located. Or popping up the option information corresponding to the target object from the selection editing interface and displaying the option information in the display area where the target object is located.
In this step, the option information corresponding to the target object may not be displayed in the first preset animation display manner, and the option information corresponding to the target object may be directly displayed in the display area where the target object is located.
It should be noted that, when the option information corresponding to the target object is displayed in the display area where the target object is located in the first preset animation display manner, the target object may also be displayed in the display area where the target object is located, or the target object may also be hidden, which is not limited in the present invention.
For example, referring to FIGS. 2-3, the selection information corresponding to the appointment object is: and (3) sliding out the Hanzi, the sister and the unlimited part from the right side of the selection editing interface to the left, referring to the figures 2-4, and displaying the Hanzi, the sister and the unlimited part in a display area where the appointment object is located: in region 3.
Step 206: acquiring option information selected by a user as target option information;
specifically, the touch position of a user in a display area where a target object is located is obtained; and acquiring the option information corresponding to the touched position according to the touched position, taking the acquired option information as the option information selected by the user, and taking the selected option information as the target option information.
For example, when the user wants to select the sister, the user touches the position of the sister, and the terminal acquires the selection item information corresponding to the position touched by the user: and the sister limit is used as the selection item information selected by the user, namely the sister limit is used as the target selection item information.
Step 207: and displaying the target object and the target option information in a display area where the target object is located, and hiding other option information except the target option information in the option information corresponding to the target object.
The step of hiding the other option information except the target option information in the option information corresponding to the target object may be:
and other selection item information except the target selection item information in the selection item information corresponding to the target object disappears from the display area where the target object is located in a second preset animation mode.
The second preset animation may be a slide animation from left to right or a flick animation, etc. For example, other option information except the target option information in the option information corresponding to the target object is slid to the right from the left side of the selection editing interface. Or, the other option information except the target option information in the option information corresponding to the target object is popped from the selection editing interface.
In this step, the other option information except the target option information in the option information corresponding to the target object may not disappear in the second preset animation manner, and the other option information except the target option information in the option information corresponding to the target object may directly disappear from the display area where the target object is located.
For example, referring to fig. 2-5, the target object is an appointment object and the target option information is a girl; and the other selection item information except the target selection item information in the selection item information corresponding to the target object is limited Hanzi and unlimited. In this step, the target object is displayed in area 3: appointment object and target selection information: and limiting the sister, and selecting item information except the target selecting item information in the selecting item information corresponding to the target object: and the Chinese character are limited to slide to the right from the left side of the selection editing interface.
In the invention, an object selected by a user in a selection editing interface is obtained as a target object; according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface; and displaying the selection item information corresponding to the target object in the display area where the target object is located. When the user selects the option information from the displayed option information, the user's finger does not need to move downwards, and the user directly selects the option information in the display area where the target object is located, thereby improving the selection efficiency.
Example 3
An embodiment of the present invention provides an apparatus for displaying option information, referring to fig. 3, where the apparatus includes:
a first obtaining module 301, configured to obtain an object selected by a user in a selection editing interface as a target object;
a second obtaining module 302, configured to obtain, according to the target object, option information corresponding to the target object and a display area where the target object is located in the selection editing interface;
the first display module 303 is configured to display, in a display area where the target object is located, option information corresponding to the target object.
Preferably, the first obtaining module 301 includes:
the first acquisition unit is used for acquiring gesture operation operated by a user in the selection editing interface;
the second acquisition unit is used for acquiring a display area where a touch position of the gesture operation is located if the gesture operation is a preset gesture operation;
and the third acquisition unit is used for acquiring the object in the display area where the touch position of the gesture operation is located, and taking the acquired object as the target object.
Preferably, the first display module 303 is configured to display the option information corresponding to the target object in a display area where the target object is located in a first preset animation display manner.
Preferably, the apparatus further comprises:
the third acquisition module is used for acquiring the option information selected by the user as the target option information;
the second display module is used for displaying the target object and the target option information in the display area where the target object is located;
and the hiding module is used for hiding other selection item information except the target selection item information in the selection item information corresponding to the target object.
Preferably, the hiding module is configured to disappear, from the display area where the target object is located, other option information except the target option information in the option information corresponding to the target object in a second preset animation manner.
In the invention, an object selected by a user in a selection editing interface is obtained as a target object; according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface; and displaying the selection item information corresponding to the target object in the display area where the target object is located. When the user selects the option information from the displayed option information, the user's finger does not need to move downwards, and the user directly selects the option information in the display area where the target object is located, thereby improving the selection efficiency.
Example 4
Referring to fig. 4, a schematic structural diagram of a terminal with a touch-sensitive surface according to an embodiment of the present invention is shown, where the terminal may be used to implement the method for verification of an authentication code provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the terminal 900 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, audio circuitry 160, a WiFi (wireless fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 900, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 900, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal 900 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 900 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 900, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 900. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal 900.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 900 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and it provides wireless broadband internet access for the user. Although fig. 4 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 900 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 900 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal 900 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 180 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 900 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal 900 is a touch screen display, the terminal 900 further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring an object selected by a user in a selection editing interface as a target object;
acquiring selection item information corresponding to the target object and a display area where the target object is located in the selection editing interface according to the target object;
and displaying the selection item information corresponding to the target object in the display area where the target object is located.
Preferably, the acquiring an object selected by the user in the selection editing interface as a target object includes:
acquiring gesture operation operated by a user in a selection editing interface;
if the gesture operation is a preset gesture operation, acquiring a display area where a touch position of the gesture operation is located;
and acquiring an object in a display area where the touch position of the gesture operation is located, and taking the acquired object as a target object.
Preferably, the displaying the selection item information corresponding to the target object in the display area where the target object is located includes:
and displaying the selection item information corresponding to the target object in a display area where the target object is located in a first preset animation display mode.
Preferably, after the information of the option corresponding to the target object is displayed in the display area where the target object is located, the method further includes:
acquiring the option information selected by the user as target option information;
and displaying the target object and the target option information in a display area where the target object is located, and hiding other option information except the target option information in the option information corresponding to the target object.
Preferably, the hiding of the other option information except the target option information in the option information corresponding to the target object includes:
and other selection item information except the target selection item information in the selection item information corresponding to the target object disappears from the display area where the target object is located in a second preset animation mode.
In the invention, an object selected by a user in a selection editing interface is obtained as a target object; according to the target object, acquiring selection item information corresponding to the target object and a display area where the target object is located in a selection editing interface; and displaying the selection item information corresponding to the target object in the display area where the target object is located. When the user selects the option information from the displayed option information, the user's finger does not need to move downwards, and the user directly selects the option information in the display area where the target object is located, thereby improving the selection efficiency.
It should be noted that: in the device for displaying option information provided in the above embodiment, when displaying the option information, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus for displaying option information and the method for displaying option information provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method of displaying option information, the method comprising:
acquiring an object selected by a user in a selection editing interface as a target object;
acquiring selection item information corresponding to the target object and a display area where the target object is located in the selection editing interface according to the target object;
displaying the selection item information corresponding to the target object in a display area where the target object is located, wherein the displaying comprises: acquiring the size of an area for displaying the option information corresponding to the target object, and if the size of the area is larger than the size of a display area where the target object is located, displaying part of the option information corresponding to the target object in the display area where the target object is located in a first preset animation display mode; when part of selection item information corresponding to the target object is displayed in a display area where the target object is located, sliding operation operated by a user in the display area where the target object is located is detected, part of selection item information needing to be displayed is determined according to the sliding direction and the sliding distance of the sliding operation, and the part of selection item information is displayed in the display area where the target object is located in a first preset animation display mode.
2. The method of claim 1, wherein the obtaining the object selected by the user in the selection editing interface as the target object comprises:
acquiring gesture operation operated by a user in a selection editing interface;
if the gesture operation is a preset gesture operation, acquiring a display area where a touch position of the gesture operation is located;
and acquiring an object in a display area where the touch position of the gesture operation is located, and taking the acquired object as a target object.
3. The method of claim 1, wherein after the displaying of the option information corresponding to the target object in the display area where the target object is located, further comprising:
acquiring the option information selected by the user as target option information;
and displaying the target object and the target option information in a display area where the target object is located, and hiding other option information except the target option information in the option information corresponding to the target object.
4. The method of claim 3, wherein hiding the other option information except the target option information in the option information corresponding to the target object comprises:
and other selection item information except the target selection item information in the selection item information corresponding to the target object disappears from the display area where the target object is located in a second preset animation mode.
5. An apparatus for displaying option information, the apparatus comprising:
the first acquisition module is used for acquiring an object selected by a user in a selection editing interface as a target object;
the second acquisition module is used for acquiring the selection item information corresponding to the target object and the display area where the target object is located in the selection editing interface according to the target object;
the first display module is used for displaying the selection item information corresponding to the target object in the display area where the target object is located, and comprises: acquiring the size of an area for displaying the option information corresponding to the target object, and if the size of the area is larger than the size of a display area where the target object is located, displaying part of the option information corresponding to the target object in the display area where the target object is located in a first preset animation display mode; when part of selection item information corresponding to the target object is displayed in a display area where the target object is located, sliding operation operated by a user in the display area where the target object is located is detected, part of selection item information needing to be displayed is determined according to the sliding direction and the sliding distance of the sliding operation, and the part of selection item information is displayed in the display area where the target object is located in a first preset animation display mode.
6. The apparatus of claim 5, wherein the first obtaining module comprises:
the first acquisition unit is used for acquiring gesture operation operated by a user in the selection editing interface;
the second acquisition unit is used for acquiring a display area where a touch position of the gesture operation is located if the gesture operation is a preset gesture operation;
and the third acquisition unit is used for acquiring an object in a display area where the touch position of the gesture operation is located, and taking the acquired object as a target object.
7. The apparatus of claim 5, wherein the apparatus further comprises:
the third acquisition module is used for acquiring the option information selected by the user as target option information;
the second display module is used for displaying the target object and the target option information in a display area where the target object is located;
and the hiding module is used for hiding other selection item information except the target selection item information in the selection item information corresponding to the target object.
8. The apparatus of claim 7,
and the hiding module is used for enabling other selection item information except the target selection item information in the selection item information corresponding to the target object to disappear from the display area where the target object is located in a second preset animation mode.
CN201410686210.0A 2014-11-25 2014-11-25 Method and device for displaying option information Active CN105700762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410686210.0A CN105700762B (en) 2014-11-25 2014-11-25 Method and device for displaying option information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410686210.0A CN105700762B (en) 2014-11-25 2014-11-25 Method and device for displaying option information

Publications (2)

Publication Number Publication Date
CN105700762A CN105700762A (en) 2016-06-22
CN105700762B true CN105700762B (en) 2020-06-02

Family

ID=56940825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410686210.0A Active CN105700762B (en) 2014-11-25 2014-11-25 Method and device for displaying option information

Country Status (1)

Country Link
CN (1) CN105700762B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681593A (en) * 2016-12-30 2017-05-17 北京优朋普乐科技有限公司 Display control method and device for user interface UI control

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116468A (en) * 2013-03-12 2013-05-22 上海揆志网络科技有限公司 Touch control system and touch control method for managing files / folders

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5500936A (en) * 1993-03-12 1996-03-19 Asymetrix Corporation Multi-media slide presentation system with a moveable, tracked popup menu with button and title bars
KR101646922B1 (en) * 2009-05-19 2016-08-23 삼성전자 주식회사 Operation Method of associated with a communication function And Portable Device supporting the same
CN102855085B (en) * 2012-08-28 2015-04-08 广东欧珀移动通信有限公司 File operation method of electronic terminal
CN103019520B (en) * 2012-12-21 2017-05-17 魅族科技(中国)有限公司 Display method for optional item information of terminal application and terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116468A (en) * 2013-03-12 2013-05-22 上海揆志网络科技有限公司 Touch control system and touch control method for managing files / folders

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"手机屏幕熄灭时间怎么设置";百度经验;《https://jingyan.baidu.com/article/456c463b63f43d0a583144a8.html》;20140425;第1-5页 *

Also Published As

Publication number Publication date
CN105700762A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
CN105786878B (en) Display method and device of browsing object
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
CN105975190B (en) Graphical interface processing method, device and system
US20170199662A1 (en) Touch operation method and apparatus for terminal
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN105302452B (en) Operation method and device based on gesture interaction
CN104778055B (en) Method and device for displaying progress bar
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN109407949B (en) Display control method and terminal
JP2018504798A (en) Gesture control method, device, and system
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
US20150089431A1 (en) Method and terminal for displaying virtual keyboard and storage medium
CN106951143B (en) Method and device for hiding application icons
CN106371749A (en) Method and device for terminal control
WO2015010570A1 (en) A method, device, and terminal for hiding or un-hiding content
CN107479799B (en) Method and device for displaying window
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN105511597B (en) A kind of page control method and device based on browser
CN106934003B (en) File processing method and mobile terminal
CN104238931B (en) Information input method and device and electronic equipment
WO2016131180A1 (en) Keyboard display method, apparatus and terminal device

Legal Events

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