CN104679414B - Display control method and device - Google Patents

Display control method and device Download PDF

Info

Publication number
CN104679414B
CN104679414B CN201510113164.XA CN201510113164A CN104679414B CN 104679414 B CN104679414 B CN 104679414B CN 201510113164 A CN201510113164 A CN 201510113164A CN 104679414 B CN104679414 B CN 104679414B
Authority
CN
China
Prior art keywords
display
window
interface
information
window interface
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
CN201510113164.XA
Other languages
Chinese (zh)
Other versions
CN104679414A (en
Inventor
王天树
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510113164.XA priority Critical patent/CN104679414B/en
Publication of CN104679414A publication Critical patent/CN104679414A/en
Application granted granted Critical
Publication of CN104679414B publication Critical patent/CN104679414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a display control method and a display control device, wherein the method comprises the following steps: acquiring current motion attitude information of the electronic equipment; judging whether the motion attitude information meets a preset window adjustment condition; when the motion attitude information meets a preset window adjustment condition, determining a window interface which is currently located in a display area of a display interface of the electronic equipment, wherein at least one display object is displayed in the window interface; determining an adjusting mode and an adjusting parameter of the window interface based on the motion attitude information; and adjusting the display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that the position of the display object in the window interface is changed relative to the display area. The method and the device can reduce the problem of inconvenient operation when a user operates the electronic equipment by one hand.

Description

Display control method and device
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a display control method and apparatus.
Background
Electronic devices with larger screens are increasingly used in a wide range of applications. For example, 5 "or even larger screen smartphones and the like already exist in the market. The screen of the electronic equipment is enlarged, a larger content display area and an interaction area can be provided for a user, and the user experience of operations such as picture browsing and the like by utilizing the electronic equipment is improved. However, when the user operates the electronic device with a large screen with one hand, the operation of the user is inconvenient. For example, when a user can hold and operate a mobile phone with only one hand, if the screen of the mobile phone is large, the fingers of the user may not touch the area far away from the fingers on the screen of the mobile phone, which affects the operation of the mobile phone by the user and further brings inconvenience to the operation.
Disclosure of Invention
In view of this, the present application provides a display control method and apparatus to reduce the inconvenience of a user operating an electronic device with one hand.
In order to achieve the above purpose, the present application provides the following technical solutions: a display control method, the method comprising:
acquiring current motion attitude information of the electronic equipment;
judging whether the motion attitude information meets a preset window adjustment condition;
when the motion attitude information meets a preset window adjustment condition, determining a window interface which is currently located in a display area of a display interface of the electronic equipment, wherein at least one display object is displayed in the window interface;
determining an adjusting mode and an adjusting parameter of the window interface based on the motion attitude information;
and adjusting the display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that the position of the display object in the window interface is changed relative to the display area.
Preferably, the adjusting the display mode of the window interface in the display area includes:
and adjusting the display mode of the window interface in the display area, so that the display object displayed in the adjusted window interface moves from a first position which is a first distance away from the bottom edge of the display area to a second position which is a second distance away from the bottom edge of the display area, wherein the first distance is greater than the second distance.
Preferably, the acquiring current motion posture information of the electronic device includes:
and acquiring knocking operation information for triggering the electronic equipment to vibrate.
Preferably, the preset window adjustment condition is that the knocking operation information indicates that a knocking operation for triggering the electronic device to vibrate exists; or the frequency of the sound of the knocking operation is within a preset knocking frequency range.
Preferably, the information of the tapping operation further includes an input position of the tapping operation; determining an adjustment mode and an adjustment parameter of the window interface based on the motion posture information, including:
and determining a translation mode and a translation amount of the window interface based on the relative position of the input position of the tapping operation relative to the display area.
Preferably, the acquiring current motion posture information of the electronic device includes:
acquiring deflection information generated by the movement of the electronic equipment relative to a preset reference plane;
the preset window adjusting conditions are as follows: the deflection information indicates that the deflection angle of the electronic equipment relative to the preset reference plane is larger than a preset threshold value.
Preferably, the acquiring current motion posture information of the electronic device includes:
monitoring a knocking operation triggering vibration of the electronic equipment;
when the knocking operation is detected, acquiring offset information of the electronic equipment relative to a preset reference plane at the current moment;
the preset window adjustment condition is that the sound frequency of the knocking operation is within a preset sound frequency range.
Preferably, the determining an adjustment mode and an adjustment parameter of the window interface based on the motion posture information includes:
and determining the translation direction and translation amount of the window interface according to the deflection angle and deflection direction in the deflection information.
Preferably, the adjusting the display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter includes:
adjusting the position of the display starting point of the display area according to the adjusting mode and the adjusting parameter;
and taking the position of the adjusted display starting point as a display starting point of the window interface, and displaying the window interface.
In another aspect, the present application provides a display control apparatus, the apparatus including:
the information acquisition unit is used for acquiring the current motion attitude information of the electronic equipment;
the judging unit is used for judging whether the motion attitude information meets a preset window adjusting condition;
the interface determining unit is used for determining a window interface which is currently positioned in a display area of a display interface of the electronic equipment when the motion posture information meets a preset window adjusting condition, wherein at least one display object is displayed in the window interface;
the parameter determining unit is used for determining an adjusting mode and an adjusting parameter of the window interface based on the motion attitude information;
and the window adjusting unit is used for adjusting the display mode of the window interface in the display area according to the adjusting mode and the adjusting parameter, so that the position of the display object in the window interface is changed relative to the display area.
Preferably, the window adjusting unit includes:
and the first window adjusting subunit is configured to adjust a display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that a display object displayed in the adjusted window interface moves from a first position at a first distance from a bottom edge of the display area to a second position at a second distance from the bottom edge of the display area, where the first distance is greater than the second distance.
Preferably, the information acquiring unit includes:
the first information acquisition subunit is used for acquiring tapping operation information used for triggering the electronic equipment to vibrate.
Preferably, the interface determination unit includes:
and the first interface determining subunit is configured to determine, when the tapping operation information indicates that a tapping operation that triggers vibration of the electronic device exists, or a sound frequency of the tapping operation is within a preset tapping frequency range, a window interface that is currently located in a display area of a display interface of the electronic device.
Preferably, the information of the tapping operation further includes an input position of the tapping operation;
the parameter determination unit includes: and the second parameter determining subunit is used for determining a translation mode and a translation amount of the window interface based on the relative position of the input position of the knocking operation relative to the display area.
Preferably, the information acquiring unit includes:
the second information acquisition subunit is used for acquiring deflection information generated by the movement of the electronic equipment relative to a preset reference plane;
the interface determination unit includes: and the second interface determining subunit is used for determining a window interface currently located in a display area of a display interface of the electronic device when the deflection information indicates that the deflection angle of the electronic device relative to the preset reference plane is greater than a preset threshold value.
Preferably, the information acquiring unit includes:
the monitoring subunit is used for monitoring a knocking operation for triggering the electronic equipment to vibrate;
the third information acquisition subunit is used for acquiring offset information of the electronic equipment relative to a preset reference plane at the current moment when the knocking operation is detected;
the interface determination unit includes:
and the third interface determining subunit is used for determining the window interface currently positioned in the display area of the display interface of the electronic equipment when the sound frequency of the knocking operation is in a preset sound frequency range.
Preferably, the parameter determination unit includes:
and the second parameter determining subunit is used for determining the translation direction and the translation amount of the window interface according to the deflection angle and the deflection direction in the deflection information.
Preferably, the window adjusting unit includes:
a starting point determining subunit, configured to adjust a position of a display starting point of the display area according to the adjustment manner and the adjustment parameter;
and the window adjusting subunit is used for taking the position of the adjusted display starting point as a display starting point of the window interface and displaying the window interface.
According to the technical scheme, when the motion posture information of the electronic equipment meets the preset interface adjusting condition, the current window interface is not suitable for the current operation of a user, so that the electronic equipment is triggered to adjust the window interface of the display area. Meanwhile, according to the movement posture information, the adjustment mode and the adjustment parameters of the window interface of the display area can be determined, so that the adjusted display interface is suitable for the operation of a user with one hand, and the operation convenience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
FIG. 1 is a flow chart illustrating an embodiment of a display control method according to the present application;
FIGS. 2a, 2b and 2c are schematic diagrams illustrating a normal display, a panning and a zooming of a window interface, respectively;
FIG. 3 is a flow chart illustrating another embodiment of a display control method according to the present application;
FIG. 4 is a flow chart illustrating another embodiment of a display control method according to the present application;
FIG. 5 is a flow chart illustrating another embodiment of a display control method according to the present application;
fig. 6 is a schematic structural diagram illustrating an embodiment of a display control apparatus according to the present application.
Detailed Description
The embodiment of the application provides a display control method and device, when motion posture information of electronic equipment meets a preset condition, an adjustment mode and an adjustment parameter of a window interface in a display interface are determined based on the motion state information, and the window interface in the display interface is adjusted, so that the adjusted window interface can meet the requirement that a user carries out one-hand operation under the current motion posture of the electronic equipment.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, a display control method of the present application will be described.
Referring to fig. 1, which shows a schematic flow chart of an embodiment of a display control method according to the present application, the method of the present embodiment may be applied to electronic devices such as a mobile phone and a handheld computer, and the method of the present embodiment may include:
and 101, acquiring current motion attitude information of the electronic equipment.
The motion posture information of the electronic equipment indicates the current motion state of the electronic equipment and the posture presented by the electronic equipment in the motion state. For example, the motion posture information may indicate whether the electronic device is in a stationary state or in motion, and may further include information such as a position relationship between the electronic device and a specified reference plane in the stationary state of the electronic device, and a current motion mode and an offset mode when the electronic device is in motion.
And 102, judging whether the motion attitude information meets a preset window adjustment condition.
The motion posture information of the electronic equipment can reflect the operation posture of the user for operating the electronic equipment currently. If the user's finger is not close enough to the same operating icon in the current interface, as in the process of operating the electronic device with a single hand of the user, it may be natural to tilt the electronic device so that the finger is closer to the corresponding icon. For another example, a specific input operation currently performed on the electronic device by the user may trigger a motion gesture change of the electronic device to prompt that the display of the window interface in the display interface of the electronic device is not suitable for the user operation. Therefore, when the movement posture information meets the specific condition, the window interface currently displayed on the display interface of the electronic equipment is determined to be required to be adjusted, so that the user can control or trigger the movement posture of the electronic equipment to change according to the requirement to meet the window adjustment condition.
Of course, it can be understood that the window adjustment condition may have various situations, and may be specifically set according to actual needs.
103, when the motion posture information meets a preset window adjustment condition, determining a window interface currently located in a display area of a display interface of the electronic device.
Wherein at least one display object is displayed in the window interface. For example, taking a mobile phone as an example, some application icons such as "camera", "settings", etc. may be displayed in the main interface of the mobile phone. For another example, when a window interface of an instant messaging application is presented in an electronic device, objects such as "contact", "message", etc. may be included in the window interface.
In the process of one-hand operation of the user, one or more display objects which are far away from the window interface may be out of touch by fingers, so that the window interface including at least one display object is taken as an object to be adjusted in the application, so that the window interface is adjusted in a whole manner in the following process.
And 104, determining an adjusting mode and an adjusting parameter of the window interface based on the motion posture information.
Wherein the adjustment to the window interface may include a translation of the window interface and a zoom of the window interface.
Correspondingly, according to different means for adjusting the window interface, the adjustment mode may be various, for example, the specific content of the adjustment mode may include: a window interface is translated; and/or the manner in which the window interface is scaled. For example, the window interface translation manner may be understood as a direction for moving the window interface, for example, moving to a position close to the bottom edge of the display area, or moving in a certain direction, etc. For another example, the scaling manner may be scaling, scaling from the periphery to the middle, scaling from one direction to another direction, or the like.
The adjustment parameter is indicative of a degree of adjustment of the window interface in the adjustment manner. For example, taking the translation of the window interface as an example, the adjustment manner may be a distance of translating the window interface in the translation direction.
It can be understood that, since the motion gesture information is related to the operation state of the electronic device by the user, it can be determined what adjustment the user currently wants to make to the window interface according to the motion gesture information.
And 105, adjusting the display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that the position of the display object in the window interface is changed relative to the display area.
According to the adjustment mode and the adjustment parameters, after the display mode of the window interface in the display area is adjusted, the display object in the window interface can be more suitable for the current operation of the user.
In the embodiment of the application, when the motion posture information of the electronic device meets the preset interface adjustment condition, the current window interface is not suitable for the current operation of the user, so that the electronic device is triggered to adjust the window interface of the display area. Meanwhile, according to the movement posture information, the adjustment mode and the adjustment parameters of the window interface of the display area can be determined, so that the adjusted display interface is suitable for one-hand operation of a user, and the operation convenience is improved.
It should be noted that, in any embodiment of the present application, adjusting the display mode of the window interface in the display area may be adjusting the display position of the window interface in the display area, so as to translate the window interface under the condition that the display scale of the window interface is kept unchanged. After the window interface is translated, the display scale of the display object in the window interface cannot be changed, but the position corresponding to the display can be changed, and even some display objects cannot be displayed in the display area. For example, referring to FIG. 2a, a display diagram of a display area before window interface adjustment is shown; FIG. 2b, which shows the window interface after it has been translated. As can be seen from comparing fig. 2a and fig. 2b, after the window interface is translated to the lower right, part of the display objects in the window interface cannot be completely displayed or cannot be displayed.
The display mode of the window interface in the display area can also be adjusted by zooming the window interface to change the display scale of the window interface, so that the display area of the window interface after adjustment is different from the display area of the window interface before adjustment. Of course, the display area of the display object in the window interface after adjustment is also smaller than the display area of the display object before adjustment. For example, refer to fig. 2c, which shows a schematic display diagram of the window interface reduced to the lower right corner. As can be seen from fig. 2a and 2c, the display areas of the window interface and the display object are both reduced.
It can be understood that, in practical applications, there are various ways for the electronic device to change the motion posture, and there may be one or more pieces of motion posture information that satisfy the preset window adjustment condition.
For example, one way to make the motion posture change of the electronic device satisfy the preset window adjustment condition may be: the user taps the electronic device, thereby causing the electronic device to generate a shock. The electronic equipment acquires tapping operation information triggering the electronic equipment to generate vibration. The tapping operation information may reflect motion posture information of the electronic device currently being triggered. When the tapping operation information indicates that the tapping operation of the electronic equipment by the user exists, the electronic equipment is indicated to have a motion posture change caused by the triggered vibration.
For another example, another way of obtaining that the motion posture change of the electronic device meets the preset window adjustment condition may be: and acquiring deflection information of the electronic equipment relative to a reference plane, wherein when the deflection information indicates that the electronic equipment deflects relative to the reference plane, the deflection information meets a preset window adjustment condition. For example, in the process of operating the electronic device by the user, if the display object in the window interface cannot be operated by one hand, the user may naturally tilt the electronic device, so that the electronic device deflects relative to the reference plane, thereby triggering window interface adjustment.
It should be noted that, because the electronic device may have multiple types of motion gestures, after the motion gesture information satisfies the preset window adjustment, there may be multiple cases for determining the adjustment mode and the adjustment parameter of the window interface based on the motion gesture information of the electronic device, such as: the adjustment mode and the adjustment parameters of the window interface are preset, and the adjustment mode and the adjustment parameters can be fixed and unchangeable for any motion attitude information.
For another example, based on the motion posture information of the electronic device, determining the adjustment mode and the adjustment parameter of the window interface may also be: presetting different adjusting modes and adjusting parameters corresponding to different types of motion attitude information, if the motion attitude information is that the electronic equipment has deflection based on a preset reference plane, adopting a translation window interface, and setting translation amount; for another example, when the motion gesture of the electronic device is triggered to vibrate, the window electronic device may be adopted to vibrate and there is a change in the motion gesture, and the window interface may be zoomed and the zoom scale may be set.
Optionally, in consideration of that even though the motion posture information meeting the preset window adjustment condition is of the same type, the specific contents included in the motion posture information are different, so that in order to improve the accuracy of adjusting the window interface, an adjustment mode and an adjustment degree can be set according to the content of the motion posture information. For example, when the deflection information of the electronic device relative to the reference plane satisfies the preset window adjustment condition, the adjustment mode and the adjustment parameter may be determined according to the deflection direction and the deflection angle in the deflection information. For another example, when the tapping operation information triggering the electronic device to vibrate satisfies the preset window adjustment condition, the adjustment mode and the adjustment parameter of the window interface may be determined according to the tapping position corresponding to the tapping operation.
The process of determining the adjustment mode and the adjustment parameters is described below for different types of operational attitude information.
Referring to fig. 3, which shows a schematic flowchart of another embodiment of a display control method according to the present application, where the embodiment takes a manner of triggering a change in motion posture of an electronic device as an example of a tapping operation on the electronic device, the method of the embodiment may include:
301, tapping operation information for triggering the electronic device to vibrate is acquired.
The information of the tapping operation is used for representing whether the tapping operation on the electronic equipment exists at present, and information such as the type information and the tapping position of the tapping operation.
Optionally, a sound collector in the electronic device may collect a sound signal corresponding to the tapping operation. It is understood that the tapping operation has a specific sound frequency range, and therefore, when the electronic device detects a sound signal within a preset sound frequency range, it is determined that the tapping operation triggering the vibration of the electronic device is detected.
Optionally, the manner of obtaining the information of the tapping operation may also be to provide a vibration sensor on the electronic device, so as to sense information such as the frequency and the tapping position of the tapping operation when the tapping operation exists.
It is to be understood that, in order to avoid a conflict with the existing input operation, the tapping operation may be that the user taps the electronic device using a fingernail. The sound-sound frequency section generated by the electronic equipment knocked by the fingernail of the finger can be determined through repeated tests, and the sound-sound frequency section generated by the electronic equipment knocked by the fingernail can be further detected through the sound collector or the vibration sensor.
The tapping operation may be to tap a display panel of the electronic device, or may be to tap a back panel of the electronic device.
302, according to the tapping operation information, determining whether the sound frequency generated by the tapping operation is within a preset tapping frequency range.
And determining whether the current knocking operation is an operation for triggering the window interface adjustment of the electronic equipment or not by the fact that the sound frequency is within the preset range, so as to avoid misoperation. For example, when the user taps the electronic device with the fingernail, the frequency of the sound of the tap operation is within a specific range, and the sounds of other frequencies are not input operations for triggering the adjustment of the display window.
Of course, the window adjustment condition set is that the tapping operation information indicates that there is a tapping operation triggering the electronic device to shake.
And 303, when the sound frequency generated by the knocking operation is in a preset knocking frequency range, determining the window interface which is currently in the display area of the display interface of the electronic equipment.
And 304, determining the translation mode and translation amount of the window interface based on the relative position of the input position of the tapping operation relative to the display area.
The corresponding relationship between the translation mode and the translation amount corresponding to the relative position of the input position relative to the display area can be preset, and the translation mode and the translation amount corresponding to the relative position can be determined according to the corresponding relationship.
For example, a translation manner may be preset corresponding to a phase position of the input position within the display area, and a translation amount is proportional to a distance of the relative position from a display vertex of the display area. If the user wishes to translate the window interface left and down, the user can perform a tapping operation on the small left corner of the display area, and the translation mode is to translate the window interface left and down, and the translation amount is half of the distance from the tapping operation point to the output starting point.
And 305, adjusting the display position of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that the position of the display object in the window interface is changed relative to the display area.
In this embodiment, the adjustment of the window interface is performed by translating the window interface, but it can be understood that the scheme of performing the zoom adjustment on the window interface is also applicable to this embodiment. If the relative position of the input position of the tapping operation relative to the display area is determined to be in the lower left corner of the display area, the window interface can be zoomed towards the lower left corner.
Referring to fig. 4, a schematic flow chart of another embodiment of another display control method according to the present application is shown, and this embodiment is described by taking an example in which the electronic device has a deflection with respect to a preset reference plane to trigger window interface adjustment. The method of the embodiment may include:
and 401, acquiring deflection information generated by the movement of the electronic equipment relative to a preset reference plane.
The reference plane may be predetermined, for example, the reference plane may be a horizontal plane.
The deflection information may include, among other things, a deflection direction and a deflection angle.
It will be appreciated that the deflection information may be detected by an acceleration sensor preset on the electronic device.
402, when the deflection information indicates that the deflection angle of the electronic device relative to the preset reference plane is greater than a preset threshold, determining a window interface currently located in the display area of the display interface of the electronic device.
In order to avoid the misoperation in the embodiment, the preset window adjustment condition is set to be that the deflection angle of the electronic device is larger than the preset threshold value.
Wherein, the preset threshold value can be set according to the requirement.
And 403, determining the translation direction and the translation amount of the window interface according to the deflection angle and the deflection direction in the deflection information.
For example, the corresponding relationship between the deflection direction and the interface translation direction, and the corresponding relationship between the deflection angle and the translation amount can be set. For example, when the yaw direction is to the left of the corresponding horizontal plane, the panning direction may be to move to the lower left direction of the display area. Wherein, the lower left direction can be based on a state that the electronic device is vertically and forwardly placed.
And 404, adjusting the display position of the window interface in the display area according to the translation direction and the translation amount, so that the position of the display object in the window interface is changed relative to the display area.
The embodiment is only an example of adjusting the window interface to perform translation on the window interface, but it can be understood that the scheme for performing zoom adjustment on the window interface is also applicable to the embodiment.
In this embodiment, when the electronic device deflects relative to the reference plane and the deflection angle is greater than the preset threshold, the electronic device may be triggered to adjust the position of the currently displayed window interface in the display area according to the deflection mode and the deflection angle, so that the user adjusts the position of the window interface according to the deflection mode and the deflection angle based on the deflection electronic device having a natural habit, and the adjusted window interface is convenient for the user to operate with one hand.
Referring to fig. 5, which shows a schematic flowchart of another embodiment of a display control method according to the present application, where the exemplary embodiment takes a tapping operation on an electronic device and a deflection of the electronic device to jointly trigger a window interface adjustment as an example, the method of the present embodiment may include:
501, a tapping operation that triggers a shock of the electronic device is monitored.
Similar to the embodiment of fig. 2, this embodiment may detect the tapping operation through a sound collector or a vibration sensor. Since the frequency of the sound of the tapping operation is within the preset sound frequency range, it may be determined that the tapping operation triggering the vibration of the electronic device is detected if the sound signal within the preset sound frequency range is detected.
For example, the electronic device can be knocked by a nail, and a sound collector is used for collecting sound signals of a sound frequency section corresponding to the right-angle knocking input.
502, when the tapping operation is detected, acquiring offset information of the electronic equipment relative to a preset reference plane at the current moment.
The manner of obtaining the offset information in this step can refer to the related description of the embodiment in fig. 3, and is not described herein again.
In the embodiment of the present application, the offsetting of the electronic device may be performed before the user inputs the tapping operation, or may be performed simultaneously with the user inputting the tapping operation.
And 503, when the sound frequency of the tapping operation is in the preset sound frequency range, determining the window interface currently in the display area of the display interface of the electronic equipment.
And 504, determining the translation direction and the translation amount of the window interface according to the deflection angle and the deflection direction in the deflection information.
505, adjusting the display position of the window interface in the display area according to the translation direction and the translation amount, so that the position of the display object in the window interface changes relative to the display area
In this embodiment, when a user wants to adjust the display mode of the window interface, the user controls the electronic device to deflect, and the electronic device is triggered to adjust the display position of the window interface in the display area according to deflection information of the electronic device by preset tapping operation of the electronic device, so that the window interface can be conveniently and accurately controlled to move, the adjusted window interface is favorable for user operation, and operation inconvenience is reduced.
The embodiment is only an example of adjusting the window interface to perform translation on the window interface, but it can be understood that the scheme for performing zoom adjustment on the window interface is also applicable to the embodiment.
In any of the above embodiments of the present application, a manner of detecting a tapping operation that triggers a shock of an electronic device may be to detect the tapping operation through a sound collector or a vibration sensor. Wherein, the detection of the knocking operation can be realized by detecting audio. For ease of understanding, the process of detecting a tapping operation that triggers a shock of an electronic device is described in detail below by way of example in several implementations.
For example, the process for detecting the tapping operation using the vibration sensor may be:
a vibration sensor is provided on the electronic apparatus in advance. For example, a touch microphone may be attached as a vibration sensor on a side of the display unit facing the rear panel of the electronic device, and the touch microphone may be a piezoelectric ceramic sheet, for example.
When a user uses the fingernails of fingers or other operating objects to knock the display unit, the electronic equipment is triggered to vibrate, the vibration sensor can sense the audio signals generated by the electronic equipment due to vibration, the audio signals are converted into digital signals from analog signals, and then the digital signals are input into a processor of the electronic equipment in a window mode.
Of course, the vibration sensor may be disposed on a back panel of the electronic device, so that when a user holds the electronic device with one hand and cannot operate an object in the display unit, the back panel of the electronic device may be touched with a finger.
As another example, the process for detecting the tapping operation by using a microphone for collecting a user voice signal in the electronic device may be:
when a user uses a fingernail of a finger or other operators to knock the electronic equipment, the microphone can detect a corresponding audio signal, the audio signal is transmitted to the processor, the processor can analyze whether the current audio signal is in a frequency range corresponding to a preset knocking operation, and when the audio signal is in the preset frequency range, the knocking operation triggering the electronic equipment to vibrate is detected.
It should be noted that another way of detecting the tapping operation is to determine whether there is motion of the electronic device currently by detecting the detection audio signal, that is, to detect whether there is overall motion of the electronic device. This is different from the existing voice control process, which only uses sound to trigger the vibration of the internal device of the microphone, so as to detect whether there is a sound signal by detecting the vibration of the internal device of the microphone.
In any of the above embodiments of the present application, when it is considered that a user operates an electronic device with one hand, if it is inconvenient to operate a display object at the upper end of a window interface, the window interface is moved downward, so that the user can operate the display object at the upper end of the window interface. Therefore, optionally, adjusting the display mode of the window interface in the display area may be: and adjusting the display mode of the window interface in the display area, so that the display object displayed in the adjusted window interface moves from a first position which is a first distance away from the bottom edge of the display area to a second position which is a second distance away from the bottom edge of the display area, wherein the first distance is greater than the second distance.
Optionally, in any of the above embodiments, after the adjustment mode and the adjustment parameter are determined, the adjustment of the window interface may be implemented by adjusting a position of a display starting point of the display area. Adjusting the position of the display starting point of the display area according to the adjusting mode and the adjusting parameter; and taking the position of the adjusted display starting point as a display starting point of the window interface, and displaying the window interface.
The application also provides a display control device corresponding to the display control method.
Referring to fig. 6, which shows a schematic structural diagram of an embodiment of a display control apparatus according to the present application, the apparatus of the present embodiment includes: an information acquisition unit 601, a judgment unit 602, an interface determination unit 603, a parameter determination unit 604, and a window adjustment unit 605.
The information acquiring unit 601 is configured to acquire current motion posture information of the electronic device.
A determining unit 602, configured to determine whether the motion posture information meets a preset window adjustment condition.
An interface determining unit 603, configured to determine, when the motion posture information meets a preset window adjustment condition, a window interface currently located in a display area of a display interface of the electronic device, where at least one display object is displayed in the window interface.
A parameter determining unit 604, configured to determine an adjustment manner and an adjustment parameter of the window interface based on the motion posture information.
A window adjusting unit 605, configured to adjust a display mode of the window interface in the display area according to the adjustment manner and the adjustment parameter, so that a position of the display object in the window interface changes relative to the display area.
In the embodiment of the application, when the motion posture information of the electronic device meets the preset interface adjustment condition, the current window interface is not suitable for the current operation of the user, so that the electronic device is triggered to adjust the window interface of the display area. Meanwhile, according to the movement posture information, the adjustment mode and the adjustment parameters of the window interface of the display area can be determined, so that the adjusted display interface is suitable for one-hand operation of a user, and the operation convenience is improved.
Optionally, in another implementation manner, the information obtaining unit includes:
the first information acquisition subunit is used for acquiring tapping operation information used for triggering the electronic equipment to vibrate.
Optionally, on the basis that the information acquiring unit includes the first information acquiring subunit, the interface determining unit may include:
and the first interface determining subunit is configured to determine, when the tapping operation information indicates that a tapping operation that triggers vibration of the electronic device exists, or a sound frequency of the tapping operation is within a preset tapping frequency range, a window interface that is currently located in a display area of a display interface of the electronic device.
Optionally, on the basis that the information acquiring unit includes the first information acquiring subunit, or the interface determining unit includes the first interface determining subunit, the tapping operation information further includes an input position of the tapping operation;
correspondingly, the parameter determination unit comprises: and the second parameter determining subunit is used for determining a translation mode and a translation amount of the window interface based on the relative position of the input position of the knocking operation relative to the display area.
Optionally, in another implementation manner, the information obtaining unit may include:
the second information acquisition subunit is used for acquiring deflection information generated by the movement of the electronic equipment relative to a preset reference plane;
the interface determination unit includes: and the second interface determining subunit is used for determining a window interface currently located in a display area of a display interface of the electronic device when the deflection information indicates that the deflection angle of the electronic device relative to the preset reference plane is greater than a preset threshold value.
Optionally, on the basis that the motion posture information is the deflection information, the parameter determining unit includes:
and the second parameter determining subunit is used for determining the translation direction and the translation amount of the window interface according to the deflection angle and the deflection direction in the deflection information.
Optionally, in another implementation manner of the apparatus of the present application, the information obtaining unit may include:
the monitoring subunit is used for monitoring a knocking operation for triggering the electronic equipment to vibrate;
the third information acquisition subunit is used for acquiring offset information of the electronic equipment relative to a preset reference plane at the current moment when the knocking operation is detected;
accordingly, the interface determination unit may include:
and the third interface determining subunit is used for determining the window interface currently positioned in the display area of the display interface of the electronic equipment when the sound frequency of the knocking operation is in a preset sound frequency range.
Optionally, on the basis that the motion posture information is the deflection information, the parameter determining unit includes:
and the second parameter determining subunit is used for determining the translation direction and the translation amount of the window interface according to the deflection angle and the deflection direction in the deflection information.
Optionally, in an embodiment of any one of the apparatuses in the present application, the window adjusting unit may include:
and the first window adjusting subunit is configured to adjust a display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that a display object displayed in the adjusted window interface moves from a first position at a first distance from a bottom edge of the display area to a second position at a second distance from the bottom edge of the display area, where the first distance is greater than the second distance.
Optionally, in an embodiment of any one of the apparatuses in the present application, the window adjusting unit includes:
a starting point determining subunit, configured to adjust a position of a display starting point of the display area according to the adjustment manner and the adjustment parameter;
and the window adjusting subunit is used for taking the position of the adjusted display starting point as a display starting point of the window interface and displaying the window interface.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (18)

1. A display control method, the method comprising:
acquiring current motion attitude information of the electronic equipment, wherein the current motion attitude information comprises: monitoring a knocking operation triggering the electronic equipment to vibrate by using a microphone in the electronic equipment to determine whether the electronic equipment has overall motion, and acquiring the sound frequency of the knocking operation by using the microphone; the microphone includes: the microphone is originally used for collecting a user voice signal in the electronic equipment, or the contact microphone is pasted on one surface, facing to the back panel of the electronic equipment, of the display unit of the electronic equipment;
judging whether the motion attitude information meets a preset window adjusting condition, wherein the preset window adjusting condition is that the sound frequency of the knocking operation is in a preset sound frequency range corresponding to the knocking operation;
when the motion attitude information meets a preset window adjustment condition, determining a window interface which is currently located in a display area of a display interface of the electronic equipment, wherein at least one display object is displayed in the window interface;
determining an adjusting mode and an adjusting parameter of the window interface based on the motion attitude information;
and adjusting the display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that the position of the display object in the window interface is changed relative to the display area.
2. The method of claim 1, wherein the adjusting the display mode of the window interface within the displayed area comprises:
and adjusting the display mode of the window interface in the display area, so that the display object displayed in the adjusted window interface moves from a first position which is a first distance away from the bottom edge of the display area to a second position which is a second distance away from the bottom edge of the display area, wherein the first distance is greater than the second distance.
3. The method of claim 1, wherein the obtaining current motion gesture information of the electronic device comprises:
and acquiring knocking operation information for triggering the electronic equipment to vibrate.
4. The method according to claim 2, wherein the preset window adjustment condition is that the tapping operation information indicates that there is a tapping operation triggering the electronic device to shake; or the frequency of the sound of the knocking operation is within a preset knocking frequency range.
5. The method according to claim 3 or 4, wherein the tapping operation information further includes an input position of the tapping operation; determining an adjustment mode and an adjustment parameter of the window interface based on the motion posture information, including:
and determining a translation mode and a translation amount of the window interface based on the relative position of the input position of the tapping operation relative to the display area.
6. The method of claim 1, wherein the obtaining current motion gesture information of the electronic device comprises:
acquiring deflection information generated by the movement of the electronic equipment relative to a preset reference plane;
the preset window adjusting conditions are as follows: the deflection information indicates that the deflection angle of the electronic equipment relative to the preset reference plane is larger than a preset threshold value.
7. The method of claim 1, wherein the obtaining current motion gesture information of the electronic device comprises:
and when the knocking operation is detected, acquiring offset information of the electronic equipment relative to a preset reference plane at the current moment.
8. The method of claim 6, wherein determining the adjustment mode and the adjustment parameter of the window interface based on the motion gesture information comprises:
and determining the translation direction and translation amount of the window interface according to the deflection angle and deflection direction in the deflection information.
9. The method according to claim 1, wherein the adjusting the display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter comprises:
adjusting the position of the display starting point of the display area according to the adjusting mode and the adjusting parameter;
and taking the position of the adjusted display starting point as a display starting point of the window interface, and displaying the window interface.
10. A display control apparatus, the apparatus comprising:
the information acquisition unit is used for acquiring the current motion attitude information of the electronic equipment;
the judging unit is used for judging whether the motion attitude information meets a preset window adjusting condition;
the interface determining unit is used for determining a window interface which is currently positioned in a display area of a display interface of the electronic equipment when the motion posture information meets a preset window adjusting condition, wherein at least one display object is displayed in the window interface;
the parameter determining unit is used for determining an adjusting mode and an adjusting parameter of the window interface based on the motion attitude information;
the window adjusting unit is used for adjusting the display mode of the window interface in the display area according to the adjusting mode and the adjusting parameter, so that the position of the display object in the window interface changes relative to the display area;
the information acquisition unit includes:
the monitoring subunit is used for monitoring a knocking operation triggering the electronic equipment to vibrate by using a microphone in the electronic equipment so as to determine whether the electronic equipment has overall motion or not, and collecting sound frequency of the knocking operation by using the microphone; the microphone includes: the microphone is originally used for collecting a user voice signal in the electronic equipment, or the contact microphone is pasted on one surface, facing to the back panel of the electronic equipment, of the display unit of the electronic equipment;
the interface determination unit includes:
and the third interface determining subunit is used for determining the window interface currently in the display area of the display interface of the electronic equipment when the sound frequency of the knocking operation is in a preset audio frequency range corresponding to the knocking operation.
11. The apparatus of claim 10, wherein the window adjusting unit comprises:
and the first window adjusting subunit is configured to adjust a display mode of the window interface in the display area according to the adjustment mode and the adjustment parameter, so that a display object displayed in the adjusted window interface moves from a first position at a first distance from a bottom edge of the display area to a second position at a second distance from the bottom edge of the display area, where the first distance is greater than the second distance.
12. The apparatus according to claim 10, wherein the information obtaining unit comprises:
the first information acquisition subunit is used for acquiring tapping operation information used for triggering the electronic equipment to vibrate.
13. The apparatus of claim 12, wherein the interface determining unit comprises:
and the first interface determining subunit is configured to determine, when the tapping operation information indicates that a tapping operation that triggers vibration of the electronic device exists, or a sound frequency of the tapping operation is within a preset tapping frequency range, a window interface that is currently located in a display area of a display interface of the electronic device.
14. The apparatus according to claim 12 or 13, wherein the tapping operation information further includes an input position of the tapping operation;
the parameter determination unit includes: and the second parameter determining subunit is used for determining a translation mode and a translation amount of the window interface based on the relative position of the input position of the knocking operation relative to the display area.
15. The apparatus according to claim 10, wherein the information obtaining unit comprises:
the second information acquisition subunit is used for acquiring deflection information generated by the movement of the electronic equipment relative to a preset reference plane;
the interface determination unit includes: and the second interface determining subunit is used for determining a window interface currently located in a display area of a display interface of the electronic device when the deflection information indicates that the deflection angle of the electronic device relative to the preset reference plane is greater than a preset threshold value.
16. The apparatus according to claim 10, wherein the information obtaining unit comprises:
and the third information acquisition subunit is used for acquiring offset information of the electronic equipment relative to a preset reference plane at the current moment when the knocking operation is detected.
17. The apparatus of claim 15, wherein the parameter determining unit comprises:
and the second parameter determining subunit is used for determining the translation direction and the translation amount of the window interface according to the deflection angle and the deflection direction in the deflection information.
18. The apparatus of claim 10, wherein the window adjusting unit comprises:
a starting point determining subunit, configured to adjust a position of a display starting point of the display area according to the adjustment manner and the adjustment parameter;
and the window adjusting subunit is used for taking the position of the adjusted display starting point as a display starting point of the window interface and displaying the window interface.
CN201510113164.XA 2015-03-16 2015-03-16 Display control method and device Active CN104679414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510113164.XA CN104679414B (en) 2015-03-16 2015-03-16 Display control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510113164.XA CN104679414B (en) 2015-03-16 2015-03-16 Display control method and device

Publications (2)

Publication Number Publication Date
CN104679414A CN104679414A (en) 2015-06-03
CN104679414B true CN104679414B (en) 2020-08-25

Family

ID=53314555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510113164.XA Active CN104679414B (en) 2015-03-16 2015-03-16 Display control method and device

Country Status (1)

Country Link
CN (1) CN104679414B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557236A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of interface processing method and device of mobile device
CN106598404A (en) * 2015-10-16 2017-04-26 青岛海信移动通信技术股份有限公司 Window display method and mobile terminal
CN106775405A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal
CN106775404A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of false-touch prevention method of display interface, device and mobile terminal
CN112671975A (en) * 2019-10-15 2021-04-16 中兴通讯股份有限公司 Display position adjusting method, device, terminal and readable storage medium
CN111414112B (en) * 2020-03-05 2021-10-22 联想(北京)有限公司 Information display method and device and electronic equipment
CN112333551B (en) * 2020-06-18 2023-05-23 深圳Tcl新技术有限公司 Video window display method, device, equipment and computer readable storage medium
CN113490035B (en) * 2021-07-16 2023-06-23 南京炫佳网络科技有限公司 Display method, device, television and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750107A (en) * 2012-08-02 2012-10-24 深圳市经纬科技有限公司 Single-hand operation method of large-screen handheld electronic device and device
US20130111384A1 (en) * 2011-10-27 2013-05-02 Samsung Electronics Co., Ltd. Method arranging user interface objects in touch screen portable terminal and apparatus thereof
CN103218117A (en) * 2013-03-18 2013-07-24 惠州Tcl移动通信有限公司 Method and electronic equipment for realizing screen display interface translation
CN103294201A (en) * 2013-06-27 2013-09-11 深圳市中兴移动通信有限公司 Mobile terminal and gesture controlling method thereof
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal
CN103870013A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method and device for information processing and electronic device
WO2014157961A1 (en) * 2013-03-27 2014-10-02 Ji Man Suk Touch control method in mobile terminal having large screen

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009887A (en) * 2006-12-26 2007-08-01 华为技术有限公司 Mobile terminal and its communication event prompt method
DE102011008950A1 (en) * 2011-01-19 2012-07-19 FISHLABS Entertainment GmbH Video game by finger tapping
CN103765919A (en) * 2011-04-01 2014-04-30 博恩托恩通信有限公司 System and apparatus for controlling user interface with bone conduction transducer
CN102271295A (en) * 2011-06-27 2011-12-07 瑞声声学科技(深圳)有限公司 Earphone wire control component
CN102436345A (en) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 Method for interface operation and control of mobile device and implement device
CN204031255U (en) * 2014-06-17 2014-12-17 上海崴澜网络科技有限公司 Based on the direct operated intelligent lamp of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111384A1 (en) * 2011-10-27 2013-05-02 Samsung Electronics Co., Ltd. Method arranging user interface objects in touch screen portable terminal and apparatus thereof
CN102750107A (en) * 2012-08-02 2012-10-24 深圳市经纬科技有限公司 Single-hand operation method of large-screen handheld electronic device and device
CN103870013A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method and device for information processing and electronic device
CN103218117A (en) * 2013-03-18 2013-07-24 惠州Tcl移动通信有限公司 Method and electronic equipment for realizing screen display interface translation
WO2014157961A1 (en) * 2013-03-27 2014-10-02 Ji Man Suk Touch control method in mobile terminal having large screen
CN103294201A (en) * 2013-06-27 2013-09-11 深圳市中兴移动通信有限公司 Mobile terminal and gesture controlling method thereof
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal

Also Published As

Publication number Publication date
CN104679414A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN104679414B (en) Display control method and device
US11604560B2 (en) Application association processing method and apparatus
US10535323B2 (en) Display zoom controlled by proximity detection
KR102141099B1 (en) Rapid screen segmentation method and apparatus, electronic device, display interface, and storage medium
KR102079054B1 (en) Method and method for adjusting the shooting focal length of the mobile terminal using the touch pad
KR101580914B1 (en) Electronic device and method for controlling zooming of displayed object
WO2019201073A1 (en) Page display method and apparatus, mobile terminal, and storage medium
EP2068235A2 (en) Input device, display device, input method, display method, and program
US20100289825A1 (en) Image processing method for mobile terminal
KR101971982B1 (en) Apparatus capable of sensing touch and touch pressure and control method thereof
US20150170672A1 (en) Method for Performing Voice Control Operation on Terminal and Apparatus
KR20120080202A (en) Electronic apparatus using touch panel and setting value modification method of same
KR20100012321A (en) Mobile terminal having touch screen and method for displaying cursor thereof
US9927974B2 (en) Automatic customization of keypad key appearance
EP2613247A2 (en) Method and apparatus for displaying keypad in terminal having touch screen
CN105607793B (en) Method for adjusting window and electronic equipment
CN107741814B (en) Display control method and mobile terminal
JP2011107738A (en) Pointing device, input processing device, input processing method, and program
CN108696638B (en) Control method of mobile terminal and mobile terminal
KR101920864B1 (en) Method and terminal for displaying of image using touchscreen
CN111443841B (en) Object moving method and electronic equipment
CN111610916B (en) Display method and electronic device
JP5289273B2 (en) Mobile terminal device
CN105892916B (en) Information processing method and electronic equipment
CN108469926A (en) Apparatus control method, device and equipment

Legal Events

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