WO2018141173A1 - Control method, apparatus, computer storage medium and terminal - Google Patents

Control method, apparatus, computer storage medium and terminal Download PDF

Info

Publication number
WO2018141173A1
WO2018141173A1 PCT/CN2017/114216 CN2017114216W WO2018141173A1 WO 2018141173 A1 WO2018141173 A1 WO 2018141173A1 CN 2017114216 W CN2017114216 W CN 2017114216W WO 2018141173 A1 WO2018141173 A1 WO 2018141173A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display position
target
control
terminal
Prior art date
Application number
PCT/CN2017/114216
Other languages
French (fr)
Chinese (zh)
Inventor
曾德龙
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018141173A1 publication Critical patent/WO2018141173A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present disclosure relates to the field of control, and in particular, to a control method, apparatus, computer storage medium, and terminal.
  • terminals such as smart phones, tablets, and e-book readers have increasingly used peripherals that include touch functions to interact with users.
  • the user can interact with the terminal by performing a touch operation on the touch display.
  • the screen of the mobile phone becomes larger, the user often cannot control the display object beyond the one-hand touch range.
  • the flipping of the screen is implemented by rotating the body, thereby completing the flipping of the display object.
  • adopting such a scheme may have the following problems: First, the terminal needs to be equipped with a gravity sensing device, and secondly The rotation angle of the body is not easy to grasp, and misoperation may occur.
  • the embodiments of the present disclosure provide a control method, device, and terminal, which can implement one-hand operation on a graphical user interface of a terminal, facilitate user operations, and improve user experience.
  • an embodiment of the present disclosure provides a control method, including: obtaining a control instruction; and in response to the control instruction, controlling a display object to be switched from a current display position to a target display position according to a preset switching policy, where The target display position is symmetrical with the current display position.
  • an embodiment of the present disclosure provides a control apparatus, including: an obtaining unit and a control unit, wherein the obtaining unit is configured to obtain a control instruction; and the control unit is configured to respond to the control instruction according to the pre- A switching strategy is set to control the display object to be switched from the current display position to the target display position display, wherein the target display position is symmetric with the current display position.
  • an embodiment of the present disclosure provides a terminal, including: a processor and a touch screen, wherein the processor is configured to obtain a control instruction; and in response to the control instruction, control a display object according to a preset switching policy The display position is switched to the target display position displayed on the touch screen, wherein the target display position is symmetrical with the current display position; and the touch screen is configured to display the display object.
  • an embodiment of the present disclosure provides a computer storage medium, where a computer storage medium stores an execution instruction, where the execution instruction is used to execute the foregoing method.
  • FIG. 1A is a schematic diagram of a first process of a control method in Embodiment 1 of the present disclosure
  • 1B is a first schematic diagram of a display object in the first embodiment of the present disclosure
  • 1C is a second schematic diagram of a display object in the first embodiment of the present disclosure.
  • 1D is a schematic diagram of a display object switching display position in the first embodiment of the present disclosure
  • FIG. 2A is a schematic flowchart of a control method in Embodiment 2 of the present disclosure
  • FIG. 2B is a schematic structural view of an axis of symmetry in Embodiment 2 of the present disclosure
  • FIG. 2C is another schematic structural view of an axis of symmetry in Embodiment 2 of the present disclosure.
  • FIG. 2D is a schematic diagram of a graphical user interface in Embodiment 2 of the present disclosure.
  • Embodiment 3 is a schematic flowchart of a control method in Embodiment 3 of the present disclosure
  • Embodiment 4 is a schematic structural diagram of a control device in Embodiment 4 of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a terminal in Embodiment 5 of the present disclosure.
  • the embodiment of the present disclosure provides a control method.
  • the execution body of the control method is a control device, and the control device can be built in or externally connected to a terminal.
  • the terminal can be a mobile phone, a tablet computer, an e-book reader, or the like.
  • a device having a touch display function may be other, and is not specifically limited in the embodiment of the present disclosure.
  • FIG. 1A is a first schematic flowchart of a control method in Embodiment 1 of the present disclosure. Referring to FIG. 1A, the method includes:
  • the above control command may be directly generated by a user operation.
  • the preset combination button may be pressed on the terminal, and the terminal detects that the user presses the button. After the preset combination button is pressed, the control command is generated correspondingly.
  • the control command may be generated by other methods, such as a third-party application call.
  • the embodiment of the present disclosure is not specifically limited.
  • the operating system of the terminal may listen to the control command in real time or periodically during the process of calling the Surface Flinger service.
  • S101 may include: receiving an operation from a user; detecting the current state of the terminal in response to the operation; determining whether the operation is a display switching operation if the terminal is in a bright screen state; and generating a switching operation if the operation is a display switching operation Corresponding control commands.
  • the bright screen state means that the touch screen, the display screen, and the like on the terminal are in a lighting state.
  • the user when the user wants to adjust the display position of the display object, such as when the user's one-hand operation terminal cannot touch the application icon at the top of the terminal, the user can complete the display switching operation on the terminal, so that the terminal receives the user from the user.
  • the terminal After the display switching operation, the terminal first checks the current state of the terminal screen. If it is determined that the terminal is currently in the bright state, the terminal can determine that the user wants to adjust the display position of the display object. At this time, the terminal generates the corresponding Control instructions so that the terminal adjusts the display position of the display object according to user needs.
  • the display switching operation may be a sliding operation, such as sliding a preset track on the touch screen when the terminal is in a bright screen state, or may be a button operation, such as pressing a “volume+key” simultaneously when the terminal is in a bright screen state.
  • “Shutdown button” and long press “Back button” it can also be induction operation, such as fingerprint recognition when the terminal is in bright state, and brightness on the terminal.
  • the distance of the distance sensor is preset.
  • other operations such as double-clicking the screen, long-pressing the screen, shaking the terminal to the left and right, illuminating the information, and the like, or a combination of the above various embodiments, etc., are not specifically limited herein.
  • a control instruction for indicating an axisymmetric transformation with the vertical center axis of the screen may be generated; when the terminal detects the user Simultaneously press "Volume + Key” and "Shutdown Key” to generate a control command for indicating a center-symmetric transformation at the center of the screen.
  • the display switching operation may be customized by the user according to the needs, or may be preset by the system of the terminal, which is not specifically limited in the embodiment of the present disclosure.
  • the target display position is symmetric with the current display position.
  • the symmetry may refer to the axis symmetry, or may refer to the center symmetry, which is not specifically limited in the embodiment of the present disclosure.
  • the terminal may control the display object to be switched from the current display position to the target display position according to the preset switching policy.
  • the display object may be an operable control on a graphical user interface displayed on the terminal screen, such as an application icon, a virtual operation key, and a text edit box displayed on the graphical user interface, such as user-operable display content, exemplarily See all application icons on the system graphical user interface shown in FIG. 1B; or a graphical user interface including an operational control displayed on the terminal screen, such as a graphical user including an application icon, a virtual operation key, or a text edit box.
  • a graphical user interface including an operational control displayed on the terminal screen such as a graphical user including an application icon, a virtual operation key, or a text edit box.
  • the window of the application shown in FIG. 1C is shown in FIG. 1C; of course, other display contents may be used.
  • the switching of the display object from the current display position to the target display position means that the display position is switched when the display direction of the terminal is unchanged.
  • the display object in the upper left corner area of the system graphical user interface is switched to the lower right corner area of the system graphical user interface as shown in FIG. 1D.
  • the terminal The display mode remains unchanged, and is still in the portrait display mode, which is different from the display rotation mode in the prior art.
  • S102 may include: acquiring target reference coordinates; performing symmetric transformation on the current display position based on the target reference coordinates to determine a target display position; and controlling the display object to be displayed at the target display position.
  • the target reference coordinate may be a symmetry axis or a center symmetry point. Of course, it may be other, and the disclosure is not specifically limited.
  • the symmetric transformation of the current display position of the display object by the terminal may be an axisymmetric change or a center symmetric transformation.
  • the current display position is symmetrically transformed, and determining the target display position may include: acquiring the first coordinate corresponding to the current display position; performing the axisymmetric transformation on the first coordinate through the symmetry axis, or passing through the center The symmetry point performs a central symmetric transformation on the first coordinate to obtain a second coordinate corresponding to the target display position.
  • the terminal may display the object according to the target reference coordinates.
  • the first coordinate corresponding to the front display position is symmetrically transformed, and the second coordinate corresponding to the target display position is obtained.
  • the terminal may perform axisymmetric transformation on the first coordinate corresponding to the current display position by using the axis of symmetry to obtain a second coordinate symmetrical with the first coordinate; or may correspond to the current display position by the central symmetric point.
  • the first coordinate is subjected to a central symmetric transformation to obtain a second coordinate symmetrical to the first coordinate.
  • other things may be used, and the disclosure is not specifically limited.
  • the foregoing performing symmetric transformation on the current display position based on the target reference coordinates to determine the target display position may include: before rendering using the open graphics library OpenGL or before displaying the pixels of the frame buffer, based on The target reference coordinates are symmetrically transformed with the current display position to determine the target display position.
  • the timing of performing the symmetric transformation may be before the rendering using the open graphics library OpenGL, or before the pixel of the frame buffer is displayed, and of course, other situations may be used.
  • the embodiment of the present disclosure is not specifically limited.
  • control display object is displayed on the target display location according to the type of the display object, and may include, but is not limited to, the following two implementation manners:
  • the display object is an actionable control on the graphical user interface.
  • the display position of the operable control such as the application icon and the virtual operation key is in an uncontrollable area in the display area, instead of carrying the application icons, virtual operation keys, etc.
  • the display position of the graphical user interface of the control is not suitable.
  • the display object that needs to switch the display position can be determined only as the display content that the user can operate, such as an operation icon such as an application icon or a virtual operation key.
  • displaying the foregoing control display object in the target display location may include: controlling the display on the graphical user interface other than the display object when the display object is an operable control on the graphical user interface displayed on the terminal screen The object remains the same and controls the actionable controls to be displayed at the target display position.
  • the operable control refers to a user-operable display content displayed on the graphical user interface, such as an application icon, a virtual operation key, a text edit box, and the like.
  • the terminal can control the display object on the graphical user interface except that the display object remains unchanged, and only switches the operable control to display the position on the user graphical interface. Switches the display object from the current display position to the target display position. That is to say, in this case, the display position other than the display object on the graphical user interface is changed before the operable control switches the display position, and after the operable control switches the display position, the display position is not changed. What changes are the display position of the operational controls.
  • the display object is a graphical user interface that contains actionable controls.
  • the direct cause of inconvenience to the user is that the display position of the graphical user interface is in an uncontrollable area in the display area.
  • the display object that needs to switch the display position may be determined to include the user.
  • displaying the control display object in the target display position may include: acquiring a symmetric flip parameter when the display object is a graphical user interface including an operable control displayed on the terminal screen, wherein the symmetric flip parameter It is used to indicate the rotation direction and angle corresponding to the position switching; the graphical user interface including the operable control is rotated in the rotation direction by the above angle until the current display position is switched to the target display position.
  • the rotation direction may be a clockwise direction or a counterclockwise direction; the angle may be 90°, 180°, 270°, etc., and the embodiment of the present disclosure is not specifically limited.
  • the terminal can switch the display position of the display object by rotating a certain angle according to a preset rotation direction. That is to say, in this case, the graphical user interface and all display object display positions contained therein are changed before and after the switching.
  • the method further includes: starting the flip timing; when the flip timing reaches the preset threshold, controlling the display object to switch back to the original display position display according to the preset switching policy; When it is not reached, the control display object remains displayed at the target display position.
  • the original display position refers to the display position where the display object before the display is switched
  • the target display position refers to the display position where the display object is located after the display is switched.
  • the flip timing is used to limit the duration of the switching display of the display position of the display object, and may be set by the user as needed, or may be set by the terminal system. Specifically, the time of the flip timing may be 1 s, 3 s, 5 s, etc. The embodiment of the present disclosure is not specifically limited.
  • a preset threshold may be set, such as 0s, 1s, 3s, etc., which is not specifically limited in the embodiment of the present disclosure.
  • the original display mode can be displayed, and a flip timing can be set.
  • the terminal detects that the flip timing is over, the terminal The display position of the display object can be automatically switched back to the original display position, that is, the display position before the display is switched, and when the flip timing is not finished, the display position after the switching, that is, the target display position before the switching, is displayed. So that users can do related operations.
  • the control method provided by the embodiment after obtaining the control instruction, responds to the control command, and controls the display object to be switched from the current display position to the target display position according to the preset switching policy, wherein the target display position is compared with the current display position.
  • symmetry By symmetrically switching the display position of the display object, it is possible to control the terminal with one hand only when the screen size of the terminal is large, which makes the use of the terminal more convenient and improves the user experience.
  • this embodiment provides a control method, which is applied to the following actual scenarios.
  • the display object that needs to be controlled is an application icon on the graphical user interface displayed by the terminal screen.
  • the user needs to switch the display position of the application icon 121 corresponding to the application A on the system desktop, so as to log in to the application A by clicking the application icon 121, and assume that the application icon 122 corresponding to the application B is Located in the user controllable area.
  • the display object that needs to be controlled here is the application icon on the graphical user interface displayed on the terminal screen.
  • FIG. 2A is a schematic flowchart of a control method in Embodiment 2 of the present disclosure. Referring to FIG. 2A, the method includes:
  • the terminal After obtaining the operation from the user, the terminal first determines its current state, and if it is in the bright state, it indicates that the user's operation is received, instead of receiving the user's erroneous operation.
  • the terminal can determine whether the above operation is a display switching operation, and if so, execute S204, otherwise, end.
  • a corresponding control instruction is generated to control at least one application icon on the graphical user interface to switch the display position.
  • the at least one application icon may be an application icon included in the partial display area or the entire area corresponding to the display switching operation preset on the graphic user interface displayed by the terminal, which is not specifically limited in the embodiment of the present disclosure; for example, when When the display switching operation is to click or long press the fingerprint identification button set on the terminal in the bright state of the terminal, it is assumed that the preset application icon corresponding to the display switching operation is included in all areas of the graphical user interface displayed by the terminal.
  • the at least one application icon is an application icon included in all areas on the graphic user interface displayed by the terminal; or, when the display switching operation is an application icon on the graphic user interface displayed by the terminal, the display is assumed to be
  • the application icon corresponding to the switching operation is an application icon included in the preset area, and the at least one application icon is an application icon included in the preset area.
  • the preset area range may be customized.
  • the at least one application icon is the n application icons, and n is an integer greater than or equal to 1.
  • acquiring at least one application icon on the graphical user interface displayed by the terminal may further include acquiring attribute information of the at least one application icon.
  • the attribute information includes: an abscissa value of the at least one application icon on the graphical user interface, an ordinate value, a width of the at least one application icon, a height of the at least one application icon, and the like.
  • S206 Perform coordinate transformation on the at least one application icon in the graphical user interface according to the preset policy, to obtain target coordinates of the at least one application icon;
  • the coordinate transformation performed on the at least one application icon may be an axisymmetric transformation or a central symmetric transformation.
  • the disclosure is not specifically limited.
  • the foregoing preset policy may be implemented in the following manners, and is not specifically limited in the embodiment of the present disclosure:
  • Method 1 Perform coordinate transformation on at least one application icon according to a preset symmetry axis to obtain target coordinates of at least one application icon.
  • the symmetry axis may be one or more of the presets of the system, and the embodiment of the present disclosure is not specifically limited:
  • At least one application icon is coordinate-converted according to a preset symmetry axis to obtain target coordinates of at least one application icon, for example, a horizontal symmetry axis or a vertical symmetry axis of the graphical user interface.
  • a preset symmetry axis As shown in FIG. 2B, the symmetry axis 221 and the symmetry axis 222 are preset in the graphical user interface.
  • the preset symmetry axis is the symmetry axis 221, it is assumed that the original coordinate point A of at least one application icon is flipped along the vertical symmetry axis 221.
  • coordinate point B is the target coordinate of at least one application icon
  • the preset symmetry axis is the horizontal symmetry axis 222
  • the original coordinate point A is The transverse axis of symmetry 222 is flipped to obtain a coordinate point C
  • the coordinate point C is the target coordinate of at least one application icon.
  • the preset symmetry axis for inverting the at least one application icon may be determined according to the user's selection, or may be set by the system according to the preset policy, which is not specifically limited in the embodiment of the present disclosure.
  • S206 may be implemented in the following two manners, and is not specifically limited in the embodiment of the present disclosure:
  • S206 may include: acquiring a starting point coordinate and an ending point coordinate of the preset operation; determining a corresponding target reference coordinate according to the starting point coordinate and the ending point coordinate; Target reference coordinates, symmetric transformation of at least one application icon.
  • the terminal determines whether the start point coordinate and the end point coordinate are the same.
  • the connection between the start point coordinate and the end point coordinate is obtained, and it is determined whether the extension line of the connection in the graphical user interface is vertical or not.
  • the axes intersect, wherein if the extension line intersects the vertical axis in the graphical user interface, the predetermined vertical axis of symmetry on the graphical user interface is determined as a preset symmetry for flipping at least one application icon An axis; if the extension line of the connection in the graphical user interface does not intersect the vertical axis, determining a horizontal axis of symmetry preset on the graphical user interface as a preset axis of symmetry for flipping at least one application icon; At least one application icon is subjected to ordinate transformation to obtain target coordinates of at least one application icon. For example, as shown in FIG.
  • the starting point is E and the ending point is F
  • the extension of the line connecting the starting point E and the ending point F intersects the vertical axis
  • the vertical axis of symmetry 231 preset on the graphical user interface is determined to be used.
  • at least one application icon is coordinate-transformed to obtain a target coordinate E1 of at least one application icon; assuming that the starting point is E, the ending point is G, and the starting point E and the ending point F are performed on the preset symmetry axis that flips the at least one application icon.
  • the horizontal axis of symmetry 232 preset on the graphical user interface is determined as a preset axis of symmetry for flipping at least one application icon, and at least one application icon is coordinate-transformed. , obtaining the target coordinate E2 of at least one application icon.
  • the display direction of the graphical user interface may be detected by using a direction sensor.
  • other detection methods may also be used, which are not specifically limited in the embodiment of the present disclosure.
  • Method 2 Translating at least one application icon along a coordinate axis of the graphical user interface to obtain target coordinates of at least one application icon.
  • the coordinate axis of the graphical user interface is the coordinate axis in the coordinate system whose origin is the point in the lower left corner of the graphical user interface.
  • the foregoing manner 2 may include: collecting feature information on the graphical user interface; determining, according to the feature information, a location where the user holds the terminal; and determining, according to the feature that the position of the user holding the terminal is less than a preset distance threshold, at least The target coordinates of an app icon. For example, suppose the origin coordinates of the graphical user interface are in the lower left corner of the graphical user interface, the position information of the user holding the terminal is (5, 0), the position information of at least one application icon is (8, 5), and the preset distance threshold is 3, the coordinates satisfying the equation (x-5) 2-y2 ⁇ 3 are determined as the target coordinates of at least one application icon.
  • the preset distance threshold may be customized by the user according to the length of the finger that controls the preset operation, or may be preset by the system, and is not specifically limited in the embodiment of the present disclosure;
  • the feature information may be biometric information, light information, temperature Values and the like, the embodiment of the present disclosure is not specifically limited.
  • biometric information for example, a fingerprint
  • the location where the user holds the terminal can be directly determined.
  • the feature information is the ray information, it can be determined whether the ray information is less than a preset threshold, and the ray information is less than the preset.
  • the area of the threshold is determined as the position where the user holds the terminal; when the feature information is the temperature value, it can be determined whether the temperature value is greater than or equal to the preset temperature threshold, and the area greater than or equal to the preset temperature threshold is determined as the user holding the terminal. position.
  • timing of implementing S206 can be, but is not limited to, the following three situations:
  • At least one display object is coordinate-converted according to a preset strategy to obtain target coordinates of at least one display object
  • Case 2 may include: after drawing the View hierarchy in the graphics buffer, the graphics buffer is handed over to the Surface Flinger service, and the Surface Flinger service performs coordinate transformation on at least one display object according to a preset policy. Obtaining the target coordinates of the at least one display object, and using the OpenGL graphics library API to render the drawn at least one display object of the graphics buffer into the hardware frame buffer according to the target coordinates.
  • Case 3 Before displaying the pixels of the frame buffer, performing coordinate transformation on at least one display object according to a preset strategy to obtain target coordinates of at least one display object;
  • the case 3 may include: when the upper layer of the system receives the display switching operation of the user through the screen of the terminal, the control command is first written in the bottom layer file of the core layer, that is, the graphic device file Graphics/fb0.
  • the preset strategy is invoked to perform coordinate transformation on at least one display object.
  • the strategy may be based on a preset coordinate axis.
  • the strategy of performing a symmetric transformation on the original coordinates, or a strategy of implementing a symmetric transformation on the original coordinates in the form of a coordinate correspondence table, is not specifically limited in the embodiment of the present disclosure.
  • S207 Control at least one application icon to display in target coordinates.
  • At least one application icon is directly displayed on the graphical user interface according to the target coordinates by using a direct access point.
  • the button 241 is a preset button for controlling at least one application icon flipping, when the at least one application icon is far from the right thumb of the user.
  • the processor acquires at least one application icon on the graphical user interface in response to the click operation, and at least one according to a preset strategy of symmetrically flipping about the coordinate axis 243 Applying an icon to perform coordinate transformation, obtaining target coordinates 241 of at least one application icon, and displaying at least one application icon according to the target coordinates 241.
  • the user can realize the target of controlling at least one application icon with one hand, so that the operation is simple and improved. User experience.
  • the control method provided in this embodiment firstly receives an operation from a user, and after determining that the terminal is in a bright screen state and the operation is a display switching operation, generates a corresponding control instruction; and then, in response to the control instruction, acquires a graphical user interface. At least one application icon; finally, according to a preset policy, at least one application icon is coordinate-transformed to obtain target coordinates of at least one application icon; at least one application icon is displayed according to the target coordinates, and at least one application icon is symmetrically switched and displayed The position realizes that the terminal can be manipulated with one hand only when the screen size of the terminal is large, which makes the use of the terminal more convenient and improves the user experience.
  • the present embodiment provides a control method. Referring to FIG. 3, the method further includes:
  • S301 Receive a gesture operation for the display object.
  • a user performs a gesture operation for implementing a display object function such as a click or a touch of a display object.
  • the gesture operation may be set by the user, or may be preset by the terminal, and is not specifically limited in the embodiment of the present disclosure.
  • the gesture operation may be set to click the application icon, indicating that the function of implementing the display object is to open the application; the gesture operation may be set to drag the application icon to indicate the function of implementing the display object. To move the location of the app icon; you can set the gesture action to long press the app icon, indicating that the function of implementing the display object is to uninstall the app.
  • the S302 may include: detecting, in response to the preset gesture operation, whether the rollover timer ends the timing, wherein the rollover timer is configured to limit the display time of the at least one display object in the graphical user interface. .
  • the display state of the display object is the flip state
  • the current display position of the display object is transformed according to a policy corresponding to the preset switching policy, and the original display position to the display object is obtained.
  • the policy corresponding to the preset switching policy is an inverse transformation of the preset switching policy.
  • the policy corresponding to the preset switching policy is a preset.
  • S304 Execute an operation instruction corresponding to the display object according to a preset correspondence between the original display position and the operation instruction.
  • the correspondence between the original display position and the operation instruction can be established by displaying the ID number of the object and the operation instruction.
  • the display object is an application icon
  • the preset gesture operation is a click
  • the operation instruction corresponding to the display object is executed, and the implemented function is to open the application; when the preset gesture operation is long press, the execution is performed.
  • the operation instruction corresponding to the display object is implemented by uninstalling the application.
  • the control method provided by the embodiment of the present disclosure firstly receives a gesture operation for a display object, and detects a display state of the display object in response to the gesture operation; if the display state is a reverse state, acquiring the display object according to the preset switching policy The original display position; then, according to the preset correspondence between the original display position and the operation instruction, the operation instruction corresponding to the display object is executed to implement the corresponding function, thus avoiding the misoperation problem that may occur in the one-hand operation, so that The user can accurately click on the display object to be controlled, and control the terminal in the state where the display object is flipped, thereby making the user more convenient to use.
  • the present embodiment provides a control device that can be applied to a terminal in one or more of the above embodiments.
  • the control device 40 includes: an obtaining unit 41 and a control unit 42, wherein the obtaining unit 41 is configured to obtain a control command;
  • the unit 42 is configured to control the display object to be switched from the current display position to the target display position according to the preset switching policy in response to the control command, wherein the target display position is symmetric with the current display position.
  • the obtaining unit is further configured to receive an operation from the user; to respond to the operation, to detect a current state of the terminal; if the terminal is in a bright state, determine whether the operation is a display switching operation; if the operation is to display a switching operation, generate a corresponding control instruction.
  • control unit is further configured to acquire the target reference coordinate; perform a symmetric transformation on the current display position based on the target reference coordinate to determine the target display position; and control the display object to be displayed on the target display position.
  • control unit is further configured to acquire the first coordinate corresponding to the current display position; perform axisymmetric transformation on the first coordinate by the symmetry axis, or perform central symmetric transformation on the first coordinate through the central symmetry point to obtain the target display position Corresponding second coordinates.
  • control unit is further configured to perform a symmetric transformation on the current display position based on the target reference coordinates before the rendering using the open graphics library OpenGL or before displaying the pixels of the frame buffer to determine the target display position.
  • control unit is further configured to: when the display object is an operable control on the graphical user interface displayed by the terminal, control other display objects other than the display object on the graphical user interface remain unchanged, and control the operable control at the target The display position is displayed.
  • control unit is further configured to obtain a symmetric flip parameter when the display object is a graphical user interface including an operable control displayed by the terminal, wherein the symmetric flip parameter is used to indicate a rotation direction and an angle corresponding to the position switch; A graphical user interface containing an operational control is rotated in the direction of rotation until the graphical user interface containing the operational control is switched from the current display position to the target display position.
  • control device further includes: a receiving unit, a detecting unit, an acquiring unit, and an executing unit, wherein the receiving unit is configured to receive a gesture operation for the display object; and the detecting unit is configured to respond to the gesture operation, Detecting the display state of the display object; the acquiring unit is configured to obtain the original display position of the display object according to the preset switching policy if the display state is the flip state; and the execution unit is set to correspond to the preset original display position and the operation instruction according to the preset Relationship, the operation instruction corresponding to the display object is executed.
  • control device further includes: a timing module configured to perform a flip timing; the control module is further configured to invoke a timing module to initiate a flip timing; and when the flip timing reaches a preset threshold, switch according to a preset The strategy controls the display object to switch back to the original display position display, wherein the original display position is the current display position; when the flip timing is not reached, the control display object remains displayed at the target display position.
  • an embodiment of the present disclosure provides a terminal that is consistent with a terminal in one or more of the above embodiments.
  • the terminal 50 includes: a processor 51 and a touch screen 52, wherein the processor is configured to obtain a control instruction; and in response to the control instruction, control the display object to switch from the current display position to the target display according to a preset switching policy.
  • the position is displayed on the touch screen, wherein the target display position is symmetrical with the current display position; the touch screen is set to display the display object.
  • the touch screen is further configured to receive an operation from the user; the processor is further configured to detect a current state of the touch screen in response to the operation; if the touch screen is in a bright screen state, determine whether the operation is a display switching operation; if the operation is a display switching operation , generate corresponding control instructions.
  • the processor is further configured to acquire the target reference coordinate; and based on the target reference coordinate, perform symmetric transformation on the current display position to determine the target display position; and control the display object to be displayed on the target display position.
  • the processor is further configured to acquire a first coordinate corresponding to the current display position; perform axisymmetric transformation on the first coordinate through the symmetry axis, or perform central symmetry transformation on the first coordinate through the central symmetry point to obtain the target display position Corresponding second coordinates.
  • the processor is further configured to perform a symmetric transformation on the current display position based on the target reference coordinates before the rendering of the open graphics library OpenGL or before displaying the pixels of the frame buffer to determine the target display position.
  • the processor is further configured to: when the display object is an operable control on the graphical user interface displayed by the terminal, control other display objects on the graphical user interface except the display object remain unchanged, and control the operable control at the target The display position is displayed.
  • the processor is further configured to: when the display object is a graphical user interface including an operable control displayed by the terminal, obtain a symmetric flip parameter, wherein the symmetric flip parameter is used to indicate a rotation direction and an angle corresponding to the position switch; A graphical user interface containing an operational control is rotated in the direction of rotation until the graphical user interface containing the operational control is switched from the current display position to the target display position.
  • the touch screen is further configured to receive a gesture operation for the display object; the processor is further configured to detect a display state of the display object in response to the gesture operation; and if the display state is a flip state, acquire the display object according to the preset switching policy The original display position; the operation instruction corresponding to the display object is executed according to the preset correspondence between the original display position and the operation instruction.
  • the processor is further configured to start the flip timing; when the flip timing reaches the preset threshold, according to the preset switching policy, the control display object is switched back to the original display position display, wherein the original display position is the current display position; When the flip timing is not reached, the control display object remains displayed at the target display position.
  • the processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), and a programmable At least one of a PLD (Programmable Logic Device), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor .
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • An embodiment of the present disclosure provides a control method, device, and terminal. After obtaining a control instruction, the control object is controlled to switch from a current display position to a target display position according to a preset switching policy, where the target display position is displayed. Symmetrical to the current display position. In this way, by switching the display object to the display position, it is possible to control the terminal with one hand only when the screen size of the terminal is large, so that the user is easy to operate and the user experience is improved.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM read only memory
  • the above-described integrated unit of the present disclosure may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present disclosure.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the present disclosure is applicable to the field of control to solve the problem of inconvenient screen manipulation in the prior art; and realizes that the terminal can be manipulated with one hand only when the screen size of the terminal is large, so that the user is easy to operate and the user experience is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A control method, an apparatus, a terminal and a computer storage medium, said method comprising: acquiring a control command (S101); responding to said control command, and according to a preset switching policy, controlling a display object to switch from a current display position to a target display position for display (S102), wherein said target display position is symmetrical to said current display position.

Description

控制方法、装置、计算机存储介质及终端Control method, device, computer storage medium and terminal 技术领域Technical field
本公开涉及控制领域,尤其涉及一种控制方法、装置、计算机存储介质及终端。The present disclosure relates to the field of control, and in particular, to a control method, apparatus, computer storage medium, and terminal.
背景技术Background technique
近年来,诸如智能手机、平板电脑、电子书阅读器等终端已经越来越多地使用包含有触控功能的外设来与用户进行交互。用户可以通过对触摸显示屏进行触控操作与终端进行交互。而随着手机屏幕的变大,用户往往无法对超出单手触摸范围的显示对象进行控制。In recent years, terminals such as smart phones, tablets, and e-book readers have increasingly used peripherals that include touch functions to interact with users. The user can interact with the terminal by performing a touch operation on the touch display. As the screen of the mobile phone becomes larger, the user often cannot control the display object beyond the one-hand touch range.
在一些情形下,为了解决上述问题,采用旋转机身的方式实现屏幕的翻转,进而完成显示对象的翻转,但是,采取这种方案会存在以下问题:首先,终端需要安装有重力感应装置,其次,机身的旋转角度不容易把握,可能出现误操作的情况。In some cases, in order to solve the above problem, the flipping of the screen is implemented by rotating the body, thereby completing the flipping of the display object. However, adopting such a scheme may have the following problems: First, the terminal needs to be equipped with a gravity sensing device, and secondly The rotation angle of the body is not easy to grasp, and misoperation may occur.
发明内容Summary of the invention
为解决现有存在的技术问题,本公开实施例提供一种控制方法、装置及终端,能够实现对终端图形用户界面的单手操作,方便用户操作,提高用户体验。To solve the existing technical problems, the embodiments of the present disclosure provide a control method, device, and terminal, which can implement one-hand operation on a graphical user interface of a terminal, facilitate user operations, and improve user experience.
为达到上述目的,本公开实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present disclosure is implemented as follows:
第一方面,本公开实施例提供一种控制方法,包括:获得控制指令;响应所述控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,所述目标显示位置与所述当前显示位置对称。In a first aspect, an embodiment of the present disclosure provides a control method, including: obtaining a control instruction; and in response to the control instruction, controlling a display object to be switched from a current display position to a target display position according to a preset switching policy, where The target display position is symmetrical with the current display position.
第二方面,本公开实施例提供一种控制装置,包括:获得单元以及控制单元,其中,所述获得单元,设置为获得控制指令;所述控制单元,设置为响应所述控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,所述目标显示位置与所述当前显示位置对称。In a second aspect, an embodiment of the present disclosure provides a control apparatus, including: an obtaining unit and a control unit, wherein the obtaining unit is configured to obtain a control instruction; and the control unit is configured to respond to the control instruction according to the pre- A switching strategy is set to control the display object to be switched from the current display position to the target display position display, wherein the target display position is symmetric with the current display position.
第三方面,本公开实施例提供一种终端,包括:处理器以及触摸屏,其中,所述处理器,设置为获得控制指令;响应所述控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置在所述触摸屏上显示,其中,所述目标显示位置与所述当前显示位置对称;所述触摸屏,设置为显示所述显示对象。In a third aspect, an embodiment of the present disclosure provides a terminal, including: a processor and a touch screen, wherein the processor is configured to obtain a control instruction; and in response to the control instruction, control a display object according to a preset switching policy The display position is switched to the target display position displayed on the touch screen, wherein the target display position is symmetrical with the current display position; and the touch screen is configured to display the display object.
第四方面,本公开实施例提供一种计算机存储介质,计算机存储介质存储有执行指令,所述执行指令用于执行上述的方法。In a fourth aspect, an embodiment of the present disclosure provides a computer storage medium, where a computer storage medium stores an execution instruction, where the execution instruction is used to execute the foregoing method.
附图说明DRAWINGS
图1A为本公开实施例一中的控制方法的第一种流程示意图;1A is a schematic diagram of a first process of a control method in Embodiment 1 of the present disclosure;
图1B为本公开实施例一中的显示对象的第一种示意图;1B is a first schematic diagram of a display object in the first embodiment of the present disclosure;
图1C为本公开实施例一中的显示对象的第二种示意图;1C is a second schematic diagram of a display object in the first embodiment of the present disclosure;
图1D为本公开实施例一中的显示对象切换显示位置的示意图; 1D is a schematic diagram of a display object switching display position in the first embodiment of the present disclosure;
图2A为本公开实施例二中的控制方法的流程示意图;2A is a schematic flowchart of a control method in Embodiment 2 of the present disclosure;
图2B为本公开实施例二中的对称轴的一种结构示意图;2B is a schematic structural view of an axis of symmetry in Embodiment 2 of the present disclosure;
图2C为本公开实施例二中的对称轴的另一种结构示意图;2C is another schematic structural view of an axis of symmetry in Embodiment 2 of the present disclosure;
图2D为本公开实施例二中的图形用户界面的示意图;2D is a schematic diagram of a graphical user interface in Embodiment 2 of the present disclosure;
图3为本公开实施例三中的控制方法的流程示意图;3 is a schematic flowchart of a control method in Embodiment 3 of the present disclosure;
图4为本公开实施例四中的控制装置的结构示意图;4 is a schematic structural diagram of a control device in Embodiment 4 of the present disclosure;
图5为本公开实施例五中的终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal in Embodiment 5 of the present disclosure.
具体实施方式detailed description
本公开实施例提供一种控制方法,该控制方法的执行主体为控制装置,该控制装置可以内置或者外接于一终端,在实际应用中,该终端可以为手机、平板电脑、电子书阅读器等具有触摸显示功能的设备,当然,也可以为其它,本公开实施例不做具体限定。The embodiment of the present disclosure provides a control method. The execution body of the control method is a control device, and the control device can be built in or externally connected to a terminal. In an actual application, the terminal can be a mobile phone, a tablet computer, an e-book reader, or the like. A device having a touch display function, of course, may be other, and is not specifically limited in the embodiment of the present disclosure.
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.
实施例一Embodiment 1
图1A为本公开实施例一中的控制方法的第一种流程示意图,参见图1A所示,该方法包括:1A is a first schematic flowchart of a control method in Embodiment 1 of the present disclosure. Referring to FIG. 1A, the method includes:
S101:获得控制指令;S101: Obtain a control instruction;
这里,上述控制指令,可以是由用户操作直接产生的,如当用户想要调整显示对象在触摸屏上的显示位置时,可以在终端上按下预设的组合按键,终端在检测到用户按下了预设的组合按键后,就会对应生成该控制指令。当然,还可以是其他方式产生的,如第三方应用调用产生的,这里,本公开实施例不做具体限定。Here, the above control command may be directly generated by a user operation. For example, when the user wants to adjust the display position of the display object on the touch screen, the preset combination button may be pressed on the terminal, and the terminal detects that the user presses the button. After the preset combination button is pressed, the control command is generated correspondingly. Of course, it may be generated by other methods, such as a third-party application call. Here, the embodiment of the present disclosure is not specifically limited.
在实际应用中,终端的操作系统在调用Surface Flinger服务过程中,注册监听器可以实时性或者周期性的监听该控制指令。In practical applications, the operating system of the terminal may listen to the control command in real time or periodically during the process of calling the Surface Flinger service.
在具体实施过程中,S101可以包括:接收来自用户的操作;响应该操作,检测终端当前的状态;如果终端处于亮屏状态,判断该操作是否为显示切换操作;如果操作为显示切换操作,生成对应的控制指令。In a specific implementation process, S101 may include: receiving an operation from a user; detecting the current state of the terminal in response to the operation; determining whether the operation is a display switching operation if the terminal is in a bright screen state; and generating a switching operation if the operation is a display switching operation Corresponding control commands.
这里,亮屏状态是指终端上的触摸屏、显示屏等处于点亮状态。Here, the bright screen state means that the touch screen, the display screen, and the like on the terminal are in a lighting state.
具体地,当用户想要调整显示对象的显示位置时,如用户单手操作终端无法触摸到终端最上端的应用图标时,用户可以在终端上完成显示切换操作,这样,在终端接收到来自用户的显示切换操作后,终端会先检查终端屏幕当前的状态,如果确定终端当前处于亮屏状态,那么,终端就可以确定用户想要调整显示对象的显示位置,此时,终端就会对应的生成该控制指令,以便终端按照用户需求调整显示对象的显示位置。Specifically, when the user wants to adjust the display position of the display object, such as when the user's one-hand operation terminal cannot touch the application icon at the top of the terminal, the user can complete the display switching operation on the terminal, so that the terminal receives the user from the user. After the display switching operation, the terminal first checks the current state of the terminal screen. If it is determined that the terminal is currently in the bright state, the terminal can determine that the user wants to adjust the display position of the display object. At this time, the terminal generates the corresponding Control instructions so that the terminal adjusts the display position of the display object according to user needs.
在实际应用中,上述显示切换操作可以是滑动操作,如在终端亮屏状态时在触摸屏滑动预设轨迹,也可以是按键操作,如在终端亮屏状态时同时按下“音量+键”和“关机键”、长按“返回键”,还可以是感应操作,如在终端亮屏状态时进行指纹识别、在终端亮屏状态 时遮挡距离传感器预设时长。当然,还可以是其他操作,如双击屏幕、长按屏幕、左右摇动终端、光线信息感应等,或者上述各种实施方式的结合等,这里,本公开实施例不做具体限定。In an actual application, the display switching operation may be a sliding operation, such as sliding a preset track on the touch screen when the terminal is in a bright screen state, or may be a button operation, such as pressing a “volume+key” simultaneously when the terminal is in a bright screen state. “Shutdown button” and long press “Back button”, it can also be induction operation, such as fingerprint recognition when the terminal is in bright state, and brightness on the terminal. The distance of the distance sensor is preset. Of course, other operations, such as double-clicking the screen, long-pressing the screen, shaking the terminal to the left and right, illuminating the information, and the like, or a combination of the above various embodiments, etc., are not specifically limited herein.
那么,示例性地,当终端检测到在亮屏状态时用户在触摸屏左侧垂直滑动预设轨迹后,可以生成用于指示以屏幕垂直中心轴进行轴对称变换的控制指令;当终端检测到用户同时按下“音量+键”和“关机键”,生成用于指示以屏幕中心进行中心对称变换的控制指令。Then, exemplarily, after the terminal detects that the user vertically slides the preset track on the left side of the touch screen when the terminal is in the bright screen state, a control instruction for indicating an axisymmetric transformation with the vertical center axis of the screen may be generated; when the terminal detects the user Simultaneously press "Volume + Key" and "Shutdown Key" to generate a control command for indicating a center-symmetric transformation at the center of the screen.
进一步地,该显示切换操作可以由用户根据需要自定义设置,也可以由终端的系统预设,本公开实施例不做具体限定。Further, the display switching operation may be customized by the user according to the needs, or may be preset by the system of the terminal, which is not specifically limited in the embodiment of the present disclosure.
S102:响应控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示。S102: In response to the control instruction, according to the preset switching policy, the control display object is switched from the current display position to the target display position display.
其中,目标显示位置与当前显示位置对称。The target display position is symmetric with the current display position.
这里,对称可以是指轴对称,也可以是指中心对称,本公开实施例不做具体限定。Here, the symmetry may refer to the axis symmetry, or may refer to the center symmetry, which is not specifically limited in the embodiment of the present disclosure.
具体地,终端在获得了控制指令后,就可以按照预设切换策略,来控制显示对象由当前显示位置切换至目标显示位置显示。Specifically, after obtaining the control instruction, the terminal may control the display object to be switched from the current display position to the target display position according to the preset switching policy.
具体地,上述显示对象可以为终端屏幕显示的图形用户界面上的可操作控件,如在图形用户界面上显示的应用图标、虚拟操作键以及文本编辑框等用户可操作的显示内容,示例性地,参见图1B所示的系统图形用户界面上的所有应用图标;也可以是终端屏幕显示的包含有可操作控件的图形用户界面,如包含应用图标、虚拟操作键或文本编辑框等的图形用户界面,示例性地,参见图1C所示应用程序的一个窗口131;当然,还可以是其它显示内容,这里,本公开实施例不做具体限定。Specifically, the display object may be an operable control on a graphical user interface displayed on the terminal screen, such as an application icon, a virtual operation key, and a text edit box displayed on the graphical user interface, such as user-operable display content, exemplarily See all application icons on the system graphical user interface shown in FIG. 1B; or a graphical user interface including an operational control displayed on the terminal screen, such as a graphical user including an application icon, a virtual operation key, or a text edit box. For example, the window of the application shown in FIG. 1C is shown in FIG. 1C; of course, other display contents may be used.
需要说明的是,在本公开实施例中,上述显示对象由当前显示位置切换至目标显示位置显示是指在终端显示方向不变的情况下切换显示位置。例如,仍然参见图1B所示,终端在竖屏显示模式下,系统图形用户界面的左上角区域内的显示对象,切换至如图1D所示系统图形用户界面的右下角区域,此时,终端的显示模式不变,仍为竖屏显示模式,与现有技术中的显示旋转模式不同。It should be noted that, in the embodiment of the present disclosure, the switching of the display object from the current display position to the target display position means that the display position is switched when the display direction of the terminal is unchanged. For example, still referring to FIG. 1B, in the vertical screen display mode, the display object in the upper left corner area of the system graphical user interface is switched to the lower right corner area of the system graphical user interface as shown in FIG. 1D. At this time, the terminal The display mode remains unchanged, and is still in the portrait display mode, which is different from the display rotation mode in the prior art.
在具体实施过程中,为了实现显示位置的对称切换,S102可以包括:获取目标参考坐标;基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置;控制显示对象显示于目标显示位置。In a specific implementation process, in order to achieve symmetric switching of the display position, S102 may include: acquiring target reference coordinates; performing symmetric transformation on the current display position based on the target reference coordinates to determine a target display position; and controlling the display object to be displayed at the target display position.
这里,目标参考坐标可以为对称轴,也可以为中心对称点,当然,还可以为其它,本公开不做具体限定。Here, the target reference coordinate may be a symmetry axis or a center symmetry point. Of course, it may be other, and the disclosure is not specifically limited.
相应地,终端对显示对象的当前显示位置进行的对称变换就可以为轴对称变化、中心对称变换。Correspondingly, the symmetric transformation of the current display position of the display object by the terminal may be an axisymmetric change or a center symmetric transformation.
那么,上述基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置,可以包括:获取当前显示位置对应的第一坐标;通过对称轴将第一坐标进行轴对称变换,或者,通过中心对称点将第一坐标进行中心对称变换,获得目标显示位置对应的第二坐标。Then, based on the target reference coordinate, the current display position is symmetrically transformed, and determining the target display position may include: acquiring the first coordinate corresponding to the current display position; performing the axisymmetric transformation on the first coordinate through the symmetry axis, or passing through the center The symmetry point performs a central symmetric transformation on the first coordinate to obtain a second coordinate corresponding to the target display position.
在实际应用中,终端在获取目标参考坐标后,可以根据目标参考坐标,将显示对象的当 前显示位置对应的第一坐标进行对称变换,获得目标显示位置对应的第二坐标。示例性地,终端可以通过对称轴来将当前显示位置所对应的第一坐标进行轴对称变换,得到与第一坐标相对称的第二坐标;也可以通过中心对称点来将当前显示位置所对应的第一坐标进行中心对称变换,得到与第一坐标相对称的第二坐标。当然,还可以为其它,本公开不做具体限定。In practical applications, after acquiring the target reference coordinates, the terminal may display the object according to the target reference coordinates. The first coordinate corresponding to the front display position is symmetrically transformed, and the second coordinate corresponding to the target display position is obtained. Exemplarily, the terminal may perform axisymmetric transformation on the first coordinate corresponding to the current display position by using the axis of symmetry to obtain a second coordinate symmetrical with the first coordinate; or may correspond to the current display position by the central symmetric point. The first coordinate is subjected to a central symmetric transformation to obtain a second coordinate symmetrical to the first coordinate. Of course, other things may be used, and the disclosure is not specifically limited.
在本公开其他实施例中,上述基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置,可以包括:在使用开放图形库OpenGL渲染前或者在将帧缓冲区的像素显示前,基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置。In other embodiments of the present disclosure, the foregoing performing symmetric transformation on the current display position based on the target reference coordinates to determine the target display position may include: before rendering using the open graphics library OpenGL or before displaying the pixels of the frame buffer, based on The target reference coordinates are symmetrically transformed with the current display position to determine the target display position.
具体地,实施对称变换的时机可以是在使用开放图形库OpenGL渲染前,也可以是在将帧缓冲区的像素显示前,当然还可以是其他情况,这里,本公开实施例不做具体限定。Specifically, the timing of performing the symmetric transformation may be before the rendering using the open graphics library OpenGL, or before the pixel of the frame buffer is displayed, and of course, other situations may be used. Here, the embodiment of the present disclosure is not specifically limited.
在具体实施过程中,根据显示对象类型的不同,上述控制显示对象显示于目标显示位置,可以包括但不局限于以下两种实现方式:In a specific implementation process, the foregoing control display object is displayed on the target display location according to the type of the display object, and may include, but is not limited to, the following two implementation manners:
第一种,显示对象为图形用户界面上的可操作控件。First, the display object is an actionable control on the graphical user interface.
在实际应用中,假设导致用户操作不方便的原因,是应用图标、虚拟操作键等可操作控件的显示位置处于显示区域中的不可控区域,而不是承载这些应用图标、虚拟操作键等可操作控件的图形用户界面的显示位置的不合适,此时,可以将需要切换显示位置的显示对象仅确定为用户可操作的显示内容,如应用图标、虚拟操作键等可操作控件。In practical applications, it is assumed that the user is inconvenient to operate, that is, the display position of the operable control such as the application icon and the virtual operation key is in an uncontrollable area in the display area, instead of carrying the application icons, virtual operation keys, etc. The display position of the graphical user interface of the control is not suitable. At this time, the display object that needs to switch the display position can be determined only as the display content that the user can operate, such as an operation icon such as an application icon or a virtual operation key.
那么,在具体实施过程中,上述控制显示对象显示于目标显示位置可以包括:当显示对象为终端屏幕显示的图形用户界面上的可操作控件时,控制图形用户界面上除显示对象外的其他显示对象保持不变,并控制可操作控件在目标显示位置显示。Then, in a specific implementation process, displaying the foregoing control display object in the target display location may include: controlling the display on the graphical user interface other than the display object when the display object is an operable control on the graphical user interface displayed on the terminal screen The object remains the same and controls the actionable controls to be displayed at the target display position.
这里,可操作控件是指应用图标、虚拟操作键、文本编辑框等在图形用户界面上显示的用户可操作的显示内容。Here, the operable control refers to a user-operable display content displayed on the graphical user interface, such as an application icon, a virtual operation key, a text edit box, and the like.
具体地,当显示对象为可操作控件时,终端就可以采用控制图形用户界面上除显示对象外的其他显示对象保持不变,仅仅切换可操作控件在用户图形界面上显示位置的方式,来实现将显示对象从当前显示位置切换至目标显示位置。也就是说,在这种情况下,作为图形用户界面上除显示对象外的其他显示对象在可操作控件切换显示位置之前,以及在可操作控件切换显示位置之后,显示位置是没有发生改变的。发生改变的是可操作控件的显示位置。Specifically, when the display object is an operable control, the terminal can control the display object on the graphical user interface except that the display object remains unchanged, and only switches the operable control to display the position on the user graphical interface. Switches the display object from the current display position to the target display position. That is to say, in this case, the display position other than the display object on the graphical user interface is changed before the operable control switches the display position, and after the operable control switches the display position, the display position is not changed. What changes are the display position of the operational controls.
第二种,显示对象为包含有可操作控件的图形用户界面。Second, the display object is a graphical user interface that contains actionable controls.
在实际应用中,假设导致用户操作不方便的直接原因,是图形用户界面的显示位置处于显示区域中的不可控区域,此时,就可以将需要切换显示位置的显示对象确定为包含有用户可操作的显示内容的图形用户界面,如应用弹窗。In practical applications, it is assumed that the direct cause of inconvenience to the user is that the display position of the graphical user interface is in an uncontrollable area in the display area. At this time, the display object that needs to switch the display position may be determined to include the user. A graphical user interface that manipulates the display content, such as an application popup.
那么,在本公开其他实施例中,上述控制显示对象显示于目标显示位置可以包括:当显示对象为终端屏幕显示的包含可操作控件的图形用户界面时,获取对称翻转参数,其中,对称翻转参数用于指示进行位置切换所对应的旋转方向及角度;将包含可操作控件的图形用户界面以旋转方向旋转上述角度,直至由当前显示位置切换至目标显示位置来显示。Then, in other embodiments of the present disclosure, displaying the control display object in the target display position may include: acquiring a symmetric flip parameter when the display object is a graphical user interface including an operable control displayed on the terminal screen, wherein the symmetric flip parameter It is used to indicate the rotation direction and angle corresponding to the position switching; the graphical user interface including the operable control is rotated in the rotation direction by the above angle until the current display position is switched to the target display position.
在实际应用中,上述旋转方向可以是顺时针方向,也可以是逆时针方向;上述角度可以为90°、180°、270°等,这里,本公开实施例不做具体限定。 In an actual application, the rotation direction may be a clockwise direction or a counterclockwise direction; the angle may be 90°, 180°, 270°, etc., and the embodiment of the present disclosure is not specifically limited.
在实际应用中,当显示对象为包含可操作控件的图形用户界面时,终端可以按照预设旋转方向旋转一定角度的方式,来实现切换显示对象的显示位置。也就是说,在这种情况下,图形用户界面及其包含的所有显示对象显示位置在切换前后是发生改变的。In an actual application, when the display object is a graphical user interface including an operable control, the terminal can switch the display position of the display object by rotating a certain angle according to a preset rotation direction. That is to say, in this case, the graphical user interface and all display object display positions contained therein are changed before and after the switching.
在本公开另一实施例中,在S102之后,上述方法还包括:启动翻转定时;当翻转定时达到预设阈值时,根据预设切换策略,控制显示对象切换回原始显示位置显示;当翻转定时未达到时,控制显示对象保持在目标显示位置显示。In another embodiment of the present disclosure, after the step S102, the method further includes: starting the flip timing; when the flip timing reaches the preset threshold, controlling the display object to switch back to the original display position display according to the preset switching policy; When it is not reached, the control display object remains displayed at the target display position.
这里,原始显示位置是指切换显示之前的显示对象所在的显示位置,目标显示位置是指切换显示之后显示对象所在的显示位置。Here, the original display position refers to the display position where the display object before the display is switched, and the target display position refers to the display position where the display object is located after the display is switched.
这里,翻转定时用于限定显示对象的显示位置的切换显示的时长,可以由用户根据需要来设定,也可以终端系统来设定,具体地,翻转定时的时长可以为1s、3s、5s等,本公开实施例不做具体限定。Here, the flip timing is used to limit the duration of the switching display of the display position of the display object, and may be set by the user as needed, or may be set by the terminal system. Specifically, the time of the flip timing may be 1 s, 3 s, 5 s, etc. The embodiment of the present disclosure is not specifically limited.
具体地,为了表示翻转定时结束或者即将结束,可以设定一个预设阈值,如0s、1s、3s等,本公开实施例不做具体限定。Specifically, in order to indicate that the inversion timing is ended or is about to end, a preset threshold may be set, such as 0s, 1s, 3s, etc., which is not specifically limited in the embodiment of the present disclosure.
在实际应用中,为了提高用户体验,给用户预留足够操作时间,同时在用户操作结束后可以以原显示方式来显示,可以设定一个翻转定时,当终端检测到翻转定时结束时,终端就可以将显示对象的显示位置自动切换回原始的显示位置,即切换显示之前的显示位置,而当翻转定时未结束时,要保持以切换后的显示位置,即切换前的目标显示位置来显示,以便用户进行相关操作。In practical applications, in order to improve the user experience, sufficient operation time is reserved for the user, and at the same time, after the user operation is finished, the original display mode can be displayed, and a flip timing can be set. When the terminal detects that the flip timing is over, the terminal The display position of the display object can be automatically switched back to the original display position, that is, the display position before the display is switched, and when the flip timing is not finished, the display position after the switching, that is, the target display position before the switching, is displayed. So that users can do related operations.
至此,便完成了对显示对象的显示位置的切换控制。At this point, the switching control of the display position of the display object is completed.
本实施例提供的控制方法,在获得控制指令后,就会响应控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,目标显示位置与当前显示位置相对称。通过将显示对象的显示位置进行对称切换,实现了在终端屏幕尺寸较大的情况下,仍然能够单手操控终端,使得使用终端更加方便,提高了用户体验。The control method provided by the embodiment, after obtaining the control instruction, responds to the control command, and controls the display object to be switched from the current display position to the target display position according to the preset switching policy, wherein the target display position is compared with the current display position. symmetry. By symmetrically switching the display position of the display object, it is possible to control the terminal with one hand only when the screen size of the terminal is large, which makes the use of the terminal more convenient and improves the user experience.
实施例二Embodiment 2
基于上述实施例,本实施例提供一种控制方法,应用于以下实际场景中。示例性地,假设需要控制的显示对象为终端屏幕显示的图形用户界面上的某一应用图标。这里,仍然参见图1B所示,假设用户需要切换系统桌面上的应用A对应的应用图标121的显示位置,以便通过点击该应用图标121登陆应用A,同时,假设应用B对应的应用图标122的位于用户可控区域内。那么,这里需要控制的显示对象就是终端屏幕显示的图形用户界面上的应用图标。Based on the foregoing embodiment, this embodiment provides a control method, which is applied to the following actual scenarios. Illustratively, assume that the display object that needs to be controlled is an application icon on the graphical user interface displayed by the terminal screen. Here, still referring to FIG. 1B, it is assumed that the user needs to switch the display position of the application icon 121 corresponding to the application A on the system desktop, so as to log in to the application A by clicking the application icon 121, and assume that the application icon 122 corresponding to the application B is Located in the user controllable area. Then, the display object that needs to be controlled here is the application icon on the graphical user interface displayed on the terminal screen.
下面详细地说明切换应用A在系统用户界面上的显示位置的过程。The process of switching the display position of the application A on the system user interface is explained in detail below.
图2A为本公开实施例二中的控制方法的流程示意图,参见图2A所示,该方法包括:2A is a schematic flowchart of a control method in Embodiment 2 of the present disclosure. Referring to FIG. 2A, the method includes:
S201:接收来自用户的操作;S201: receiving an operation from a user;
S202:响应操作,检测终端当前的状态;S202: responsive to the operation, detecting a current state of the terminal;
这里,在获得了来自用户的操作后,终端首先会判断自身当前的状态,如果处于亮屏状态,表明接收到用户的操作,而非接收到用户的误操作。 Here, after obtaining the operation from the user, the terminal first determines its current state, and if it is in the bright state, it indicates that the user's operation is received, instead of receiving the user's erroneous operation.
S203:如果终端处于亮屏状态,判断操作是否为显示切换操作;S203: If the terminal is in a bright screen state, determine whether the operation is a display switching operation;
这里,在确定终端处于亮屏状态后,终端就可以判断所上述操作是否为显示切换操作,如果是的话,就可以执行S204,否则,结束。Here, after determining that the terminal is in a bright screen state, the terminal can determine whether the above operation is a display switching operation, and if so, execute S204, otherwise, end.
S204:如果操作为显示切换操作,生成对应的控制指令;S204: If the operation is to display a switching operation, generate a corresponding control instruction;
这里,当终端确定所获得的操作为显示切换操作后,就会生成对应的控制指令,以便控制图形用户界面上至少一个应用图标切换显示位置。Here, when the terminal determines that the obtained operation is a display switching operation, a corresponding control instruction is generated to control at least one application icon on the graphical user interface to switch the display position.
S205:响应控制指令,获取终端显示的图形用户界面上至少一个应用图标;S205: Acquire at least one application icon on the graphical user interface displayed by the terminal in response to the control instruction;
这里,至少一个应用图标可以为终端显示的图形用户界面上预设的与该显示切换操作对应的的部分显示区域或者全部区域中包含的应用图标,本公开实施例不做具体限定;例如,当显示切换操作为在终端亮屏状态下点击或者长按设置在终端上的指纹识别按钮时,假设预设的与该显示切换操作对应的应用图标为终端显示的图形用户界面上全部区域中包含的应用图标,则上述至少一个应用图标为终端显示的图形用户界面上的全部区域中包含的应用图标;或者,当显示切换操作为终端显示的图形用户界面上某一个应用图标时,假设与该显示切换操作对应的应用图标为图形用户界面上以该应用图标为参考点,预设区域范围内所包含的应用图标,则上述至少一个应用图标为预设区域范围内包含的应用图标。Here, the at least one application icon may be an application icon included in the partial display area or the entire area corresponding to the display switching operation preset on the graphic user interface displayed by the terminal, which is not specifically limited in the embodiment of the present disclosure; for example, when When the display switching operation is to click or long press the fingerprint identification button set on the terminal in the bright state of the terminal, it is assumed that the preset application icon corresponding to the display switching operation is included in all areas of the graphical user interface displayed by the terminal. Applying the icon, the at least one application icon is an application icon included in all areas on the graphic user interface displayed by the terminal; or, when the display switching operation is an application icon on the graphic user interface displayed by the terminal, the display is assumed to be The application icon corresponding to the switching operation is an application icon included in the preset area, and the at least one application icon is an application icon included in the preset area.
上述,预设区域范围可以自定义设置,例如,当预设区域范围内包含n个应用图标时,则上述至少一个应用图标为这n个应用图标,n为大于或等于1的整数。In the above, the preset area range may be customized. For example, when the preset area includes n application icons, the at least one application icon is the n application icons, and n is an integer greater than or equal to 1.
在实际应用中,获取终端显示的图形用户界面上至少一个应用图标还可以包括获取至少一个应用图标的属性信息。In an actual application, acquiring at least one application icon on the graphical user interface displayed by the terminal may further include acquiring attribute information of the at least one application icon.
这里,上述属性信息包括:至少一个应用图标在图形用户界面上的横坐标值、纵坐标值、至少一个应用图标的宽度和至少一个应用图标的高度等。Here, the attribute information includes: an abscissa value of the at least one application icon on the graphical user interface, an ordinate value, a width of the at least one application icon, a height of the at least one application icon, and the like.
S206:按照预设策略,对至少一个应用图标在图形用户界面中进行坐标变换,获得至少一个应用图标的目标坐标;S206: Perform coordinate transformation on the at least one application icon in the graphical user interface according to the preset policy, to obtain target coordinates of the at least one application icon;
这里,对至少一个应用图标进行的坐标变换就可以为轴对称变换、中心对称变换。当然,还可以为其它,本公开不做具体限定。Here, the coordinate transformation performed on the at least one application icon may be an axisymmetric transformation or a central symmetric transformation. Of course, other things may be used, and the disclosure is not specifically limited.
在本公开其它实施例中,上述预设策略可以但不限于以下几种方式实施,本公开实施例不做具体限定:In other embodiments of the present disclosure, the foregoing preset policy may be implemented in the following manners, and is not specifically limited in the embodiment of the present disclosure:
方式1、对至少一个应用图标按照预设的对称轴进行坐标变换,获得至少一个应用图标的目标坐标。Method 1. Perform coordinate transformation on at least one application icon according to a preset symmetry axis to obtain target coordinates of at least one application icon.
具体地说,当将至少一个应用图标按照对称轴进行翻转时,对称轴可以为系统预设的一个或者多个两种情况,本公开实施例不做具体限定:Specifically, when the at least one application icon is reversed according to the symmetry axis, the symmetry axis may be one or more of the presets of the system, and the embodiment of the present disclosure is not specifically limited:
情况1、当预设的对称轴为一个时,将至少一个应用图标按照预设的对称轴进行坐标变换,获得至少一个应用图标的目标坐标,例如,图形用户界面的横对称轴或者纵对称轴,如图2B所示,图形用户界面中预设对称轴221和对称轴222,当预设的对称轴为纵对称轴221时,假设至少一个应用图标的原始坐标点A沿纵对称轴221翻转,得到坐标点B,则坐标点B为至少一个应用图标的目标坐标;当预设的对称轴为横对称轴222时,则原始坐标点A沿 横对称轴222翻转,得到坐标点C,则坐标点C为至少一个应用图标的目标坐标。Case 1. When the preset symmetry axis is one, at least one application icon is coordinate-converted according to a preset symmetry axis to obtain target coordinates of at least one application icon, for example, a horizontal symmetry axis or a vertical symmetry axis of the graphical user interface. As shown in FIG. 2B, the symmetry axis 221 and the symmetry axis 222 are preset in the graphical user interface. When the preset symmetry axis is the symmetry axis 221, it is assumed that the original coordinate point A of at least one application icon is flipped along the vertical symmetry axis 221. , obtaining coordinate point B, then coordinate point B is the target coordinate of at least one application icon; when the preset symmetry axis is the horizontal symmetry axis 222, then the original coordinate point A is The transverse axis of symmetry 222 is flipped to obtain a coordinate point C, and the coordinate point C is the target coordinate of at least one application icon.
情况2、当预设的对称轴为多个时,需要首先确定用于将至少一个应用图标进行翻转的预设的对称轴;然后将至少一个应用图标按照预设的对称轴进行翻转。Case 2. When there are a plurality of preset symmetry axes, it is necessary to first determine a preset symmetry axis for flipping at least one application icon; then at least one application icon is flipped according to a preset symmetry axis.
在实际应用中,确定用于将至少一个应用图标进行翻转的预设的对称轴可以根据用户的选择进行确定,也可以由系统根据预设策略设置,本公开实施例不做具体限定。In an actual application, the preset symmetry axis for inverting the at least one application icon may be determined according to the user's selection, or may be set by the system according to the preset policy, which is not specifically limited in the embodiment of the present disclosure.
为确定用于将至少一个应用图标进行翻转的预设的对称轴,S206可以但不限于以下两种方式实施,本公开实施例不做具体限定:In order to determine a preset axis of symmetry for inverting at least one application icon, S206 may be implemented in the following two manners, and is not specifically limited in the embodiment of the present disclosure:
(1)当控制至少一个应用图标预设操作为预设的滑动操作时,S206可以包括:获取预设操作的起点坐标和终点坐标;根据起点坐标和终点坐标,确定对应的目标参考坐标;按照目标参考坐标,对至少一个应用图标进行对称变换。(1) When controlling at least one application icon preset operation as a preset sliding operation, S206 may include: acquiring a starting point coordinate and an ending point coordinate of the preset operation; determining a corresponding target reference coordinate according to the starting point coordinate and the ending point coordinate; Target reference coordinates, symmetric transformation of at least one application icon.
这里,首先,终端判断起点坐标和终点坐标是否相同,当起点坐标和终点坐标不相同时,获取起点坐标和终点坐标之间的连线,判断连线在图形用户界面内的延长线是否与纵轴相交,其中,如果连线在图形用户界面内的延长线与纵轴相交时,则将图形用户界面上预设的纵对称轴确定为用于将至少一个应用图标进行翻转的预设的对称轴;如果连线在图形用户界面内的延长线不与纵轴相交时,则将图形用户界面上预设的横对称轴确定为用于将至少一个应用图标进行翻转的预设的对称轴;将至少一个应用图标进行纵坐标变换,获得至少一个应用图标的目标坐标。例如,如图2C所示,假设起点为E,终点为F时,起点E和终点F的连线的延长线与纵轴相交,则将图形用户界面上预设的纵对称轴231确定为用于将至少一个应用图标进行翻转的预设的对称轴,将至少一个应用图标进行坐标变换,获得至少一个应用图标的目标坐标E1;假设起点为E,终点为G时,起点E和终点F的连线的延迟线不与纵轴相交,则将图形用户界面上预设的横对称轴232确定为用于将至少一个应用图标进行翻转的预设的对称轴,将至少一个应用图标进行坐标变换,获得至少一个应用图标的目标坐标E2。Here, first, the terminal determines whether the start point coordinate and the end point coordinate are the same. When the start point coordinate and the end point coordinate are not the same, the connection between the start point coordinate and the end point coordinate is obtained, and it is determined whether the extension line of the connection in the graphical user interface is vertical or not. The axes intersect, wherein if the extension line intersects the vertical axis in the graphical user interface, the predetermined vertical axis of symmetry on the graphical user interface is determined as a preset symmetry for flipping at least one application icon An axis; if the extension line of the connection in the graphical user interface does not intersect the vertical axis, determining a horizontal axis of symmetry preset on the graphical user interface as a preset axis of symmetry for flipping at least one application icon; At least one application icon is subjected to ordinate transformation to obtain target coordinates of at least one application icon. For example, as shown in FIG. 2C, assuming that the starting point is E and the ending point is F, the extension of the line connecting the starting point E and the ending point F intersects the vertical axis, and the vertical axis of symmetry 231 preset on the graphical user interface is determined to be used. And at least one application icon is coordinate-transformed to obtain a target coordinate E1 of at least one application icon; assuming that the starting point is E, the ending point is G, and the starting point E and the ending point F are performed on the preset symmetry axis that flips the at least one application icon. If the connected delay line does not intersect the vertical axis, the horizontal axis of symmetry 232 preset on the graphical user interface is determined as a preset axis of symmetry for flipping at least one application icon, and at least one application icon is coordinate-transformed. , obtaining the target coordinate E2 of at least one application icon.
(2)S206也可以包括:检测图形用户界面的显示方向,将与显示方向平行的预设的对称轴确定为第一对称翻转参数;例如,假设图形用户界面的原点坐标在图形用户界面的左下角,则图形用户界面的横对称轴为x=4.8,纵对称轴为y=3.2,图形用户界面为横屏显示,则确定用于将至少一个应用图标进行翻转的预设的对称轴为x=4.8;当图形用户界面为竖屏显示时,则确定用于将至少一个应用图标进行翻转的预设的对称轴为y=3.2。(2) S206 may further include: detecting a display direction of the graphical user interface, and determining a preset symmetry axis parallel to the display direction as the first symmetric flip parameter; for example, assuming that the origin coordinate of the graphical user interface is at the lower left of the graphical user interface. Angle, the horizontal axis of symmetry of the graphical user interface is x=4.8, the vertical axis of symmetry is y=3.2, and the graphical user interface is horizontally displayed, then the preset symmetry axis for flipping at least one application icon is determined to be x. =4.8; When the graphical user interface is displayed in portrait orientation, it is determined that the preset axis of symmetry for flipping at least one of the application icons is y=3.2.
在实际应用中,图形用户界面的显示方向可以采用方向感应器检测,当然,也可以为其它检测方法,本公开实施例不做具体限定。In a practical application, the display direction of the graphical user interface may be detected by using a direction sensor. Of course, other detection methods may also be used, which are not specifically limited in the embodiment of the present disclosure.
方式2、将至少一个应用图标沿图形用户界面的坐标轴进行平移,获得至少一个应用图标的目标坐标。Method 2: Translating at least one application icon along a coordinate axis of the graphical user interface to obtain target coordinates of at least one application icon.
这里,图形用户界面的坐标轴是以图形用户界面左下角的点为原点的坐标系中的坐标轴。Here, the coordinate axis of the graphical user interface is the coordinate axis in the coordinate system whose origin is the point in the lower left corner of the graphical user interface.
在实际应用中,上述方式2可以包括:采集图形用户界面上的特征信息;根据特征信息,确定用户握持终端的位置;将距离用户握持终端的位置小于预设距离阈值的坐标确定为至少 一个应用图标的目标坐标。例如,假设图形用户界面的原点坐标在图形用户界面的左下角,用户握持终端的位置信息为(5,0),至少一个应用图标的位置信息为(8,5),预设距离阈值为3,则满足方程(x-5)2-y2<3的坐标确定为至少一个应用图标的目标坐标。In an actual application, the foregoing manner 2 may include: collecting feature information on the graphical user interface; determining, according to the feature information, a location where the user holds the terminal; and determining, according to the feature that the position of the user holding the terminal is less than a preset distance threshold, at least The target coordinates of an app icon. For example, suppose the origin coordinates of the graphical user interface are in the lower left corner of the graphical user interface, the position information of the user holding the terminal is (5, 0), the position information of at least one application icon is (8, 5), and the preset distance threshold is 3, the coordinates satisfying the equation (x-5) 2-y2<3 are determined as the target coordinates of at least one application icon.
这里,预设距离阈值可以由用户根据控制预设操作的手指的长度自定义设置,也可以由系统预设,本公开实施例不做具体限定;特征信息可以为生物特征信息、光线信息、温度值等,本公开实施例不做具体限定。例如,当特征信息为生物特征信息(例如,指纹)时,可以直接确定用户握持终端的位置;当特征信息为光线信息时,可以判断光线信息是否小于预设阈值,将光线信息小于预设阈值的区域确定为用户握持终端的位置;当特征信息为温度值时,可以判断温度值是否大于或等于预设温度阈值,将大于或等于预设温度阈值的区域确定为用户握持终端的位置。Here, the preset distance threshold may be customized by the user according to the length of the finger that controls the preset operation, or may be preset by the system, and is not specifically limited in the embodiment of the present disclosure; the feature information may be biometric information, light information, temperature Values and the like, the embodiment of the present disclosure is not specifically limited. For example, when the feature information is biometric information (for example, a fingerprint), the location where the user holds the terminal can be directly determined. When the feature information is the ray information, it can be determined whether the ray information is less than a preset threshold, and the ray information is less than the preset. The area of the threshold is determined as the position where the user holds the terminal; when the feature information is the temperature value, it can be determined whether the temperature value is greater than or equal to the preset temperature threshold, and the area greater than or equal to the preset temperature threshold is determined as the user holding the terminal. position.
在实际应用中,实施S206的时机可以但不限于下列三种情况:In practical applications, the timing of implementing S206 can be, but is not limited to, the following three situations:
情况1、在系统上层应用中,在每个应用显示过程中,对ondraw()方法进行重写,按照预设策略,将至少一个显示对象进行坐标变换,达到对至少一个显示对象的翻转显示效果;Case 1. In the upper layer application of the system, in the process of displaying each application, the ondraw() method is rewritten, and at least one display object is coordinate-converted according to a preset strategy to achieve a flip display effect on at least one display object. ;
情况2、在OpenGL图形库API渲染前,按照预设策略,将至少一个显示对象进行坐标变换,获得至少一个显示对象的目标坐标;Case 2: Before the OpenGL graphics library API is rendered, at least one display object is coordinate-converted according to a preset strategy to obtain target coordinates of at least one display object;
在实际应用中,情况2可以包括:在图形缓冲区绘制好View层次结构后,图形缓冲区会被交给Surface Flinger服务,而Surface Flinger服务按照预设策略,将至少一个显示对象进行坐标变换,获得至少一个显示对象的目标坐标,使用OpenGL图形库API来将这个图形缓冲区的绘制好的至少一个显示对象按照目标坐标渲染到硬件帧缓冲区中。In practical applications, Case 2 may include: after drawing the View hierarchy in the graphics buffer, the graphics buffer is handed over to the Surface Flinger service, and the Surface Flinger service performs coordinate transformation on at least one display object according to a preset policy. Obtaining the target coordinates of the at least one display object, and using the OpenGL graphics library API to render the drawn at least one display object of the graphics buffer into the hardware frame buffer according to the target coordinates.
情况3、将帧缓冲区的像素显示前,按照预设策略,将至少一个显示对象进行坐标变换,获得至少一个显示对象的目标坐标;Case 3: Before displaying the pixels of the frame buffer, performing coordinate transformation on at least one display object according to a preset strategy to obtain target coordinates of at least one display object;
在实际应用中,情况3可以包括:当系统上层通过终端的屏幕接收到用户的显示切换操作后,先在核心层的底层文件,也就是图形设备文件Graphics/fb0中写入控制指令。当核心层在图像显示过程中先查询该底层文件,确认需要对称变换显示位置时,调用该预设的策略,将至少一个显示对象进行坐标变换,这里,该策略可以是根据预设坐标轴的形式将原始坐标进行对称变换的策略,也可以坐标对应表的形式实现对原始坐标的对称变换的策略,本公开实施例不做具体限定。In an actual application, the case 3 may include: when the upper layer of the system receives the display switching operation of the user through the screen of the terminal, the control command is first written in the bottom layer file of the core layer, that is, the graphic device file Graphics/fb0. When the core layer first queries the underlying file in the image display process, and confirms that the display position needs to be symmetrically transformed, the preset strategy is invoked to perform coordinate transformation on at least one display object. Here, the strategy may be based on a preset coordinate axis. The strategy of performing a symmetric transformation on the original coordinates, or a strategy of implementing a symmetric transformation on the original coordinates in the form of a coordinate correspondence table, is not specifically limited in the embodiment of the present disclosure.
S207:控制至少一个应用图标以目标坐标进行显示。S207: Control at least one application icon to display in target coordinates.
在实际应用中,获得目标坐标后,按照目标坐标将至少一个应用图标采用直接存取的快速写点方式直接在图形用户界面上显示。In the actual application, after the target coordinates are obtained, at least one application icon is directly displayed on the graphical user interface according to the target coordinates by using a direct access point.
在实际应用中,如图2D所示的终端触摸屏的图形用户界面,假设按钮241为预设的用于控制至少一个应用图标翻转的按钮,当该至少一个应用图标在离用户右手大拇指较远的原始坐标242处;此时,当用户点击按钮244时,处理器响应该点击操作,获取图形用户界面上的至少一个应用图标,按照预设的关于坐标轴243对称翻转的策略,将至少一个应用图标进行坐标变换,获得至少一个应用图标的目标坐标241,按照目标坐标241将至少一个应用图标显示,此时,用户能够实现单手控制至少一个应用图标的目标,使得操作简便,提高了 用户的体验。In a practical application, as shown in the graphical user interface of the terminal touch screen shown in FIG. 2D, it is assumed that the button 241 is a preset button for controlling at least one application icon flipping, when the at least one application icon is far from the right thumb of the user. At the original coordinate 242; at this time, when the user clicks the button 244, the processor acquires at least one application icon on the graphical user interface in response to the click operation, and at least one according to a preset strategy of symmetrically flipping about the coordinate axis 243 Applying an icon to perform coordinate transformation, obtaining target coordinates 241 of at least one application icon, and displaying at least one application icon according to the target coordinates 241. At this time, the user can realize the target of controlling at least one application icon with one hand, so that the operation is simple and improved. User experience.
本实施例提供的控制方法,首先,接收来自用户的操作,在确定终端处于亮屏状态且该操作为显示切换操作后,生成对应的控制指令;然后响应该控制指令,获取图形用户界面上的至少一个应用图标;最后,按照预设策略,将至少一个应用图标进行坐标变换,获得至少一个应用图标的目标坐标;按照目标坐标将至少一个应用图标显示,通过将至少一个应用图标进行对称切换显示位置,实现了在终端屏幕尺寸较大的情况下,仍然能够单手操控终端,使得使用终端更加方便,提高了用户体验。The control method provided in this embodiment firstly receives an operation from a user, and after determining that the terminal is in a bright screen state and the operation is a display switching operation, generates a corresponding control instruction; and then, in response to the control instruction, acquires a graphical user interface. At least one application icon; finally, according to a preset policy, at least one application icon is coordinate-transformed to obtain target coordinates of at least one application icon; at least one application icon is displayed according to the target coordinates, and at least one application icon is symmetrically switched and displayed The position realizes that the terminal can be manipulated with one hand only when the screen size of the terminal is large, which makes the use of the terminal more convenient and improves the user experience.
实施例三Embodiment 3
基于前述实施例,本实施例提供一种控制方法,参见图3所示,该方法还包括:Based on the foregoing embodiment, the present embodiment provides a control method. Referring to FIG. 3, the method further includes:
S301:接收针对显示对象的手势操作;S301: Receive a gesture operation for the display object.
在实际应用中,接收用户针对显示对象的点击或者触摸等用于实现显示对象功能的手势操作。In a practical application, a user performs a gesture operation for implementing a display object function such as a click or a touch of a display object.
这里,手势操作可以由用户自定义设置,也可以由终端预先设定,本公开实施例不做具体限定。Here, the gesture operation may be set by the user, or may be preset by the terminal, and is not specifically limited in the embodiment of the present disclosure.
示例性地,假设显示对象为应用图标,那么,可以设置手势操作为单击应用图标,表明实现显示对象的功能为打开该应用;可以设置手势操作为拖拽应用图标,表明实现显示对象的功能为移动该应用图标的位置;可以设置手势操作为长按应用图标时,表明实现显示对象的功能为卸载该应用。Exemplarily, if the display object is an application icon, the gesture operation may be set to click the application icon, indicating that the function of implementing the display object is to open the application; the gesture operation may be set to drag the application icon to indicate the function of implementing the display object. To move the location of the app icon; you can set the gesture action to long press the app icon, indicating that the function of implementing the display object is to uninstall the app.
S302:响应手势操作,检测显示对象的显示状态;S302: Detecting a display state of the display object in response to the gesture operation;
在实际应用中,为获得显示对象的显示状态,S302可以包括:响应预设手势操作,检测翻转定时器是否结束定时,其中,翻转定时器用于限定至少一个显示对象在图形用户界面的翻转显示时长。In an actual application, in order to obtain the display state of the display object, the S302 may include: detecting, in response to the preset gesture operation, whether the rollover timer ends the timing, wherein the rollover timer is configured to limit the display time of the at least one display object in the graphical user interface. .
S303:如果显示状态为翻转状态,根据预设切换策略,获取显示对象的原始显示位置;S303: If the display state is the flip state, the original display position of the display object is obtained according to the preset switching policy.
在实际应用中,如果该显示对象的显示状态为翻转状态,将该显示对象的当前显示位置根据与预设切换策略对应的策略进行变换,获得至显示对象的原始显示位置。In an actual application, if the display state of the display object is the flip state, the current display position of the display object is transformed according to a policy corresponding to the preset switching policy, and the original display position to the display object is obtained.
这里,与预设切换策略对应的策略为预设切换策略的逆变换,在实际应用中,当预设切换策略为预设坐标变换时,那么,与预设切换策略对应的策略就为预设坐标变换的逆变换。Here, the policy corresponding to the preset switching policy is an inverse transformation of the preset switching policy. In the actual application, when the preset switching policy is a preset coordinate transformation, the policy corresponding to the preset switching policy is a preset. The inverse transformation of the coordinate transformation.
S304:根据预设的原始显示位置与操作指令的对应关系,执行显示对象对应的操作指令。S304: Execute an operation instruction corresponding to the display object according to a preset correspondence between the original display position and the operation instruction.
在实际应用中,原始显示位置与操作指令的对应关系可以通过显示对象的身份识别号(ID,IDentification)和操作指令来建立。In practical applications, the correspondence between the original display position and the operation instruction can be established by displaying the ID number of the object and the operation instruction.
示例性地,假设显示对象为应用图标,那么,当预设手势操作为单击时,执行显示对象对应的操作指令,所实现的功能就是打开该应用;当预设手势操作为长按时,执行显示对象对应的操作指令,所实现的功能就是卸载该应用。Exemplarily, if the display object is an application icon, when the preset gesture operation is a click, the operation instruction corresponding to the display object is executed, and the implemented function is to open the application; when the preset gesture operation is long press, the execution is performed. The operation instruction corresponding to the display object is implemented by uninstalling the application.
本公开实施例提供的控制方法,首先,接收针对显示对象的手势操作,响应手势操作,检测显示对象的显示状态;如果显示状态为翻转状态,根据预设切换策略,获取显示对象的 原始显示位置;然后,根据预设的原始显示位置与操作指令的对应关系,执行显示对象对应的操作指令,以实现对应的功能,如此,避免了单手操作中可能出现的误操作问题,使得用户能够准确点击到需要控制的显示对象,在显示对象翻转状态下控制终端,进而使得用户使用更加便捷。The control method provided by the embodiment of the present disclosure firstly receives a gesture operation for a display object, and detects a display state of the display object in response to the gesture operation; if the display state is a reverse state, acquiring the display object according to the preset switching policy The original display position; then, according to the preset correspondence between the original display position and the operation instruction, the operation instruction corresponding to the display object is executed to implement the corresponding function, thus avoiding the misoperation problem that may occur in the one-hand operation, so that The user can accurately click on the display object to be controlled, and control the terminal in the state where the display object is flipped, thereby making the user more convenient to use.
实施例四Embodiment 4
基于同一公开构思,本实施例提供一种控制装置,该控制装置可以应用于上述一个或者多个实施例中的终端。Based on the same disclosure concept, the present embodiment provides a control device that can be applied to a terminal in one or more of the above embodiments.
图4为本公开实施例四中的控制装置的结构示意图,参见图4所示,该控制装置40,包括:获得单元41以及控制单元42,其中,获得单元41,设置为获得控制指令;控制单元42,设置为响应控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,目标显示位置与当前显示位置对称。4 is a schematic structural diagram of a control device according to Embodiment 4 of the present disclosure. Referring to FIG. 4, the control device 40 includes: an obtaining unit 41 and a control unit 42, wherein the obtaining unit 41 is configured to obtain a control command; The unit 42 is configured to control the display object to be switched from the current display position to the target display position according to the preset switching policy in response to the control command, wherein the target display position is symmetric with the current display position.
进一步地,获得单元,还设置为接收来自用户的操作;响应操作,检测终端当前的状态;如果终端处于亮屏状态,判断操作是否为显示切换操作;如果操作为显示切换操作,生成对应的控制指令。Further, the obtaining unit is further configured to receive an operation from the user; to respond to the operation, to detect a current state of the terminal; if the terminal is in a bright state, determine whether the operation is a display switching operation; if the operation is to display a switching operation, generate a corresponding control instruction.
进一步地,控制单元,还设置为获取目标参考坐标;基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置;控制显示对象显示于目标显示位置。Further, the control unit is further configured to acquire the target reference coordinate; perform a symmetric transformation on the current display position based on the target reference coordinate to determine the target display position; and control the display object to be displayed on the target display position.
进一步地,控制单元,还设置为获取当前显示位置对应的第一坐标;通过对称轴将第一坐标进行轴对称变换,或者,通过中心对称点将第一坐标进行中心对称变换,获得目标显示位置对应的第二坐标。Further, the control unit is further configured to acquire the first coordinate corresponding to the current display position; perform axisymmetric transformation on the first coordinate by the symmetry axis, or perform central symmetric transformation on the first coordinate through the central symmetry point to obtain the target display position Corresponding second coordinates.
进一步地,控制单元,还设置为在使用开放图形库OpenGL渲染前或者在将帧缓冲区的像素显示前,基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置。Further, the control unit is further configured to perform a symmetric transformation on the current display position based on the target reference coordinates before the rendering using the open graphics library OpenGL or before displaying the pixels of the frame buffer to determine the target display position.
进一步地,控制单元,还设置为当显示对象为终端显示的图形用户界面上的可操作控件时,控制图形用户界面上除显示对象外的其他显示对象保持不变,并控制可操作控件在目标显示位置显示。Further, the control unit is further configured to: when the display object is an operable control on the graphical user interface displayed by the terminal, control other display objects other than the display object on the graphical user interface remain unchanged, and control the operable control at the target The display position is displayed.
进一步地,控制单元,还设置为当显示对象为终端显示的包含可操作控件的图形用户界面时,获取对称翻转参数,其中,对称翻转参数用于指示进行位置切换所对应的旋转方向及角度;将包含可操作控件的图形用户界面以该旋转方向旋转该角度,直至该包含可操作控件的图形用户界面由当前显示位置切换至目标显示位置来显示。Further, the control unit is further configured to obtain a symmetric flip parameter when the display object is a graphical user interface including an operable control displayed by the terminal, wherein the symmetric flip parameter is used to indicate a rotation direction and an angle corresponding to the position switch; A graphical user interface containing an operational control is rotated in the direction of rotation until the graphical user interface containing the operational control is switched from the current display position to the target display position.
在本公开其它实施例中,上述控制装置还包括:接收单元、检测单元、获取单元以及执行单元,其中,接收单元,设置为接收针对显示对象的手势操作;检测单元,设置为响应手势操作,检测显示对象的显示状态;获取单元,设置为如果显示状态为翻转状态,根据预设切换策略,获取显示对象的原始显示位置;执行单元,设置为根据预设的原始显示位置与操作指令的对应关系,执行显示对象对应的操作指令。In other embodiments of the present disclosure, the control device further includes: a receiving unit, a detecting unit, an acquiring unit, and an executing unit, wherein the receiving unit is configured to receive a gesture operation for the display object; and the detecting unit is configured to respond to the gesture operation, Detecting the display state of the display object; the acquiring unit is configured to obtain the original display position of the display object according to the preset switching policy if the display state is the flip state; and the execution unit is set to correspond to the preset original display position and the operation instruction according to the preset Relationship, the operation instruction corresponding to the display object is executed.
在本公开其它实施例中,上述控制装置还包括:定时模块,设置为进行翻转定时;控制模块,还设置为调用定时模块,启动翻转定时;当翻转定时达到预设阈值时,根据预设切换 策略,控制显示对象切换回原始显示位置显示,其中,原始显示位置即为当前显示位置;当翻转定时未达到时,控制显示对象保持在目标显示位置显示。In other embodiments of the present disclosure, the control device further includes: a timing module configured to perform a flip timing; the control module is further configured to invoke a timing module to initiate a flip timing; and when the flip timing reaches a preset threshold, switch according to a preset The strategy controls the display object to switch back to the original display position display, wherein the original display position is the current display position; when the flip timing is not reached, the control display object remains displayed at the target display position.
这里需要指出的是:以上装置实施例项的描述,与上述方法描述是类似的,具有同方法实施例相同的有益效果,因此不做赘述。对于本公开装置实施例中未披露的技术细节,本领域的技术人员请参照本公开方法实施例的描述而理解,为节约篇幅,这里不再赘述。It should be noted here that the description of the above device embodiment items is similar to the above method description, and has the same beneficial effects as the method embodiments, and therefore will not be described again. For the technical details that are not disclosed in the embodiments of the present disclosure, those skilled in the art can understand the description of the method embodiments of the present disclosure, and the details are not described herein.
实施例五Embodiment 5
基于同一公开构思,本公开实施例提供一种终端,该终端与上述一个或者多个实施例中的终端一致。Based on the same disclosure concept, an embodiment of the present disclosure provides a terminal that is consistent with a terminal in one or more of the above embodiments.
参见图5所示,该终端50包括:处理器51以及触摸屏52,其中,处理器,设置为获得控制指令;响应控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置在触摸屏上显示,其中,目标显示位置与当前显示位置对称;触摸屏,设置为显示显示对象。As shown in FIG. 5, the terminal 50 includes: a processor 51 and a touch screen 52, wherein the processor is configured to obtain a control instruction; and in response to the control instruction, control the display object to switch from the current display position to the target display according to a preset switching policy. The position is displayed on the touch screen, wherein the target display position is symmetrical with the current display position; the touch screen is set to display the display object.
进一步地,触摸屏,还设置为接收来自用户的操作;处理器,还设置为响应操作,检测触摸屏当前的状态;如果触摸屏处于亮屏状态,判断操作是否为显示切换操作;如果操作为显示切换操作,生成对应的控制指令。Further, the touch screen is further configured to receive an operation from the user; the processor is further configured to detect a current state of the touch screen in response to the operation; if the touch screen is in a bright screen state, determine whether the operation is a display switching operation; if the operation is a display switching operation , generate corresponding control instructions.
进一步地,处理器,还设置为获取目标参考坐标;基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置;控制显示对象显示于目标显示位置。Further, the processor is further configured to acquire the target reference coordinate; and based on the target reference coordinate, perform symmetric transformation on the current display position to determine the target display position; and control the display object to be displayed on the target display position.
进一步地,处理器,还设置为获取当前显示位置对应的第一坐标;通过对称轴将第一坐标进行轴对称变换,或者,通过中心对称点将第一坐标进行中心对称变换,获得目标显示位置对应的第二坐标。Further, the processor is further configured to acquire a first coordinate corresponding to the current display position; perform axisymmetric transformation on the first coordinate through the symmetry axis, or perform central symmetry transformation on the first coordinate through the central symmetry point to obtain the target display position Corresponding second coordinates.
进一步地,处理器,还设置为在使用开放图形库OpenGL渲染前或者在将帧缓冲区的像素显示前,基于目标参考坐标,将当前显示位置进行对称变换,确定目标显示位置。Further, the processor is further configured to perform a symmetric transformation on the current display position based on the target reference coordinates before the rendering of the open graphics library OpenGL or before displaying the pixels of the frame buffer to determine the target display position.
进一步地,处理器,还设置为当显示对象为终端显示的图形用户界面上的可操作控件时,控制图形用户界面上除显示对象外的其他显示对象保持不变,并控制可操作控件在目标显示位置显示。Further, the processor is further configured to: when the display object is an operable control on the graphical user interface displayed by the terminal, control other display objects on the graphical user interface except the display object remain unchanged, and control the operable control at the target The display position is displayed.
进一步地,处理器,还设置为当显示对象为终端显示的包含可操作控件的图形用户界面时,获取对称翻转参数,其中,对称翻转参数用于指示进行位置切换所对应的旋转方向及角度;将包含可操作控件的图形用户界面以该旋转方向旋转该角度,直至该包含可操作控件的图形用户界面由当前显示位置切换至目标显示位置来显示。Further, the processor is further configured to: when the display object is a graphical user interface including an operable control displayed by the terminal, obtain a symmetric flip parameter, wherein the symmetric flip parameter is used to indicate a rotation direction and an angle corresponding to the position switch; A graphical user interface containing an operational control is rotated in the direction of rotation until the graphical user interface containing the operational control is switched from the current display position to the target display position.
进一步地,触摸屏,还设置为接收针对显示对象的手势操作;处理器,还设置为响应手势操作,检测显示对象的显示状态;如果显示状态为翻转状态,根据预设切换策略,获取显示对象的原始显示位置;根据预设的原始显示位置与操作指令的对应关系,执行显示对象对应的操作指令。Further, the touch screen is further configured to receive a gesture operation for the display object; the processor is further configured to detect a display state of the display object in response to the gesture operation; and if the display state is a flip state, acquire the display object according to the preset switching policy The original display position; the operation instruction corresponding to the display object is executed according to the preset correspondence between the original display position and the operation instruction.
进一步地,处理器,还设置为启动翻转定时;当翻转定时达到预设阈值时,根据预设切换策略,控制显示对象切换回原始显示位置显示,其中,原始显示位置即为当前显示位置; 当翻转定时未达到时,控制显示对象保持在目标显示位置显示。Further, the processor is further configured to start the flip timing; when the flip timing reaches the preset threshold, according to the preset switching policy, the control display object is switched back to the original display position display, wherein the original display position is the current display position; When the flip timing is not reached, the control display object remains displayed at the target display position.
在实际应用中,上述处理器可以为特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理装置(DSPD,Digital Signal Processing Device)、可编程逻辑装置(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、中央处理器(CPU,Central Processing Unit)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的终端,用于实现上述处理器功能的电子器件还可以为其它,本公开实施例不作具体限定。In practical applications, the processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), and a programmable At least one of a PLD (Programmable Logic Device), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor . It is to be understood that, for different terminals, the electronic device for implementing the above-mentioned processor functions may be other, and the embodiment of the present disclosure is not specifically limited.
这里需要指出的是:以上终端实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本公开终端实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解,为节约篇幅,因此不再赘述。It should be noted here that the description of the above terminal embodiment is similar to the description of the above method embodiment, and has similar advantageous effects as the method embodiment, and therefore will not be described again. For the technical details that are not disclosed in the embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure, and the details are not described herein.
本公开实施例提供一种控制方法、装置及终端,在获得控制指令后,会响应控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,目标显示位置与当前显示位置对称。如此,通过将显示对象切换显示位置,实现了在终端屏幕尺寸较大的情况下,仍然能够单手操控终端,使得用户操作简便,提高了用户体验。An embodiment of the present disclosure provides a control method, device, and terminal. After obtaining a control instruction, the control object is controlled to switch from a current display position to a target display position according to a preset switching policy, where the target display position is displayed. Symmetrical to the current display position. In this way, by switching the display object to the display position, it is possible to control the terminal with one hand only when the screen size of the terminal is large, so that the user is easy to operate and the user experience is improved.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本公开的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that the phrase "one embodiment" or "an embodiment" or "an" or "an" Thus, "in one embodiment" or "in an embodiment" or "an" In addition, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present disclosure, the size of the sequence numbers of the above processes does not mean the order of execution order, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present disclosure. The implementation process constitutes any limitation. The above-mentioned serial numbers of the embodiments of the present disclosure are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。 The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本公开各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store program codes.
或者,本公开上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present disclosure may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present disclosure. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above is only the specific embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the disclosure. It should be covered within the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be determined by the scope of the claims.
工业实用性Industrial applicability
本公开适用于控制领域,用以解决现有技术中屏幕操控不便的问题;实现了在终端屏幕尺寸较大的情况下,仍然能够单手操控终端,使得用户操作简便,提高了用户体验。 The present disclosure is applicable to the field of control to solve the problem of inconvenient screen manipulation in the prior art; and realizes that the terminal can be manipulated with one hand only when the screen size of the terminal is large, so that the user is easy to operate and the user experience is improved.

Claims (13)

  1. 一种控制方法,所述方法包括:A control method, the method comprising:
    获得控制指令;Obtain control instructions;
    响应所述控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,所述目标显示位置与所述当前显示位置对称。In response to the control instruction, the display display object is switched from the current display position to the target display position display according to the preset switching policy, wherein the target display position is symmetric with the current display position.
  2. 根据权利要求1所述的方法,其中,所述获得控制指令,包括:The method of claim 1 wherein said obtaining control instructions comprises:
    接收来自用户的操作;Receiving operations from users;
    响应所述操作,检测终端当前的状态;Detecting the current state of the terminal in response to the operation;
    如果所述终端处于亮屏状态,判断所述操作是否为显示切换操作;If the terminal is in a bright screen state, determining whether the operation is a display switching operation;
    如果所述操作为显示切换操作,生成对应的控制指令。If the operation is a display switching operation, a corresponding control instruction is generated.
  3. 根据权利要求1所述的方法,其中,所述按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,包括:The method according to claim 1, wherein the controlling the display object to be switched from the current display position to the target display position according to the preset switching policy comprises:
    获取目标参考坐标;Get the target reference coordinates;
    基于所述目标参考坐标,将所述当前显示位置进行对称变换,确定所述目标显示位置;And performing the symmetric transformation on the current display position based on the target reference coordinate to determine the target display position;
    控制所述显示对象显示于所述目标显示位置。Controlling the display object to be displayed at the target display position.
  4. 根据权利要求3所述的方法,其中,所述基于所述目标参考坐标,将所述当前显示位置进行对称变换,确定所述目标显示位置,包括:The method according to claim 3, wherein the determining, according to the target reference coordinates, the current display position to perform a symmetric transformation to determine the target display position comprises:
    获取所述当前显示位置对应的第一坐标;Obtaining a first coordinate corresponding to the current display position;
    通过所述对称轴将所述第一坐标进行轴对称变换,或者,通过所述中心对称点将所述第一坐标进行中心对称变换,获得所述目标显示位置对应的第二坐标。The first coordinate is subjected to axisymmetric transformation by the symmetry axis, or the first coordinate is centrally symmetrically transformed by the central symmetry point to obtain a second coordinate corresponding to the target display position.
  5. 根据权利要求3所述的方法,其中,所述基于所述目标参考坐标,将所述当前显示位置进行对称变换,确定所述目标显示位置,包括:The method according to claim 3, wherein the determining, according to the target reference coordinates, the current display position to perform a symmetric transformation to determine the target display position comprises:
    在使用开放图形库OpenGL渲染前或者在将帧缓冲区的像素显示前,基于所述目标参考坐标,将所述当前显示位置进行对称变换,确定所述目标显示位置。The current display position is symmetrically transformed based on the target reference coordinates before the rendering of the open graphics library OpenGL or before the pixels of the frame buffer are displayed, and the target display position is determined.
  6. 根据权利要求3至5任一项中所述的方法,其中,当所述显示对象为所述终端显示的图形用户界面上的可操作控件时,所述控制所述显示对象显示于所述目标显示位置,包括:The method according to any one of claims 3 to 5, wherein said controlling said display object is displayed on said target when said display object is an operable control on said graphical user interface displayed by said terminal Display location, including:
    控制所述图形用户界面上除所述显示对象外的其他显示对象保持不变,并控制所述可操作控件在所述目标显示位置显示。Controlling other display objects on the graphical user interface other than the display object remain unchanged, and controlling the operable controls to be displayed at the target display position.
  7. 根据权利要求3所述的方法,其中,当所述显示对象为所述终端显示的包含可操作控件的图形用户界面时,所述控制所述显示对象显示于所述目标显示位置,包括:The method of claim 3, wherein when the display object is a graphical user interface including an operable control displayed by the terminal, the controlling the display object to be displayed on the target display location comprises:
    获取对称翻转参数,其中,所述对称翻转参数用于指示进行位置切换所对应的旋转方向及角度;Obtaining a symmetric flipping parameter, wherein the symmetric flipping parameter is used to indicate a rotation direction and an angle corresponding to the position switching;
    将所述包含可操作控件的图形用户界面以所述旋转方向旋转所述角度,直至所述包含 可操作控件的图形用户界面由所述当前显示位置切换至所述目标显示位置来显示。Rotating the graphical user interface including the operable control in the direction of rotation until the inclusion A graphical user interface of the operational control is displayed by switching from the current display position to the target display position.
  8. 根据权利要求1所述的方法,其中,在控制显示对象由当前显示位置切换至目标显示位置显示之后,所述方法还包括:The method of claim 1, wherein after the control display object is switched from the current display position to the target display position display, the method further comprises:
    接收针对所述显示对象的手势操作;Receiving a gesture operation for the display object;
    响应所述手势操作,检测所述显示对象的显示状态;Detecting a display state of the display object in response to the gesture operation;
    如果所述显示状态为翻转状态,根据所述预设切换策略,获取所述显示对象的原始显示位置;If the display state is a flip state, acquiring an original display location of the display object according to the preset switching policy;
    根据预设的原始显示位置与操作指令的对应关系,执行所述显示对象对应的操作指令。The operation instruction corresponding to the display object is executed according to a preset correspondence between the original display position and the operation instruction.
  9. 根据权利要求1所述的方法,其中,在所述控制显示对象由当前显示位置切换至目标显示位置来显示之后,所述方法还包括:The method of claim 1, wherein after the controlling the display object is switched from the current display position to the target display position, the method further comprises:
    启动翻转定时;Start the flip timing;
    当所述翻转定时达到预设阈值时,根据所述预设切换策略,控制所述显示对象切换回原始显示位置显示,其中,所述原始显示位置即为所述当前显示位置;When the flipping timing reaches a preset threshold, the display object is controlled to switch back to the original display location display according to the preset switching policy, where the original display location is the current display location;
    当翻转定时未达到时,控制所述显示对象保持在所述目标显示位置显示。When the flip timing is not reached, the display object is controlled to remain displayed at the target display position.
  10. 一种控制装置,所述装置包括:获得单元以及控制单元,其中,A control device, comprising: an obtaining unit and a control unit, wherein
    所述获得单元,设置为获得控制指令;The obtaining unit is configured to obtain a control instruction;
    所述控制单元,设置为响应所述控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置显示,其中,所述目标显示位置与所述当前显示位置对称。The control unit is configured to, in response to the control instruction, control a display object to be switched from a current display position to a target display position display according to a preset switching policy, wherein the target display position is symmetric with the current display position.
  11. 根据权利要求10所述的装置,其中,所述控制单元,还设置为获取目标参考坐标;基于所述目标参考坐标,将所述当前显示位置进行对称变换,确定所述目标显示位置;控制所述显示对象显示于所述目标显示位置。The apparatus according to claim 10, wherein the control unit is further configured to acquire target reference coordinates; to perform symmetric transformation on the current display position based on the target reference coordinates to determine the target display position; The display object is displayed at the target display position.
  12. 一种终端,所述终端包括:处理器以及触摸屏,其中,A terminal, the terminal includes: a processor and a touch screen, wherein
    所述处理器,设置为获得控制指令;响应所述控制指令,按照预设切换策略,控制显示对象由当前显示位置切换至目标显示位置在所述触摸屏上显示,其中,所述目标显示位置与所述当前显示位置对称;The processor is configured to obtain a control instruction, and in response to the control instruction, control a display object to be displayed on the touch screen by switching from a current display position to a target display position according to a preset switching policy, wherein the target display position is The current display position is symmetrical;
    所述触摸屏,设置为显示所述显示对象。The touch screen is configured to display the display object.
  13. 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行权利要求1至9中任一项所述的方法。 A computer storage medium storing execution instructions for performing the method of any one of claims 1 to 9.
PCT/CN2017/114216 2017-02-06 2017-12-01 Control method, apparatus, computer storage medium and terminal WO2018141173A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710067447.4A CN108399036A (en) 2017-02-06 2017-02-06 A kind of control method, device and terminal
CN201710067447.4 2017-02-06

Publications (1)

Publication Number Publication Date
WO2018141173A1 true WO2018141173A1 (en) 2018-08-09

Family

ID=63039218

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114216 WO2018141173A1 (en) 2017-02-06 2017-12-01 Control method, apparatus, computer storage medium and terminal

Country Status (2)

Country Link
CN (1) CN108399036A (en)
WO (1) WO2018141173A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491803B (en) * 2018-10-11 2021-08-24 腾讯科技(深圳)有限公司 Page processing method and device and related equipment
CN109976628A (en) * 2019-02-27 2019-07-05 Oppo广东移动通信有限公司 Adjust method, electronic equipment and the storage medium of virtual key display position
CN110648521A (en) * 2019-09-26 2020-01-03 珠海格力电器股份有限公司 Method and terminal for remotely controlling equipment
CN113093971B (en) * 2021-04-15 2022-11-01 网易(杭州)网络有限公司 Object display control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750102A (en) * 2012-06-28 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and operation control element position replacing method
US20150002420A1 (en) * 2013-06-27 2015-01-01 Samsung Electronics Co., Ltd. Mobile terminal and method for controlling screen
CN104731501A (en) * 2015-03-25 2015-06-24 努比亚技术有限公司 Icon control method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609380A (en) * 2009-06-23 2009-12-23 苏州瀚瑞微电子有限公司 A kind of on touch-screen the file method of operating
CN103034446B (en) * 2012-12-13 2015-10-28 广东欧珀移动通信有限公司 A kind of is the unblock of electronic installation operation interface and the method and apparatus switching theme
TWI530864B (en) * 2014-08-19 2016-04-21 宏碁股份有限公司 Portable electronic devices and methods for operating user interface
CN105426067A (en) * 2014-09-17 2016-03-23 中兴通讯股份有限公司 Desktop icon replacement method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750102A (en) * 2012-06-28 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and operation control element position replacing method
US20150002420A1 (en) * 2013-06-27 2015-01-01 Samsung Electronics Co., Ltd. Mobile terminal and method for controlling screen
CN104731501A (en) * 2015-03-25 2015-06-24 努比亚技术有限公司 Icon control method and mobile terminal

Also Published As

Publication number Publication date
CN108399036A (en) 2018-08-14

Similar Documents

Publication Publication Date Title
WO2018157662A1 (en) Display control method for mobile terminal, and mobile terminal
US9635267B2 (en) Method and mobile terminal for implementing preview control
US20170329414A1 (en) Computing system utilizing coordinated two-hand command gestures
WO2018141173A1 (en) Control method, apparatus, computer storage medium and terminal
TW201923528A (en) Methods of direct manipulation of multi-layered user interfaces
US20140368442A1 (en) Apparatus and associated methods for touch user input
US10073585B2 (en) Electronic device, storage medium and method for operating electronic device
WO2022048633A1 (en) Display method and apparatus and electronic device
KR20160032611A (en) Method and apparatus for controlling an electronic device using a touch input
US9377944B2 (en) Information processing device, information processing method, and information processing program
US20130167057A1 (en) Display apparatus for releasing locked state and method thereof
WO2019119799A1 (en) Method for displaying application icon, and terminal device
US11567725B2 (en) Data processing method and mobile device
WO2015131630A1 (en) Replacement method and device for desktop icon
US20160188021A1 (en) Method of receiving user input by detecting movement of user and apparatus therefor
WO2016183912A1 (en) Menu layout arrangement method and apparatus
US20140362017A1 (en) Input device, input control method, and input control program
EP2899623A2 (en) Information processing apparatus, information processing method, and program
WO2020118491A1 (en) Fingerprint recognition-based interaction method, electronic device and related device
WO2017143575A1 (en) Method for retrieving content of image, portable electronic device, and graphical user interface
US20170075453A1 (en) Terminal and terminal control method
US10599326B2 (en) Eye motion and touchscreen gestures
TW201430676A (en) System and method for operating pages
JP2013171584A (en) Portable terminal having polyhedral graphic object and display switching method
WO2020087504A1 (en) Screenshot interaction method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17894733

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17894733

Country of ref document: EP

Kind code of ref document: A1