Operation control method and device and storage medium
By detecting the continuous operation of the target components of the smart terminal device by users, obtaining display information and delaying response, and combining the use of transparent components, the problem of ineffective preventing clicks and accidentally touching in the prior art is solved, and higher user interaction accuracy and security are achieved.
Patent Information
- Application Number
- CN202311398321.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2025-04-25
AI Technical Summary
Existing smart terminal devices are not effective in preventing user clicks and accidentally touching, and cannot fully realize the anti-touching function.
By detecting the first and second operations of the target component by the user, the display information of the target component is obtained, the set time is delayed to respond to the second operation, and the transparent component is displayed at the display position of the target component within the set time to receive the continuous operation but intercept the report.
Effectively prevent users from accidentally touching target components, improve the accuracy and security of user interaction, and enhance the user experience of terminal devices.
Smart Images

Figure CN119883027A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent terminal technology, and in particular to an operation control method, device and storage medium. Background Art
[0002] With the development of smart terminal technology, clicking has become the most basic interactive action between users and terminal devices.
[0003] In order to prevent users from accidentally clicking, the related art processes each click event in each terminal application separately. However, from the user's perspective, the related applications on the terminal device do not fully implement the function of preventing users from accidentally clicking. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides an operation control method, device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an operation control method, including:
[0006] In response to detecting a first operation of a user on a target component, acquiring display information of the target component, wherein the target component is a component triggered to run based on a continuous operation of the user, wherein the continuous operation includes at least the first operation and a second operation performed after the first operation;
[0007] Based on the display information, responding to the second operation is delayed by a set time.
[0008] In one implementation, the acquiring the display information of the target component includes: acquiring the display position and display shape of the target component;
[0009] Based on the display information, a delay setting time is used to respond to the second operation, including: within the set time, at the display position of the target component, a transparent component consistent with the display shape is displayed, and the target component is covered, and the transparent component has the characteristic of receiving the continuity operation but intercepting the reporting of the continuity operation.
[0010] In one embodiment, the set time is determined in the following manner: based on the time when the user's first operation on the target component is detected and the time when the second operation is performed after the first operation, the time interval between the user's performance of the first operation and the performance of the second operation is determined; and a time range greater than the time interval is determined as the set time.
[0011] In one embodiment, the method further includes: determining the authority to provide accessibility services to the target component, the accessibility service authority including at least one of the following: authority to obtain display information of the target component and authority to draw a transparent component within the set time.
[0012] In one embodiment, the method further includes: based on detecting a second operation performed by the user after the first operation on the target component is completed, displaying prompt information, wherein the prompt information is used to prompt the user to confirm whether to execute the function corresponding to the continuity operation.
[0013] In one embodiment, the method further includes: if an operation instruction is received from the user confirming execution of the function corresponding to the continuous operation, and the time interval between the user executing the first operation and the second operation is less than a set time, executing the function corresponding to the continuous operation.
[0014] In one embodiment, the method further includes: if an instruction from the user confirming not to execute the function corresponding to the continuous operation is received, or an operation instruction from the user confirming to execute the function corresponding to the continuous operation is not received, then canceling the execution of the function corresponding to the continuous operation.
[0015] In one embodiment, the method includes: determining that the target component has the permission to use the application system reminder window, wherein the permission to use the application system reminder window is the permission to monitor various operations of the target component by the user and the permission to display the reminder window. In one embodiment, the method also includes: removing the transparent component after the set time.
[0016] According to a second aspect of an embodiment of the present disclosure, there is provided an operation control device, including:
[0017] An acquisition unit is used to acquire display information of a target component in response to detecting a first operation of a user on a target component, wherein the target component is a component triggered to run based on continuous operations of the user, and the continuous operations include at least the first operation and a second operation performed after the first operation; and a processing unit is used to delay a set time to respond to the second operation based on the display information.
[0018] In one embodiment, the acquisition unit acquires the display information of the target component in the following manner: acquiring the display position and display shape of the target component; based on the display information, delaying a set time to respond to the second operation, including: within the set time, at the display position of the target component, displaying a transparent component consistent with the display shape and covering the target component, the transparent component having the characteristic of receiving the continuity operation but intercepting the reporting of the continuity operation.
[0019] In one embodiment, the processing unit determines the set time in the following manner: based on the time when the user's first operation on the target component is detected and the time when the second operation is performed after the first operation, determine the time interval between the user's performance of the first operation and the performance of the second operation; determine a time range greater than the time interval as the set time.
[0020] In one embodiment, the acquisition unit is further used to: determine the authority to provide accessibility service to the target component, and the accessibility service authority includes at least one of the following: authority to obtain display information of the target component and authority to draw a transparent component within the set time.
[0021] In one embodiment, the processing unit is further used to: based on detecting a second operation performed by the user after the first operation on the target component is completed, display prompt information, wherein the prompt information is used to prompt the user to confirm whether to execute the function corresponding to the continuity operation.
[0022] In one embodiment, the processing unit is further used to: if an operation instruction from the user confirming execution of the function corresponding to the continuous operation is received, and the time interval between the user executing the first operation and the second operation is less than a set time, execute the function corresponding to the continuous operation.
[0023] In one embodiment, the processing unit is further configured to: cancel the execution of the function corresponding to the continuous operation if an instruction from the user confirming not to execute the function corresponding to the continuous operation is received, or an operation instruction from the user confirming to execute the function corresponding to the continuous operation is not received.
[0024] In one embodiment, the processing unit is further used to determine whether it has permission to perform an application system reminder window on the target component, and the application system reminder window permission is permission to monitor various operations of the user on the target component and permission to display a reminder window.
[0025] In one embodiment, the processing unit is further configured to: remove the transparent component after the set time.
[0026] According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to execute the display control method in the first aspect or any one of the implementations of the first aspect.
[0027] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal device is enabled to execute the operation control method in the first aspect or any one of the implementations of the first aspect.
[0028] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: based on detecting the first operation of the user on the target component, information is displayed on the target component, the second operation of the user on the target component is delayed, and the explicit operation of the user on the target component is confirmed, which is flexible and convenient.
[0029] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0031] Figure 1 The invention is a flowchart of an operation control method according to an exemplary embodiment.
[0032] Figure 2 The present invention is a flowchart showing a method of obtaining display information of a target component according to an exemplary embodiment.
[0033] Figure 3 The figure is a flow chart showing a method for determining a set time according to an exemplary embodiment.
[0034] Figure 4 The present invention is a flowchart of displaying prompt information according to an exemplary embodiment.
[0035] Figure 5 The present invention is a flowchart showing a method for executing a function corresponding to a continuous operation according to an exemplary embodiment.
[0036] Figure 6 The invention is a flowchart showing a method of canceling a function corresponding to an execution continuity operation according to an exemplary embodiment.
[0037] Figure 7 The figure is a flow chart of a method for preventing accidental touches by a user according to an exemplary embodiment.
[0038] Figure 8 The figure is a schematic diagram showing a user clicking a target component according to an exemplary embodiment.
[0039] Fig. 9 The diagram is a schematic diagram showing a transparent display component according to an exemplary embodiment.
[0040] Fig.10 The figure is a schematic diagram showing a method of displaying prompt information according to an exemplary embodiment.
[0041] Fig.11The figure is a schematic diagram showing a display confirmation execution operation according to an exemplary embodiment.
[0042] Fig.12 The figure is a schematic diagram showing a display confirmation cancellation execution operation according to an exemplary embodiment.
[0043] Fig.13 The figure is a block diagram of an operation control device according to an exemplary embodiment.
[0044] Fig.14 The invention is a block diagram of an operation control device according to an exemplary embodiment. DETAILED DESCRIPTION
[0045] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0046] The user accidental touch prevention method provided in the embodiment of the present disclosure is applied to information interaction scenarios. The user accidental touch prevention method involved in the embodiment of the present disclosure is mainly applied to scenarios where a user interacts with a terminal device through a click operation.
[0047] In the related art, when a user interacts with a terminal device through a click operation, the related application in the terminal device that receives the user's click operation cannot accurately determine the user's operation intention, such as the user accidentally touches the continuous click operation of the current component, thereby affecting the user experience.
[0048] In view of this, the present disclosure provides a method for preventing unnecessary consequences caused by accidental double-clicks when a user interacts with a terminal device. According to the anti-accidental-touch method, a transparent logo identical to an application logo that accepts double-clicks is drawn within an application that accepts double-clicks, and the transparent logo is placed on an upper layer of the application logo that accepts double-clicks, thereby preventing the user from accidentally touching the continuous click operation of the current component.
[0049] Figure 1 FIG. 1 is a flow chart of an operation control method according to an exemplary embodiment. Figure 1 As shown, the operation control method is used in a terminal, comprising the following steps:
[0050] In step S11 , in response to detecting a first operation of a user on a target component, display information of the target component is acquired.
[0051] In the disclosed embodiment, the first operation of the continuous operations performed by the user on the target component is detected, and relevant information of the target component, such as display information, is obtained.
[0052] Among them, the target component can be understood as a component that is triggered to run based on continuous user operations, and the continuous operations include at least a first operation and a second operation performed after the first operation, such as an application in a terminal device, or a component in an application of a terminal device. The display information can be understood as the specific location information and shape information of the target component in the terminal device.
[0053] In step S12, based on the displayed information, a response to the second operation is delayed by a set time.
[0054] In the disclosed embodiment, a time range is set according to display information of the target component, and a second operation of the user following the first operation is responded to within the time range.
[0055] Among them, the set time can be understood as a time range. If a second operation of the user is responded to within the time range, the second operation of the user is blocked. The second operation can be understood as another operation of the user on the target component is detected again after responding to the first operation of the user.
[0056] In the embodiment of the present disclosure, based on detecting the first operation of the user on the target component and obtaining the display information of the target component that receives the first operation, a time is set according to the display information to delay the second operation of the user on the target component, and then when the user has no intention to operate the target component, the second operation of the user on the target component is prevented, thereby preventing the user from accidentally touching the target component.
[0057] In the disclosed embodiment, display information of the target component is obtained while preventing the user from accidentally touching the target component.
[0058] Figure 2 FIG. 1 is a flow chart showing a method of obtaining target component display information according to an exemplary embodiment. Figure 2 As shown, the following steps are included:
[0059] In step S21, the display position or display shape of the target component is acquired.
[0060] In the embodiments of the present disclosure, the display position of the target component in the terminal device is obtained, or the display shape of the target component in the terminal device is obtained, or the display position and display shape of the target component in the terminal device are obtained.
[0061] Among them, the display position can be understood as the specific location information of the target component in the terminal device, such as the location information of the target component in a certain application in the terminal device, or the component position in a certain application in the terminal device. The display shape can be understood as the shape of the displayed target component, such as a rectangle.
[0062] In step S22, based on the displayed information, a response to the second operation is delayed by a set time.
[0063] In the disclosed embodiment, within a set time, at the display position of the target component, a transparent component consistent with the display shape is displayed and covers the target component. The transparent component has the characteristic of receiving continuity operations but intercepting continuity operation reports.
[0064] In the disclosed embodiment, a transparent component is drawn according to the acquired display shape of the target component, and the transparent component is placed at the same display position as the target component and on an upper layer of the target component. After the transparent component receives the user's second operation, the user's operation is blocked, thereby achieving the purpose of preventing the user from accidentally touching the target component.
[0065] In the disclosed embodiment, after a transparent component is drawn on an upper layer of a target component, a response time of the transparent component to a second operation of the user is set, and within the set time, the user is prevented from accidentally touching the target component.
[0066] Figure 3 FIG. 1 is a flow chart showing a method of determining a set time according to an exemplary embodiment. Figure 3 As shown, the following steps are included:
[0067] In step S31 , based on the time when the user's first operation on the target component is detected and the time when the second operation is performed after the first operation, the time interval between the user's performing the first operation and the performing the second operation is determined.
[0068] In the embodiment of the present disclosure, in response to the time when the user performs a first operation on the target component, the time of the second operation after the user performs the first operation on the target component is detected, and the time interval is determined according to the time of performing the first operation and the time of performing the second operation.
[0069] The time interval can be understood as the time range between two consecutive operations of the user on the target component.
[0070] In step S32, a time range greater than the time interval is determined as the set time.
[0071] In the embodiment of the present disclosure, according to the time interval between two consecutive operations of the user detected, a time range greater than the time interval between the two operations is set as the set time.
[0072] Among them, setting the time can be understood as, based on the user's continuous operation of the target component each time, detecting the time of the first operation and the time of the second operation in the continuous operation, and setting the measured time intervals between the two as the set time, or, based on the user's multiple continuous operations on the target component, detecting the time of the first operation and the time of the second operation in the continuous operation, determining the time interval between multiple first operations and second operations, averaging the multiple time intervals obtained, and setting the average time interval as the set time.
[0073] In the disclosed embodiment, according to the transparent component receiving the second operation of the user, a set time is set, and the user's operation intention on the target component is determined within the set time to avoid the user's accidental touch operation on the application where the target component is located.
[0074] In the disclosed embodiment, permissions for obtaining target component-related information, such as accessibility service permissions, are obtained. Based on the obtained permissions, when a first operation in a series of continuous operations on a target component by a user is detected, display information of the target component and permissions for drawing transparent components are obtained.
[0075] The barrier-free service permission may be understood as a permission including at least one of the permission to obtain display information of the target component and the permission to draw a transparent component within the set time.
[0076] In the disclosed embodiment, based on the acquired accessibility service authority, it is ensured that the application in the terminal device can obtain the display information of the target component and draw the transparent component.
[0077] In the disclosed embodiment, based on the various permissions obtained by the application in the terminal device, a prompt message is displayed to prompt the user whether to confirm the operation on the target component. Based on the prompt message, the user's next operation on the target component is confirmed to avoid accidental operation of the application where the target component is located.
[0078] Figure 4 FIG. 1 is a flow chart showing a display prompt information according to an exemplary embodiment. Figure 4 As shown, the following steps are included:
[0079] In step S41, a second operation performed by a user after a first operation on a target component is completed is detected.
[0080] In the disclosed embodiment, a second operation of a user on a target component is detected after the first operation of the user on the target component, and it is determined that the second operation of the user on the target component exists.
[0081] In step S42, prompt information is displayed.
[0082] In the disclosed embodiment, prompt information is displayed according to the existence of the second operation of the user on the target component.
[0083] The prompt information may be understood as information prompting the user to confirm whether to execute the function corresponding to the continuity operation.
[0084] In the disclosed embodiment, it is determined that the user's second operation on the target component exists, and when the user's second operation is received, prompt information is displayed to facilitate the user to confirm whether to execute the corresponding function of the target component.
[0085] Figure 5 FIG. 1 is a flow chart showing a function of executing a continuous operation according to an exemplary embodiment. Figure 5 As shown, the following steps are included:
[0086] In step S51, an operation instruction for confirming execution of a function corresponding to a continuous operation is received from the user, and the time interval between the user executing the first operation and the second operation is less than a set time.
[0087] In the embodiment of the present disclosure, it is determined that the condition for performing the continuous operation is met, such as confirming that the instruction for performing the continuous operation and the time interval between the first operation and the second operation performed by the user are less than a set time.
[0088] The operation instruction may be understood as an action instruction for a user to perform a continuous operation, such as a double-click or a continuous gesture.
[0089] In step S52, a function corresponding to the continuity operation is executed.
[0090] In the embodiment of the present disclosure, after it is currently determined that the conditions for executing the continuity operation are met, the corresponding function of the continuity operation is executed.
[0091] Among them, the function corresponding to the continuous operation can be understood as a function triggered by a double-click, or a function triggered by a continuous gesture.
[0092] In the embodiment of the present disclosure, a condition for satisfying the user's continuous operation is determined, and a function corresponding to the continuous operation is triggered according to the condition for satisfying the user's continuous operation.
[0093] Figure 6 FIG. 1 is a flow chart showing a method of canceling a function corresponding to a continuous operation according to an exemplary embodiment. Figure 6 As shown, the following steps are included:
[0094] In step S61, an instruction from the user confirming not to execute the function corresponding to the continuous operation is received, or an operation instruction from the user confirming to execute the function corresponding to the continuous operation is not received.
[0095] In the embodiment of the present disclosure, it is determined that the conditions for canceling the execution of the continuous operation are met, such as canceling the instruction for executing the continuous operation, or not receiving the operation instruction of the corresponding function of the user confirming the execution of the continuous operation.
[0096] In step S62, the function corresponding to the execution of the continuity operation is canceled.
[0097] In the embodiment of the present disclosure, after it is currently determined that the condition for canceling the execution of the continuity operation is met, the corresponding function of the execution of the continuity operation is canceled.
[0098] In the embodiment of the present disclosure, it is determined that a condition for the user to cancel the continuous operation is met, and according to the condition for the user to cancel the continuous operation, a function corresponding to the triggering continuous operation is canceled.
[0099] In the disclosed embodiment, the user's permission to perform related operations on the target component, such as the system reminder window permission, is obtained. Based on the obtained permission, the user's operations on the target component are monitored and a reminder window is displayed.
[0100] Among them, the system reminder window permission can be understood as including the permission to monitor the user's various operations on the target component and the permission to display the reminder window.
[0101] In the disclosed embodiment, based on the obtained application system reminder window permissions, it is ensured that when the user's operation on the target component can be monitored, prompt information is displayed to facilitate the user to confirm whether to perform subsequent continuity operations.
[0102] In the embodiment of the present disclosure, according to the set time and the transparent component drawn on the upper layer of the target component, the transparent component is removed after the set time.
[0103] Among them, removing the transparent component can be understood as that the transparent component automatically disappears after exceeding the set time.
[0104] In the disclosed embodiment, the transparent component that exceeds the set time is removed to prevent the user from performing continuous operations next time.
[0105] In the disclosed embodiment, based on setting different conditions, the user's intention to perform continuous operations on the target component is determined, and when the user has no intention to perform continuous operations on the target component, a time is set. Based on the set time, when the user has no intention to perform an operation on the target component but accidentally touches the target component, a transparent layer is drawn. Within the set time, the transparent layer receives subsequent continuous operations from the user, thereby blocking the user's continuous operations on the target component.
[0106] Figure 7 FIG. 1 is a flow chart of a method for preventing accidental touches by a user according to an exemplary embodiment. Figure 7 As shown, the following steps are included:
[0107] In step S71, the system starts.
[0108] In one implementation, system startup can be understood as starting an application in the terminal device, or starting a function in the terminal device.
[0109] In step S72, accessibility service permission is requested.
[0110] In one implementation, the system requests permission for free drawing within the application, such as accessibility service permission.
[0111] Among them, the accessibility service permission can be understood as the permission that allows the application to draw freely at the top level of the system.
[0112] In step S73, whether the accessibility service permission is possessed.
[0113] In one implementation, it is determined whether the system has accessibility service permission. If the system does not have accessibility service permission, the accessibility service permission is requested again. If the system has accessibility service permission, the next step is performed.
[0114] In step S74, the system reminder window permission is requested.
[0115] In one implementation, the system requests permission to monitor various events occurring within a specified application, such as system reminder window permission.
[0116] Among them, the system reminder window permission can be understood as the ability to monitor various events occurring within the system-specified application.
[0117] In step S75, whether the system reminder window permission is possessed.
[0118] In one implementation, it is determined whether the system reminder window permission is possessed, and if the system does not have the system reminder window permission, the system reminder window permission is requested again.
[0119] In step S76, the accessibility service monitoring event is started.
[0120] In one implementation, when the permission to perform continuity operations on the target component and the permission of the target component itself are obtained, the accessibility service is started to monitor events, including the type of the target component and the display position and shape information in the terminal device.
[0121] Among them, the accessibility service monitoring event can be understood as monitoring the continuity operation events issued in the target component.
[0122] In step S77, whether a continuity operation occurs.
[0123] In one implementation, it is determined whether a continuity operation occurs in the application where the target component is located or in a component within the application, such as whether a user triggers a continuity operation on the target component.
[0124] Among them, the continuous operation can be understood as the user's continuous operation on the target component, such as double-clicking the target component.
[0125] In step S78, whether it is the target component.
[0126] In one implementation, it is determined whether the component of the continuity operation triggered by the user is a target component.
[0127] The target component can be understood as a component that is triggered to run based on continuous user operations.
[0128] In step S79, the position and shape information of the target component is collected.
[0129] In one implementation, the position information and shape information of the target component are obtained, and the obtained position information and shape information of the target component are recorded.
[0130] Among them, the location information of the target component can be understood as the specific location information of the target component in the terminal device, such as the location information of the target component in a certain application in the terminal device, or the component position in a certain application in the terminal device, and the shape information can be understood as the shape of the target component, such as a rectangle.
[0131] In step S710, at the location of the target component, a transparent component with the same shape as the target component and capable of continuous operation is drawn to the top layer of the system.
[0132] In one implementation, based on the recorded position information and shape information of the target component, a transparent component having the same shape as the target component is drawn at the same position as the target component.
[0133] Among them, the transparent component can be understood as a component drawn at the top level of the system that just covers the target component. The component has the characteristics of being transparent, invisible, able to receive click events, and having the same shape as the target component, and automatically disappears after one second.
[0134] In step S711, a delay is performed for a period of time.
[0135] In one implementation, the drawn transparent component is placed on an upper layer of the target component within a period of time.
[0136] The delay for a period of time can be understood as the time that the transparent component exists on the upper layer of the target component, or a period of time set according to the time interval between the first operation and the second operation of the user, that is, the set time.
[0137] In step S712, the transparent component on the top layer is removed.
[0138] In one implementation, after a delay, the transparent component placed on top of the target component is removed.
[0139] In one embodiment, the user draws a transparent component at the location of the target component according to the location of the target component, and sets the time that the transparent component exists on the upper layer of the target component, thereby ensuring that when the user performs a first operation on the target component, a prompt message is displayed, and based on the prompt message and the time that the transparent component exists on the upper layer of the target component, the user is prevented from accidentally touching the target component.
[0140] In one implementation, taking the operation of double-clicking to trigger a target component as an example, when the function of blocking user accidental touch operations is turned on, only the double-click instruction in a certain application where the target component is located is blocked, regardless of how the user executes the instruction, such as double-clicking with a finger, or double-clicking with a knuckle, that is, any double-click operation that can trigger the target component function is prevented.
[0141] In one embodiment, if Figure 8 As shown in the figure, the user triggers the continuous operation of the target component by clicking. When the user clicks the target component, Fig. 9 As shown in the figure, a transparent component is displayed above the target component. Fig.10 As shown, a pop-up window is displayed to determine whether the user executes the operation. When the user confirms to execute the double-click operation, as shown in Fig.11 As shown, the corresponding display information after the double-click operation is displayed below the application. When the user confirms to cancel the double-click operation, as shown in Fig.12 As shown, the original interface is restored before the user triggers the continuity operation of the target component by clicking.
[0142] In one embodiment, after the function of blocking user accidental touch operations is turned on, the user cannot execute a double-click instruction in an application where the target component is located. That is, it is only effective for the target component in the current application and will not affect applications in other applications that perform double-click operations based on the double-click instruction.
[0143] Based on the same concept, an embodiment of the present disclosure also provides an operation control device.
[0144] It is understandable that the operation control device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0145] Fig.13 FIG. 1 is a block diagram of an operation control device according to an exemplary embodiment. Fig.13 The device 100 includes an acquisition unit 101 and a processing unit 102.
[0146] The acquisition unit 101 is used to acquire display information of the target component in response to detecting a first operation of the user on the target component. The target component is a component that is triggered to run based on continuous operations of the user. The continuous operations include at least a first operation and a second operation performed after the first operation.
[0147] The processing unit 102 is configured to delay a set time to respond to a second operation based on the displayed information.
[0148] In one embodiment, the acquisition unit 101 acquires the display information of the target component in the following manner: acquiring the display position and display shape of the target component; based on the display information, delaying a set time to respond to a second operation, including: within the set time, at the display position of the target component, displaying a transparent component consistent with the display shape, and covering the target component, the transparent component has the characteristic of receiving continuous operations but intercepting reports of continuous operations.
[0149] In one embodiment, the processing unit 102 determines the set time in the following manner: based on the time when the user's first operation on the target component is detected and the time when the second operation is performed after the first operation, determine the time interval between the user's performance of the first operation and the performance of the second operation; determine a time range greater than the time interval as the set time.
[0150] In one implementation, the acquisition unit 101 is further used to: determine whether it has the authority to provide accessibility services to the target component, and the accessibility service authority includes at least one of the following: the authority to obtain display information of the target component and the authority to draw a transparent component within a set time.
[0151] In one embodiment, the processing unit 102 is further used to: based on detecting a second operation performed by the user after the first operation on the target component is completed, display prompt information, where the prompt information is used to prompt the user to confirm whether to execute a function corresponding to the continuous operation.
[0152] In one implementation, the processing unit 102 is further configured to: if an operation instruction confirming execution of a function corresponding to a continuous operation is received from the user, and the time interval between the user executing the first operation and the second operation is less than a set time, execute the function corresponding to the continuous operation.
[0153] In one implementation, the processing unit 102 is further configured to: if a user instruction to confirm not to execute the function corresponding to the continuous operation is received, or an operation instruction to confirm to execute the function corresponding to the continuous operation is not received, cancel the execution of the function corresponding to the continuous operation.
[0154] In one implementation, the processing unit 102 is further used to determine whether the user has permission to perform application system reminder window operations on the target component, where the application system reminder window permission is permission to monitor various operations of the user on the target component and permission to display the reminder window.
[0155] In one implementation, the processing unit 102 is further configured to: remove the transparent component after a set time.
[0156] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0157] Fig.14 2 is a block diagram of an apparatus 200 for operation control according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0158] Reference Fig.14 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0159] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 202 may include one or more modules to facilitate the interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate the interaction between the multimedia component 208 and the processing component 202.
[0160] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 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, magnetic disk or optical disk.
[0161] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0162] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0163] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0164] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0165] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0166] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0167] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0168] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0169] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0170] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0171] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.
[0172] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0173] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0174] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0175] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. An operation control method, characterized in that: The method comprises: In response to detecting a first operation of a user on a target component, acquiring display information of the target component, wherein the target component is a component triggered to run based on a continuous operation of the user, wherein the continuous operation includes at least the first operation and a second operation performed after the first operation; Based on the display information, responding to the second operation is delayed by a set time.
2. The method according to claim 1, characterized in that The obtaining display information of the target component includes: Obtain at least one of the following information of the target component: display position and display shape; Based on the display information, delaying a set time to respond to the second operation includes: Within a set time, a transparent component consistent with the display shape is displayed at the display position of the target component and covers the target component, and the transparent component has the characteristic of receiving the continuity operation but intercepting the reporting of the continuity operation.
3. The method according to claim 1 or 2, characterized in that: The set time is determined in the following manner: Determine a time interval between the user performing the first operation and the user performing the second operation based on the time when the user's first operation on the target component is detected and the time when the second operation is performed after the first operation; A time range greater than the time interval is determined as the set time.
4. The method according to claim 1, characterized in that The method further comprises: It is determined that the user has the permission to provide accessibility service to the target component, where the accessibility service permission includes at least one of the following: permission to obtain display information of the target component and permission to draw a transparent component within the set time.
5. The method according to claim 1, characterized in that The method further comprises: Based on detecting a second operation performed by the user after the first operation on the target component is completed, prompt information is displayed, where the prompt information is used to prompt the user to confirm whether to execute the function corresponding to the continuity operation.
6. The method according to claim 5, characterized in that The method further comprises: If an operation instruction is received from the user confirming to execute the function corresponding to the continuous operation, and the time interval between the user executing the first operation and the second operation is less than the set time, the function corresponding to the continuous operation is executed.
7. The method according to claim 5, characterized in that The method further comprises: If an instruction from the user confirming not to execute the function corresponding to the continuous operation is received, or an instruction from the user confirming to execute the function corresponding to the continuous operation is not received, the execution of the function corresponding to the continuous operation is canceled.
8. The method according to any one of claims 5 to 7, characterized in that The method comprises: It is determined that the user has the permission to perform an application system reminder window operation on the target component, wherein the application system reminder window permission is the permission to monitor various operations of the user on the target component and the permission to display the reminder window.
9. The method according to claim 2, characterized in that: The method further comprises: After the set time, the transparent component is removed.
10. An operation control device, characterized in that: include: an acquisition unit, configured to acquire display information of a target component in response to detecting a first operation of a user on the target component, wherein the target component is a component triggered to run based on a continuous operation of the user, wherein the continuous operation includes at least the first operation and a second operation performed after the first operation; The processing unit is used to delay a set time to respond to the second operation based on the display information.
11. The operation control device according to claim 10, characterized in that: The acquisition unit acquires the display information of the target component in the following manner: Get the display position and display shape of the target component; Based on the display information, delaying a set time to respond to the second operation includes: Within a set time, a transparent component consistent with the display shape is displayed at the display position of the target component and covers the target component, and the transparent component has the characteristic of receiving the continuity operation but intercepting the reporting of the continuity operation.
12. The operation control device according to claim 10 or 11, characterized in that: The processing unit determines the set time in the following manner: Determine a time interval between the user performing the first operation and the user performing the second operation based on the time when the user's first operation on the target component is detected and the time when the second operation is performed after the first operation; A time range greater than the time interval is determined as the set time.
13. The operation control device according to claim 10, characterized in that: The acquisition unit is also used for: It is determined that the user has the permission to provide accessibility service to the target component, where the accessibility service permission includes at least one of the following: permission to obtain display information of the target component and permission to draw a transparent component within the set time.
14. The operation control device according to claim 10, characterized in that: The processing unit is also used to: based on detecting a second operation performed by the user after the first operation on the target component is completed, display prompt information, wherein the prompt information is used to prompt the user to confirm whether to execute the function corresponding to the continuous operation.
15. The operation control device according to claim 14, characterized in that: The processing unit is also used for: If an operation instruction is received from the user confirming to execute the function corresponding to the continuous operation, and the time interval between the user executing the first operation and the second operation is less than the set time, the function corresponding to the continuous operation is executed.
16. The operation control device according to claim 14, characterized in that: The processing unit is also used for: If an instruction from the user confirming not to execute the function corresponding to the continuous operation is received, or an instruction from the user confirming to execute the function corresponding to the continuous operation is not received, the execution of the function corresponding to the continuous operation is canceled.
17. The operation control device according to any one of claims 14 to 16, characterized in that: The processing unit is also used for: It is determined that the user has the permission to perform an application system reminder window operation on the target component, wherein the application system reminder window permission is the permission to monitor various operations of the user on the target component and the permission to display the reminder window.
18. The operation control device according to claim 11, characterized in that: The processing unit is also used for: After the set time, the transparent component is removed.
19. An operation control device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 9.
20. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method according to any one of claims 1 to 9.