Terminal equipment control method and device, equipment and storage medium
By setting up magnification controls on the touch screen device, users can achieve accurate control of the application, solving the problem of precise control difficulties caused by thick fingers.
Patent Information
- Application Number
- CN202311259063.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
When users use touch screen devices, due to their thick fingers, it is difficult to achieve accurate touch operation, especially in applications that require fine contacts.
By setting up the magnification control, the user can move it to the target position and enlarge the target content, thereby achieving fine touch operation. The magnification control includes an operation area and a functional area. The operation area is used to drag the magnification control, and the functional area simulates the function of the mouse.
Users can use their fingers to replace the mouse or stylus to achieve accurate control of the application, solving the problem of precise control difficulties caused by the thick fingers.
Smart Images

Figure CN119718157A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of touch control technology, and in particular to a terminal device control method, device, equipment and storage medium. Background Art
[0002] As more and more touch-screen devices are launched, a large number of applications need to run on such devices. However, most users do not have the habit of carrying a mouse or stylus with them or with their devices, so they can only touch the screen with their fingers, which means that applications that originally require fine touch points (mouse points or stylus points) need to be precisely controlled by users' fingers. However, under the existing technology, since users' fingers are relatively thick, the touch screen capability cannot accurately locate a click coordinate like mouse-type interaction. As a result, users cannot accurately control applications. Summary of the invention
[0003] The purpose of the present invention is to provide a terminal device control method, device, equipment and storage medium to solve the technical problems in the prior art.
[0004] In a first aspect, an embodiment of the present application provides a terminal device control method, the method comprising:
[0005] In response to a first operation on the magnification control, moving the magnification control to a target position;
[0006] Amplifying the target content corresponding to the target position;
[0007] In response to a second operation on the enlarged target content, steps corresponding to the second operation are performed.
[0008] In the present application, the target content is magnified by setting a magnification control. The user can use only his fingers instead of a mouse or stylus to perform fine touch operations, solving the problem that the user cannot accurately control the application when he does not carry a mouse or stylus.
[0009] In some possible embodiments, the magnification control includes: an operation area, and in response to a first operation on the magnification control, moving the magnification control to a target position includes:
[0010] In response to a drag operation on the operation area, the magnification control is moved to the target position.
[0011] In the present application, by setting the operation area, it is convenient to adjust the position of the magnification control, thereby achieving accurate positioning of the target content.
[0012] In some possible embodiments, the magnification control includes: an operation area, the operation area includes at least one functional area, and the at least one functional area is used to simulate at least one function of a mouse; the second operation is a first function operation for at least one functional area of the operation area.
[0013] In this application, the function of the mouse is realized by setting the function area, which facilitates the user to perform precise touch operations on the application.
[0014] In some possible embodiments, the magnification control includes: a magnification area, and the magnification process of the target content corresponding to the target position includes:
[0015] A magnification process is performed on the target content in the magnification area corresponding to the magnification control at the target position.
[0016] In some possible embodiments, the magnification area includes a mouse pointer, and when the magnification control is located at the target position, the mouse pointer points to selected content, and the selected content refers to the content in the target content selected by the first function operation.
[0017] In the present application, by setting a mouse pointer in the magnified area, the user can accurately select the selected content and perform touch operations on the selected content.
[0018] In some possible embodiments, the magnified area includes a mouse pointer, and before the step of performing a target operation on the selected content in response to the first function operation on at least one functional area of the operation area, the step further includes:
[0019] In response to a selection operation of the selected content, the mouse pointer is controlled to move to the selected content.
[0020] In this application, precise selection of selected content is achieved by moving the mouse pointer.
[0021] In some possible embodiments, in response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content includes:
[0022] In response to a drag operation on the mouse pointer, moving the mouse pointer to the selected content; or,
[0023] In response to a drag operation on the magnified area, the mouse pointer is moved to the selected content.
[0024] In some possible embodiments, in response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content includes:
[0025] In response to a second function operation on at least one functional area of the operation area, the mouse pointer is controlled to move to the selected content.
[0026] In this application, the movement of the mouse pointer can be controlled through the function area to ensure accurate selection of the selected content.
[0027] In some possible embodiments, in response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content includes:
[0028] In response to a click operation on the selected content in the magnified area, the mouse pointer is moved to the selected content.
[0029] In some possible embodiments, the at least one functional area is used to simulate at least one of a left-click function, a right-click function, a mouse pointer movement function, and a sliding function of a mouse.
[0030] In this application, the functions of the mouse and stylus are realized by setting functional areas, achieving precise touch control of the application.
[0031] In some possible embodiments, the operation area includes a virtual mouse, the virtual mouse includes: a virtual left button, a virtual right button, and a virtual scroll wheel, and in response to a first function operation on at least one functional area of the operation area, the steps corresponding to performing the first function operation on the selected content include:
[0032] In response to a click operation on the virtual left button, a step corresponding to the click operation of the virtual left button is performed on the selected content; the step corresponding to the click operation of the virtual left button is used to simulate a first function of a mouse; or,
[0033] In response to a click operation on the virtual right button, a step corresponding to the click operation on the selected content is performed; the step corresponding to the click operation on the virtual right button is used to simulate a second function of a mouse; or,
[0034] In response to the sliding operation on the virtual wheel, the steps corresponding to the sliding operation on the virtual wheel are executed on the selected content; the steps corresponding to the sliding operation on the virtual wheel are used to simulate the third function of the mouse.
[0035] In the present application, by setting a virtual mouse and setting virtual buttons in the virtual mouse, the functions of the mouse are realized, ensuring accurate control of the application.
[0036] In some possible embodiments, the operation area includes an operation ring surrounding the magnified area, and in response to a first function operation on at least one functional area of the operation area, the step of performing the first function operation on the selected content includes:
[0037] In response to a third operation on the operation ring, a first step corresponding to the third operation on the operation ring is performed on the selected content; the first step corresponding to the third operation on the operation ring is used to simulate a first function of a mouse; or,
[0038] In response to a fourth operation on the operation ring, a second step corresponding to the fourth operation on the operation ring is performed on the selected content; the second step is used to simulate a second function of a mouse; or,
[0039] In response to a fifth operation on the operation ring, a third step corresponding to the fifth operation on the operation ring is performed on the selected content, and the third step is used to simulate a third function of a mouse.
[0040] In this application, the function of the mouse is realized by setting an operation ring, ensuring precise control of the application.
[0041] In some possible embodiments, before determining the target position of the magnification control in response to the first operation on the magnification control, the method further includes:
[0042] In response to the wake-up operation of the magnification control, the magnification control is displayed on the touch screen.
[0043] In the present application, the user can determine whether to wake up the magnification control according to needs, and wake up the magnification control by triggering the wake-up operation when the user has a need, thereby ensuring the user experience.
[0044] In some possible embodiments, in response to the wake-up operation of the magnification control, displaying the magnification control on the touch screen includes:
[0045] In response to a start-up operation of the target application, the magnification control is displayed on the touch screen.
[0046] In the present application, by displaying a magnification control in the target application, the user can achieve precise control over the target application.
[0047] In some possible embodiments, in response to the wake-up operation of the magnification control, displaying the magnification control on the touch screen includes:
[0048] If an operation satisfying the wake-up condition is detected on the touch screen, displaying the magnification control on the touch screen;
[0049] The wake-up conditions include:
[0050] A preset number of touch points are detected on the touch screen; and / or,
[0051] The distance between at least two touch points among the preset number of touch points detected on the touch screen satisfies a preset distance condition; and / or,
[0052] The touch duration of at least one touch point among the preset number of touch points detected on the touch screen is greater than the preset duration.
[0053] In the present application, the number of wake-up conditions to be set can be determined according to the needs, making the present application more universal.
[0054] In a second aspect, an embodiment of the present application provides a terminal device control device, the device comprising:
[0055] A moving module, configured to move the magnifying control to a target position in response to a first operation on the magnifying control;
[0056] An amplification module, used to amplify the target content corresponding to the target position;
[0057] The operation module is used to execute steps corresponding to the second operation in response to the second operation on the enlarged target content.
[0058] In some possible embodiments, the magnification control includes: an operation area, and the moving module is specifically used to:
[0059] In response to a drag operation on the operation area, the magnification control is moved to the target position.
[0060] In some possible embodiments, the magnification control includes: an operation area, the operation area includes at least one functional area, and the at least one functional area is used to simulate at least one function of a mouse; the second operation is a first function operation for at least one functional area of the operation area.
[0061] In some possible embodiments, the magnification control includes: a magnification area, and the magnification module is specifically used to:
[0062] A magnification process is performed on the target content in the magnification area corresponding to the magnification control at the target position.
[0063] In some possible embodiments, the magnification area includes a mouse pointer, and when the magnification control is located at the target position, the mouse pointer points to the selected content, and the selected content refers to the content in the target content selected by the first function operation.
[0064] In some possible embodiments, the magnified area includes a mouse pointer, and the operating module is further configured to:
[0065] In response to a selection operation of the selected content, the mouse pointer is controlled to move to the selected content.
[0066] In some possible embodiments, the operation module is specifically used to:
[0067] In response to a drag operation on the mouse pointer, moving the mouse pointer to the selected content; or,
[0068] In response to a drag operation on the magnified area, the mouse pointer is moved to the selected content.
[0069] In some possible embodiments, the operation module is specifically used to:
[0070] In response to a second function operation on at least one functional area of the operation area, the mouse pointer is controlled to move to the selected content.
[0071] In some possible embodiments, the operation module is specifically used to:
[0072] In response to a click operation on the selected content in the magnified area, the mouse pointer is moved to the selected content.
[0073] In some possible embodiments, the at least one functional area is used to simulate at least one of a left-click function, a right-click function, a mouse pointer movement function, and a sliding function of a mouse.
[0074] In some possible embodiments, the operation area includes a virtual mouse, and the virtual mouse includes: a virtual left button, a virtual right button, and a virtual scroll wheel. The operation module is specifically used to:
[0075] In response to a click operation on the virtual left button, a step corresponding to the click operation of the virtual left button is performed on the selected content; the step corresponding to the click operation of the virtual left button is used to simulate a first function of a mouse; or,
[0076] In response to a click operation on the virtual right button, a step corresponding to the click operation on the selected content is performed; the step corresponding to the click operation on the virtual right button is used to simulate a second function of a mouse; or,
[0077] In response to the sliding operation on the virtual wheel, the steps corresponding to the sliding operation on the virtual wheel are executed on the selected content; the steps corresponding to the sliding operation on the virtual wheel are used to simulate the third function of the mouse.
[0078] In some possible embodiments, the operating area includes an operating ring surrounding the magnified area, and the operating module is specifically configured to:
[0079] In response to a third operation on the operation ring, a first step corresponding to the third operation on the operation ring is performed on the selected content; the first step corresponding to the third operation on the operation ring is used to simulate a first function of a mouse; or,
[0080] In response to a fourth operation on the operation ring, a second step corresponding to the fourth operation on the operation ring is performed on the selected content; the second step is used to simulate a second function of a mouse; or,
[0081] In response to a fifth operation on the operation ring, a third step corresponding to the fifth operation on the operation ring is performed on the selected content, and the third step is used to simulate a third function of a mouse.
[0082] In some possible embodiments, the mobile module is further used for:
[0083] In response to the wake-up operation of the magnification control, the magnification control is displayed on the touch screen.
[0084] In some possible embodiments, the mobile module is specifically used for:
[0085] In response to a start-up operation of the target application, the magnification control is displayed on the touch screen.
[0086] In some possible embodiments, the mobile module is specifically used for:
[0087] If an operation satisfying the wake-up condition is detected in the touch screen, the magnification control is displayed in the touch screen.
[0088] The wake-up conditions include:
[0089] A preset number of touch points are detected on the touch screen; and / or,
[0090] The distance between at least two touch points among the preset number of touch points detected on the touch screen satisfies a preset distance condition; and / or,
[0091] The touch duration of at least one touch point among the preset number of touch points detected on the touch screen is greater than the preset duration.
[0092] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method provided in the embodiment of the first aspect of the present application.
[0093] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.
[0094] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] Figure 1 This is a schematic diagram of a terminal device control method provided by an embodiment of the present application, in which a user clicks a touch screen with a finger;
[0096] Figure 2 It is a schematic diagram of two situations caused by a user clicking the same position of a touch screen in a terminal device control method provided by an embodiment of the present application;
[0097] Figure 3 This is a schematic diagram of an application scenario of a terminal device control method provided in an embodiment of the present application;
[0098] Figure 4 It is a schematic diagram of the overall process of a terminal device control method provided by an embodiment of the present application;
[0099] Figure 5 It is a schematic diagram of a terminal device control method provided in an embodiment of the present application for moving and enlarging a control on a touch screen;
[0100] Figure 6 It is a schematic diagram of dragging and enlarging a control on a touch screen in a terminal device control method provided by an embodiment of the present application;
[0101] Figure 7 It is a schematic diagram of the positional relationship between the magnification area and the magnification control of a terminal device control method provided in an embodiment of the present application;
[0102] Figure 8 is a schematic diagram of performing a first function operation in a function area of a terminal device control method provided by an embodiment of the present application;
[0103] Fig. 9 is a schematic diagram of selected contents of a terminal device control method provided in an embodiment of the present application;
[0104] Fig.10 is a schematic diagram of moving a mouse pointer in a terminal device control method provided in an embodiment of the present application;
[0105] Fig.11 is a schematic diagram of moving a mouse pointer in an enlarged area of a terminal device control method provided by an embodiment of the present application;
[0106] Fig.12 It is a schematic diagram of a mouse pointer style of a terminal device control method provided in an embodiment of the present application;
[0107] Fig.13 It is a schematic diagram of a terminal device control method provided by an embodiment of the present application, in which the operation area is in a virtual mouse style;
[0108] Fig.14 is a schematic diagram of a first function of simulating a mouse based on a virtual mouse in a terminal device control method provided by an embodiment of the present application;
[0109] Fig.15 is a schematic diagram of a second function of a terminal device control method based on a virtual mouse simulating a mouse provided in an embodiment of the present application;
[0110] Fig.16 is a schematic diagram of a third function of simulating a mouse based on a virtual mouse in a terminal device control method provided in an embodiment of the present application;
[0111] Fig.17 It is a schematic diagram of an operation area of a terminal device control method provided by an embodiment of the present application in an operation ring style;
[0112] Fig.18 It is a schematic diagram of a first function of simulating a mouse based on an operation ring in a terminal device control method provided by an embodiment of the present application;
[0113] Fig.19 It is a schematic diagram of a terminal device control method provided by an embodiment of the present application, based on the operation ring simulating the second function of the mouse;
[0114] Fig. 20 is a schematic diagram of a third function of simulating a mouse based on an operation ring in a terminal device control method provided in an embodiment of the present application;
[0115] Fig.21 It is a schematic diagram of a terminal device control method provided in an embodiment of the present application, in which the operation area is in a button style;
[0116] Fig. 22 It is a schematic diagram of displaying an enlarged control on a touch screen in a terminal device control method provided in an embodiment of the present application;
[0117] Fig.23 It is a flowchart of waking up the amplification control and using the amplification control of a terminal device control method provided by an embodiment of the present application;
[0118] Fig.24 It is a schematic diagram of detecting three touch points in a terminal device control method provided in an embodiment of the present application;
[0119] Fig.25 is another schematic diagram of detecting three touch points in a terminal device control method provided by an embodiment of the present application;
[0120] Fig.26 This is a first schematic diagram of adjusting the size of an enlarged area in a terminal device control method provided in an embodiment of the present application;
[0121] Fig. 27 This is a second schematic diagram of adjusting the size of an enlarged area in a terminal device control method provided in an embodiment of the present application;
[0122] Fig.28 is a third schematic diagram of adjusting the size of an enlarged area in a terminal device control method provided in an embodiment of the present application;
[0123] Fig.29 is a schematic diagram of adjusting the magnification of a terminal device control method provided in an embodiment of the present application;
[0124] Fig.30 is another schematic diagram of adjusting magnification of a terminal device control method provided in an embodiment of the present application;
[0125] Fig.31 It is a schematic diagram of a device for controlling a terminal device provided in an embodiment of the present application;
[0126] Fig.32 It is a schematic diagram of an electronic device of a terminal device control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0127] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.
[0128] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0129] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0130] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0131] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0132] The inventors have found that as more and more touch-screen devices are launched, a large number of applications need to run on such devices. However, most users do not have the habit of carrying a mouse or stylus with them or with their devices, so they can only touch the screen with their fingers, which means that applications that originally require fine touch points (mouse points or stylus points) need to be precisely controlled by users with their fingers. However, under the existing technology, since users have relatively thick fingers, the touch screen capability cannot accurately locate a click coordinate like a mouse-type interaction. As a result, users cannot accurately control applications.
[0133] In related technologies, such as Figure 1 As shown in the figure, since the user's fingers are relatively thick, the touch screen capability cannot accurately locate a click coordinate (X, Y) like a mouse-type interaction. As a result, the user needs to try multiple times to adjust the position of his or her fingers before the operation can be accurate. Figure 2 As shown in the figure, since the user's finger touch will trigger a lot of touch events of coordinate points, the user uses the same finger to click the same position on the screen multiple times. Since the force and area of contact between the finger and the screen are different, the coordinates (X, Y) of the touch point determined will have a large deviation and poor accuracy. The user needs to operate multiple times, resulting in a poor user experience.
[0134] In response to the above problems, the embodiments of the present application provide a terminal device control method, apparatus, device and storage medium for solving the above problems. The inventive concept of the present application can be summarized as follows: in response to a first operation on a magnification control, the magnification control is moved to a target position; the target content corresponding to the target position is magnified; in response to a second operation on the magnified target content, the steps corresponding to the second operation are executed. In the present application, the magnification of the target content is achieved by setting a magnification control, and the user can use only a finger instead of a mouse or stylus to achieve fine touch operations, which solves the problem that the user cannot accurately control the application when he does not carry a mouse or stylus.
[0135] The terminal device control method provided in the present application is applicable to various terminal devices, such as but not limited to computers, laptops, smart phones, tablet computers, smart watches, smart bracelets, vehicle-mounted terminals and other devices with touch screens.
[0136] like Figure 3 , which is an application scenario diagram of a terminal device control method in an embodiment of the present application. The diagram includes: a terminal device 10, a magnification control 20; wherein:
[0137] In response to a first operation on the magnification control 20, the terminal device 10 moves the magnification control 20 to a target position; amplifies the target content corresponding to the target position; and in response to a second operation on the magnified target content, executes steps corresponding to the second operation.
[0138] The description in this application only details a single terminal device 10 and a magnifying control 20, but those skilled in the art should understand that the terminal device 10 and the magnifying control 20 shown are intended to represent the operations of the terminal device 10 and the magnifying control 20 involved in the technical solution of this application. It does not imply any limitation on the number, type or location of the terminal device 10 and the magnifying control 20. It should be noted that if additional modules are added to the illustrated environment or individual modules are removed therefrom, the underlying concepts of the exemplary embodiments of this application will not be changed.
[0139] It should be noted that the terminal device control method proposed in this application is not only applicable to Figure 3 The application scenario shown is also applicable to any device with terminal equipment control requirements.
[0140] like Figure 4 FIG. 1 is a flow chart of a terminal device control method provided in an embodiment of the present application, wherein:
[0141] In step 401: in response to a first operation on the magnification control, the magnification control is moved to a target position.
[0142] In an embodiment of the present application, when a user needs to operate an application in a terminal device, the user triggers a first operation on the magnification control based on the required target position. After the terminal device receives the first operation triggered by the user, the position of the magnification control determined according to the first operation is the target position of the magnification control, and then the magnification control is moved to the target position.
[0143] The first operation of the user may be a drag operation or a click operation. If the first operation is a drag operation, the user drags the magnification control on the touch screen, then the movement track and target position of the magnification control can be obtained based on the drag operation triggered by the user, and the magnification control is moved to the target position based on the movement track. If the first operation is a click operation, the user clicks on the touch screen based on demand, and the touch point corresponding to the click operation is the target position of the magnification control, and the magnification control is moved to the target position.
[0144] For example: Figure 5 As shown, the magnification control is at position A on the touch screen. If you move the magnification control to position B, you can press and hold the magnification control and drag it to position B. You can also directly click on position B. The terminal device can obtain the coordinates of position B based on the user's click operation, and then move the magnification control to position B.
[0145] In some possible embodiments, as described above Figure 5 As shown in , when the user performs the first operation on the magnification control, the user can directly use the finger to operate the magnification control. If the first operation is a drag operation, the user may cover part of the content on the screen with the finger when directly dragging the magnification control, causing the user to drag multiple times before the magnification control can be moved to the target position. In order to solve this problem, an operation area is set in the present application. In response to the first operation on the magnification control, the magnification control is moved to the target position, which can be specifically implemented as follows: in response to the drag operation on the operation area, the magnification control is moved to the target position. That is, when the user moves the position of the magnification control, the first operation can be performed on the magnification control in the operation area. When moving the magnification control, the finger presses the operation area and drags to achieve the movement of the position of the magnification control.
[0146] For example: Figure 6 As shown in the figure, if you need to move the magnification control to the target position, press and hold the operation area and then drag the magnification control to the target position.
[0147] In step 402: the target content corresponding to the target position is enlarged.
[0148] In the embodiment of the present application, in order to realize the magnification of the target content, a magnification area is set. The setting method of the magnification area and the operation area in the magnification control can be implemented as follows: setting the magnification area in the operation area; or setting the magnification area in a preset range around the operation area.
[0149] For example: Figure 7 As shown in 7A in FIG. 7A , the amplified area is set inside the operating area, such as Figure 7 As shown in FIG. 7B , the magnified area is set above the operation area.
[0150] It should be noted that in the above two setting methods, Figure 7 When the magnified area shown in FIG. 7A is set inside the operating area, the relative position relationship between the operating area and the magnified area is fixed, that is, the magnified area moves synchronously with the operating area. Figure 7 When the magnified area shown in 7B is set above the operating area, the relative position relationship between the operating area and the magnified area can be fixed or not, that is, the magnified area and the operating area can move synchronously, or only the magnified area can be moved while the position of the operating area remains unchanged.
[0151] Figure 7 The above is only one embodiment. In specific implementation, the operation area can also be set below, to the left, to the right, etc. of the magnified area. The technicians can set the relative position relationship between the magnified area and the operation area according to their needs, and this application does not limit this.
[0152] In the embodiment of the present application, the area occupied by the magnified area in the touch screen is obtained according to the target position of the magnification control, and the content located in the area occupied by the magnified area is the target content.
[0153] In some possible embodiments, since the magnification control is not a point but an area, the target position can be used to represent the position of the center point of the magnification control in the touch screen. When determining the target content in the magnification area based on the target position, a coordinate system is established with any point in the touch screen as the coordinate origin. Based on the coordinate system, the coordinates of the target position can be obtained, and the coordinates of the pixel points in the magnification area can be obtained based on the size of the magnification area. The content corresponding to the coordinates of the pixel points in the magnification area is used as the target content.
[0154] In step 403: in response to a second operation on the enlarged target content, steps corresponding to the second operation are executed.
[0155] In an embodiment of the present application, the user performs a second operation on the magnified target content on the touch screen of the terminal device. After receiving the second operation triggered by the user, the terminal device determines the steps corresponding to the second operation and executes the steps corresponding to the second operation.
[0156] For example: the target content after enlargement is button A, and the user wants to expand button A, so the user performs a second operation on the enlarged button A. The terminal device determines that the step corresponding to the second operation performed on button A is an expansion step, then the expansion step corresponding to the second operation is executed for button A.
[0157] In some possible embodiments, in order to simulate the function of a mouse, at least one function area is set in the operation area of the magnification control, and the at least one function area is used to simulate at least one function of a mouse. The functions of the mouse include: at least one of a left-click function, a right-click function, a mouse pointer movement function, and a sliding function. In response to a second operation on the magnified target content, a step corresponding to the second operation is performed, which can be specifically implemented as follows: in response to a first function operation on at least one function area of the operation area, a step corresponding to the first function operation is performed on the selected content; the selected content refers to the content selected by the first function operation in the target content.
[0158] That is, the user performs a first function operation in the function area of the touch screen of the terminal device, the terminal device receives the first function operation triggered by the user in the function area, determines the steps corresponding to the first function operation, and determines the content selected by the first function, and executes the steps corresponding to the first function operation for the selected content.
[0159] For example: Figure 8 As shown, based on the user's first function operation in the function area of the touch screen of the terminal device, which is a single click on "Review", the selected content corresponding to the first operation is determined to be "Review", and the step corresponding to the first operation is determined to be expanding the buttons included in "Review".
[0160] In some possible embodiments, in order to facilitate the user to intuitively see the selected content, a mouse pointer is set in the magnification area, and the mouse pointer is used to point to the selected content when the magnification control is located at the target position.
[0161] Furthermore, the user can select the selected content by moving the mouse pointer, that is, before performing the step corresponding to the target operation on the selected content in response to the first function operation on at least one functional area of the operation area, the selected content can be selected by implementing the following steps: in response to the selection operation of the selected content, control the mouse pointer to move to the selected content.
[0162] In this application, the user performs a selection operation in the target content in the magnified area. After receiving the selection operation triggered by the user, the terminal device can determine the selected content according to the selection operation, and move the mouse pointer to the selected content to implement the selection operation on the selected content. That is, the user can move the mouse pointer to ensure that the selected content is accurately selected. For example: Fig. 9 As shown (only the magnified area and the mouse pointer are shown), the "Review" pointed by the mouse pointer is the selected content.
[0163] In some possible embodiments, in order to improve the accuracy of selecting the selected content, in response to the selection operation of the selected content, the mouse pointer is controlled to move to the selected content, which can be specifically implemented as follows: in response to the second function operation of at least one functional area of the operation area, the mouse pointer is controlled to move to the selected content. That is, the user can move the mouse pointer in the operation area, and accurately select the selected content by moving the mouse pointer.
[0164] In some possible embodiments, the positions of the mouse pointer and the magnified area may be relatively fixed or not fixed, so in response to the selection operation of the selected content, the mouse pointer is controlled to move to the selected content, which can be specifically implemented as follows: in response to the dragging operation of the mouse pointer, the mouse pointer is moved to the selected content; or, in response to the dragging operation of the magnified area, the mouse pointer is moved to the selected content.
[0165] That is, in the present application, when the positions of the mouse pointer and the magnified area are relatively fixed, the movement of the mouse pointer and the magnified area is synchronized, and the target position of the magnified area is the position when the mouse pointer points to the selected content. While the user is moving the mouse pointer, the magnified area will move synchronously according to the movement trajectory of the mouse pointer. The content pointed to by the mouse pointer after it stops moving is the selected content. When the positions of the mouse pointer and the magnified area are not fixed, after the target content is magnified by the magnified area, the mouse pointer is moved to the selected content by moving the mouse pointer.
[0166] For example: Fig.10 As shown (only the magnified area and the mouse pointer are shown), the user moves the mouse pointer through the function area in the operation area, and moves the mouse pointer and the function area to the position where "Review" is located, then the selected content is determined to be "Review".
[0167] like Fig.11 As shown (only the magnification area and the mouse pointer are shown), first move the magnification control to the target position, the magnification area magnifies the target content, determine that the selected content is "Review", and then move the mouse pointer to the position of the selected content and select "Review".
[0168] It is important to know that if the position of the mouse pointer and the magnified area are not fixed, the position of the magnified area will not change when the mouse pointer is moved through the function area of the operation area; however, the mouse pointer will move synchronously with the magnified area when the magnified area is moved through the function area of the operation area. If the position of the mouse pointer and the magnified area is fixed, the magnified area will move synchronously when the mouse pointer is moved through the function area of the operation area; the mouse pointer will also move synchronously when the magnified area is moved through the function area of the operation area.
[0169] In some other possible embodiments, when the operation area is not set in the magnification control, in response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content can be implemented as: in response to the click operation on the selected content in the magnification area, moving the mouse pointer to the selected content. That is, after the target content is magnified by the magnification area, the user can directly click the selected content to select the selected content.
[0170] In some possible embodiments, the default style of the mouse pointer is as follows: Fig.12 (only the magnified area and the mouse pointer are shown) as shown in 12A; Fig.12 As shown in 12B in FIG. 12A , when the format of the selected content is the first specified format, the mouse pointer will switch to the first specified style; Fig.12 As shown in 12C in FIG. 12 , when the format of the selected content is the second specified format, the mouse pointer will switch to the second specified style.
[0171] It should be noted that the present application does not limit the specific style of the mouse pointer. In specific implementation, the style of the mouse pointer can be determined according to the format of the selected content, or can be set by the user. Fig.12 This is only an embodiment and does not limit the style of the mouse pointer.
[0172] The specific implementation style of the operation area is described below: In some possible embodiments, the operation area can be as follows Fig.13 The mouse-type virtual mouse style shown is set below the magnified area, and the virtual mouse includes a virtual left button, a virtual right button, a virtual scroll wheel and a virtual mouse body; the virtual left button is used to realize the function of the left mouse button, the virtual right button is used to realize the function of the right mouse button, the virtual scroll wheel is used to realize the sliding function of the mouse scroll wheel, and the virtual mouse body is used to realize the mouse pointer movement function.
[0173] In some possible embodiments, when the operation area is in a virtual mouse style, the function area includes: a virtual left button, a virtual right button, a virtual scroll wheel and a virtual mouse body; in response to a first function operation on at least one function area of the operation area, steps corresponding to the first function operation are performed on the selected content, which can be specifically implemented as follows: in response to a click operation on the virtual left button, steps corresponding to the click operation of the virtual left button are performed on the selected content; the steps corresponding to the click operation of the virtual left button are used to simulate the first function of the mouse; or, in response to a click operation on the virtual right button, steps corresponding to the click operation of the virtual right button are performed on the selected content; the steps corresponding to the click operation of the virtual right button are used to simulate the second function of the mouse; or, in response to a sliding operation on the virtual scroll wheel, steps corresponding to the sliding operation of the virtual scroll wheel are performed on the selected content; the steps corresponding to the sliding operation of the virtual scroll wheel are used to simulate the third function of the mouse.
[0174] That is, the user can simulate the first function of the mouse by clicking the virtual left button of the virtual mouse; can simulate the second function of the mouse by clicking the virtual right button of the virtual mouse; can simulate the third function of the mouse by sliding the virtual scroll wheel of the virtual mouse.
[0175] Wherein: the first function of the mouse includes: single click of the left button, double click of the left button, triple click of the left button; in order to realize all the first functions of the mouse, the click operation of the virtual left button includes: single click of the virtual left button, double click of the virtual left button, triple click of the virtual left button. If the click operation of the virtual left button is determined to be single click of the virtual left button, the first function of the mouse realized is single click of the left button; if the click operation of the virtual left button is determined to be double click of the virtual left button, the first function of the mouse realized is double click of the left button; if the click operation of the virtual left button is determined to be triple click of the virtual left button, the first function of the mouse realized is triple click of the left button.
[0176] For example: Fig.14 As shown (only the magnified area and the mouse pointer are shown), the selected content in the magnified area is the drop-down triangle button corresponding to the font, and the user clicks the virtual left button of the virtual mouse, then the first function of the simulated mouse is left-clicking to expand the font.
[0177] The second functions of the mouse include: right-click, double-click, and triple-click. In order to realize all the second functions of the mouse, the click operation of the virtual right button includes: single-click, double-click, and triple-click. If the click operation of the virtual right button is determined to be a single-click, the second function of the mouse is right-click; if the click operation of the virtual right button is determined to be a double-click, the second function of the mouse is double-click; if the click operation of the virtual right button is determined to be a triple-click, the second function of the mouse is triple-click.
[0178] For example: Fig.15 As shown (only the magnified area and the mouse pointer are shown), the content selected in the magnified area is application A, and the user clicks the virtual right button of the virtual mouse, then the second function of the simulated mouse is right-clicking, and the operation bar corresponding to application A is displayed.
[0179] The third function of the mouse includes: sliding up and sliding down; in order to realize all the third functions of the mouse, the sliding operation of the virtual wheel includes: sliding the virtual wheel up and sliding the virtual wheel down. If the sliding operation of the virtual wheel is determined to be sliding up, the third function of the mouse realized is sliding up; if the sliding operation of the virtual wheel is determined to be sliding down, the third function of the mouse realized is sliding down.
[0180] For example: Fig.16As shown (only the magnified area and the mouse pointer are shown), the content selected in the magnified area is the operation bar corresponding to application A. The user slides the virtual scroll wheel of the virtual mouse from top to bottom, and the third function of the simulated mouse is to slide downward, displaying the operation bar corresponding to application A after sliding downward.
[0181] In some other possible embodiments, the operation area may also be as follows Fig.17 The style of the operation ring surrounding the magnified area shown (only the magnified area and the operation area are shown), when the operation area is the operation ring surrounding the magnified area, in response to the first function operation on at least one functional area of the operation area, the step corresponding to the first function operation is performed on the selected content, and is specifically implemented as follows: in response to the third operation on the operation ring, the first step corresponding to the third operation of the operation ring is performed on the selected content; the first step corresponding to the third operation of the operation ring is used to simulate the first function of the mouse; or, in response to the fourth operation on the operation ring, the second step corresponding to the fourth operation of the operation ring is performed on the selected content; the second step is used to simulate the second function of the mouse; or, in response to the fifth operation on the operation ring, the third step corresponding to the fifth operation of the operation ring is performed on the selected content, and the third step is used to simulate the third function of the mouse.
[0182] That is, the user can simulate the first function of the mouse by performing the third operation on the operation ring; can simulate the second function of the mouse by performing the fourth operation on the operation ring; and can simulate the third function of the mouse by performing the fifth operation on the operation ring.
[0183] Among them, the first function of the mouse includes: single-click of the left button, double-click of the left button, and triple-click of the left button; in order to realize all the first functions of the mouse, the third operation of the operation ring may include: single-click of the operation ring, double-click of the operation ring, and triple-click of the operation ring. If the third operation of the operation ring is determined to be a single-click of the operation ring, the first function of the mouse realized is a single-click of the left button; if the third operation of the operation ring is determined to be a double-click of the operation ring, the first function of the mouse realized is a double-click of the left button; if the third operation of the operation ring is determined to be a triple-click of the operation ring, the first function of the mouse realized is a triple-click of the left button. In addition, the third operation of the operation ring may also include: long press of the operation ring to single-click the area outside the ring, long press of the operation ring to double-click the area outside the ring, long press of the operation ring to triple-click the area outside the ring; or, single-click the first area of the operation ring, double-click the first area of the operation ring, triple-click the first area of the operation ring, etc.
[0184] For example: Fig.18 As shown, in the magnified area, the selected content is the drop-down triangle button corresponding to the font, and the user clicks the operation ring, then the first function of the simulated mouse is to left-click to expand the font.
[0185] The second function of the mouse includes: right-click, double-click the right button, and triple-click the right button; in order to realize all the second functions of the mouse, the fourth operation of the operation ring includes: long press the operation ring and single-click the area outside the ring, long press the operation ring and double-click the area outside the ring, and long press the operation ring and triple-click the area outside the ring. If the fourth operation of the operation ring is determined to be long press the operation ring and single-click the area outside the ring, the second function of the mouse realized is right-click; if the fourth operation of the operation ring is determined to be long press the operation ring and double-click the area outside the ring, the second function of the mouse realized is double-click the right button; if the fourth operation of the operation ring is determined to be long press the operation ring and triple-click the area outside the ring, the second function of the mouse realized is triple-click the right button. In addition, the fourth operation of the operation ring can also include: single-click the operation ring, double-click the operation ring, and triple-click the operation ring; or, single-click the second area of the operation ring, double-click the second area of the operation ring, triple-click the second area of the operation ring, etc.
[0186] For example: Fig.19 As shown, the content selected in the enlarged area is application A, and the user clicks the virtual right button of the virtual mouse, then the second function of the simulated mouse is right-click, and the operation bar corresponding to application A is displayed.
[0187] The third function of the mouse includes: sliding up and sliding down; in order to determine the specific third function to be performed on the selected content, the fifth operation of the operation ring may include: sliding the operation ring up and sliding the operation ring down. If the fifth operation of the operation ring is determined to be sliding up, the third function of the mouse implemented is sliding up; if the fifth operation of the operation ring is determined to be sliding down, the third function of the mouse implemented is sliding down. In addition, the fifth operation of the operation ring may also include: single-clicking the third area of the operation ring, double-clicking the third area of the operation ring, etc.
[0188] For example: Fig. 20 As shown in 20A in FIG. 1 , the user operates the operation ring by sliding from point A to point B, then the operation triggered by the user is determined to be the fifth operation of the operation ring, which is sliding the operation ring upward, and the third function of the mouse to be implemented is determined to be sliding upward, that is, the content in the display interface can be slid upward; Fig. 20 As shown in 20B, the user's operation on the operation ring is sliding from point B to point A, then the operation triggered by the user is determined to be the fifth operation of the operation ring, which is sliding the operation ring downward, and the third function of the mouse implemented is determined to be sliding downward, which can make the content in the display interface slide downward.
[0189] It should be noted that the specific implementation method of the third operation, fourth operation and fifth operation of the operating ring given above is only an embodiment, and does not limit the third operation, fourth operation and fifth operation of the operating ring. In specific implementation, the implementation methods of different operations can be distinguished and are all applicable to the present application. The present application does not limit the specific implementation methods of the third operation, fourth operation and fifth operation of the operating ring.
[0190] In some possible embodiments, as described above Figure 8 as well as Fig.21 As shown, the function area in the operation area can also be set to a button style, and each button is used to implement at least one mouse function.
[0191] It should be noted that the present application does not limit the specific style of the operation area, and technicians can set the style of the operation area according to their needs.
[0192] The magnification control can be directly displayed on the touch screen of the terminal device, and the user can determine whether to turn on the magnification control. If it is determined that the user turns on the magnification control, the user can Fig. 22 As shown, the magnification control is directly displayed on the touch screen. In order to further improve the user experience, refer to Fig.23 The flowchart shown is a flowchart of operating based on the magnification control after waking up the magnification control provided by an embodiment of the present application:
[0193] In step 2301: in response to the wake-up operation of the magnification control, the magnification control is displayed on the touch screen.
[0194] That is, when the user needs to use the magnification control, the user first triggers the wake-up operation of the magnification control on the touch screen of the terminal device. After receiving the wake-up operation of the magnification control triggered by the user, the terminal device displays the magnification control on the touch screen.
[0195] In some possible embodiments, in response to the wake-up operation of the magnification control, displaying the magnification control on the touch screen can be specifically implemented as: in response to the start-up operation of the target application, displaying the magnification control on the touch screen.
[0196] That is, some applications are set as target applications in advance in the terminal device, or some applications are set as target applications by the user according to the user's needs; if it is determined that the user triggers the start operation for the target application, it is determined that the user has the need to use the magnification control, so the discharge control is displayed on the touch screen.
[0197] For example: it is determined that Application 1, Application 2, and Application 3 include small operation buttons, so Application 1, Application 2, and Application 3 can be set as target applications in advance. If it is detected that the user triggers the start operation for Application 1, the magnification control is displayed on the touch screen.
[0198] It should be noted that the target application can be determined by the technician based on the difficulty of operating the internal interface of the application, or it can be set by the user. For example: if it is determined that the magnification control needs to be used in Application 3, Application 4, and Application 5, the user can set Application 3, Application 4, and Application 5 as the target application in advance. During subsequent use, if it is detected that the user starts any one of Application 3, Application 4, and Application 5, the magnification control will be displayed on the touch screen.
[0199] In another possible embodiment, in response to the awakening operation of the magnifying control, displaying the magnifying control on the touch screen may also be implemented as: if an operation satisfying the awakening condition is detected on the touch screen, the magnifying control is displayed on the touch screen. The awakening condition includes but is not limited to: a preset number of touch points are detected on the touch screen; and / or the distance between at least two touch points of the preset number of touch points detected on the touch screen satisfies a preset distance condition; and / or the touch duration of at least one touch point of the preset number of touch points detected on the touch screen is greater than a preset duration.
[0200] That is, a wake-up condition is pre-set in the terminal device, and when the operation triggered by the user based on the touch screen of the terminal device meets the preset wake-up condition, a magnification control is displayed on the touch screen of the terminal device.
[0201] During specific implementation, technicians can select one or a combination of the above wake-up conditions according to their needs, and this application does not limit this.
[0202] For example, the wake-up condition is determined as follows: 3 touch points are detected, and the distance between at least two of the 3 touch points is less than a preset distance; Fig.24 As shown, three touch points are detected in the touch screen, namely touch point 1, touch point 2, and touch point 3. It is determined that the distance between touch point 1 and touch point 2 is less than the preset distance, the distance between touch point 1 and touch point 3 is less than the preset distance, the distance between touch point 2 and touch point 3 is less than the preset distance, it is determined that the wake-up condition is met, and the zoom control is displayed in the touch screen.
[0203] For example, the wake-up condition is determined as follows: 3 touch points are detected, and the distance between at least two of the 3 touch points is less than a preset distance; Fig.25As shown, three touch points are detected in the touch screen, namely touch point 4, touch point 5, and touch point 6. The terminal device determines the distance between touch point 4 and touch point 5, the distance between touch point 4 and touch point 6, and the distance between touch point 5 and touch point 6 according to the coordinates of touch point 4, touch point 5, and touch point 6 in the touch screen respectively; according to the determined distances between the touch points and the preset distances, it is obtained that the distance between touch point 4 and touch point 5 is greater than the preset distance, the distance between touch point 4 and touch point 6 is greater than the preset distance, and the distance between touch point 5 and touch point 6 is greater than the preset distance; then it is determined that the three touch points detected in the touch screen this time do not meet the wake-up conditions, it is determined that this is a false touch, and the zoom control is not displayed in the touch screen.
[0204] It should be noted that since the set wake-up condition is to detect three touch points and the distance between at least two touch points is less than the preset distance, after detecting that the distance between touch point 4 and touch point 5 is greater than the preset distance, the relationship between the distance between touch point 4 and touch point 6, and the distance between touch point 5 and touch point 6 and the preset distances can no longer be calculated; that is, after detecting that the touch point does not meet any of the wake-up conditions, there is no need to execute subsequent steps and it can be directly determined that this is a false touch.
[0205] For example, when the wake-up condition is determined as follows: three touch points are detected, and the distance between at least two of the three touch points is less than the preset distance, and the touch duration of the three touch points is greater than the preset duration; Fig.25 For example, three touch points are detected in the touch screen, namely 4, 5 and 6. The terminal device determines the distance between touch point 4 and touch point 5, the distance between touch point 4 and touch point 6, and the distance between touch point 5 and touch point 6 according to the coordinates of touch point 4, touch point 5 and touch point 6 in the touch screen respectively; the touch durations corresponding to touch point 4, touch point 5 and touch point 6 are determined according to the touch duration of the user; according to the determined distances between the two touch points and the preset distance, it is determined that the distance between touch point 4 and touch point 5 is greater than the preset distance, the distance between touch point 4 and touch point 6 is greater than the preset distance, and the distance between touch point 5 and touch point 6 is greater than the preset distance; according to the touch duration of each detected touch point, it is determined that the touch duration of touch point 4 is greater than the preset duration, the touch duration of touch point 5 is greater than the preset duration, and the touch duration of touch point 6 is greater than the preset duration, and it is determined that the wake-up condition is not met, and it is determined that this is a false touch, and the magnification control is not displayed on the touch screen.
[0206] It should be noted that since there are multiple wake-up conditions set and multiple wake-up conditions must be met at the same time to wake up the magnification control, after detecting that the touch point does not meet any of the wake-up conditions, there is no need to perform other subsequent steps to determine whether the touch point meets the wake-up conditions, and it is directly determined that this is a false touch.
[0207] It should be noted that the distance between at least two touch points out of a preset number of touch points detected on the touch screen in the wake-up condition satisfies the preset distance condition. The at least two touch points may be adjacent touch points or non-adjacent touch points. In specific implementation, the wake-up condition may also be set to detect that the distance between at least three touch points out of a preset number of touch points on the touch screen satisfies the preset distance condition. The present application does not limit the number of touch points that meet the preset distance condition. The preset number of 3 given in the above example is only an embodiment, and does not limit the number of touch points. In specific implementation, the preset number may be set according to needs. The present application does not limit the number of touch points.
[0208] In the present application, multiple wake-up conditions are set to avoid the occurrence of false touch events, while ensuring the accuracy of awakening the magnification control.
[0209] In step 2302: in response to a first operation on the magnification control, the magnification control is moved to a target position.
[0210] In step 2303: the target content corresponding to the target position is enlarged.
[0211] In step 2304: in response to a second operation on the enlarged target content, steps corresponding to the second operation are executed.
[0212] Among them, the implementation method of steps 2302 to 2304 is the same as Figure 4 The implementation methods of steps 401 to 403 are the same and will not be repeated here.
[0213] In some possible embodiments, in order to improve the viewing experience, a method for adjusting the size of the magnified control is provided in the present application, which can be specifically implemented as follows: obtaining the size parameters of the touch screen; determining the size of the magnified control according to the size parameters and a preset ratio.
[0214] According to the experience of those skilled in the art, when the magnified control includes an operation ring, the size of the magnified control is set to: 40 to 400 virtual pixels (vp) in height and 40 to 400 vp in width. When the magnified area includes a virtual mouse, the size of the magnified control is set to: 40 to 400 vp in height and 20 to 200 vp in width.
[0215] For example, if the preset ratio is determined to be 1:10, the height of the touch screen is determined to be 15 cm and the length is 20 cm, then the height of the magnified control can be determined to be 1.5 cm and the length to be 2 cm.
[0216] In some possible embodiments, for different applications, the target content that the user is concerned about occupies different areas on the touch screen. Therefore, in order to meet the different magnification requirements of users, the size of the magnified area can be adjusted in the present application. Specifically, it can be implemented as follows: in response to the magnification operation on the magnified area, the magnified area is magnified; in response to the reduction operation on the magnified area, the magnified area is reduced. The magnification operation includes: long pressing the magnified area, or expanding the magnified area, or clicking the size adjustment button corresponding to the magnified area.
[0217] For example: Fig.26 As shown, the user can long press in the enlarged area. The terminal device detects a touch point in the enlarged area and determines that the touch time of the touch point reaches the preset long press time, then the enlarged area is enlarged, and the size of the enlarged area after enlargement is determined according to the time the user long presses the touch point, that is, the longer the user long presses in the enlarged area, the larger the size of the enlarged area obtained after the enlargement operation is performed on the enlarged area.
[0218] like Fig. 27 As shown, the user performs a pinching operation in the magnified area, and the size of the magnified area is determined according to the pinching degree of the finger of the user performing the pinching operation on the magnified area, and the magnified area is magnified.
[0219] like Fig.28 As shown, the user can long press in the magnified area to wake up the size adjustment button corresponding to the magnified area, and then adjust the size of the magnified area by clicking the size adjustment button.
[0220] Since the user only wants to enlarge the magnified area, when the operation area is a virtual mouse, the virtual mouse may not be enlarged synchronously with the magnified area; when the operation area is an operation ring, since the operation ring surrounds the magnified area, when the size of the magnified area changes, the operation ring needs to be transformed synchronously with the magnified area.
[0221] It should be noted that the method for adjusting the size of the enlarged area given above in the present application is only an embodiment and does not limit the method for adjusting the size of the enlarged area. During specific implementation, technicians can set the method for adjusting the size of the enlarged area according to their needs.
[0222] In some possible embodiments, after the target content is enlarged in the enlarged area of the enlargement control, the enlarged target content may still not meet the needs of the user. Therefore, in this case, the enlarged target content needs to be enlarged again, that is, the magnification of the enlarged area is adjusted, which can be specifically implemented as follows: in response to the magnification adjustment operation of the enlargement control, the magnification of the enlarged area is adjusted. The magnification adjustment operation includes: clicking the magnification adjustment button, or sliding in the enlarged area.
[0223] For example: Fig.29 As shown in FIG, the user triple-clicks the magnified area to wake up the magnification adjustment button, and then clicks the "plus sign" to increase the magnification of the magnified area. Fig.30 As shown, the user slides up in the magnified area, that is, slides from point A to point B, and the magnification of the magnified area is increased; the user slides down in the magnified area, that is, slides from point B to point A, and the magnification of the magnified area is reduced.
[0224] It should be noted that the above-mentioned methods for adjusting the magnification are only two embodiments. During specific implementation, the magnification adjustment method can be set according to needs. This application does not limit the specific method for adjusting the magnification.
[0225] In this application, the target content is magnified by setting a magnification control. The user can use only a finger to replace a mouse or stylus to achieve fine touch operation, solving the problem that the user cannot accurately control the application without a mouse or stylus. By setting an operation area to simulate the function of the mouse, the problem of inaccurate clicks that may exist when using direct finger operation after magnification by the magnification control is avoided, and precise control of the magnified fine buttons in the magnification control is achieved.
[0226] Based on the same inventive concept, after introducing a terminal device control method provided by an embodiment of the present application, as shown in FIG. Fig.31 As shown, a terminal device control device 3100 provided in an embodiment of the present application is described below, and the device includes:
[0227] A moving module 31001 is used for moving the magnifying control to a target position in response to a first operation on the magnifying control;
[0228] A magnification module 31002 is used to magnify the target content corresponding to the target position;
[0229] The operation module 31003 is used to execute steps corresponding to a second operation performed on the enlarged target content in response to the second operation.
[0230] In some possible embodiments, the magnification control includes: an operation area, and the moving module 31001 is specifically used to:
[0231] In response to a drag operation on the operation area, the magnification control is moved to the target position.
[0232] In some possible embodiments, the magnification control includes: an operation area, the operation area includes at least one functional area, and the at least one functional area is used to simulate at least one function of a mouse; the second operation is a first function operation for at least one functional area of the operation area.
[0233] In some possible embodiments, the magnification control includes: a magnification area, and the magnification module 31002 is specifically used to:
[0234] A magnification process is performed on the target content in the magnification area corresponding to the magnification control at the target position.
[0235] In some possible embodiments, the magnification area includes a mouse pointer, and when the magnification control is located at the target position, the mouse pointer points to the selected content, and the selected content refers to the content in the target content selected by the first function operation.
[0236] In some possible embodiments, the magnified area includes a mouse pointer, and the operation module 31003 is further used to:
[0237] In response to a selection operation of the selected content, the mouse pointer is controlled to move to the selected content.
[0238] In some possible embodiments, the operation module 31003 is specifically used to:
[0239] In response to a drag operation on the mouse pointer, moving the mouse pointer to the selected content; or,
[0240] In response to a drag operation on the magnified area, the mouse pointer is moved to the selected content.
[0241] In some possible embodiments, the operation module 31003 is specifically used to:
[0242] In response to a second function operation on at least one functional area of the operation area, the mouse pointer is controlled to move to the selected content.
[0243] In some possible embodiments, the operation module 31003 is specifically used to:
[0244] In response to a click operation on the selected content in the magnified area, the mouse pointer is moved to the selected content.
[0245] In some possible embodiments, the at least one functional area is used to simulate at least one of a left-click function, a right-click function, a mouse pointer movement function, and a sliding function of a mouse.
[0246] In some possible embodiments, the operation area includes a virtual mouse, and the virtual mouse includes: a virtual left button, a virtual right button, and a virtual scroll wheel. The operation module 31003 is specifically used to:
[0247] In response to a click operation on the virtual left button, a step corresponding to the click operation of the virtual left button is performed on the selected content; the step corresponding to the click operation of the virtual left button is used to simulate a first function of a mouse; or,
[0248] In response to a click operation on the virtual right button, a step corresponding to the click operation on the selected content is performed; the step corresponding to the click operation on the virtual right button is used to simulate a second function of a mouse; or,
[0249] In response to the sliding operation on the virtual wheel, the steps corresponding to the sliding operation on the virtual wheel are executed on the selected content; the steps corresponding to the sliding operation on the virtual wheel are used to simulate the third function of the mouse.
[0250] In some possible embodiments, the operation area includes an operation ring surrounding the magnified area, and the operation module 31003 is specifically used to:
[0251] In response to a third operation on the operation ring, a first step corresponding to the third operation on the operation ring is performed on the selected content; the first step corresponding to the third operation on the operation ring is used to simulate a first function of a mouse; or,
[0252] In response to a fourth operation on the operation ring, a second step corresponding to the fourth operation on the operation ring is performed on the selected content; the second step is used to simulate a second function of a mouse; or,
[0253] In response to a fifth operation on the operation ring, a third step corresponding to the fifth operation on the operation ring is performed on the selected content, and the third step is used to simulate a third function of a mouse.
[0254] In some possible embodiments, the mobile module 31001 is further used for:
[0255] In response to the wake-up operation of the magnification control, the magnification control is displayed on the touch screen.
[0256] In some possible embodiments, the mobile module 31001 is specifically used for:
[0257] In response to a start-up operation of the target application, the magnification control is displayed on the touch screen.
[0258] In some possible embodiments, the mobile module 31001 is specifically used for:
[0259] If an operation satisfying the wake-up condition is detected in the touch screen, the magnification control is displayed in the touch screen.
[0260] The wake-up conditions include:
[0261] A preset number of touch points are detected on the touch screen; and / or,
[0262] The distance between at least two touch points among the preset number of touch points detected on the touch screen satisfies a preset distance condition; and / or,
[0263] The touch duration of at least one touch point among the preset number of touch points detected on the touch screen is greater than the preset duration.
[0264] Corresponding to the above embodiments, the present application also provides an electronic device. Fig.32 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the electronic device 3200 may include: a processor 3201, a memory 3202 and a communication unit 3203. These components communicate through one or more buses, and those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention, it can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0265] The communication unit 3203 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0266] The processor 3201 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 3202, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 3201 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0267] The memory 3202 is used to store the execution instructions of the processor 3201. The memory 3202 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk.
[0268] When the execution instructions in the memory 3202 are executed by the processor 3201, the electronic device 3200 can execute Figure 4 Some or all of the steps in the illustrated embodiments.
[0269] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the calling method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0270] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0271] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A terminal device control method, characterized in that: The method comprises: In response to a first operation on the magnification control, moving the magnification control to a target position; Amplifying the target content corresponding to the target position; In response to a second operation on the enlarged target content, steps corresponding to the second operation are performed.
2. The method according to claim 1, characterized in that: The magnifying control includes: an operation area, and in response to a first operation on the magnifying control, moving the magnifying control to a target position includes: In response to the drag operation on the operation area, the magnification control is moved to the target position.
3. The method according to claim 1, characterized in that The magnification control includes: an operation area, the operation area includes at least one functional area, and the at least one functional area is used to simulate at least one function of a mouse; the second operation is a first function operation for at least one functional area of the operation area.
4. The method according to claim 3, characterized in that The magnification control includes: a magnification area, and the magnification process of the target content corresponding to the target position includes: A magnification process is performed on the target content in the magnification area corresponding to the magnification control at the target position.
5. The method according to claim 4, characterized in that The magnification area includes a mouse pointer. When the magnification control is located at the target position, the mouse pointer points to selected content, and the selected content refers to the content in the target content selected by the first function operation.
6. The method according to claim 4, characterized in that The amplified area includes a mouse pointer, and before the step of performing a target operation on the selected content in response to a first function operation on at least one functional area of the operation area, the method further includes: In response to a selection operation of the selected content, the mouse pointer is controlled to move to the selected content.
7. The method according to claim 6, characterized in that In response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content includes: In response to a drag operation on the mouse pointer, moving the mouse pointer to the selected content; or, In response to a drag operation on the magnified area, the mouse pointer is moved to the selected content.
8. The method according to claim 6, characterized in that In response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content includes: In response to a second function operation on at least one functional area of the operation area, the mouse pointer is controlled to move to the selected content.
9. The method according to claim 6, characterized in that In response to the selection operation of the selected content, controlling the mouse pointer to move to the selected content includes: In response to a click operation on the selected content in the magnified area, the mouse pointer is moved to the selected content.
10. The method according to claim 3, characterized in that The at least one function area is used to simulate at least one of a left-click function, a right-click function, a mouse pointer movement function, and a sliding function of a mouse.
11. The method according to claim 3, characterized in that The operation area includes a virtual mouse, and the virtual mouse includes: a virtual left button, a virtual right button, and a virtual scroll wheel. In response to a first function operation on at least one functional area of the operation area, the steps corresponding to performing the first function operation on the selected content include: In response to a click operation on the virtual left button, a step corresponding to the click operation of the virtual left button is performed on the selected content; the step corresponding to the click operation of the virtual left button is used to simulate a first function of a mouse; or, In response to a click operation on the virtual right button, a step corresponding to the click operation on the selected content is performed; the step corresponding to the click operation on the virtual right button is used to simulate a second function of a mouse; or, In response to the sliding operation on the virtual wheel, the steps corresponding to the sliding operation on the virtual wheel are executed on the selected content; the steps corresponding to the sliding operation on the virtual wheel are used to simulate the third function of the mouse.
12. The method according to claim 4, characterized in that The operation area includes an operation ring surrounding the magnified area, and the step of performing a first function operation on the selected content in response to a first function operation on at least one functional area of the operation area includes: In response to a third operation on the operation ring, a first step corresponding to the third operation on the operation ring is performed on the selected content; the first step corresponding to the third operation on the operation ring is used to simulate a first function of a mouse; or, In response to a fourth operation on the operation ring, a second step corresponding to the fourth operation on the operation ring is performed on the selected content; the second step is used to simulate a second function of a mouse; or, In response to a fifth operation on the operation ring, a third step corresponding to the fifth operation on the operation ring is performed on the selected content, and the third step is used to simulate a third function of a mouse.
13. The method according to claim 1, characterized in that Before determining the target position of the magnifying control in response to the first operation on the magnifying control, the method further includes: In response to the wake-up operation of the magnification control, the magnification control is displayed on the touch screen.
14. The method according to claim 13, characterized in that The step of displaying the magnifying control on the touch screen in response to the wake-up operation of the magnifying control comprises: In response to a start-up operation of the target application, the magnification control is displayed on the touch screen.
15. The method according to claim 13, characterized in that The step of displaying the magnifying control on the touch screen in response to the wake-up operation of the magnifying control comprises: If an operation satisfying the wake-up condition is detected on the touch screen, displaying the magnification control on the touch screen; The wake-up conditions include: A preset number of touch points are detected on the touch screen; and / or, The distance between at least two touch points among the preset number of touch points detected on the touch screen satisfies a preset distance condition; and / or, The touch duration of at least one touch point among the preset number of touch points detected on the touch screen is greater than the preset duration.
16. An electronic device, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 15.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 15.